Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge wants to repeatedly reinstall qgis
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Mon Aug 08, 2022 9:20 am    Post subject: emerge wants to repeatedly reinstall qgis Reply with quote

Any system update will take days because it always includes a reinstall of qgis.

emerge just completed another reinstall of sci-geosciences/qgis-3.22.7 and wants to do it yet another time (no sync or editing of configuration files between):
# emerge -auDNtv @world

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

Calculating dependencies... done!
[
ebuild rR ~] sci-geosciences/qgis-3.22.7::gentoo USE="georeferencer postgres python qml -3d -examples -grass -hdf5 -mapserver -netcdf -opencl -oracle -pdal -polar -serial -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 8933

PostPosted: Mon Aug 08, 2022 9:22 am    Post subject: Reply with quote

Does it actually succeed or fail all the time?
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Mon Aug 08, 2022 9:45 am    Post subject: Reply with quote

It succeeded:
$ ls -l $(which qgis)
-rwxr-xr-x 1 root root 389464 2022-08-08 07:26:27
/usr/bin/qgis
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Aug 08, 2022 2:49 pm    Post subject: Reply with quote

Please post the output of
Code:
emerge --info sci-geosciences/qgis

Code:
grep qgis /var/lib/portage/world

Code:
cd /etc/portage
grep -ir qgis .


Last edited by mike155 on Mon Aug 08, 2022 9:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21489

PostPosted: Mon Aug 08, 2022 8:53 pm    Post subject: Reply with quote

That (very badly colored) rR looks suspicious to me. That says it is being rebuilt for a subslot mismatch, which ought to clear up instead of recurring immediately. Is your system also changing any other packages at the same time, perhaps in an upgrade/downgrade loop?
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Sun Aug 21, 2022 12:48 am    Post subject: Reply with quote

The system has now spent a couple of weeks rebuilding huge packages. Right now I rebuilt app-arch/lzip-1.23 (a small and quick package for this testing) but when I ask for a world update, emerge wants to rebuild lzip again.
Code:
>>> app-arch/lzip-1.23 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Regenerating GNU info directory index...
 * Processed 182 info files.
tor ~ # emerge -av @world

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

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gnuconfig-20220508::gentoo  0 KiB
[ebuild   R    ] app-arch/bzip2-1.0.8-r1:0/1::gentoo  USE="(split-usr) -static -static-libs -verify-sig" 0 KiB
[ebuild   R    ] app-arch/gzip-1.12::gentoo  USE="-pic -static -verify-sig" 0 KiB
[ebuild   R    ] sys-apps/which-2.21::gentoo  0 KiB
[ebuild   R    ] sys-apps/baselayout-2.8::gentoo  USE="(split-usr) -build" 0 KiB
[ebuild   R    ] app-arch/lzip-1.23::gentoo  USE="-verify-sig" 0 KiB
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Sun Aug 21, 2022 12:52 am    Post subject: Reply with quote

Same with gnuconfig. Immediately after rebuild, it wants to rebuild it again during world update:
Code:
>>> sys-devel/gnuconfig-20220508 merged.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
tor ~ # emerge -av @world

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

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gnuconfig-20220508::gentoo  0 KiB
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Sun Aug 21, 2022 1:34 am    Post subject: Reply with quote

Same with a somewhat larger package, ncurses:
Code:
>>> sys-libs/ncurses-6.3_p20220423 merged.
>>> Regenerating /etc/ld.so.cache...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
tor ~ # emerge -av @world

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

