Forums

Skip to content

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

Portage wants to rebuild zlib when merging chromium

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
teefax
n00b
n00b
Posts: 11
Joined: Wed Jan 14, 2015 1:33 pm
Location: Germany

Portage wants to rebuild zlib when merging chromium

  • Quote

Post by teefax » Mon Sep 18, 2017 5:52 am

Chromium is not currently installed on my system. When I try to merge it, portage wants to rebuild sys-libs/zlib and numerous dependents:

Code: Select all

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

Calculating dependencies  ....... done!
[ebuild  rR    ] app-arch/bzip2-1.0.6-r8 [1.0.6-r8]
[ebuild  N     ] dev-libs/re2-0.2016.05.01  USE="-icu" ABI_X86="(64) -32 (-x32)" 
[ebuild  rR    ] sys-libs/zlib-1.2.11 [1.2.11]
[ebuild  rR   ~] media-libs/libpng-1.6.32 
[ebuild  rR    ] media-libs/tiff-4.0.8 
[ebuild  rR    ] x11-libs/libpciaccess-0.13.4 
[ebuild  rR    ] media-libs/lcms-2.8-r1 
[ebuild  rR    ] dev-lang/python-2.7.12 
[ebuild  N     ] dev-python/beautifulsoup-3.2.1-r1  PYTHON_TARGETS="python2_7 (-pypy)" 
[ebuild  rR    ] dev-lang/python-3.4.5 
[ebuild  rR    ] dev-libs/libxml2-2.9.4-r3 
[ebuild  rR    ] net-libs/neon-0.30.2 
[ebuild  rR    ] dev-libs/liborcus-0.11.2  PYTHON_SINGLE_TARGET="(-python3_6)" PYTHON_TARGETS="(-python3_6)" 
[ebuild  N     ] dev-python/html5lib-0.9999999  USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 
[ebuild  N     ] dev-python/simplejson-3.10.0  PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 
[ebuild  N     ] dev-python/beautifulsoup-4.5.1  USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) (-python3_5) (-python3_6)" 
[ebuild  rR    ] dev-python/pillow-3.4.2-r1 
[ebuild  rR    ] sys-fs/btrfs-progs-4.10.2 
[ebuild  rR    ] media-libs/openjpeg-2.2.0 
[ebuild  rR    ] sys-devel/llvm-3.9.1-r1 
[ebuild  rR    ] media-gfx/imagemagick-6.9.9.0 
[ebuild  rR    ] app-text/ghostscript-gpl-9.21 
[ebuild  rR    ] net-p2p/transmission-2.92-r2 
[ebuild  N     ] www-client/chromium-61.0.3163.79  USE="cups gnome-keyring hangouts (pic) proprietary-codecs pulseaudio suid -component-build -custom-cflags -kerberos (-neon) (-selinux) -system-ffmpeg -system-icu (-system-libvpx) (-tcmalloc) {-test} -widevine" L10N="de -am -ar -bg -bn -ca -cs -da -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh-CN -zh-TW" 
[ebuild  rR   ~] dev-java/icedtea-7.2.6.11 
[ebuild  rR    ] net-misc/openssh-7.5_p1-r1 
[ebuild  rR    ] app-text/evince-3.22.1-r1 

