Jump to content
funtoo forums

s4uliu5

Members
  • Content count

    6
  • Joined

  • Last visited

  1. [Solved]eix can't create the database file

    Hi, please check if directory `/var/cache/eix/` exists and it has there right permissions. At my Funtoo box I have box-fenix ~ # stat /var/cache/eix/ File: /var/cache/eix/ Size: 4096 Blocks: 8 IO Block: 4096 directory Device: fe01h/65025d Inode: 562362 Links: 2 Access: (0755/drwxr-xr-x) Uid: ( 250/ portage) Gid: ( 250/ portage) Access: 2018-08-03 23:46:48.804008384 +0300 Modify: 2018-09-07 17:40:44.768927828 +0300 Change: 2018-09-07 17:40:45.736941231 +0300 Birth: - and box-fenix ~ # stat /var/cache/eix/portage.eix File: /var/cache/eix/portage.eix Size: 8152103 Blocks: 15928 IO Block: 4096 regular file Device: fe01h/65025d Inode: 562982 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 250/ portage) Gid: ( 250/ portage) Access: 2018-08-04 00:13:01.220015984 +0300 Modify: 2018-10-05 08:06:43.164145881 +0300 Change: 2018-10-05 08:06:43.164145881 +0300 Birth: - Also I'm running `eix-update` as "root". -- Saulius
  2. The problem was solved by # gcc-config 1 # binutils-config 1 # . /etc/profile Somehow the system was broken as emerge was not able to find `ar` and `as`.
  3. Hi, following the upgrade instructions executing # emerge -auv1 gcc got an error These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] sys-libs/zlib-1.2.11-r2::core-kit USE="minizip static-libs*" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R ] sys-devel/gettext-0.19.8.1::core-kit [0.19.8.1::gentoo] USE="acl cxx ncurses nls openmp static-libs* -cvs -doc -emacs -git -java" ABI_X86="32* (64) (-x32)" 0 KiB [ebuild NS ] sys-devel/gcc-7.3.1-r3:7.3.1::core-kit [5.4.0-r1:5.4.0::core-kit] USE="checking_release cxx fortran (multilib) nls openmp pch ssp stage1_checking_yes -ada (-altivec) -checking_all -checking_assert -checking_df -checking_extra -checking_fold -checking_gc -checking_gcac -checking_misc -checking_no -checking_rtl -checking_rtlflag -checking_runtime -checking_tree -checking_valgrind -checking_yes -dev_extra_warnings -doc -generic_host (-go) -graphite (-hardened) (-libssp) -link_now -lto-bootstrap -objc -objc++ -objc-gc (-pie) (-sanitize) -ssp_all -stack_check -stage1_checking_all -stage1_checking_assert -stage1_checking_df -stage1_checking_extra -stage1_checking_fold -stage1_checking_gc -stage1_checking_gcac -stage1_checking_misc -stage1_checking_no -stage1_checking_release -stage1_checking_rtl -stage1_checking_rtlflag -stage1_checking_runtime -stage1_checking_tree -stage1_checking_valgrind {-test} -vanilla (-vtv)" ABI_X86="(32) (64) (-x32)" 0 KiB Total: 3 packages (1 in new slot, 2 reinstalls), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] yes >>> Verifying ebuild manifests >>> Emerging (1 of 3) sys-libs/zlib-1.2.11-r2::core-kit * Fetching files in the background. * To view fetch progress, run in another terminal: * tail -f /var/log/emerge-fetch.log * zlib-1.2.11.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking zlib-1.2.11.tar.gz to /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work >>> Source unpacked in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work >>> Preparing source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ... * Applying zlib-1.2.11-fix-deflateParams-usage.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/contrib/minizip' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: zlib-1.2.11/contrib/minizip/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure --shared --prefix=/usr --libdir=/usr/lib32 --uname=linux Using ar Compiler error reporting is too harsh for /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure (perhaps remove -Werror). ** /var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11/configure aborting. * ERROR: sys-libs/zlib-1.2.11-r2::core-kit failed (configure phase): * (no error message) * * Call stack: * ebuild.sh, line 92: Called src_configure * environment, line 3241: Called multilib-minimal_src_configure * environment, line 2496: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 2710: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2426: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 2424: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 529: Called multilib-minimal_abi_src_configure * environment, line 2490: Called multilib_src_configure * environment, line 2941: Called die * The specific snippet of code: * echoit "${S}"/configure --shared --prefix="${EPREFIX}/usr" --libdir="${EPREFIX}/usr/$(get_libdir)" ${uname:+--uname=${uname}} || die * * If you need support, post the output of `emerge --info '=sys-libs/zlib-1.2.11-r2::core-kit'`, * the complete build log and the output of `emerge -pqv '=sys-libs/zlib-1.2.11-r2::core-kit'`. * The complete build log is located at '/var/log/portage/sys-libs:zlib-1.2.11-r2:20180919-175648.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11-abi_x86_32.x86' * S: '/var/tmp/portage/sys-libs/zlib-1.2.11-r2/work/zlib-1.2.11' >>> Failed to emerge sys-libs/zlib-1.2.11-r2, Log file: >>> '/var/log/portage/sys-libs:zlib-1.2.11-r2:20180919-175648.log' my container's # emerge --info Portage 2.3.41 (python 3.4.6-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.4.0, glibc-2.23-r8, 4.9.110-1 x86_64) ================================================================= System uname: Linux-4.9.110-1-x86_64-Intel-R-_Xeon-R-_CPU_E7-_4870_@_2.40GHz-with-gentoo-2.2.2 KiB Mem: 4194304 total, 4121356 free KiB Swap: 134217724 total, 133312416 free sh bash 4.4_p18 app-shells/bash: 4.4_p18::core-kit dev-lang/perl: 5.24.0-r3::perl-kit dev-lang/python: 2.7.14-r2::python-kit, 3.4.6-r1::python-kit dev-util/cmake: 3.8.0::core-kit sys-apps/baselayout: 2.2.2::core-kit sys-apps/openrc: 0.35.5::core-kit sys-apps/sandbox: 2.10-r4::core-kit sys-devel/autoconf: 2.69-r2::gentoo sys-devel/automake: 1.13.4-r2::core-kit, 1.14.1-r1::gentoo, 1.15.1-r2::core-kit sys-devel/binutils: 2.29.1-r1::core-kit sys-devel/gcc: 5.4.0-r1::core-kit sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::core-kit sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.9::core-kit (virtual/os-headers) sys-libs/glibc: 2.23-r8::core-kit Repositories: nokit location: /var/git/meta-repo/kits/nokit masters: core-kit priority: -500 x-portage location: /usr/local/portage masters: core-kit priority: 0 core-hw-kit location: /var/git/meta-repo/kits/core-hw-kit masters: core-kit priority: 1 core-kit location: /var/git/meta-repo/kits/core-kit priority: 1 aliases: gentoo desktop-kit location: /var/git/meta-repo/kits/desktop-kit masters: core-kit priority: 1 dev-kit location: /var/git/meta-repo/kits/dev-kit masters: core-kit priority: 1 editors-kit location: /var/git/meta-repo/kits/editors-kit masters: core-kit priority: 1 games-kit location: /var/git/meta-repo/kits/games-kit masters: core-kit priority: 1 gnome-kit location: /var/git/meta-repo/kits/gnome-kit masters: core-kit priority: 1 haskell-kit location: /var/git/meta-repo/kits/haskell-kit masters: core-kit priority: 1 java-kit location: /var/git/meta-repo/kits/java-kit masters: core-kit priority: 1 kde-kit location: /var/git/meta-repo/kits/kde-kit masters: core-kit priority: 1 lang-kit location: /var/git/meta-repo/kits/lang-kit masters: core-kit priority: 1 lisp-scheme-kit location: /var/git/meta-repo/kits/lisp-scheme-kit masters: core-kit priority: 1 llvm-kit location: /var/git/meta-repo/kits/llvm-kit masters: core-kit priority: 1 media-kit location: /var/git/meta-repo/kits/media-kit masters: core-kit priority: 1 ml-lang-kit location: /var/git/meta-repo/kits/ml-lang-kit masters: core-kit priority: 1 net-kit location: /var/git/meta-repo/kits/net-kit masters: core-kit priority: 1 perl-kit location: /var/git/meta-repo/kits/perl-kit masters: core-kit priority: 1 php-kit location: /var/git/meta-repo/kits/php-kit masters: core-kit priority: 1 python-kit location: /var/git/meta-repo/kits/python-kit masters: core-kit priority: 1 python-modules-kit location: /var/git/meta-repo/kits/python-modules-kit masters: core-kit priority: 1 ruby-kit location: /var/git/meta-repo/kits/ruby-kit masters: core-kit priority: 1 science-kit location: /var/git/meta-repo/kits/science-kit masters: core-kit priority: 1 security-kit location: /var/git/meta-repo/kits/security-kit masters: core-kit priority: 1 text-kit location: /var/git/meta-repo/kits/text-kit masters: core-kit priority: 1 xfce-kit location: /var/git/meta-repo/kits/xfce-kit masters: core-kit priority: 1 xorg-kit location: /var/git/meta-repo/kits/xorg-kit masters: core-kit priority: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-mtune=generic -O2 -pipe" DISTDIR="/var/cache/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-march=westmere -O2 -pipe" GENTOO_MIRRORS="https://fastpull-us.funtoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" MAKEOPTS="-j5" PKGDIR="/var/packages" PORTAGE_BINHOST="https://bin.host.funtoo.org/intel64-westmere" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 bash-completion berkdb bzip2 cracklib crypt curl cxx gdbm gpm iconv icu ipv6 jpeg mmx modules mudflap multilib ncurses nls nptl openmp pam pcre perl png python readline resolvconf sqlite sse sse2 ssl tcpd unicode vim-syntax xattr xml zlib" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_EXTERNAL="accept_language ajp cache_purge concat dav_ext echo encrypted_session fancyindex headers_more lua metrics modsecurity naxsi ndk push_stream rtmp slowfs_cache sticky upload_progress upstream_check" NGINX_MODULES_HTTP="access addition auth_basic auth_request autoindex browser charset dav degradation empty_gif fastcgi flv geo geoip gunzip gzip gzip_static image_filter limit_conn limit_req map memcached mp4 perl proxy random_index realip referer rewrite scgi secure_link split_clients ssi ssl stub_status sub upstream_hash upstream_ip_hash upstream_keepalive upstream_least_conn upstream_zone userid uwsgi xslt" NGINX_MODULES_MAIL="imap pop3 smtp" NGINX_MODULES_STREAM="access geo geoip limit_conn map realip return split_clients ssl_preread upstream_hash upstream_least_conn upstream_zone" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS Any idea how to fix the problem?
  4. *.host.funtoo.org kernel

    Hi, just curious. :) What are the reason(s) that kernel for *.hots.funtoo.org has been switched (downgraded) from 4.14 to 4.9? Thanks, -- Saulius
  5. LXD/LXC container's config file in Funtoo

    Good to know. Thank you!
  6. LXD/LXC container's config file in Funtoo

    Do I understand correctly that in case of LXD/LXC containers there is no configuration file, and all configuration (LXD's and containers) is stored in LXD DB /var/lib/lxd/lxd.db ?
  7. Hello, where configuration file of LXD/LXC containers is store in Funtoo? According to google that such files, in some other LINUX distributions, are stored in /var/lib/lxc/container/<container>/config or /container/<container>/config, but no such file exists in Funtoo. I'm asking this so I would be able, for example, to change from lxc.network.type = veth lxc.network.flags = up lxc.network.link = br0 to lxc.network.type = macvlan lxc.network.macvlan.mode = bridge lxc.network.flags = up lxc.network.link = eth0 Thank you, -- Saulius
  8. LXC/LXD storage: LVM vs ZFS

    Thank you for information.
  9. Hello, If I''m not mistaked, funtoo hosting is using ZFS. I use LVM all the time, but it seems that users of LXC/LXD more favores ZFS. How stable ZFS in production? Has anybody, from funtoo community, experienced any problems, or data loss with ZFS? Does LVM has some real dowsides comparing to ZFS, in real usage? Has anybody experienced any? It would be interesting to know what storage driver people choose for their LXC/LXD servers? Thank you, -- Saulius p.s. I know there is documentation https://lxd.readthedocs.io/en/latest/storage/ but documentation is one thing, and user's experience another... :)
  10. Migrate from OpenVZ to LXC/LXD

    It was easier than I expected. :) Now I have working LXC/LXD server and can start testing my openvz migration.
  11. Migrate from OpenVZ to LXC/LXD

    Thank you. I successfully copied the files and be able to start the container. Now I'm trying to setup networking for migrated container so that its could accessed from the network directly ( no NAT). According LXC documentation config file should be located in container's directory, but I see no such file. Where can I find the config file for container? Thank you, -- Saulius
  12. Migrate from OpenVZ to LXC/LXD

    Sorry, have more questions. In the https://www.funtoo.org/LXD/OpenVZ_migration there is a paragraph When container is running /var/lib/lxd/storage-pools/default/containers/<container> contains files "backup.yaml" and "metadata.yaml"; and directories "rootfs" "templates". But if container is stopped the directory is empty. So I'm wandering - how to "replace" the rootfs? And does "replace" means just copy files from /vz/private/<ctid> ? My system's # lxc info returns config: {} api_extensions: - storage_zfs_remove_snapshots - container_host_shutdown_timeout - container_stop_priority - container_syscall_filtering - auth_pki - container_last_used_at - etag - patch - usb_devices - https_allowed_credentials - image_compression_algorithm - directory_manipulation - container_cpu_time - storage_zfs_use_refquota - storage_lvm_mount_options - network - profile_usedby - container_push - container_exec_recording - certificate_update - container_exec_signal_handling - gpu_devices - container_image_properties - migration_progress - id_map - network_firewall_filtering - network_routes - storage - file_delete - file_append - network_dhcp_expiry - storage_lvm_vg_rename - storage_lvm_thinpool_rename - network_vlan - image_create_aliases - container_stateless_copy - container_only_migration - storage_zfs_clone_copy - unix_device_rename - storage_lvm_use_thinpool - storage_rsync_bwlimit - network_vxlan_interface - storage_btrfs_mount_options - entity_description - image_force_refresh - storage_lvm_lv_resizing - id_map_base - file_symlinks - container_push_target - network_vlan_physical - storage_images_delete - container_edit_metadata - container_snapshot_stateful_migration - storage_driver_ceph - storage_ceph_user_name - resource_limits - storage_volatile_initial_source - storage_ceph_force_osd_reuse - storage_block_filesystem_btrfs - resources - kernel_limits - storage_api_volume_rename - macaroon_authentication - network_sriov - console - restrict_devlxd - migration_pre_copy - infiniband - maas_network api_status: stable api_version: "1.0" auth: trusted public: false auth_methods: - tls environment: addresses: [] architectures: - x86_64 - i686 certificate: | -----BEGIN CERTIFICATE----- MIIFPTCCAyWgAwIBAgIQTiCRM+vTvY28b70rgjuSlTANBgkqhkiG9w0BAQsFADAx ... vg== -----END CERTIFICATE----- certificate_fingerprint: a1d240ce836f964a92433d9df8441bdcd9584b61d6c0f928be71d0931d4ddb8f driver: lxc driver_version: 2.1.1 kernel: Linux kernel_architecture: x86_64 kernel_version: 4.15.17-1 server: lxd server_pid: 32662 server_version: "2.21" storage: zfs storage_version: 0.7.6-r0-gentoo Thank you, -- Saulius
  13. Hello, while following Daniel's post how to upgrade to 1.2 Funtoo running fun ~ # emerge -uDNv @world got These are the packages that would be merged, in order: Calculating dependencies - !!! Problem resolving dependencies for dev-ruby/did_you_mean from @selected ... done! !!! The ebuild selected to satisfy "dev-ruby/did_you_mean" has unmet requirements. - dev-ruby/did_you_mean-1.2.0::ruby-kit USE="-test" RUBY_TARGETS="-ruby25" The following REQUIRED_USE flag constraints are unsatisfied: ruby_targets_ruby25 The above constraints are a subset of the following complete expression: any-of ( ruby_targets_ruby25 ) (dependency required by "@selected" [set]) (dependency required by "@world" [argument]) How to resolve this? Thank you, -- Saulius
  14. Hi, currently I'm running Funtoo server with several OpenVZ containers. Funtoo moving to LXC/LXD, so I think it's time for me too. The upgrade of the host system to new kernel and LXC/LXD is very straightforward, no questions there. But what is the best way to migrate OpenVZ containers to LXC/LXD? Thank you, -- Saulius
×