Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emerge --depclean
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Thu Mar 24, 2011 6:13 pm    Post subject: [SOLVED] emerge --depclean Reply with quote

hello,

i must say i have never used this command because i am afraid it will break my box but i tried time to time
to execute it using --pretend option additionally. currently a summary result is follow:

Packages installed: 949
Packages in world: 182
Packages in system: 51
Required packages: 821
Number to remove: 128

i have randomly checked some packages if it is safe to remove it but i am confirmed again to not believe to
--depclean option - for example:

it recommend to remove package dev-python/pyxml but i have inscape installed (and it is in my world file)
and this one required pyxml :-(

the second example is it wanted to remove xterm and it is only one terminal i have installed and used ;-)

now say - could i believe emerge --depclean does its job well? maybe i am wrong and someone advice me
how to use it and what to do because on the other side i am pretty sure i have some orphaned packages on
my system and would like to clean it up.

if it will be needed i can provide more information, it is enough to say what.

--JB


Last edited by JohnBlbec on Mon Mar 28, 2011 6:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1639

PostPosted: Thu Mar 24, 2011 7:59 pm    Post subject: Reply with quote

Depclean works well as long as your system is up to date.

Inkscape does not require pyxml, at least it does not require it anymore.

But as with your example of xterm, you have to be careful so that it does not remove packages that you use but have not explicitly installed, so check the list carefully. Xterm used to be a dependency of xorg-x11, but since it is nonessetial for people who use other terminal emulators, it was removed. You prevent it from removing xterm by doing "emerge --noreplace xterm".
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1109
Location: 127.0.0.1

PostPosted: Thu Mar 24, 2011 8:10 pm    Post subject: Reply with quote

just run revdep-rebuild after emerge --depclean, it will reinstall any required packages to make sure all dependencies are met
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 447
Location: Sao Paulo, Brazil

PostPosted: Thu Mar 24, 2011 8:41 pm    Post subject: Reply with quote

Hi JohnBlbec,
I have always had this doubt. There are lots of threads warning about depclean, however, such procedure seems to improve considerably.
Here goes my emerge -vp --depclean
Packages installed: 1104
Packages in world: 338
Packages in system: 51
Required packages: 1044
Number to remove: 60

If you still are unsure, I would start removing those packages that have omitted packages. Say, those packages that for some reason are duplicated.
In my case:
Code:
 mephisto ~ # equery list boost-build
[ Searching for package 'boost-build' in all categories among: ]
 * installed packages
[I--] [  ] dev-util/boost-build-1.41.0 (1.41)
[I--] [  ] dev-util/boost-build-1.42.0 (1.42)

I can't go further. Actually, I even don't mind about having only 60 packages in 1104.
G'Luck
Back to top
View user's profile Send private message
illuminated
n00b
n00b


Joined: 28 Dec 2010
Posts: 48

PostPosted: Thu Mar 24, 2011 9:35 pm    Post subject: Reply with quote

I think emerge --depclean just broke my system. First I updated adobe flash and python then I ran "revdep-rebuild" because I forgot to clean my system with emerge --depclean. After that, I ran the depclean command and it wanted to remove python (not sure which version) and gentoo-sources. Because I update my box every day, I thought that everything wil be ok but I was wrong. Now, I cannot even run emerge --update world because when I do, nothing happens. Please help. Here is my error when running revdep-rebuild

Code:
* Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 12% ]  *   broken /usr/bin/gdb (requires libpython2.6.so.1.0)
 *   broken /usr/bin/gdbtui (requires libpython2.6.so.1.0)
[ 46% ]  *   broken /usr/lib64/alsa-lib/smixer/smixer-python.la (requires -lpython2.6)
 *   broken /usr/lib64/alsa-lib/smixer/smixer-python.so (requires libpython2.6.so.1.0)
