Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66884 - ebuild sys-apps/hal-0.2.98-r1 fails
Summary: ebuild sys-apps/hal-0.2.98-r1 fails
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-09 08:48 UTC by Jens Schittenhelm
Modified: 2005-04-26 01:17 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Schittenhelm 2004-10-09 08:48:24 UTC
e/hal/device-manager/Representation.py'
../../py-compile: line 77: /usr/lib/python2.3/site-packages: is a directory
make[3]: *** [install-devicemanagerPYTHON] Error 126
make[3]: Leaving directory `/var/tmp/portage/hal-0.2.98-r1/work/hal-0.2.98/tools/device-man ager'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/hal-0.2.98-r1/work/hal-0.2.98/tools/device-man ager'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/hal-0.2.98-r1/work/hal-0.2.98/tools'
make: *** [install-recursive] Error 1

My flags: USE="3dnow acpi acpi4linux amd autofs chroot dvd faad fam fbcon ffmpeg \
     flac gstreamer gtkhtml hal moznomail nocd pda transcode usb videos \
     xinerama xosd xvid -arts -kde -qt"

CFLAGS="-O2 -march=athlon-xp -pipe"

The previous hal versions compiled fine, what has changed?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 foser (RETIRED) gentoo-dev 2004-10-10 07:53:28 UTC
doubt this has to-do with your changes latexer, but have a look anyway...
Comment 2 Emanuele Tamponi 2004-10-11 06:09:05 UTC
You have to unset the $PYTHON variable that probably points to /usr/lib/python2.3/site-packages ... Try unsetting it with:

# unset PYTHON

if this don't solve the problem, then open /etc/env.d/99python and remove the line that defines $PYTHON ; then:

# env-update && source /etc/profile

Now the problem would be solved.

See you.
Comment 3 foser (RETIRED) gentoo-dev 2004-10-28 05:42:36 UTC
reporter, did comment #2 suggested fix work ?
Comment 4 Jens Schittenhelm 2004-10-28 09:04:36 UTC
Yes, after editing /etc/env.d/99python, it worked. However I have never touched this file before, so the situtation must have arised from an older Gentoo installation. 

Anyway, thanks for the workaround!
Comment 5 foser (RETIRED) gentoo-dev 2004-10-28 10:23:54 UTC
python guys, can you have look @ comment 2 & 4 ?
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2004-10-28 12:44:14 UTC
i'm pretty sure that we don't require the PYTHON env variable to be set anywhere. we never create /etc/env.d/99python so i suspect it is a local problem.
Comment 7 Dave Shanker 2005-04-25 19:14:32 UTC
*bump* Can this bug be closed?
Comment 8 foser (RETIRED) gentoo-dev 2005-04-26 01:17:10 UTC
yep