Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121970 - net-print/hplip-0.9.8 fails to emerge (looking for python in /usr/sbin
Summary: net-print/hplip-0.9.8 fails to emerge (looking for python in /usr/sbin
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 05:13 UTC by Decibels
Modified: 2006-02-07 14:15 UTC (History)
0 users

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


Attachments
/var/tmp/portage/hplip-0.9.8/work/hplip-0.9.8/config.log (config.log,39.15 KB, text/plain)
2006-02-07 05:15 UTC, Decibels
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Decibels 2006-02-07 05:13:48 UTC
Emergin hplip-0.9.8 and looks like it is looking for 
/usr/sbin/python version >= 2.2 

When python is really in /usr/bin/python .

Here is the end of the compile where it fails:
<snip>

checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none ne
eded
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking for a BSD-compatible install... /bin/install -c
checking whether /usr/sbin/python version >= 2.2... configure: error: too old

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/hplip-0.9.8/work/hplip-0.9.8/config.log

!!! ERROR: net-print/hplip-0.9.8 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile
  hplip-0.9.8.ebuild, line 56:   Called econf 'compile' '--disable-cups-install'                                            '--disable-foomatic-install'

!!! econf failed
!!! If you need support, post the topmost build error, and the call stack if rel                                           evant.

<end>

Python-2.4.2 installed.

Attaching output from /var/tmp/portage/hplip-0.9.8/work/hplip-0.9.8/config.log
I have the net-print/hplip-0.9.7-r3 installed and working fine.
Comment 1 Decibels 2006-02-07 05:15:41 UTC
Created attachment 79110 [details]
/var/tmp/portage/hplip-0.9.8/work/hplip-0.9.8/config.log
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2006-02-07 08:16:41 UTC
Same version of python here, works for me.

Offending line of config.log:
./configure: line 20558: /usr/sbin/python: No such file or directory

My own config log shows python being called as python, not /usr/sbin/python.
Mind posting your emerge info and reopening?
Comment 3 Decibels 2006-02-07 13:56:16 UTC
Just to make sure some change wasn't commited to portage between sync's, I tried
again and then again after a emerge sync. Same results. Here is the emerge info:
*****************
decibels temp # emerge info
Portage 2.1_pre4-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.mirrored.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa arts audiofile avi bitmap-fonts cdr crypt cups dvd dvdread eds emboss encode fbcon flash foomaticdb fortran gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib java javascript jpeg kde libwww live lm_sensors lzo lzw lzw-tiff mad mime mozilla mp3 mpeg mysql ncurses nls nptl nsplugin nvidia oggvorbis opengl pdflib perl png ppds python qt quicktime readline real scanner sdl spell ssl svg tcpd theora tiff truetype-fonts type1-fonts usb userlocales vcd vorbis wmf xanim xmms xpm xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
*****************
Comment 4 Decibels 2006-02-07 14:14:37 UTC
Sorry, my fault. Had trouble with wxglade install, it didn't know the python
path. I made one in /etc/env.d and made a typo, had /usr/sbin/python in there.
Not sure why nothing else complained. Anyway, changed it back to /usr/bin/python
and emerged fine.

Sorry for the mixup. Closing
Comment 5 Marcelo Goes (RETIRED) gentoo-dev 2006-02-07 14:15:52 UTC
Cool, thanks, was just about to ask about your PYTHON env var hehe.
Cheers