[ 59% ]  *   broken /usr/lib64/kde4/kpythonpluginfactory.so (requires libpython2.6.so.1.0)
[ 81% ]  *   broken /usr/lib64/python2.6/site-packages/Cython/Compiler/Parsing.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/Cython/Compiler/Scanning.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/Cython/Compiler/Visitor.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/Cython/Plex/Scanners.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/Cython/Runtime/refnanny.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/dnssd.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/kdecore.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/kdeui.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/khtml.so (requires libpython2.6.so.1.0)
[ 82% ]  *   broken /usr/lib64/python2.6/site-packages/PyKDE4/kio.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/knewstuff.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/kparts.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/ktexteditor.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/kutils.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/phonon.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/plasma.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/PyKDE4/solid.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/_cracklibmodule.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/_lcms.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/_xmlplus/parsers/pyexpat.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/_xmlplus/parsers/sgmlop.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/_xmlplus/utils/boolean.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/cairo/_cairo.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/gupnp/igd.la (requires -lpython2.6)
 *   broken /usr/lib64/python2.6/site-packages/gupnp/igd.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/imgfuncs.so (requires libpython2.6.so.1.0)
[ 83% ]  *   broken /usr/lib64/python2.6/site-packages/libxsltmod.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/core/_sort.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/core/multiarray.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/core/multiarray_tests.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/core/scalarmath.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/core/umath.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/core/umath_tests.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/fft/fftpack_lite.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/lib/_compiled_base.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/linalg/lapack_lite.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/numarray/_capi.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/numpy/random/mtrand.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/tdb.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/xmouse.so (requires libpython2.6.so.1.0)
 *   broken /usr/lib64/python2.6/site-packages/yasm.so (requires libpython2.6.so.1.0)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/bin/gdb -> sys-devel/gdb
 *   /usr/bin/gdbtui -> sys-devel/gdb
 *   /usr/lib64/alsa-lib/smixer/smixer-python.la -> media-libs/alsa-lib
 *   /usr/lib64/alsa-lib/smixer/smixer-python.so -> media-libs/alsa-lib
 *   /usr/lib64/kde4/kpythonpluginfactory.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/Cython/Compiler/Parsing.so -> dev-python/cython
 *   /usr/lib64/python2.6/site-packages/Cython/Compiler/Scanning.so -> dev-python/cython
 *   /usr/lib64/python2.6/site-packages/Cython/Compiler/Visitor.so -> dev-python/cython
 *   /usr/lib64/python2.6/site-packages/Cython/Plex/Scanners.so -> dev-python/cython
 *   /usr/lib64/python2.6/site-packages/Cython/Runtime/refnanny.so -> dev-python/cython
 *   /usr/lib64/python2.6/site-packages/PyKDE4/dnssd.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/kdecore.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/kdeui.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/khtml.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/kio.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/knewstuff.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/kparts.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/ktexteditor.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/kutils.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/phonon.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/plasma.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/PyKDE4/solid.so -> kde-base/pykde4
 *   /usr/lib64/python2.6/site-packages/_cracklibmodule.so -> sys-libs/cracklib
 *   /usr/lib64/python2.6/site-packages/_lcms.so -> media-libs/lcms
 *   /usr/lib64/python2.6/site-packages/_xmlplus/parsers/pyexpat.so -> dev-python/pyxml
 *   /usr/lib64/python2.6/site-packages/_xmlplus/parsers/sgmlop.so -> dev-python/pyxml
 *   /usr/lib64/python2.6/site-packages/_xmlplus/utils/boolean.so -> dev-python/pyxml
 *   /usr/lib64/python2.6/site-packages/cairo/_cairo.so -> dev-python/pycairo
 *   /usr/lib64/python2.6/site-packages/gupnp/igd.la -> net-libs/gupnp-igd
 *   /usr/lib64/python2.6/site-packages/gupnp/igd.so -> net-libs/gupnp-igd
 *   /usr/lib64/python2.6/site-packages/imgfuncs.so -> media-gfx/mirage
 *   /usr/lib64/python2.6/site-packages/libxsltmod.so -> dev-libs/libxslt
 *   /usr/lib64/python2.6/site-packages/numpy/core/_sort.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/core/multiarray.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/core/multiarray_tests.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/core/scalarmath.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/core/umath.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/core/umath_tests.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/fft/fftpack_lite.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/lib/_compiled_base.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/linalg/lapack_lite.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/numarray/_capi.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/numpy/random/mtrand.so -> dev-python/numpy
 *   /usr/lib64/python2.6/site-packages/tdb.so -> sys-libs/tdb
 *   /usr/lib64/python2.6/site-packages/xmouse.so -> media-gfx/mirage
 *   /usr/lib64/python2.6/site-packages/yasm.so -> dev-lang/yasm
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 *
 * Portage could not find any version of the following packages it could build:
 * dev-lang/yasm:0 dev-libs/libxslt:0 dev-python/cython:0 dev-python/numpy:0 dev-python/pycairo:0 dev-python/pyxml:0 kde-base/pykde4:4.4 media-gfx/mirage:0 media-libs/alsa-lib:0 media-libs/lcms:0 net-libs/gupnp-igd:0 sys-devel/gdb:0 sys-libs/cracklib:0 sys-libs/tdb:0
 *
 * (Perhaps they are masked, blocked, or removed from portage.)
 * Try to emerge them manually.
 *
 * Warning: Portage cannot rebuild any of the necessary packages.