Calculating dependencies... done!
[ebuild   R    ] sys-devel/gnuconfig-20220508::gentoo  0 KiB
[ebuild   R    ] app-arch/bzip2-1.0.8-r1:0/1::gentoo  USE="(split-usr) -static -static-libs -verify-sig" 0 KiB
[ebuild   R    ] app-arch/gzip-1.12::gentoo  USE="-pic -static -verify-sig" 0 KiB
[ebuild   R    ] sys-apps/which-2.21::gentoo  0 KiB
[ebuild   R    ] sys-apps/baselayout-2.8::gentoo  USE="(split-usr) -build" 0 KiB
[ebuild   R    ] app-arch/lzip-1.23::gentoo  USE="-verify-sig" 0 KiB
[ebuild   R    ] app-portage/euses-2.6.0::gentoo  0 KiB
[ebuild   R    ] media-sound/cdplay-1.0::gentoo  0 KiB
[ebuild   R    ] net-libs/enet-1.3.17:1.3/7::gentoo  USE="-static-libs" 0 KiB
[ebuild   R    ] sys-apps/hdparm-9.63::gentoo  USE="-static" 0 KiB
[ebuild   R    ] sys-process/schedtool-1.3.0-r1::gentoo  0 KiB
[ebuild   R    ] sys-boot/lilo-24.2-r1::gentoo  USE="minimal -device-mapper -pxeserial -static" 0 KiB
[ebuild   R    ] sys-firmware/b43-firmware-5.100.138:b43::gentoo  0 KiB
[ebuild   R    ] app-shells/dash-0.5.11.5::gentoo  USE="-libedit -static" 0 KiB
[ebuild   R    ] app-arch/advancecomp-2.3::gentoo  0 KiB
[ebuild   R    ] virtual/os-headers-0-r2::gentoo  0 KiB
[ebuild   R    ] sys-power/acpid-2.0.33::gentoo  USE="(-selinux)" 0 KiB
[ebuild   R    ] sys-devel/patch-2.7.6-r4::gentoo  USE="xattr -static -test -verify-sig" 0 KiB
[ebuild   R    ] app-arch/xz-utils-5.2.5-r2::gentoo  USE="extra-filters nls (split-usr) -static-libs -verify-sig" 0 KiB
[ebuild   R    ] media-libs/libpng-1.6.37-r2:0/16::gentoo  USE="apng -static-libs" CPU_FLAGS_X86="sse" 0 KiB
[ebuild   R    ] sys-apps/file-5.42::gentoo  USE="bzip2 lzma seccomp zlib -python -static-libs -verify-sig" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 (-python3_11)" 0 KiB
[ebuild   R    ] sys-apps/net-tools-2.10::gentoo  USE="arp hostname ipv6 nls -nis -plipconfig (-selinux) -slattach -static" 0 KiB
[ebuild   R    ] media-gfx/optipng-0.7.7-r1::gentoo  0 KiB
[ebuild   R    ] media-gfx/pngcrush-1.8.13::gentoo  0 KiB
[ebuild   R    ] media-gfx/pngrewrite-1.4.0::gentoo  0 KiB
[ebuild   R    ] sys-apps/ethtool-5.15::gentoo  USE="netlink" 0 KiB
[ebuild   R    ] net-wireless/iw-5.9::gentoo  0 KiB
[ebuild   R    ] net-libs/miniupnpc-2.2.3-r1:0/17::gentoo  USE="ipv6 -verify-sig" 0 KiB
[ebuild   R    ] media-fonts/alee-fonts-13-r1::gentoo  USE="X" 0 KiB
[ebuild   R    ] media-fonts/hunkyfonts-0.3.1::gentoo  USE="X" 0 KiB
[ebuild   R    ] media-fonts/lfpfonts-fix-0.83-r2::gentoo  USE="X" 0 KiB
[ebuild   R    ] media-fonts/lfpfonts-var-0.84::gentoo  USE="X" 0 KiB
[ebuild   R    ] media-fonts/ttf-bitstream-vera-1.10-r3::gentoo  USE="X" 0 KiB
[ebuild   R    ] x11-base/xorg-drivers-21.1::gentoo  INPUT_DEVICES="evdev libinput -elographics -joystick -synaptics -vmmouse -void -wacom" VIDEO_CARDS="nouveau -amdgpu -ast -dummy -fbdev (-freedreno) (-geode) -glint -i915 -intel -mga -nv -nvidia (-omap) -qxl -r128 -radeon -radeonsi -siliconmotion (-tegra) (-vc4) -vesa -via -virtualbox -vmware" 0 KiB
[ebuild   R    ] sys-libs/ncurses-6.3_p20220423:0/6::gentoo  USE="ada cxx doc gpm (split-usr) (tinfo) -debug -minimal -profile (-stack-realign) -static-libs -test -trace -verify-sig" 0 KiB
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Sun Aug 21, 2022 1:53 am    Post subject: Reply with quote

About qgis, one of 186 packages that emerge wants to rebuild repeatedly.

