Forums

Skip to content

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

[SOLVED] Portage wants to rebuild packages over and over

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
5 posts • Page 1 of 1
Author
Message
xiando
n00b
n00b
User avatar
Posts: 19
Joined: Sun Feb 29, 2004 1:28 am
Location: EU
Contact:
Contact xiando
Website

[SOLVED] Portage wants to rebuild packages over and over

  • Quote

Post by xiando » Mon Nov 11, 2013 12:22 pm

Portage now wants to reinstall / recompile a few packages all the time. I suspect it's somehow related to python but I don't know.

Is there a file somewhere that I can just delete to make portage stop wanting to reinstall the "rR" market packages?

And THIS IS EVERY TIME, if I emerge -uv world then it recompiles and reinstalls all the rR packages but it still wants to keep on reinstalling those packages afterwards. I mean, LibreOffice is one big package, I can't have portage (emerge) recompile it every damn time I want to emerge something? Please help me make it stop.

# emerge -upvt world

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

Calculating dependencies... done!
[ebuild rR ~] kde-base/kajongg-4.11.3:4 USE="handbook (-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ~] kde-base/lokalize-4.11.3:4 USE="handbook semantic-desktop (-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ] app-office/libreoffice-4.1.2.3 USE="bluetooth branding cups dbus gstreamer gtk gtk3 jemalloc kde mysql opengl vba webdav (-aqua) -debug -eds -gnome -java -odk -postgres -telepathy {-test}" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 (-python3_3)" PYTHON_TARGETS="python2_7 (-python3_3)" 0 kB
[ebuild rR ~] kde-base/kate-4.11.3:4 USE="handbook python (-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 -python3_3" 0 kB
[ebuild U ~] kde-base/kdepim-meta-4.11.3:4 [4.11.2:4] USE="nls (-aqua)" 0 kB
[ebuild U ~] kde-base/ktimetracker-4.11.3:4 [4.11.2:4] USE="handbook kontact (-aqua) -debug" 13,911 kB
[ebuild U ~] kde-base/kjots-4.11.3:4 [4.11.2:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kleopatra-4.11.3:4 [4.11.2:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/akregator-4.11.3:4 [4.11.2:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kabcclient-4.11.3:4 [4.11.2:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kalarm-4.11.3:4 [4.11.2:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kaddressbook-4.11.3:4 [4.11.2-r1:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/konsolekalendar-4.11.3:4 [4.11.2:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/knotes-4.11.3:4 [4.11.2:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/knode-4.11.3:4 [4.11.2:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kmail-4.11.3:4 [4.11.2-r1:4] USE="handbook kontact (-aqua) -debug {-test}" 0 kB
[ebuild U ~] kde-base/blogilo-4.11.3:4 [4.11.2:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kdepim-l10n-4.11.3:4 [4.11.2:4] USE="handbook (-aqua)" LINGUAS="bg ca cs da de el en_GB es et fi fr ga gl he hr is it ja nb nl nn pl pt ro ru sk sl sr sv uk vi zh_CN -ar -bs -ca@valencia -eu -fa -hi -hu -ia -kk -km -ko -lt -lv -mr -nds -pa -pt_BR -tg -tr -ug -wa -zh_TW" 0 kB
[ebuild U ~] kde-base/akonadiconsole-4.11.3:4 [4.11.2-r1:4] USE="(-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kdepim-kresources-4.11.3:4 [4.11.2:4] USE="(-aqua) -debug" 0 kB
[ebuild U ~] kde-base/korganizer-4.11.3:4 [4.11.2:4] USE="handbook kontact (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kontact-4.11.3:4 [4.11.2:4] USE="handbook (-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kdepim-common-libs-4.11.3:4 [4.11.2:4] USE="(-aqua) -debug" 0 kB
[ebuild U ~] kde-base/kdepim-runtime-4.11.3:4 [4.11.2-r1:4] USE="(-aqua) -debug -facebook -google -kolab" 1,203 kB
[ebuild U ~] kde-base/kdepim-icons-4.11.3:4 [4.11.2:4] USE="(-aqua)" 0 kB
[ebuild rR ~] kde-base/pykde4-4.11.3:4 USE="doc semantic-desktop (-aqua) -debug -examples {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 0 kB
[ebuild U ] net-wireless/bluez-4.101-r7 [4.101-r6] USE="alsa cups gstreamer readline usb -debug -pcmcia (-selinux) -test-programs" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 879 kB
[ebuild rR ] net-print/cups-1.6.4 USE="X dbus filters java pam python ssl threads zeroconf -acl -debug -gnutls -kerberos -lprng-compat (-selinux) -static-libs -usb -xinetd" LINGUAS="ca es fr ja ru" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ~] kde-base/kig-4.11.3:4 USE="handbook (-aqua) -debug -scripting" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB
[ebuild rR ~] net-p2p/qbittorrent-3.1.0 USE="X dbus geoip" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild U ] sys-devel/crossdev-20131011 [20130628] 0 kB
[ebuild U ~] sys-kernel/genkernel-next-40 [15] USE="cryptsetup* dmraid* gpg -iscsi -plymouth (-selinux) (-crypt%*) (-ibm%)" 2,233 kB
[ebuild U ] dev-vcs/git-1.8.3.2-r1 [1.8.1.5-r1] USE="blksha1 curl doc gnome-keyring gpg gtk iconv nls pcre perl python threads webdav -cgi -cvs -emacs -highlight (-ppcsha1) -subversion {-test} -tk -xinetd" PYTHON_SINGLE_TARGET="python2_7%* -python2_6%" PYTHON_TARGETS="python2_7%* -python2_6%" 2,066 kB
[ebuild rR ~] kde-base/krosspython-4.11.3:4 USE="(-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ] dev-libs/boost-1.52.0-r6:0/1.52 USE="doc icu nls python threads -debug -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 0 kB
[ebuild U ~] x11-drivers/ati-drivers-13.11_beta6:1::x11 [13.9:1::gentoo] USE="modules (multilib) qt4 -debug -pax_kernel -static-libs" 157,296 kB
[ebuild U ] app-misc/pax-utils-0.7 [0.4] USE="python%* -caps" 89 kB
[ebuild N ] dev-python/pyelftools-0.21-r4 PYTHON_TARGETS="python2_7 python3_2 -python2_6 (-python3_3)" 277 kB
[ebuild NS ] dev-lang/python-exec-2.0:2 [0.3.1:0] PYTHON_TARGETS="(jython2_5) (jython2_7) (python2_6) (python2_7) (python3_2) (-pypy2_0) (-python3_3)" 79 kB

Total: 39 packages (27 upgrades, 1 new, 1 in new slot, 10 reinstalls), Size of downloads: 178,029 kB
Last edited by xiando on Wed Nov 13, 2013 12:01 am, edited 1 time in total.
It is not named Bninux, Bninux is just a kernel, the OS is named BNU/Binux! Source: 24c3-2290-en-overtaking_proprietary_software.mp4
Top
xiando
n00b
n00b
User avatar
Posts: 19
Joined: Sun Feb 29, 2004 1:28 am
Location: EU
Contact:
Contact xiando
Website

Re: Portage wants to rebuild packages over and over

  • Quote

Post by xiando » Mon Nov 11, 2013 3:36 pm

Nobody able to help with this?

My options at this point seem to be

a) reinstall gentoo
b) change distro
c) never install anything again

I mean...

# emerge -upv ati-drivers

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

Calculating dependencies... done!
[ebuild U ~] x11-drivers/ati-drivers-13.11_beta6:1::x11 [13.9:1::gentoo] USE="modules (multilib) qt4 -debug -pax_kernel -static-libs" 157,296 kB
[ebuild rR ] dev-libs/libxml2-2.9.1-r1:2 USE="icu ipv6 lzma python readline -debug -examples -static-libs {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 (-python3_3)" 0 kB
[ebuild rR ] dev-libs/boost-1.52.0-r6:0/1.52 USE="doc icu nls python threads -debug -mpi -static-libs -tools" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 0 kB
[ebuild rR ~] net-p2p/qbittorrent-3.1.0 USE="X dbus geoip" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ~] kde-base/krosspython-4.11.3:4 USE="(-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ] net-print/cups-1.6.4 USE="X dbus filters java pam python ssl threads zeroconf -acl -debug -gnutls -kerberos -lprng-compat (-selinux) -static-libs -usb -xinetd" LINGUAS="ca es fr ja ru" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ] app-office/libreoffice-4.1.2.3 USE="bluetooth branding cups dbus gstreamer gtk gtk3 jemalloc kde mysql opengl vba webdav (-aqua) -debug -eds -gnome -java -odk -postgres -telepathy {-test}" LIBREOFFICE_EXTENSIONS="presenter-minimizer -nlpsolver -scripting-beanshell -scripting-javascript -wiki-publisher" PYTHON_SINGLE_TARGET="python2_7 (-python3_3)" PYTHON_TARGETS="python2_7 (-python3_3)" 0 kB
[ebuild rR ~] kde-base/pykde4-4.11.3:4 USE="doc semantic-desktop (-aqua) -debug -examples {-test}" PYTHON_TARGETS="python2_7 python3_2 -python2_6 -python3_3" 0 kB
[ebuild rR ~] kde-base/lokalize-4.11.3:4 USE="handbook semantic-desktop (-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ~] kde-base/kajongg-4.11.3:4 USE="handbook (-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB
[ebuild rR ~] kde-base/kate-4.11.3:4 USE="handbook python (-aqua) -debug" PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 -python3_3" 0 kB


So I basically can't install jack shit without emerge insisting on compiling libreoffice. This would not be a problem if it was only once, but this happens every time (probably compiled libreoffice 10 times already, damnit)
It is not named Bninux, Bninux is just a kernel, the OS is named BNU/Binux! Source: 24c3-2290-en-overtaking_proprietary_software.mp4
Top
gienah
Developer
Developer
Posts: 213
Joined: Wed Nov 24, 2010 3:19 am
Location: AU

  • Quote

Post by gienah » Tue Nov 12, 2013 12:10 am

The ebuilds thare are being rebuilt with the

Code: Select all

[ebuild rR ]
in the emerge outputs are being rebuilt as portage thinks that one (or more) of
the immediate dependencies has been upgraded, and they are using an EAPI=5
subslot depend on the package. So one way to try to find the problematic
dependency is to look for the common immediate dependencies of the packages
being rebuilt. Which can be done by looking at the RDEPEND lines in the ebuilds
and their inherited eclasses.

As you already deduced, it appears to be something to do with Python.

/usr/portage/net-print/cups/cups-1.6.4.ebuild has:

Code: Select all

RDEPEND="
...
python? ( ${PYTHON_DEPS} )
...
"
Looking for the subslot depends in the Python eclass:

Code: Select all

# grep 'PYTHON_DEPS.*:=' /usr/portage/eclass/python-r1.eclass 
		PYTHON_DEPS+="dev-lang/python-exec:=[${PYTHON_USEDEP}]"
#
So I would suspect it is dev-lang/python-exec that is the problem. You probably first
want to check your Python configuration in /etc/portage/make.conf, I guess you
want it like:

Code: Select all

USE_PYTHON="2.7 3.2"
PYTHON_TARGETS="python2_7 python3_2"
And to check which Python version you have:

Code: Select all

eselect python list
eselect python list --python2
eselect python list --python3
Where I think you will want python2.7 as the default Python, python 3.2 for python 3, and no other Python
versions if you want to keep things simple.

There was a recent news article about python-exec, hopefully you read that:

Code: Select all

eselect news list
eselect news read
The idea is to:
* rebuild the problematic dependency
* rebuild one of the smaller packages that is being rebuilt over and over again
* then see if that smaller package has disappeared from the list of packages that
portage wants to rebuild.

Like:

Code: Select all

emerge -av -1 dev-python/python-exec
emerge -av -1 net-print/cups
emerge -upv ati-drivers
If it still wants to rebuild net-print/cups again, then I need to suggest
a dangerous approach (only try this if the above does not work). The
idea is to take note of which version of the problematic dependency you
have installed:

Code: Select all

equery list dev-python/python-exec
If, and only if, it says you have dev-python/python-exec-10000.2 installed
(and you still have a problem with emerge wanting to rebuild
net-print/cups more than once) then to remove it (breaking all its
dependencies) and re-install it (- capital O is a very dangerous option, it
is only ok if we know the dependencies of =dev-python/python-exec-10000.2
are already installed, which is only the case if
=dev-python/python-exec-10000.2 is already installed),
rebuild net-print/cups, and see if net-print/cups has disappeared from
the rebuild list:

Code: Select all

emerge -aC =dev-python/python-exec-10000.2
emerge -av -0 -1 =dev-python/python-exec-10000.2
emerge -av -1 net-print/cups
emerge -upv ati-drivers
Edit:
Note: Now I notice your earlier output did not have
=dev-python/python-exec-10000.2 installed.

Add more notes that to emerge -aC a package
and then emerge -av -0 -1 a package should only be done if the
current package version is already installed and to replace it
with the exact same package version. This can fix a potential problem:
if an ebuild was using EAPI=4 or earlier, and is replaced with EAPI=5
without bumping the revision number of the ebuild, and another ebuild
has a subslot depend on this ebuild, then this can cause the dependent
ebuild to be rebuilt over and over again, which is fixed by manually
unmerging and re-emerging the dependent ebuild.
Top
xiando
n00b
n00b
User avatar
Posts: 19
Joined: Sun Feb 29, 2004 1:28 am
Location: EU
Contact:
Contact xiando
Website

  • Quote

Post by xiando » Wed Nov 13, 2013 12:02 am

Note: Now I notice your earlier output did not have
=dev-python/python-exec-10000.2 installed.

^^ this was the issue.

Thank you for your time and reply and working solution.[/b]
It is not named Bninux, Bninux is just a kernel, the OS is named BNU/Binux! Source: 24c3-2290-en-overtaking_proprietary_software.mp4
Top
dch24
Tux's lil' helper
Tux's lil' helper
Posts: 99
Joined: Thu Feb 15, 2007 2:27 am

  • Quote

Post by dch24 » Thu Jan 23, 2014 10:25 pm

I had the same problem.

Solution: emerge -1av =dev-python/python-exec-10000.2
Top
Post Reply

5 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