The following packages are causing rebuilds:

  (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/python-3.4.5:3.4/3.4m::gentoo, ebuild scheduled for merge)
  (sys-libs/zlib-1.2.11:0/1::gentoo, ebuild scheduled for merge) causes rebuilds for:
    (media-libs/lcms-2.8-r1:2/2::gentoo, ebuild scheduled for merge)
    (app-text/ghostscript-gpl-9.21:0/0::gentoo, ebuild scheduled for merge)
    (x11-libs/libpciaccess-0.13.4:0/0::gentoo, ebuild scheduled for merge)
    (dev-python/pillow-3.4.2-r1:0/0::gentoo, ebuild scheduled for merge)
    (net-p2p/transmission-2.92-r2:0/0::gentoo, ebuild scheduled for merge)
    (net-libs/neon-0.30.2:0/27::gentoo, ebuild scheduled for merge)
    (dev-libs/liborcus-0.11.2:0/0.11::gentoo, ebuild scheduled for merge)
    (net-misc/openssh-7.5_p1-r1:0/0::gentoo, ebuild scheduled for merge)
    (dev-libs/libxml2-2.9.4-r3:2/2::gentoo, ebuild scheduled for merge)
    (sys-devel/llvm-3.9.1-r1:0/3.9.1::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-3.4.5:3.4/3.4m::gentoo, ebuild scheduled for merge)
    (sys-fs/btrfs-progs-4.10.2:0/0::gentoo, ebuild scheduled for merge)
    (dev-lang/python-2.7.12:2.7/2.7::gentoo, ebuild scheduled for merge)
    (media-gfx/imagemagick-6.9.9.0:0/6.9.9.0::gentoo, ebuild scheduled for merge)
    (media-libs/tiff-4.0.8:0/0::gentoo, ebuild scheduled for merge)
    (media-libs/openjpeg-2.2.0:2/7::gentoo, ebuild scheduled for merge)
    (media-libs/libpng-1.6.32:0/16::gentoo, ebuild scheduled for merge)
    (dev-java/icedtea-7.2.6.11:7/7::gentoo, ebuild scheduled for merge)
I would like to avoid that since llvm and icedtea are quite heavy packages and I do not understand the reason for these rebuilds. Merging chromium only adds new binaries to the system, no packages are updated and the use flags are exactly the same. Why do I need to rebuild zlib/bzip2?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Sep 18, 2017 6:00 am

I think is related at this commit. zlib not changed version but has changed slot/subslot
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
teefax
n00b
n00b
Posts: 11
Joined: Wed Jan 14, 2015 1:33 pm
Location: Germany

  • Quote

Post by teefax » Mon Sep 18, 2017 6:28 am

Ok, so from the GitHub issue page it seems this change was rather pointless.

Is there an easy way to change the subslot of an installed package? Or do I have to manually edit the portage database? If so, what files are relevant?

Taking a first look, it seems that the slot is stored in /var/db/pkgs/sys-libs/zlib-.../SLOT and in the DEPEND files for all dependent packages. So updating the subslot in those files should be sufficient, right?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Mon Sep 18, 2017 6:35 am

teefax wrote:Is there an easy way to change the subslot of an installed package? Or do I have to manually edit the portage database? If so, what files are relevant?
I honestly do not know, I have simply recompiled packages.
But if you find a solution you let us know :D
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
teefax
n00b
n00b
Posts: 11
Joined: Wed Jan 14, 2015 1:33 pm
Location: Germany

  • Quote

Post by teefax » Mon Sep 18, 2017 7:27 am

Ok, updating the SLOT file for zlib/bzip2 and the DEPEND and RDEPEND files for the dependent packages seems to have worked for me:

Code: Select all

$ echo "0/1" | tee /var/db/pkg/sys-libs/zlib-1.2.11/SLOT /var/db/pkg/app-arch/bzip2-1.0.6-r8/SLOT
$ find /var/db/pkg -name DEPEND -or -name RDEPEND | xargs sed -i -e 's/sys-libs\/zlib:0\/0=/sys-libs\/zlib:0\/1=/g' -e 's/app-arch\/bzip2:0\/0=/app-arch\/bzip2:0\/1=/g'
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Mon Sep 18, 2017 5:35 pm

I suggest using this for the second line instead, it's much faster and catches deps with a version number in them:

Code: Select all

find /var/db/pkg \( -name DEPEND -or -name RDEPEND \) -exec sed -i -e 's@\(\(sys-libs/zlib\|app-arch/bzip2\)\S*\):0/0=@\1:0/1=@g' \{} +
Top
Post Reply

6 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