Code:
# emerge --info sci-geosciences/qgis
Portage 3.0.30 (python 3.10.5-final-0, default/linux/amd64/17.1/no-multilib, gcc-11.3.0, glibc-2.35-r8, 5.15.59-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.59-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-glibc2.35
KiB Mem:     8152976 total,   3161584 free
KiB Swap:   16787920 total,  16781996 free
Timestamp of repository gentoo: Sun, 14 Aug 2022 13:30:02 +0000
Head commit of repository gentoo: 2525e7474829c9136f9ab3e36602a53d01118e79
sh bash 5.1_p16-r1
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.4::gentoo
app-shells/bash:           5.1_p16-r1::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.34.1-r3::gentoo
dev-lang/python:           3.10.5::gentoo
dev-lang/rust:             1.62.1::gentoo
dev-util/cmake:            3.22.4::gentoo
dev-util/meson:            0.62.2::gentoo
sys-apps/baselayout:       2.8::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.2::gentoo
sys-devel/autoconf:        2.13-r2::gentoo, 2.71-r1::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/lld:             14.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::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-verify-jobs: 1
    sync-rsync-extra-opts:

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -fno-stack-protector -march=core2 -mtune=core2 -msse4.1 -pipe"
CHOST="x86_64-pc-linux-gnu"
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/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -fno-stack-protector -march=core2 -mtune=core2 -msse4.1 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write --with-bdeps=y --complete-graph"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 buildpkg-live 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 qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/"
LANG="sv_SE"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="sv sv_SE de"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="--best"
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"
SHELL="/bin/bash"
USE="X Xaw3d a52 aac acl acpi ada alsa amd64 apache2 athena audiofile authdaemond bash-completion bootstrap bzip2 cairo cdda cddb cdio cdparanoia cli crypt css cups curl dbus designer dga dhcp djvu doc dri dts dvb dvd emacs encode fam fbcon ffmpeg firefox flac fontconfig fortran gcj gd gdbm georeferencer geos ggi gif git gles2 gmp gold gpm guile handbook httpd iconv imlib ipv6 jpeg jpeg2k kde kerberos lcms libglvnd libsamplerate libtirpc lzma mad matroska mjpeg mng mp3 mpeg musepack ncurses networking nls nptl nss odbc offensive ogg openexr opengl openmp pam pcmcia pcre pcre16 pdf png policykit portaudio postgres qalculate qml qt5 qthelp quicktime readline samba sasl scripttools sdl seccomp secure-delete slp smp sndfile sound speex spell split-usr sql ssl subversion svg system-bootstrap system-libevent system-llvm systemd theora tidy tiff toolkit-scroll-bars topology truetype udev unicode usb v4l vcd vorbis wayland webkit wma wmf xattr xface xft xine xinerama xml xv zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2021" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 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 libinput" KERNEL="linux" L10N="sv sv-SE de" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres11 postgres10 postgres9_5" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby25 ruby27 ruby30" SANE_BACKENDS="dell1600n_net" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

sci-geosciences/qgis-3.22.7::gentoo was built with the following:
USE="georeferencer postgres python qml -3d -examples -grass -hdf5 -mapserver -netcdf -opencl -oracle -pdal -polar -serial -test" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9"
FEATURES="binpkg-logs sfperms multilib-strict qa-unresolved-soname-deps config-protect-if-modified distlocks usersandbox usersync binpkg-docompress preserve-libs splitdebug ebuild-locks buildpkg-live ipc-sandbox userfetch pid-sandbox unknown-features-warn unmerge-logs binpkg-dostrip assume-digests userpriv strict parallel-fetch protect-owned fixlafiles unmerge-orphans sandbox xattr network-sandbox news merge-sync"


Code:
# grep qgis /var/lib/portage/world
sci-geosciences/qgis


Code:
/etc/portage # grep -ir qgis .
./package.use:sci-geosciences/qgis python
./package.accept_keywords:=sci-geosciences/qgis-3.22.7 ~amd64
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Sun Aug 21, 2022 2:00 am    Post subject: Reply with quote

Just emerged media-video/mpv-0.34.1-r1 but it is still in the list of 186 packages that emerge wants to spend the rest of eternity rebuilding.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20053

PostPosted: Sun Aug 21, 2022 2:03 am    Post subject: Reply with quote

I may be mistaken, but I believe emerge -av @world indicates that you want everything in @world re-emerged. If you don't want to do that, then don't run that command.

I notice that in your original post, the command you were using was emerge -auDNtv @world. What is the output of that command? Generally speaking, you don't want the --newuse / -N option, but that shouldn't be an issue for what you originally reported.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
sigra
Tux's lil' helper
Tux's lil' helper


Joined: 03 Feb 2006
Posts: 118

PostPosted: Thu Aug 25, 2022 9:41 am    Post subject: Reply with quote

You are right. I accidentally left out a few letters in my last attempt, which made emerge want to rebuild other packages than qgis.

In the meantime I have synced and qgis 3.22.7 could not be used anymore because it depended on old qgal, and other packages depend on newer gdal. So I enabled qgis 3.22.9, which does not seem to have the rebuild problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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