Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

Trouble updating after migration to meta-repo



I updated my home Funtoo installation successfully to meta-repo using the instructions here. I did the same for my work pc but I think something went wrong. Whenever I try "emerge --ask --update --newuse --deep @world" I get the following:

$ emerge --ask --update --newuse --deep @world

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for sys-apps/file from @system
... done!

!!! The ebuild selected to satisfy "sys-apps/file" has unmet requirements.
- sys-apps/file-5.30::core-kit USE="python zlib -static-libs" ABI_X86="64 -32 -x32" PYTHON_TARGETS="-pypy -python2_7 -python3_4 -python3_5 -python3_6"

  The following REQUIRED_USE flag constraints are unsatisfied:
    python? ( any-of ( python_targets_pypy python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 ) )

(dependency required by "@system" [set])
(dependency required by "@world" [argument])

If I add python_targets_python2_7 and python_targets_python3_4 use flags to package.use then it complains about another package. And if I add the use flags to that package it just complains about another package with the same error.


Here is my emerge --info:

$ emerge --info
Portage 2.3.2 (python 2.7.13-final-0, funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-5.3.0, glibc-2.23-r4, 4.9.45 x86_64)
System uname: Linux-4.9.45-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-gentoo-2.2.1
KiB Mem:    32894192 total,   2669928 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p48
ld GNU ld (Funtoo 2.25) 2.25.0
ccache version 3.3.4 [enabled]
app-shells/bash:          4.3_p48::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.0-r2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.9.0::gentoo
sys-apps/baselayout:      2.2.1::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r2::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.25-r2::gentoo
sys-devel/gcc:            5.3.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo

    location: /var/git/meta-repo/kits/nokit
    masters: core-kit
    priority: -500

    location: /var/git/meta-repo/kits/core-hw-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/core-kit
    priority: 1
    aliases: gentoo

    location: /var/git/meta-repo/kits/desktop-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/dev-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/editors-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/games-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/java-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/kde-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/media-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/net-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/perl-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/php-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/python-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/security-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/text-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/xorg-kit
    masters: core-kit
    priority: 1

    location: /var/git/meta-repo/kits/gnome-kit
    masters: core-kit
    priority: 10

    location: /var/git/meta-repo/kits/science-kit
    masters: core-kit
    priority: 10

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=haswell -O2 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=haswell -O2 -pipe"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8 --keep-going --with-bdeps=y"
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=haswell -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org https://distmirror.ceresia.ch:81 https://distfiles.ceresia.ch"
INSTALL_MASK="/etc/systemd/ /usr/lib/systemd/ /lib/systemd/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en_US fa_IR en fa"
MAKEOPTS="-j9 -l8"
USE="X a52 aac acl alsa amd64 apng berkdb bluray bzip2 cdda cddb cdio cdr colord cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread eds encode evo exif faac faad ffmpeg flac gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 gtkstyle ico iconv icu ieee1394 introspection ios ipod ipv6 jpeg jpeg2k lame libass libguess libmpeg2 libnotify mad matroska mjpeg mmx modules mp3 mpeg mtp mudflap multilib nautilus ncurses nls nptl nsplugin ogg opengl openmp openrc-force pam pcre pdf png policykit postproc pppd pulseaudio python quicktime readline resolvconf sndfile sse sse2 ssl svg taglib tcpd theora tiff tracker truetype twolame udev unicode v4l vorbis vpx wav wavpack webp win32codecs wmf x264 x265 xattr xml xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 avx avx2 fma3 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="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US fa_IR en fa" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21 ruby22 ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" 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"

Any help would be appreciated.

Link to comment
Share on other sites

15 answers to this question

Recommended Posts

  • 0
  • Funtoo Linux BDFL

I believe I've identified and fixed the bug in ego's git master. Try this:

# cd /var/tmp
# git clone https://github.com/funtoo/ego
# cd ego
# ./ego profile update

This should result in the profiles being properly updated with python-kit references. This code was lost in the migration to the new profiles API in ego 2.3.0. I'm going to roll this out as ego-2.3.1.

Link to comment
Share on other sites

  • 0
  • Funtoo Linux BDFL

Instead of using package.use, try using /etc/make.conf and just set things globally -- temporarily -- just to ease the transition to kits. Once you get moved over to kits, the USE vars are all set properly for python auto-magically.

Link to comment
Share on other sites

  • 0

same issue without package.use.

My current use in make.conf:

USE="introspection qt3support mmx sse sse2 libmpeg2 vdpau bluray mpg123 php pulseaudio gd sqlite3 mysql mysqli cairo cdda cddb -cdio cdparanoia apache2 avahi css curl cups dri dv djvu ffmpeg fontconfig imagemagick innodb ios ipod lame matroska lzma mplayer musepack musicbrainz networkmanager raw rss ruby samba xcomposite xscreensaver zsh-completion b
ash-completion zeroconf mdnsresponder-compat autoipd unicode webkit threads libass faac theora zlib jpeg lirc vpx x264"

Link to comment
Share on other sites

  • 0
  • Funtoo Linux BDFL

I will give you an alternate approach -- the goal is to get ego installed, and then 'ego sync; ego update' will get everything working a lot better. Try:

# cd /var/git/meta-repo/kits/core-kit/app-admin/ego
# ebuild ego-2.3.0.ebuild clean merge

Ego will now be installed. You now need to install any python modules (for your active python3 implementation) to get "ego sync" and "ego update" working properly. Based on a quick look, it looks like all it needs are standard python3 modules to run. Once you successfully run "ego update", your /etc/portage/make.profile/parent will be set up properly.

You should only need to set 'special' USE variables in order to get ego to install via ebuild, as per Oleg's link.

Link to comment
Share on other sites

  • 0
  • Funtoo Linux BDFL

Note that once you have migrated to kits, you simply need to ensure that you have the correct python3 implementation enabled using <tt>eselect python</tt> (3.4 for 3.4-prime and 3.6 for 3.6-prime) and the correct python USE settings will be set for you automatically in <tt>/etc/portage/make.profile/parent</tt> via <tt>ego update</tt>. So you should then be able to remove all the python hacks you added, which could be what's causing problems.

Link to comment
Share on other sites

  • 0

Followed that and have 3.4 selected now instead of 2.7.  The problem gets weird as different packages will complain. Sometimes it will be sys-apps/file, sometimes pyrex, sometimes pycrypto, sometimes util-linux. I never added any python hacks except when emerge asked for a use flag, but all of those were in package.use which has been moved.

After running ego update, the only thing in /etc/portage/make.profile/parent is:



Link to comment
Share on other sites

  • 0
  • Funtoo Linux BDFL

This means you are running too old a version of ego or it is misbehaving. Ensure you have ego-2.3.0 installed and run 'ego sync; ego update'. You should see something like this in make.profile/parent:

Link to comment
Share on other sites

  • 0
  • Funtoo Linux BDFL

I think you may have encountered a bug, as 2.3.0 contains a fresh rewrite of the profile code. Please simply copy and paste all of the lines in my profile that end with "3.6-prime" but change references to "3.4-prime", and then paste them into /etc/portage/make.profile/parent. This will give you the settings you need. I think once they are there, they will not be removed, but they may not be getting added properly. I will investigate. In the meantime, let me know if that makes things start working for you.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...