Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360425 - app-emulation/emul-linux-x86-baselibs and python2.7
Summary: app-emulation/emul-linux-x86-baselibs and python2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 3 votes (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-25 12:51 UTC by Weihua Zhou
Modified: 2011-07-24 04:38 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emu.txt,3.79 KB, text/plain)
2011-04-10 19:10 UTC, blain 'Doc' Anderson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Weihua Zhou 2011-03-25 12:51:49 UTC
Now that python2.7 is stable in portage. It's better for emul-linux-x86-baselibs to be compatible with python2.7

Now the problem is that there is a file
/usr/lib32/python2.6/site-packages/libxml2mod.so
That should not be installed into /usr/lib32/python2.6 but /usr/lib32/python2.7 when python 2.7 is active.

Reproducible: Always

Steps to Reproduce:
1.Use eselect to choose python2.7 as active python
2.python-updater -p
3.You will find app-emulation/emul-linux-x86-baselibs will always be added.
Actual Results:  
 * Starting Python Updater...
 * Main active version of Python:  2.7
 * Active version of Python 2:     2.7
 * Active version of Python 3:     3.1
 *   Adding to list: app-emulation/emul-linux-x86-baselibs:0


Expected Results:  
When python is 2.6 libxml2mod should be installed into /usr/lib32/python2.6, and when python is 2.7, it should be installed into /usr/lib32/python2.7
Comment 1 blain 'Doc' Anderson 2011-04-10 17:46:19 UTC
amd64 ok test results 
/usr/lib32/python2.6/site-packages/libxml2mod.so
/usr/lib64/python2.7/site-packages/libxml2mod.so
Comment 2 Amir Guindehi 2011-04-10 18:10:46 UTC
Bug confirmed here on amd64:

# la /usr/lib*/python*/site-packages/libxml2mod.so
-rwxr-xr-x 1 root root 379264 Mar 29 20:28 /usr/lib/python2.7/site-packages/libxml2mod.so*
-rwxr-xr-x 1 root root 273828 Jan 29 20:24 /usr/lib32/python2.6/site-packages/libxml2mod.so*
-rwxr-xr-x 1 root root 379264 Mar 29 20:28 /usr/lib64/python2.7/site-packages/libxml2mod.so*

python-updater will add app-emulation/emul-linux-x86-baselibs forever... :(
Comment 3 blain 'Doc' Anderson 2011-04-10 19:10:00 UTC
Created attachment 269375 [details]
emerge --info
Comment 4 Weihua Zhou 2011-04-12 01:53:44 UTC
(In reply to comment #1)
> amd64 ok test results 
> /usr/lib32/python2.6/site-packages/libxml2mod.so
> /usr/lib64/python2.7/site-packages/libxml2mod.so

That confirms the bug. /usr/lib64/python2.7/site-packages/libxml2mod.so does not belong to emul-linux-x86-baselibs. As for the one under lib32, it should be under /usr/lib32/python2.7 if you choose python 2.7.
Comment 5 Gus Power 2011-06-21 13:06:18 UTC
Seeing the same issue here. We've got a binhost that runs updates nightly and subsequently revdev-rebuilds - since python 2.7 emul-linux-x86-baselibs is always added to the rebuild list.
Comment 6 Pacho Ramos gentoo-dev 2011-07-23 09:12:47 UTC
Fixed in latest version
Comment 7 Drake Wyrm 2011-07-24 04:38:55 UTC
Confirmed fixed in app-emulation/emul-linux-x86-baselibs-20110722. Thanks.