Last edited by illuminated on Mon Mar 28, 2011 1:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
FizzyWidget
Veteran
Veteran


Joined: 21 Nov 2008
Posts: 1109
Location: 127.0.0.1

PostPosted: Thu Mar 24, 2011 10:18 pm    Post subject: Reply with quote

grab http://www.jabawok.net/gentoo/distfiles/Python-2.6.6.tar.bz2 - and extract it overwriting the files you have, it should allow you to use python, i would then suggest doing - emerge --update --newuse --deep @world - which hopefully should compile the packages your system requires
_________________
I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch.
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1639

PostPosted: Thu Mar 24, 2011 10:32 pm    Post subject: Reply with quote

Illuminated, I think it might have removed python 2.6 and left you with 2.7. Try running "eselect python" and set it to version 2.7. You also probably forgot to run python-updater.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
illuminated
n00b
n00b


Joined: 28 Dec 2010
Posts: 48

PostPosted: Thu Mar 24, 2011 11:03 pm    Post subject: Reply with quote

You are right. After I examined the problem I remembered that I forgot to change active python to 2.7. After that I ran python-updater and everything works fine now. Thank you guys. Is it safe to let portage remove dev-python/pyxml version 0.8.4-r2 ?
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1639

PostPosted: Fri Mar 25, 2011 3:13 am    Post subject: Reply with quote

Should be safe.
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
huckabuck
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2007
Posts: 110
Location: Bronx, NY

PostPosted: Fri Mar 25, 2011 3:41 am    Post subject: Reply with quote

Etal wrote:
Illuminated, I think it might have removed python 2.6 and left you with 2.7. Try running "eselect python" and set it to version 2.7. You also probably forgot to run python-updater.


Thanks for this reminder ... i thought i blew it 8)
Back to top
View user's profile Send private message
MaDxRaY
Tux's lil' helper
Tux's lil' helper


Joined: 14 May 2004
Posts: 106
Location: central europe

PostPosted: Fri Mar 25, 2011 8:21 am    Post subject: Reply with quote

hehe...last time is long ago but it seems every python update causes high blood pressure :) Thanks for reminder
_________________
greetz
Ray
Back to top
View user's profile Send private message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 553
Location: Almeria, Spain

PostPosted: Fri Mar 25, 2011 9:45 am    Post subject: Reply with quote

haha... :D I panicked, also, after --depclean removed python-2.6x from my system and got me a broken portage.

I think the python 2.7 elog message is incomplete. Apart from reminding to run python-updater, it should also remind you to eselect the new python 2.7x version, since after all at the end on any world update the system recommends you to run --depclean, when --depclean will remove python v2.6x

So, as instructed by the python 2.7 elog, I had run python-updater before doing the --depclean, but I ended up with a broken system. An eselect to the new 2.7 did the trick and I recovered emerge functionality. Now I'm re-running python-updater and 105 packages are being updated :)

BTW, I always use --depclean followed by a revdep-rebuild after my daily world updates, and it helps me keeping my system clean and shiny :D Not a single problem in a few years except today (if this can be considered as such).
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Fri Mar 25, 2011 11:35 am    Post subject: Reply with quote

Etal wrote:
Depclean works well as long as your system is up to date.

Inkscape does not require pyxml, at least it does not require it anymore.

But as with your example of xterm, you have to be careful so that it does not remove packages that you use but have not explicitly installed, so check the list carefully. Xterm used to be a dependency of xorg-x11, but since it is nonessetial for people who use other terminal emulators, it was removed. You prevent it from removing xterm by doing "emerge --noreplace xterm".


