Summary: | distutils based packages install into /usr/bin prefix | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Giulio Casella <giulio> |
Component: | [OLD] Development | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | java |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
java-config-2 build.log
/var/db/pkg/dev-java/java-config-2.1.9-r1/environment.bz2 here m/usr/lib/python2.6/config/Makefile |
Description
Giulio Casella
2009-11-10 11:01:36 UTC
At very least, attach build.log from such build. Created attachment 210166 [details]
java-config-2 build.log
Attach environment file too: after successful emerge, you can find it somewhere under /var/db/pkg/. Created attachment 210215 [details]
/var/db/pkg/dev-java/java-config-2.1.9-r1/environment.bz2
I suspected the EBIN=/usr/bin variable (where does it come from anyway?) but setting that didn't do it here. CCing python for advice: did you ever see distutils-based ebuild install binaries under /usr/bin/bin/ instead of /usr/bin ? (In reply to comment #5) > CCing python for advice: did you ever see distutils-based ebuild install > binaries under /usr/bin/bin/ instead of /usr/bin ? Personally I haven't seen it. (In reply to comment #5) > I suspected the EBIN=/usr/bin variable (where does it come from anyway?) Nice question :) I didn't (explicitly) set EBIN at all. I cannot even explain why some of the installation files go (correctly) in /usr/share and some others go (incorrectly) in /usr/bin/share: [root@giuliomobile ~]# equery f java-config [ Searching for packages matching java-config... ] * Contents of dev-java/java-config-2.1.9-r1: /etc /etc/env.d /etc/env.d/20java-config /etc/java-config-2 /etc/java-config-2/build /etc/java-config-2/build/compilers.conf /etc/java-config-2/build/jdk.conf /etc/java-config-2/virtuals /etc/profile.d /etc/profile.d/java-config-2.csh /etc/profile.d/java-config-2.sh /etc/revdep-rebuild /etc/revdep-rebuild/60-java /usr /usr/bin /usr/bin/bin /usr/bin/bin/ControlPanel -> run-java-tool [...cut...] /usr/bin/bin/xjc -> run-java-tool /usr/bin/lib /usr/bin/lib/python2.6 /usr/bin/lib/python2.6/site-packages /usr/bin/lib/python2.6/site-packages/java_config-2.1.9-py2.6.egg-info /usr/bin/lib/python2.6/site-packages/java_config_2 /usr/bin/lib/python2.6/site-packages/java_config_2/EnvironmentManager.py [...cut...] /usr/bin/lib/python2.6/site-packages/java_config_2/__init__.py /usr/bin/share /usr/bin/share/applications /usr/bin/share/applications/javaws.desktop /usr/bin/share/eselect /usr/bin/share/eselect/modules /usr/bin/share/eselect/modules/java-nsplugin.eselect /usr/bin/share/eselect/modules/java-vm.eselect /usr/bin/share/icons /usr/bin/share/icons/hicolor [...cut...] /usr/bin/share/pixmaps/java-icon48.png /usr/share /usr/share/doc /usr/share/doc/java-config-2.1.9-r1 /usr/share/doc/java-config-2.1.9-r1/ChangeLog.bz2 /usr/share/doc/java-config-2.1.9-r1/NEWS.bz2 /usr/share/doc/java-config-2.1.9-r1/PKG-INFO.bz2 /usr/share/doc/java-config-2.1.9-r1/README.bz2 /usr/share/doc/java-config-2.1.9-r1/TODO.bz2 /usr/share/java-config-2 /usr/share/java-config-2/config /usr/share/java-config-2/config/jdk-defaults.conf > but > setting that didn't do it here. > > CCing python for advice: did you ever see distutils-based ebuild install > binaries under /usr/bin/bin/ instead of /usr/bin ? > Inside /usr/bin/bin I can find binaries (and symlinks) from a number of packages: [root@giuliomobile ~]# equery b /usr/bin/bin [ Searching for file(s) /usr/bin/bin in *... ] dev-python/pyrex-0.9.8.5-r1 (/usr/bin/bin) dev-python/setuptools-0.6.4 (/usr/bin/bin) dev-python/pyxml-0.8.4-r2 (/usr/bin/bin) dev-python/numpy-1.3.0 (/usr/bin/bin) sys-process/iotop-0.2.1 (/usr/bin/bin) app-portage/layman-1.2.3 (/usr/bin/bin) dev-java/java-config-2.1.9-r1 (/usr/bin/bin) Looks similar to bug 150690 Do you use any custom distutils.cfg or something? Hand-installed python? (In reply to comment #8) > Looks similar to bug 150690 > Do you use any custom distutils.cfg or something? Hand-installed python? > No, this is my python scenario: [root@giuliomobile ~]# equery l dev-lang/python [ Searching for package 'python' in 'dev-lang' among: ] * installed packages [I--] [ ] dev-lang/python-2.5.4-r3 (2.5) [I--] [ ] dev-lang/python-2.6.2-r1 (2.6) [root@giuliomobile ~]# eselect python list Available python interpreters: [1] python2.5 [2] python2.6 * [root@giuliomobile ~]# genlop -t python * dev-lang/python [...cut...] Tue Nov 17 14:50:15 2009 >>> dev-lang/python-2.5.4-r3 merge time: 3 minutes and 14 seconds. Tue Nov 17 14:53:51 2009 >>> dev-lang/python-2.6.2-r1 merge time: 3 minutes and 36 seconds. (just reinstalled). Please attach /usr/lib/python2.6/config/Makefile. Created attachment 210795 [details]
here m/usr/lib/python2.6/config/Makefile
Python-based packages are migrating away from distutils, since it's been obsoleted long ago by distutils-r1. Python 2.5 and 2.6 have been removed from Portage a while ago. java-config has also been updated since. Consider syncing your system with our current sources. Closing this bug. |