Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED]issue w. forced zlib bzip2 rebuilds causing rebuilds

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
Adarion
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Mon Aug 22, 2005 9:17 pm

[SOLVED]issue w. forced zlib bzip2 rebuilds causing rebuilds

  • Quote

Post by Adarion » Thu Sep 14, 2017 11:19 am

Curious issue with forced zlib and bzip2 rebuilds - causing more rebuilds.

I have this issue on 2 machines now. I was syncing and then (reading eix-diff) and checking as usual with

# emerge -puvD system
(and # emerge -puvD world)

for updates. However, portage/emerge suggests to rebuild both sys-libs/zlib as well as app-arch/bzip2.

The really strange thing is, that I have no clue why and that neither zlib nor bzip2 have any
* update
* change in USE flags
* also ABI_X86 stays the same (32 64).

I might just say, "Oh, well, whatever!" and have them rebuilt - and swallowing the lots of packages that they force to be rebuilded (among them dev-lang/python), but there is e.g. sys-devel/llvm among them and llvm is a huge one.

On my first machine those two were only pulled in if I wanted to update cdemu or libmirage - but a different system, which is a fairly barebone one, I just get these rebuilds after the recent sync in general (no cdemu or libmirage there). I tried to
# emerge -pv "single-packages"
and found that some would pretend to merge nicely but once I hit an update either for libpng or in libxml2 it would pull in zlib/bzip2 and the whole mess would start again. (maybe there are more packages causing that, but I haven't found out yet)

(I also ran # emaint all just in case but to no avail.)

Is that a bug? Is there any news item I missed?
I don't really want to have to rebuild so much stuff - again (various libs in the past (e.g. libpng), perl updates or gcc:5.4.x C++11 ABI). And I have several machines running gentoo and not all of them are fast (rather the opposite ;) ) and I don't want to chroot compile llvm 10 times on my main machine. :/

Is # emerge --info needed?
Last edited by Adarion on Sun Sep 17, 2017 3:43 pm, edited 1 time in total.
stop tcpa, swpatents, corrupt politicians and other scary stuff
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Sep 15, 2017 12:43 am

We could try to guess at your problem, but yes, emerge --info would likely be helpful. You should also post the specific output about which you have a question, rather than paraphrasing it.
Top
Adarion
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Mon Aug 22, 2005 9:17 pm

  • Quote

Post by Adarion » Sat Sep 16, 2017 12:46 pm

Here is the info for one of the systems:

Code: Select all

# emerge --info
Portage 2.3.6 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.4.0, glibc-2.23-r4, 4.11.9-gentoo-4-default x86_64)
=================================================================
System uname: Linux-4.11.9-gentoo-4-default-x86_64-AMD_Athlon-tm-_II_X4_645_Processor-with-gentoo-2.3
KiB Swap:     271356 total,    271356 free
Timestamp of repository gentoo: Fri, 15 Sep 2017 10:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r2::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            4.9.4::gentoo, 5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r4::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage
    priority: -1000

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 1

games-overlay
    location: /var/lib/layman/games-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 MakeMKV-EULA Q3AEULA LOKI-EULA AdobeFlash-11.x cadsoft Q3AEULA-20000111 FraunhoferFDK Oracle-BCLA-JavaSE OPERA-12 RAR"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=amdfam10 -pipe -mpopcnt -msse -msse2 -msse3 -msse4a -mmmx "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=amdfam10 -pipe -mpopcnt"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --keep-going --verbose-conflicts"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
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 aalib acl acpi activities alsa amd64 apng bash-completion berkdb bluray branding bzip2 cairo cdda cdr cli cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gme gnutls gpm gtk iconv id3tag idn ieee1394 ipv6 jpeg kipi kwallet lcms ldap libnotify libsamplerate lzma mad mikmod mng modplug modules mp3 mp4 mpeg multilib ncurses nls nptl offlinehelp ogg opengl openmp pam pango pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt5 readline sdl seccomp secure-delete session smp spell ssl startup-notification svg system-cairo system-icu system-jpeg system-sqlite tcpd theora tiff timidity truetype udev udisks unicode upower usb vaapi vdpau vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="intel-hda" 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="braindump flow karbon krita words sheets" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext 3dnow 3dnowext sse sse2 sse3 sse4a" 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" INPUT_DEVICES="keyboard mouse evdev joystick wacom v4l roccat_konextd" KERNEL="linux" L10N="en-US en-GB de-DE de en de-1901" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" LINGUAS="en de en_GB" LIRC_DEVICES="all" LLVM_TARGETS="AMDGPU BPF X86" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-2" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" QEMU_USER_TARGETS="alpha arm armeb cris m68k microblaze microblazeel mips mipsel ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 i386 x86_64" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu r600 radeon vesa 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"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I tried e.g. to update app-cdr/cdemu-deamon

Code: Select all

# emerge -pv cdemu-daemon 

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

Calculating dependencies... done!
[ebuild  rR    ] app-arch/bzip2-1.0.6-r8:0/1::gentoo [1.0.6-r8:0/0::gentoo] USE="-static -static-libs" ABI_X86="32 (64) (-x32)" 764 KiB
[ebuild  rR    ] sys-libs/zlib-1.2.11:0/1::gentoo [1.2.11:0/0::gentoo] USE="minizip static-libs" ABI_X86="32 (64) (-x32)" 594 KiB
[ebuild  rR    ] media-libs/libpng-1.6.29:0/16::gentoo  USE="apng (-neon) -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse" 975 KiB
[ebuild  rR    ] media-libs/tiff-4.0.8::gentoo  USE="cxx jpeg lzma zlib -jbig -static-libs {-test}" ABI_X86="32 (64) (-x32)" 2.018 KiB
[ebuild  rR    ] x11-libs/libpciaccess-0.13.4::gentoo  USE="zlib -static-libs" ABI_X86="32 (64) (-x32)" 364 KiB
[ebuild  rR    ] media-libs/openexr-2.1.0:0/21::gentoo  USE="-examples -static-libs" ABI_X86="32 (64) (-x32)" 13.361 KiB
[ebuild  rR    ] media-libs/id3lib-3.8.3-r8::gentoo  USE="-doc -static-libs" 929 KiB
[ebuild  rR    ] media-libs/lcms-2.8-r1:2::gentoo  USE="jpeg threads tiff zlib -doc -static-libs {-test}" ABI_X86="32 (64) (-x32)" 6.531 KiB
[ebuild  rR    ] media-gfx/pngcrush-1.8.11::gentoo  USE="system-libs" 64 KiB
[ebuild  rR    ] media-gfx/apngasm-2.7::gentoo  12 KiB
[ebuild  rR    ] media-libs/leptonica-1.74.1:0/5::gentoo  USE="gif jpeg png tiff zlib -jpeg2k -static-libs {-test} -utils -webp" ABI_X86="32 (64) (-x32)" 11.433 KiB
[ebuild  rR   ~] media-gfx/pngquant-2.7.2::gentoo  USE="lcms openmp -debug" CPU_FLAGS_X86="sse2" 90 KiB
[ebuild  rR    ] sci-libs/hdf5-1.8.18:0/1.8.18::gentoo  USE="cxx fortran hl zlib -debug -examples -fortran2003 -mpi -static-libs -szip -threads" 9.846 KiB
[ebuild  rR    ] dev-lang/python-2.7.12:2.7::gentoo  USE="gdbm ipv6 ncurses readline sqlite ssl (threads) tk (wide-unicode) xml (-berkdb) -build -doc -examples -hardened (-libressl) -wininst" 12.114 KiB
[ebuild  rR    ] dev-lang/python-3.4.5:3.4/3.4m::gentoo  USE="gdbm ipv6 ncurses readline sqlite ssl (threads) tk xml -build -examples -hardened (-libressl) -wininst" 14.189 KiB
[ebuild  rR    ] dev-libs/libxml2-2.9.4-r3:2::gentoo  USE="icu ipv6 lzma python readline -debug -examples -static-libs {-test}" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_4 (-python3_5) (-python3_6)" 5.249 KiB
[ebuild  rR    ] media-libs/ming-0.4.8-r1::gentoo  USE="python -perl -php -static-libs" PYTHON_TARGETS="python2_7" 14.560 KiB
[ebuild  rR    ] net-libs/neon-0.30.2:0/27::gentoo  USE="gnutls nls ssl zlib -doc -expat -kerberos -libproxy -libressl -pkcs11 -static-libs" ABI_X86="32 (64) (-x32)" 911 KiB
[ebuild  rR   ~] dev-libs/liborcus-0.12.1:0/0.12::gentoo  USE="spreadsheet-model -python -static-libs -tools" PYTHON_SINGLE_TARGET="python3_4 -python3_5 -python3_6" PYTHON_TARGETS="python3_4 -python3_5 -python3_6" 1.635 KiB
[ebuild  rR    ] media-libs/openjpeg-2.2.0:2/7::gentoo  USE="-doc -static-libs {-test}" ABI_X86="32 (64) (-x32)" 2.781 KiB
[ebuild  rR    ] media-libs/lensfun-0.3.1::gentoo  USE="-doc {-test}" CPU_FLAGS_X86="sse sse2" PYTHON_TARGETS="python2_7" 745 KiB
[ebuild     U  ] dev-libs/libmirage-3.1.0:0/11::gentoo [3.0.4:0/10::gentoo] USE="introspection -doc" 230 KiB
[ebuild  rR    ] media-libs/openjpeg-1.5.2:0/5::gentoo  USE="-doc -static-libs {-test}" ABI_X86="32 (64) (-x32)" 1.354 KiB
[ebuild  rR    ] app-text/podofo-0.9.6_pre20170508-r1:0/0.9.6_pre20170508-r1::gentoo  USE="boost idn tools%* -debug (-libressl) {-test}" 899 KiB
[ebuild  rR    ] media-libs/openimageio-1.6.13::gentoo  USE="gif opengl ssl truetype -colorio -ffmpeg -jpeg2k -opencv (-python) -qt4* -raw" PYTHON_SINGLE_TARGET="python3_4 -python2_7 (-python3_5)" PYTHON_TARGETS="python2_7 python3_4 (-python3_5)" 24.264 KiB
[ebuild  rR    ] dev-python/pillow-3.4.2-r1::gentoo  USE="jpeg lcms tiff truetype zlib -doc -examples -jpeg2k {-test} -tk -webp" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-python3_5) (-python3_6)" 10.784 KiB
[ebuild  rR    ] sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo  USE="clang libffi python sanitize static-analyzer xml -debug -default-compiler-rt -default-libcxx -doc -gold -libedit (-lldb) -multitarget -ncurses -ocaml {-test}" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -NVPTX -PowerPC -Sparc -SystemZ -XCore" PYTHON_TARGETS="python2_7" 29.710 KiB
[ebuild  rR    ] dev-db/mariadb-10.1.26:0/18::gentoo  USE="backup cracklib extraengine jemalloc openssl pam server xml -bindist -debug -embedded -galera -innodb-lz4 -innodb-lzo -innodb-snappy -jdbc -kerberos -latin1 (-libressl) (-mroonga) -odbc -oqgraph -perl -profiling (-selinux) -sphinx -sst-rsync -sst-xtrabackup -static -static-libs -systemd -systemtap -tcmalloc {-test} -tokudb -yassl" ABI_X86="32 (64) (-x32)" 60.742 KiB
[ebuild  rR    ] net-libs/serf-1.3.8:1::gentoo  USE="-kerberos" 140 KiB
[ebuild  rR    ] app-text/ghostscript-gpl-9.21::gentoo  USE="X cups dbus gtk tiff unicode -static-libs" L10N="de -ja -ko -zh-CN -zh-TW" 28.488 KiB
[ebuild  rR    ] dev-lang/R-3.2.2::gentoo  USE="X cairo jpeg nls openmp png readline tiff -doc -icu -java -lapack -minimal -perl (-prefix) -profile -static-libs -tk" 29.080 KiB
[ebuild  rR    ] sys-auth/consolekit-1.1.2::gentoo  USE="acl pam (policykit) udev -cgroups -debug -doc -evdev -pm-utils* (-selinux) {-test}" 1.100 KiB
[ebuild  rR    ] net-misc/openssh-7.5_p1-r1::gentoo  USE="X hpn ldap pam pie ssl -X509 -audit -bindist -debug -kerberos -ldns -libedit (-libressl) -livecd -sctp (-selinux) -skey -ssh1 -static {-test}" 1.523 KiB
[ebuild  rR    ] app-text/evince-3.22.1-r1:0/evd3.4-evv3.3::gentoo  USE="introspection postscript tiff -djvu -dvi -gnome -gnome-keyring -gstreamer -nautilus -nsplugin -t1lib -xps" 3.287 KiB
[ebuild     U  ] app-cdr/cdemu-daemon-3.1.0:0/7::gentoo [3.0.4:0/7::gentoo] 79 KiB
[ebuild  rR    ] media-libs/libquicktime-1.2.4-r2::gentoo  USE="X aac alsa encode ffmpeg gtk jpeg lame opengl png schroedinger vorbis x264 -doc -dv -libav -static-libs" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="mmx" 1.005 KiB
[ebuild  r  U  ] media-gfx/imagemagick-6.9.9.0:0/6.9.9.0::gentoo [6.9.8.6:0/6.9.8.6::gentoo] USE="X bzip2 corefonts cxx djvu fftw fontconfig jpeg jpeg2k lcms lzma openmp pango png postscript raw svg tiff truetype wmf xml zlib -fpx -graphviz -hdri -jbig -lqr (-opencl) -openexr -perl -q32 -q8 -static-libs {-test} -webp" 8.575 KiB
[ebuild  rR    ] media-gfx/uniconvertor-2.0_pre379-r1::gentoo  PYTHON_TARGETS="python2_7" 1.802 KiB
[ebuild  rR    ] media-video/transcode-1.1.7-r3::gentoo  USE="X a52 aac alsa dv dvd iconv imagemagick jpeg lzo mjpeg mp3 mpeg ogg postproc quicktime sdl theora truetype v4l vorbis x264 xml xvid (-altivec) (-nuv) -oss (-pic)" CPU_FLAGS_X86="3dnow mmx sse sse2" 2.166 KiB
[ebuild  rR    ] media-video/dvdauthor-0.7.1-r1::gentoo  USE="imagemagick -graphicsmagick" 412 KiB
[ebuild  rR   ~] media-gfx/converseen-0.6.8-r1::gentoo  USE="-debug" LINGUAS="de -cs -es_CL -fr -hu -it -ja -pl -pt -ru -tr" 222 KiB
[ebuild  r  U ~] media-gfx/inkscape-0.92.1-r1::gentoo [0.91-r3::gentoo] USE="cdr dbus dia exif imagemagick inkjar jpeg lcms nls openmp postscript visio wpg -gnome -latex -spell -static-libs" PYTHON_TARGETS="python2_7" 30.491 KiB

Total: 42 packages (4 upgrades, 38 reinstalls), Size of downloads: 335.496 KiB

The following packages are causing rebuilds:

  (sys-libs/zlib-1.2.11:0/1::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-libs/liborcus-0.12.1:0/0.12::gentoo, ebuild scheduled for merge)
    (media-gfx/imagemagick-6.9.9.0:0/6.9.9.0::gentoo, ebuild scheduled for merge)
    (net-libs/serf-1.3.8:1/1::gentoo, ebuild scheduled for merge)
    (media-libs/openjpeg-2.2.0:2/7::gentoo, ebuild scheduled for merge)
    (sys-devel/llvm-3.9.1-r1:0/3.9.1::gentoo, ebuild scheduled for merge)
    (media-libs/lcms-2.8-r1:2/2::gentoo, ebuild scheduled for merge)
    (media-gfx/pngquant-2.7.2:0/0::gentoo, ebuild scheduled for merge)
    (sys-auth/consolekit-1.1.2:0/0::gentoo, ebuild scheduled for merge)
    (net-libs/neon-0.30.2:0/27::gentoo, ebuild scheduled for merge)
    (app-text/evince-3.22.1-r1:0/evd3.4-evv3.3::gentoo, ebuild scheduled for merge)
    (dev-lang/python-2.7.12:2.7/2.7::gentoo, ebuild scheduled for merge)
    (dev-python/pillow-3.4.2-r1:0/0::gentoo, ebuild scheduled for merge)
    (x11-libs/libpciaccess-0.13.4:0/0::gentoo, ebuild scheduled for merge)
    (dev-libs/libxml2-2.9.4-r3:2/2::gentoo, ebuild scheduled for merge)
    (media-libs/libquicktime-1.2.4-r2:0/0::gentoo, ebuild scheduled for merge)
    (media-gfx/apngasm-2.7:0/0::gentoo, ebuild scheduled for merge)
    (media-libs/leptonica-1.74.1:0/5::gentoo, ebuild scheduled for merge)
    (dev-db/mariadb-10.1.26:0/18::gentoo, ebuild scheduled for merge)
    (media-libs/ming-0.4.8-r1:0/0::gentoo, ebuild scheduled for merge)
    (net-misc/openssh-7.5_p1-r1:0/0::gentoo, ebuild scheduled for merge)
    (media-gfx/pngcrush-1.8.11:0/0::gentoo, ebuild scheduled for merge)
    (media-libs/openjpeg-1.5.2:0/5::gentoo, ebuild scheduled for merge)
    (sci-libs/hdf5-1.8.18:0/1.8.18::gentoo, ebuild scheduled for merge)
    (dev-lang/python-3.4.5:3.4/3.4m::gentoo, ebuild scheduled for merge)
    (media-libs/openexr-2.1.0:0/21::gentoo, ebuild scheduled for merge)
    (media-libs/libpng-1.6.29:0/16::gentoo, ebuild scheduled for merge)
    (app-text/podofo-0.9.6_pre20170508-r1:0/0.9.6_pre20170508-r1::gentoo, ebuild scheduled for merge)
    (media-libs/openimageio-1.6.13:0/0::gentoo, ebuild scheduled for merge)
    (media-libs/lensfun-0.3.1:0/0::gentoo, ebuild scheduled for merge)
    (media-libs/id3lib-3.8.3-r8:0/0::gentoo, ebuild scheduled for merge)
    (app-text/ghostscript-gpl-9.21:0/0::gentoo, ebuild scheduled for merge)
    (media-libs/tiff-4.0.8:0/0::gentoo, ebuild scheduled for merge)
  (app-arch/bzip2-1.0.6-r8:0/1::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (dev-lang/python-2.7.12:2.7/2.7::gentoo, ebuild scheduled for merge)
    (dev-lang/R-3.2.2:0/0::gentoo, ebuild scheduled for merge)
    (dev-lang/python-3.4.5:3.4/3.4m::gentoo, ebuild scheduled for merge)
  (media-gfx/imagemagick-6.9.9.0:0/6.9.9.0::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-gfx/inkscape-0.92.1-r1:0/0::gentoo, ebuild scheduled for merge)
    (media-gfx/uniconvertor-2.0_pre379-r1:0/0::gentoo, ebuild scheduled for merge)
    (media-gfx/converseen-0.6.8-r1:0/0::gentoo, ebuild scheduled for merge)
    (media-video/transcode-1.1.7-r3:0/0::gentoo, ebuild scheduled for merge)
    (media-video/dvdauthor-0.7.1-r1:0/0::gentoo, ebuild scheduled for merge)
The imagemagick one is an actual update and causes the usual rebuilds, but strangely bzip2 and zlib are pulled in without any visible change or updates and they cause all the lots of rebuilds.


I tried yesterday to possibly circumvent this on one machine by using --exclude zlib --exclude bzip2
But usually that's not they way it should be, isn't it?

Code: Select all

emerge -pv cdemu-daemon --exclude zlib --exclude bzip2

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

Calculating dependencies... done!
[ebuild     U  ] dev-libs/libmirage-3.1.0:0/11::gentoo [3.0.4:0/10::gentoo] USE="introspection -doc" 230 KiB
[ebuild     U  ] app-cdr/cdemu-daemon-3.1.0:0/7::gentoo [3.0.4:0/7::gentoo] 79 KiB

Total: 2 packages (2 upgrades), Size of downloads: 308 KiB
(I did not yet try to actually emerge.)
stop tcpa, swpatents, corrupt politicians and other scary stuff
Top
Josef.95
Advocate
Advocate
Posts: 4857
Joined: Mon Sep 03, 2007 9:46 am
Location: Germany

  • Quote

Post by Josef.95 » Sat Sep 16, 2017 2:56 pm

Yes, this com from this subslot change https://gitweb.gentoo.org/repo/gentoo.g ... 9b9fd25522
I think a previous zlib-1.2.11.ebuild in a local overlay should work (ok, this is only a workaround).
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sat Sep 16, 2017 11:39 pm

Josef, thanks for bumping this. I ran into the same on one of my systems a couple of days ago, but forgot to come back to this thread until I saw your post.

OP: I concur with Josef's reasoning.

The associated pull request received an inquiry from mgorny asking why make the change now, but Soap merged the change without answering that question. To me, this change seems ill-considered, since it causes extensive rebuilds for no documented gain.

The other option is to change the slot data for the installed packages, which is an ugly unsupported hack, but seemed to work fine on the one system where I tried it.
Top
Adarion
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 78
Joined: Mon Aug 22, 2005 9:17 pm

  • Quote

Post by Adarion » Sun Sep 17, 2017 3:43 pm

Thanks. I see. So the slot naming change from "0" to "0/1" makes portage believe a rebuild is necessary? Well, I guess I'll ignore it more or less for now (an use --exclude) and hope for a possible later fix in portage.
Thanks again, I'll mark it as solved then, or at least worksforme / workaround.
stop tcpa, swpatents, corrupt politicians and other scary stuff
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Sep 17, 2017 4:52 pm

To be precise, the subslot is now 1, where before it was whatever default is used when no subslot is specified. Since that prior value is not equal to 1, the subslot is considered changed. A change in subslot provokes the rebuild. In my opinion, Soap should not have made the change at all. Subslots are meant to alert the package manager to a change in the underlying soname. In this case, zlib today installs the same soname as zlib before the change, so there is no soname change and therefore no subslot change is justified.

Ideally, all packages that install shared objects should have an appropriate subslot from the beginning, but for those that lack one now, it causes pointless churn to add one late. It should have been omitted until zlib/bzip2 changed an soname (if they ever do), and then changed at that point. That would still have produced the required rebuild then, with only the minor oddity that the historical subslot would be default-value instead of 1.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic