Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233337 - dev-python/pygtk-2.12.1-r2 doesn't install codegen.py in the correct location
Summary: dev-python/pygtk-2.12.1-r2 doesn't install codegen.py in the correct location
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 235021 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-30 01:10 UTC by Brian Beardall
Modified: 2008-08-23 10:40 UTC (History)
2 users (show)

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


Attachments
build log of pygtk-2.12.1-r2 (build.log,92.32 KB, text/plain)
2008-08-16 21:45 UTC, Brian Beardall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Beardall 2008-07-30 01:10:25 UTC
codegen.py is installed at:

/usr/share/pygtk/2.0/codegen/codegen.py

The patch that was supposed to fix this doesn't seem to fix the install location. Removing the patch the pygtk-codegen-2.0 script works again. This allows applications to be installed.

emerge --info
Portage 2.2_rc4 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-glibc2.2.5
Timestamp of tree: Tue, 29 Jul 2008 23:30:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -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/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/science /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac accessibility acl acpi aiglx alsa amd64 apache2 asf berkdb bluetooth bonobo branding browserplugin bzip2 cairo cdr cli cracklib crypt cups curl dba dbus dri dts dv dvd dvdr dvdread eds emboss encode esd evo exif expat fam ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimp glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imagemagick imap imlib ipv6 isdnlog java joystick jpeg kerberos kqemu lame lcms ldap libnotify libsamplerate lirc mad mhash midi mikmod mmx mng mono mp3 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp pam pcre pda pdf perl plotutils png ppds pppd python qt3support quicktime readline reflection samba scanner sdl session slang snmp spamassassin speex spell spl sse sse2 ssl startup-notification svg sysfs tcltk tcpd theora threads tiff truetype unicode usb userlocales v4l v4l2 vorbis x264 xine xml xml2 xorg xpm xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci emu10k1" 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" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Wormo (RETIRED) gentoo-dev 2008-07-30 06:54:53 UTC
Could you attach a build log for pygtk and a build log for one of the apps that failed to install?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-07-30 06:56:11 UTC
hum, weird, it's installed in the correct directory here, when did you install this version ?
Comment 3 Brian Beardall 2008-08-01 21:34:54 UTC
The package is trying to use automake-1.9 and I don't have that version installed. That is why the files aren't being installed in the correct locations. I have automake-1.10 installed.
Comment 4 Rémi Cardona (RETIRED) gentoo-dev 2008-08-02 08:02:27 UTC
Could you still please attach the log files created by portage "build.log" and the failing automake output?

Thanks
Comment 5 walt 2008-08-03 22:22:04 UTC
On my x86 machine, the codegen directory is in /usr/share/pygtk, but on my
~x86 machine it's in site-packages/gtk-2.0.  (Both current as of today.)

This may not be related, but I notice that on *both* machines pygtk is also
failing to install pygtk.py in the site-packages directory.  I didn't notice 
earlier because I still have a pygtk.py left over from May.

To rule out an ebuild bug I compiled/installed pygtk right from the tarball,
and found the same problem -- no pygtk.py anywhere, including /usr/share/*.

Anyone else seeing this?
Comment 6 walt 2008-08-03 22:46:44 UTC
Looks like the 2.12.0 ebuild needs the same codegen patch as 2.12.1.

That still doesn't explain the missing pygtk.py, though.
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-06 23:01:02 UTC
does adding eautomake at the end of src_unpack fixes it ?
Comment 8 Brian Beardall 2008-08-16 21:44:33 UTC
eautomake after src_unpack didn't fix the problem for me. So I'm posting the build log.
Comment 9 Brian Beardall 2008-08-16 21:45:26 UTC
Created attachment 163083 [details]
build log of pygtk-2.12.1-r2

Installing automake 1.9 fixes the install problem.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-17 18:39:32 UTC
*** Bug 235021 has been marked as a duplicate of this bug. ***
Comment 11 brant williams 2008-08-17 20:15:54 UTC
installing automake 1.9 worked for me as well

-rw-r--r-- 1 root root 68K Aug 17 15:13 /usr/lib64/python2.5/site-packages/gtk-2.0/codegen/codegen.py

:)
Comment 12 Eric Thibodeau 2008-08-18 17:32:29 UTC
Then add a dependency to automake 1.9 ?
Comment 13 Michael Griffiths 2008-08-20 06:08:17 UTC
This is caused by dev-python/pygtk-2.12.1-r2

Reinstalling with the following command fixed the issue for me:

emerge -av '<dev-python/pygtk-2.12.1-r2'

Additionally I think this bug may be a duplicate of 224039.
Comment 14 Miller Larson 2008-08-23 08:40:54 UTC
(In reply to comment #13)
> This is caused by dev-python/pygtk-2.12.1-r2
> 
> Reinstalling with the following command fixed the issue for me:
> 
> emerge -av '<dev-python/pygtk-2.12.1-r2'
> 
> Additionally I think this bug may be a duplicate of 224039.
> 

Worked for me too.  Fresh x86 install.  automake-1.10.1
Comment 15 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-08-23 10:40:18 UTC
eautomake was the solution, I forgot to mention that you needed to inherit autotools for it to make any difference. It's fixed in tree now.