Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199488 - dev-python/pygobject-2.14 fails to emerge : can't find Python headers
Summary: dev-python/pygobject-2.14 fails to emerge : can't find Python headers
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 200045 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-11-18 01:56 UTC by David Fellows
Modified: 2007-11-23 07:17 UTC (History)
1 user (show)

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


Attachments
pygobject-2.14.0 config.log (config.log,24.21 KB, text/plain)
2007-11-18 02:02 UTC, David Fellows
Details
pygobject build log (dev-python:pygobject-2.14.0:20071118-015828.log,5.91 KB, text/plain)
2007-11-18 02:04 UTC, David Fellows
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Fellows 2007-11-18 01:56:56 UTC
Emerging dev-python/pygobject-2.14 fails with the following error
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers.

pygobject-2.12.3 emerged without incident on 2006-12-16.

Reproducible: always
Steps to reproduce
with pygobject-2.12.3 previously emerged
emerge -uv pygobject



# emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 AMD Opteron(tm) Processor 246
Timestamp of tree: Sat, 17 Nov 2007 20:57:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r3, 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ http://gentoo.mirrors.tera-byte.com/ http://gentoo.osuosl.org/ "
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus doc dri exif fortran gcj gdbm gnome gpm gtk guile iconv ipv6 isdnlog java jpeg lcms midi mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre perl png pppd python readline reflection session spl sse sse2 ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode xorg zlib" ALSA_CARDS="cmipci via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="konica minolta" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv radeon vga fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-18 01:58:55 UTC
Attach the config.log here please.
Comment 2 David Fellows 2007-11-18 02:02:13 UTC
Created attachment 136198 [details]
pygobject-2.14.0 config.log
Comment 3 David Fellows 2007-11-18 02:04:01 UTC
Created attachment 136199 [details]
pygobject build log
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-18 10:16:16 UTC
is there a particular reason you still have python 2.3 ?
python-2.4.4-r6 is supposed to be fixed wrt to python detection so I guess the problem is that symlinks might still point to the old version. If this is the case I suggest you run python-updater and get rid of python-2.3
Comment 5 David Fellows 2007-11-18 14:18:04 UTC
After sleeping on the problem and checking portage log files I find I had the following sequence of events.
emerge python-2.4.4-r6 (regular update)
emerge python-2.3.6-r3 (due to it being flagged in a security advisory)

So I did
emerge  python
emerge python-updater

and emerge pygobject then completed successfully.

I guess I should get rid of python-2.3.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2007-11-18 14:28:40 UTC
ok, thanks for checking that. You should indeed get rid of 2.3 if there is no compelling reason to keep it (I suppose you should know that if it's the case).

On side note, don't use "emerge python" if you just want to recompile it, it will clutter /var/lib/portage/world, prefer "emerge -1 python" (or --oneshot).
The thing is that it will make it difficult for portage to figure out which dependencies to clean (with --depclean or unmerge-orphans) if you remove a program you wanted to test or just don't have a use for anymore.
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2007-11-23 07:17:18 UTC
*** Bug 200045 has been marked as a duplicate of this bug. ***