Code:

$ emerge -pvuDN world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB


Code:

$ equery depends pyxml
[ Searching for packages depending on pyxml... ]
media-gfx/inkscape-0.48.0 (dev-python/pyxml)
Back to top
View user's profile Send private message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 553
Location: Almeria, Spain

PostPosted: Fri Mar 25, 2011 11:54 am    Post subject: Reply with quote

JohnBlbec wrote:
Code:

$ equery depends pyxml
[ Searching for packages depending on pyxml... ]
media-gfx/inkscape-0.48.0 (dev-python/pyxml)


Which version of x11-libs/pango do you have? The inkscape-0.48.0.ebuild states:
Code:
...
COMMON_DEPEND="
        ...
        >=x11-libs/pango-1.4.0
        || ( dev-lang/python[xml] dev-python/pyxml )
        ...
        )"
...


Maybe a rebuild of inkscape if you have >=x11-libs/pango-1.4.0 installed will remove the dependency on dev-python/pyxml
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Fri Mar 25, 2011 12:22 pm    Post subject: Reply with quote

urcindalo wrote:
JohnBlbec wrote:
Code:

$ equery depends pyxml
[ Searching for packages depending on pyxml... ]
media-gfx/inkscape-0.48.0 (dev-python/pyxml)


Which version of x11-libs/pango do you have? The inkscape-0.48.0.ebuild states:
Code:
...
COMMON_DEPEND="
        ...
        >=x11-libs/pango-1.4.0
        || ( dev-lang/python[xml] dev-python/pyxml )
        ...
        )"
...


Maybe a rebuild of inkscape if you have >=x11-libs/pango-1.4.0 installed will remove the dependency on dev-python/pyxml


x11-libs/pango-1.28.3-r1 so last one
Back to top
View user's profile Send private message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 553
Location: Almeria, Spain

PostPosted: Fri Mar 25, 2011 12:49 pm    Post subject: Reply with quote

I just checked my own box and also in my case pyxml is needed by inkscape.
But, why is that? Shouldn't the option >=x11-libs/pango-1.4.0 take precedence over dev-lang/python[xml] in the ebuild? If I have x11-libs/pango-1.28.3-r1, why does my inkscape installation require pyxml? Where does this requirement come from? :?

However, since I have xml in my USE flags and thus python depends on pyxml, maybe that's the reason why I don't see it removed when I run --depclean. Just a thought.
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Fri Mar 25, 2011 12:55 pm    Post subject: Reply with quote

urcindalo wrote:
I just checked my own box and also in my case pyxml is needed by inkscape.
But, why is that? Shouldn't the option >=x11-libs/pango-1.4.0 take precedence over dev-lang/python[xml] in the ebuild? If I have x11-libs/pango-1.28.3-r1, why does my inkscape installation require pyxml? Where does this requirement come from? :?

However, since I have xml in my USE flags and thus python depends on pyxml, maybe that's the reason why I don't see it removed when I run --depclean. Just a thought.


i have no xml flag in my use...
Code:

~ $ emerge --info|grep xml
~ $
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1639

PostPosted: Fri Mar 25, 2011 3:08 pm    Post subject: Reply with quote

[quote="urcindalo"]
JohnBlbec wrote:
[code]
Which version of x11-libs/pango do you have? The inkscape-0.48.0.ebuild states:[code]...
COMMON_DEPEND="
...
>=x11-libs/pango-1.4.0
|| ( dev-lang/python[xml] dev-python/pyxml )
...
)"
...[/code]

Maybe a rebuild of inkscape if you have >=x11-libs/pango-1.4.0 installed will remove the dependency on dev-python/pyxml


You're misunderstanding the ebuild notation. It says that you need "pango AND ( python[xml] OR pyxml )".

You probably have python[xml] because the xml flag is on by default unless you specifically disabled it
(python-2.7.1-r1.ebuild:36: IUSE="-berkdb build ... wininst +xml").

So, pyxml is then useless. :)
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
urcindalo
Guru
Guru


Joined: 08 Feb 2005
Posts: 553
Location: Almeria, Spain

PostPosted: Fri Mar 25, 2011 3:46 pm    Post subject: Reply with quote

Etal wrote:
You're misunderstanding the ebuild notation. It says that you need "pango AND ( python[xml] OR pyxml )".

