Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge world and qtcore
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
FastXSLT
n00b
n00b


Joined: 09 Mar 2004
Posts: 12
Location: Cambridge, MA, USA

PostPosted: Sat Mar 28, 2020 10:33 pm    Post subject: emerge world and qtcore Reply with quote

I have not updated my Gentoo in a while, and now that I try to do that I am running into emerge problems that we have seen too many times with Gentoo. I was happily compiling and installing some 800+ packages when I ran into issues with emerging dev-qt/qtcore. I am no Gentoo guru hence I am asking more knowledgeable people for help. I seem to have too many versions of qtcore on my system (or too many that emerge tries to install), including 5.12, 5.13, 5.9999 (what is that?). Would it be possible to clean it all up and just have 5.14 for everything I need? How can I get into such a beautiful state? (I am guessing I have too many items in accept_keywords, but I thought it shouldn't matter as the current newest available version should be picked as the winner). All help will be appreciated!
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7845
Location: Austria

PostPosted: Sat Mar 28, 2020 10:42 pm    Post subject: Re: emerge world and qtcore Reply with quote

Yes, cleanup your package.accept_keywords, please.

FastXSLT wrote:
5.9999 (what is that?)

If you need to ask about that, then why do you have qt overlay installed?


Show us all the goods of your portage output, otherwise we can't even start to speculate.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
FastXSLT
n00b
n00b


Joined: 09 Mar 2004
Posts: 12
Location: Cambridge, MA, USA

PostPosted: Sat Mar 28, 2020 10:57 pm    Post subject: Re: emerge world and qtcore Reply with quote

asturm wrote:
Yes, cleanup your package.accept_keywords, please.

do you mean: leave only 5.14?

FastXSLT wrote:
5.9999 (what is that?)

If you need to ask about that, then why do you have qt overlay installed?

I don't remember doing that.

Show us all the goods of your portage output, otherwise we can't even start to speculate.


Do you mean output from emerge ... @world? I can do that, but first I think it makes sense to clean up accept_keywords.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7845
Location: Austria

PostPosted: Sat Mar 28, 2020 11:07 pm    Post subject: Re: emerge world and qtcore Reply with quote

FastXSLT wrote:
asturm wrote:
FastXSLT wrote:
5.9999 (what is that?)

If you need to ask about that, then why do you have qt overlay installed?


I don't remember doing that.

emerge --info will tell you (and us) what overlays you have installed.

FastXSLT wrote:
Do you mean output from emerge ... @world?

Yes please, including the precise emerge command you use.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
FastXSLT
n00b
n00b


Joined: 09 Mar 2004
Posts: 12
Location: Cambridge, MA, USA

PostPosted: Sat Mar 28, 2020 11:17 pm    Post subject: Reply with quote

Code:
Portage 2.3.69 (python 3.6.10-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.29-r7, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    32898256 total,  12762904 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Sat, 28 Mar 2020 11:30:01 +0000
Head commit of repository gentoo: 3e60ad9159a194b30e8cdabfc528814b63469376
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.7.7 [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.10::gentoo, 3.7.6::gentoo
dev-util/ccache:          3.7.7-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo, 2.33.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

gentoo-scala-tools
    location: /usr/local/portage/overlays
    masters: gentoo
    priority: 0

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

qt
    location: /var/lib/layman/qt
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf"
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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=8 --load-average=8"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities alsa amd64 asyncns berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups dbus declarative dri dts dvd dvdr egl emboss encode exif flac fortran g3dvl gdbm gif gles gles1 gpm gtk gtk3 iconv icu infinality ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad minizip mmx mng mp3 mp4 mpeg multilib ncurses nls nptl nvidia ogg opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell split-usr sql sqlite sse sse2i ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wayland webkit widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid xvmc zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_5" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel nvidia" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Code:
emerge --update --newuse --deep --with-bdeps=y --exclude=net-ftp/filezilla --exclude=www-client/chromium --keep-going=y --backtrack=1000 @world

Added some code tags.Chiitoo
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7845
Location: Austria

PostPosted: Sat Mar 28, 2020 11:26 pm    Post subject: Reply with quote

FastXSLT wrote:
Portage 2.3.69 (python 3.6.10-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.29-r7, 4.9.6-gentoo-r1 x86_64)

^ you may want to switch to a much newer GCC version.
^ you may want to update to a much newer kernel.

FastXSLT wrote:
dev-lang/python: 2.7.15::gentoo, 3.4.8::gentoo, 3.5.5::gentoo, 3.6.10::gentoo, 3.7.6::gentoo

^ you may want to cleanup two very obsolete python versions, that is 3.4 and 3.5.

FastXSLT wrote:
sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.14.1::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo, 2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29.1-r1::gentoo, 2.30-r4::gentoo, 2.31.1-r6::gentoo, 2.32-r1::gentoo, 2.33.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo, 4.9.4::gentoo, 5.4.0-r3::gentoo, 6.4.0-r1::gentoo, 7.3.0-r3::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.2.0-r2::gentoo

^ you haven't run `emerge --depclean -a @world` in a very long time?

FastXSLT wrote:
kde
location: /var/lib/layman/kde
sync-type: laymansync
sync-uri: git://anongit.gentoo.org/proj/kde.git
masters: gentoo
priority: 50

qt
location: /var/lib/layman/qt
sync-type: laymansync
sync-uri: git://anongit.gentoo.org/proj/qt.git
masters: gentoo
priority: 50

^ see, here they are.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
FastXSLT
n00b
n00b


Joined: 09 Mar 2004
Posts: 12
Location: Cambridge, MA, USA

PostPosted: Sun Mar 29, 2020 9:46 pm    Post subject: Reply with quote

Thank you for your help!
It still took me hours but at least I was making progress. I have updated gcc, removed older Pythons, and especially cleaned up package.accept_keywords! Now I have a clean, up to date system, except that I might update kernel too (not sure what would be the benefit of that).
All that said, I am seriously considering moving to Ubuntu, perhaps the least exciting distro, because I want my time to go towards what I really do on that computer rather than fighting with emerge and painful upgrades. The number of debugging discussions on this forum speaks for itself :-(
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7845
Location: Austria

PostPosted: Sun Mar 29, 2020 10:03 pm    Post subject: Reply with quote

It is all very manageable if you do your maintenance steps regularly and don't let the cruft add up. Don't add overlays you don't really need, and keep your /etc/portage/package.* files at a minimum.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
FastXSLT
n00b
n00b


Joined: 09 Mar 2004
Posts: 12
Location: Cambridge, MA, USA

PostPosted: Sun Mar 29, 2020 10:26 pm    Post subject: Reply with quote

I guess you are (mostly) right. Still -- there must be a reason for all these debugging discussions, right?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7845
Location: Austria

PostPosted: Sun Mar 29, 2020 11:31 pm    Post subject: Reply with quote

A good part of it, for sure, was Portage's very unfortunate overzealous --autounmask feature that people simply trusted too much. It almost always did the wrong thing, and having overlays set up just increased havoc (with having more live versions available to escalate to). That is gone (as a default).

But at the same time this can only happen when users have not fully mastered the most important tool in that context, which is the package manager. With great choice comes great complexity, and how should Portage really know how you want to solve a particular conflict (because there are always multiple ways). So this has always been possible to avoid by understanding what you want, what Portage is suggesting (or sometimes threatening) to do, and giving it a real second look before confirming the merge. A good chunk of the threads in here are really lessons in correctly reading Portage output, that is something everyone can learn and reapply on their own for the next time they will encounter it.

As for the amount of 'debugging' threads it would really be hard to measure if it is more a sign of trouble or a healthy user base with everyday problems. Those latter ones may look different in other distributions, even trivial compared to the ones we have, but also in many cases simply unsolvable within the realms of the system packages due to the nature of (most) binary distributions. That flexibility of Gentoo is always going to be attached with cost, that it takes more of your human time to maintain and more of your CPU's time to build.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum