Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I really don't understand python-updater
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Fri Jun 21, 2013 11:22 pm    Post subject: I really don't understand python-updater Reply with quote

Code:

$ python-updater -p

[...] # various lines deleted for effect

 * Starting Python Updater...
 * Main active version of Python:    3.2
 * Active version of Python 2:       2.7
 * Active version of Python 3:       3.2
 * Globally supported Python ABIs in installed repositories:
 *   gentoo:                         2.4 2.5 2.6 2.7 3.1 3.2 3.3 2.5-jython 2.7-jython 2.7-pypy-1.7 2.7-pypy-1.8 2.7-pypy-1.9 2.7-pypy-2.0
 *   Adding to list: app-accessibility/speech-dispatcher:0
 *   Adding to list: dev-libs/boost:0
 *   Adding to list: dev-libs/libgamin:0
 *   Adding to list: media-libs/lcms:0
 *   Adding to list: net-analyzer/rrdtool:0
 *   Adding to list: sys-apps/file:0
 *   Adding to list: sys-libs/cracklib:0
 * emerge -Dv1 --keep-going -p app-accessibility/speech-dispatcher:0 dev-libs/boost:0 dev-libs/libgamin:0 media-libs/lcms:0 net-analyzer/rrdtool:0 sys-apps/file:0 sys-libs/cracklib:0

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

Calculating dependencies... done!
[ebuild   R    ] sys-apps/file-5.12-r1  USE="zlib -python -static-libs" 0 kB
[ebuild   R    ] sys-libs/cracklib-2.8.19  USE="nls zlib -build -python -static-libs" 0 kB
[ebuild   R    ] dev-libs/boost-1.49.0-r2  USE="-debug -doc -icu -mpi -python -static-libs -tools" 0 kB
[ebuild   R    ] dev-libs/libgamin-0.1.10-r3  USE="-debug -python -static-libs" 0 kB
[ebuild   R    ] media-libs/lcms-1.19  USE="jpeg tiff zlib -python -static-libs" 0 kB
[ebuild   R    ] app-accessibility/speech-dispatcher-0.7.1-r1  USE="alsa espeak nas -ao -flite -pulseaudio -python" 0 kB
[ebuild   R    ] net-analyzer/rrdtool-1.4.7-r1  USE="tcpd -dbi -doc -lua -perl -python -rrdcgi -ruby -tcl" 0 kB

Total: 7 packages (7 reinstalls), Size of downloads: 0 kB


What do these packages have in common? Yes, they were all built with "USE=-python"

As installed, it seems that none of these packages have anything to do with python. For example:

Code:

$ qlist sys-apps/file
/usr/bin/file
/usr/share/misc/magic.mgc
/usr/share/man/man1/file.1.bz2
/usr/share/man/man3/libmagic.3.bz2
/usr/share/man/man4/magic.4.bz2
/usr/share/doc/file-5.11/MAINT.bz2
/usr/share/doc/file-5.11/README.bz2
/usr/share/doc/file-5.11/ChangeLog.bz2
/usr/include/magic.h
/usr/lib64/libmagic.so.1
/usr/lib64/libmagic.so.1.0.0
/usr/lib64/libmagic.so


Can someone please explain why that package (and the others listed) need to be rebuilt by python-updater?
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 2204
Location: UK

PostPosted: Sat Jun 22, 2013 4:37 pm    Post subject: Reply with quote

Running it with -v -v outputs lines like this:
Code:
 * Checking sys-apps/file-5.12-r1:0
 *   Adding to list: sys-apps/file:0
 *     check: PYTHON_ABIS [ Previous Python ABIs: , new Python ABIs: 2.7 3.2 ]

I think that might be a bug in python-updater since I haven't touched the PYTHON_ABIS setting, and it persists if I reinstall sys-apps/file.
Back to top
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1347

PostPosted: Sat Jun 22, 2013 5:23 pm    Post subject: Reply with quote

curmudgeon wrote:
Code:

$ qlist sys-apps/file
/usr/bin/file
/usr/share/misc/magic.mgc
/usr/share/man/man1/file.1.bz2
/usr/share/man/man3/libmagic.3.bz2
/usr/share/man/man4/magic.4.bz2
/usr/share/doc/file-5.11/MAINT.bz2
/usr/share/doc/file-5.11/README.bz2
/usr/share/doc/file-5.11/ChangeLog.bz2
/usr/include/magic.h
/usr/lib64/libmagic.so.1
/usr/lib64/libmagic.so.1.0.0
/usr/lib64/libmagic.so


That does not appear to contain any Python files, please file bugs like these at https://bugs.gentoo.org/
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1340

PostPosted: Sun Jun 23, 2013 1:29 pm    Post subject: Reply with quote

TomWij wrote:
That does not appear to contain any Python files, please file bugs like these at https://bugs.gentoo.org/


Did that:

https://bugs.gentoo.org/show_bug.cgi?id=474090
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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