You probably have python[xml] because the xml flag is on by default unless you specifically disabled it
(python-2.7.1-r1.ebuild:36: IUSE="-berkdb build ... wininst +xml").

So, pyxml is then useless. :)


Thanks for pointing that out :)
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Fri Mar 25, 2011 4:00 pm    Post subject: Reply with quote

Etal wrote:
Illuminated, I think it might have removed python 2.6 and left you with 2.7. Try running "eselect python" and set it to version 2.7. You also probably forgot to run python-updater.


btw. I have tried it and python-updater always finishes with the following error:
Code:

Compiling: rsc_sw
Name "main::name" used only once: possible typo at /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/solenv/bin/deliver.pl line 1312.
Module 'sw' delivered successfully. 266 files copied, 0 files unchanged

1 module(s):
        xmlsecurity
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo/build/OOO320_m19/xmlsecurity/source/xmlsec/nss

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from xmlsecurity"

rmdir /var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/U7vvWzSK4u
make: *** [stamp/build] Error 1
 * ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase):
 *   Build failed
 *
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8318:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *
 * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
 * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.24"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/log/portage/app-office:openoffice-3.2.1-r1:20110325-144849.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'.
 * S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo'

>>> Failed to emerge app-office/openoffice-3.2.1-r1


edit: probably a known issue, see https://bugs.gentoo.org/show_bug.cgi?id=354911
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 447
Location: Sao Paulo, Brazil

PostPosted: Fri Mar 25, 2011 7:48 pm    Post subject: Reply with quote

Hi JohnBlbec,
Have a look on this thread for update python first. After that, run revdep-rebuild and depclean if you insist. You'll have to revdep-rebuild for a second time. As I have warned, don' t mess with depclean!
G'Luck
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Fri Mar 25, 2011 8:24 pm    Post subject: Reply with quote

ferreirafm wrote:
Hi JohnBlbec,
Have a look on this thread for update python first. After that, run revdep-rebuild and depclean if you insist. You'll have to revdep-rebuild for a second time. As I have warned, don' t mess with depclean!
G'Luck


hello ferreirafm,

just for info: I always execute "revdep-rebuild -- -av" after "emerge -avuDN world" so my system is really up to date. before "python-update" i used "eselect python set x" (x was the right number for python-2.7). python-update has not been able to finish its job w/o error (last package openoffice failed, total number of packages to rebuild was 49) and that is why i think i cannot continue :-( but thanks for your help... i have returned to use python-2.6...
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 447
Location: Sao Paulo, Brazil

PostPosted: Fri Mar 25, 2011 8:31 pm    Post subject: Reply with quote

Hi JohnBlbecSo, try:
Code:
emerge --skipfirst --resume

to update as much packages as possible, revdep-rebuild again and emerge openoffice afterwards.
G'Luck
Back to top
View user's profile Send private message
JohnBlbec
Apprentice
Apprentice


Joined: 08 Feb 2003
Posts: 178

PostPosted: Fri Mar 25, 2011 8:44 pm    Post subject: Reply with quote

ferreirafm wrote:
Hi JohnBlbecSo, try:
Code:
emerge --skipfirst --resume

to update as much packages as possible, revdep-rebuild again and emerge openoffice afterwards.
G'Luck


well, I do not understand. what should I update? as I said "emerge -avuDN world" says my system is up to date as well as revdep-rebuild is ok. you want to say I should update manually every package that python-update wants to rebuild? (it was successful for all packages except openoffice). btw. I have compiled openoffice a couple of days ego (python-2.6 profile) and everything was ok but the error appears just today when I want to switch to use python-2.7 from 2.6 and executed python-update. maybe I have lost myself :-)
Back to top
View user's profile Send private message
ferreirafm
Guru
Guru


Joined: 28 Jul 2005
Posts: 447
Location: Sao Paulo, Brazil

PostPosted: Fri Mar 25, 2011 8:55 pm    Post subject: Reply with quote

Hi JohnBlbec,
I thought that you were stucked with openoffice and still had a list of python-updates to emerge. That way you could skip openoffice a keep emerging the other python-updates.
Weird, I don't understand why you can't be able to emerge openoffice. If you need to use it right now, emerge openoffice-bin instead.
G'Luck
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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