tux Posted August 17, 2018 Report Share Posted August 17, 2018 I'm currently with ego-2.4.2 with a local repo but eix-update is broken and cannot figure out how to fix it. I don't know if it is related, but I recently switched epro build from stable to current (I was with ego-2.3.0 I think) and that broke my epro/ego/emerge somewhat. I had hard time to have all them back on track... # eix-update Reading Portage settings... Building database (/var/cache/eix/portage.eix)... cannot open /usr/portage/profiles/categories: No such file or directory [0] "" /usr/portage/ (cache: metadata-md5-or-flat) Reading category 0|0 (100) EMPTY! Applying masks... Calculating hash tables... # ll /usr lrwxrwxrwx 1 root root 18 Nov 29 2016 portage -> ../var/src/portage (broken symlink, I removed it) # cat /etc/ego.conf [global] meta_repo_path = /var/git/local/meta-repo release = 1.2 Any idea ? Link to comment Share on other sites More sharing options...
tux Posted August 17, 2018 Author Report Share Posted August 17, 2018 meta_repo_path was just to have a repo in rw for ego sync, but I switched back to the default one since it is now on 1.2. I also checked /etc/eixrc/00-eixrc against my desktop where eix works well and I don't have any diff. Here it is : # /etc/eixrc/00-eixrc # # All non-hidden files in /etc/eixrc # (or a subdirectory thereof) are read in alphabetical order. # # In these files system-wide defaults for variables related to eix can # be stored, i.e. the variables set in files override the built-in defaults. # Both can be overridden by ~/.eixrc and by environment variables. # # It is strongly recommended to set here only those variables which you # want to *differ* from the built-in defaults (or for which you have a # particular reason why the default should never change with an eix update). # # *Otherwise you might miss changes in the defaults in newer eix versions* # which may result in confusing behavior of the eix binaries. # # If you want to get a file containing the setting of all related variables # in the current/defaults state, redirect the output of options --dump # or --dump-defaults, respectively. # # However once more: To avoid unexpected problems # # *IT IS NOT RECOMMENDED TO SET _ALL_ VARIABLES* in /etc/eixrc/* # # Only set those for which you have a reason to do so! # # For the available variables and their defaults, see the output of the # options --dump or --dump-defaults. # For more detailed explanations see the manpage of eix. Link to comment Share on other sites More sharing options...
tux Posted August 17, 2018 Author Report Share Posted August 17, 2018 it comes from this : # eix-update --print PORTDIR /usr/portage/ my desktop is : # eix-update --print PORTDIR /var/git/meta-repo/kits/core-kit/ forcing it in /etc/portage/make.conf is not enough : # cat /etc/portage/make.conf | grep PORTDIR PORTDIR="/var/git/meta-repo/kits/core-kit/" # eix-update Reading Portage settings... Building database (/var/cache/eix/portage.eix)... [0] "core-kit" /var/git/meta-repo/kits/core-kit/ (cache: metadata-md5-or-flat) Reading category 40|40 (100) Finished # eix eix No matches found Link to comment Share on other sites More sharing options...
palica Posted August 17, 2018 Report Share Posted August 17, 2018 emerge --info please Link to comment Share on other sites More sharing options...
tux Posted August 17, 2018 Author Report Share Posted August 17, 2018 3 hours ago, jhan said: I think you are mistaken by setting PORTDIR to "/var/git/meta-repo/kits/core-kit/". Right, I gave it a try but it doesn't fix anything. I also noted an empty PORTAGE_OVERLAY vs my desktop. I think something is wrong with my portage setup... on container : # eix-update --print PORTDIR_OVERLAY # on desktop: # eix-update --print PORTDIR_OVERLAY /var/git/meta-repo/kits/core-hw-kit /var/git/meta-repo/kits/desktop-kit /var/git/meta-repo/kits/dev-kit (...) /var/git/meta-repo/kits/xorg-kit # cat /etc/portage/make.conf MAKEOPTS="-j7" USE="php geoip php pdo mysql curl zip xslt xmlreader xmlwriter" USE="$USE vhosts luajit" #PORTDIR="/var/git/meta-repo/kits/core-kit" NGINX_MODULES_EXTERNAL="accept_language lua luajit headers_more" NGINX_MODULES_STREAM="geoip realip ssl_preread access geo limit_conn map return split_clients upstream_hash upstream_least_conn upstream_zone" PHP_TARGETS="php7-1 php7-2 php7-3" DISTDIR=/var/cache/portage/distfiles PORTAGE_BINHOST=https://bin.host.funtoo.org/intel64-westmere # emerge --info !!! Repository 'ruby-kit' is missing masters attribute in '/var/git/meta-repo/kits/ruby-kit/metadata/layout.conf' !!! Set 'masters = core-kit' in this file for future compatibility WARNING: One or more repositories have missing repo_name entries: /var/git/meta-repo/kits/ruby-kit/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Portage 2.3.41 (python 3.6.5-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-7.3.1, glibc-2.26-r7, 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, 1939780 free KiB Swap: 134217724 total, 133923280 free sh bash 4.4_p18 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p18::core-kit dev-java/java-config: 2.2.0-r3::java-kit dev-lang/perl: 5.24.0-r3::perl-kit dev-lang/python: 2.7.14-r2::python-kit, 3.6.5-r1::python-kit dev-util/cmake: 3.10.1::core-kit sys-apps/baselayout: 2.2.2::core-kit sys-apps/openrc: 0.35.5::core-kit sys-apps/sandbox: 2.12::core-kit sys-devel/autoconf: 2.69-r4::core-kit sys-devel/automake: 1.13.4-r1::core-kit, 1.15.1-r1::core-kit sys-devel/binutils: 2.29.1-r1::core-kit sys-devel/gcc: 7.3.1::core-kit sys-devel/gcc-config: 1.9.1::core-kit sys-devel/libtool: 2.4.6-r4::core-kit sys-devel/make: 4.2.1-r1::core-kit sys-kernel/linux-headers: 4.14::core-kit (virtual/os-headers) sys-libs/glibc: 2.26-r7::core-kit Repositories: nokit location: /var/git/meta-repo/kits/nokit masters: core-kit priority: -500 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 chaoslab location: /var/lib/layman/chaoslab masters: core-kit priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=westmere -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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.1/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=westmere -O2 -pipe" DISTDIR="/var/cache/portage/distfiles" FEATURES="assume-digests binpkg-logs 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.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en_US fr_FR" MAKEOPTS="-j7" PKGDIR="/var/cache/portage/packages" PORTAGE_BINHOST="https://bin.host.funtoo.org/intel64-westmere" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cracklib crypt curl cxx gdbm geoip iconv icu ipv6 luajit mmx modules mudflap multilib mysql ncurses nls nptl openmp pam pcre pdo php python readline resolvconf sse sse2 ssl tcpd unicode vhosts xattr xml xmlreader xmlwriter xslt zip 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 lua luajit headers_more" NGINX_MODULES_STREAM="geoip realip ssl_preread access geo limit_conn map return split_clients upstream_hash upstream_least_conn upstream_zone" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-1 php7-2 php7-3" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS # emerge --info -vvv | grep "PORT\|portage" !!! Repository 'ruby-kit' is missing masters attribute in '/var/git/meta-repo/kits/ruby-kit/metadata/layout.conf' !!! Set 'masters = core-kit' in this file for future compatibility WARNING: One or more repositories have missing repo_name entries: /var/git/meta-repo/kits/ruby-kit/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. DISTDIR="/var/cache/portage/distfiles" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; eval \"declare -a ssh_opts=(\${3})\" ; exec sftp \${port:+-P \${port}} \"\${ssh_opts[@]}\" \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage)" PKGDIR="/var/cache/portage/packages" PORTAGE_ARCHLIST="" PORTAGE_BINHOST="https://bin.host.funtoo.org/intel64-westmere" PORTAGE_BIN_PATH="/usr/lib/portage/python3.6" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="log warn error" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}"" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_INTERNAL_CALLER="1" PORTAGE_OVERRIDE_EPREFIX="" PORTAGE_PYM_PATH="/usr/lib64/python3.6/site-packages" PORTAGE_PYTHONPATH="/usr/lib64/python3.6/site-packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTAGE_XATTR_EXCLUDE="btrfs.* security.evm security.ima security.selinux system.nfs4_acl user.apache_handler user.Beagle.* user.dublincore.* user.mime_encoding user.xdg.*" PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port= ; exec rsync --rsh=\"ssh \${port:+-p\${port}} \${3}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}" "${PORTAGE_SSH_OPTS}"" RPMDIR="/var/cache/portage/rpm" UNINSTALL_IGNORE="/lib/modules/* /var/run /var/lock /etc/portage/*" By the way, in meta_repo containers there is no /var/git/meta-repo/kits/ruby-kit/metadata/layout.conf ll /var/git/meta-repo/kits/ruby-kit/ total 16K drwxr-xr-x 4 nobody nobody 34 Aug 17 21:00 . drwxr-xr-x 29 nobody nobody 4.0K May 23 15:49 .. drwxr-xr-x 7 nobody nobody 197 Aug 17 21:00 .git drwxr-xr-x 4 nobody nobody 12K Aug 13 20:00 dev-ruby Link to comment Share on other sites More sharing options...
Recommended Posts