Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279252 - sys-devel/gcc-4.4.x: /usr/share/python/{aotcompile,classfile}.py not slotted
Summary: sys-devel/gcc-4.4.x: /usr/share/python/{aotcompile,classfile}.py not slotted
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-27 04:34 UTC by SpanKY
Modified: 2009-08-13 18:16 UTC (History)
0 users

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 SpanKY gentoo-dev 2009-07-27 04:34:45 UTC
hit collision with gcc 4.4.0 and gcc 4.4.1 on the files:
 *      /usr/share/python/aotcompile.py
 *      /usr/share/python/classfile.py

[ebuild   R   ] sys-devel/gcc-4.4.1  USE="fortran gcj gtk mudflap (multilib) multislot nls nptl objc objc-gc openmp (-altivec) -bootstrap -build -doc (-fixed-point) -graphite -hardened -ip28 -ip32r10k -libffi (-n32) (-n64) -nocxx -objc++ -test -vanilla" 0 kB

Portage 2.2_rc33 (default/linux/amd64/2008.0/developer, gcc-4.4.0, glibc-2.10.1-r0, 2.6.30 x86_64)
=================================================================                                 
System uname: Linux-2.6.30-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4200+-with-gentoo-2.0.1
Timestamp of tree: Sat, 25 Jul 2009 04:00:01 +0000                                                
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                         
ccache version 2.4 [enabled]                                                                      
app-shells/bash:     4.0_p24                                                                      
dev-java/java-config: 1.3.7-r1, 2.1.8-r1                                                          
dev-lang/python:     2.6.2-r1                                                                     
dev-python/pycrypto: 2.0.1-r8                                                                     
dev-util/ccache:     2.4-r8                                                                       
dev-util/cmake:      2.6.4                                                                        
sys-apps/baselayout: 2.0.1                                                                        
sys-apps/openrc:     0.4.3-r3                                                                     
sys-apps/sandbox:    2.0                                                                          
sys-devel/autoconf:  2.13, 2.64                                                                   
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.2, 1.11               
sys-devel/binutils:  2.15.92.0.2-r10, 2.16-r1, 2.16.1, 2.16.1-r3, 2.16.90.0.3, 2.16.91.0.1, 2.16.91.0.2, 2.16.91.0.3, 2.16.91.0.4, 2.16.91.0.5, 2.16.91.0.6, 2.16.91.0.7, 2.16.92, 2.16.93, 2.16.94, 2.17-r1, 2.17.50.0.2, 2.17.50.0.3, 2.17.50.0.4, 2.17.50.0.5, 2.17.50.0.6, 2.17.50.0.7, 2.17.50.0.8, 2.17.50.0.9, 2.17.50.0.10, 2.17.50.0.11, 2.17.50.0.12, 2.17.50.0.13, 2.17.50.0.14, 2.17.50.0.15, 2.17.50.0.16, 2.17.50.0.17, 2.17.50.0.18, 2.18-r2, 2.18.50.0.1, 2.18.50.0.2, 2.18.50.0.3, 2.18.50.0.4, 2.18.50.0.5, 2.18.50.0.6, 2.18.50.0.7, 2.18.50.0.8, 2.18.50.0.9, 2.19, 2.19.1-r1, 2.19.50.0.1, 2.19.51.0.1, 2.19.51.0.2, 2.19.51.0.3, 2.19.51.0.4, 2.19.51.0.5, 2.19.51.0.6, 2.19.51.0.10, 2.19.51.0.11, 2.19.51.0.12, 2.19.51.0.14                                                             
sys-devel/gcc-config: 1.4.1                                                                                                                                  
sys-devel/libtool:   2.2.6a                                                                                                                                  
virtual/os-headers:  2.6.30                                                                                                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                                               
CBUILD="x86_64-pc-linux-gnu"                                                                                                                                 
CFLAGS="-O2 -march=k8 -pipe -g -Wimplicit-function-declaration"                                                                                              
CHOST="x86_64-pc-linux-gnu"                                                                                                                                  
CONFIG_PROTECT="/etc /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/etc"                                                                
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"                                                                     
CXXFLAGS="-O2 -march=k8 -pipe -g"                                                                                                                            
DISTDIR="/usr/portage/distfiles"                                                                                                                             
EMERGE_DEFAULT_OPTS="--nospinner"                                                                                                                            
FEATURES="buildsyspkg ccache collision-protect cvs distlocks fixpackages multilib-strict noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug stricter unmerge-orphans userfetch userpriv usersandbox"                                                                                       
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                        
LANG="en_US.UTF8"                                                                                                                                            
LDFLAGS="-Wl,-O1 -Wl,-z,relro"                                                                                                                               
LINGUAS="en en_US de"                                                                                                                                        
MAKEOPTS="-j6"                                                                                                                                               
PKGDIR="/usr/portage/packages"                                                                                                                               
PORTAGE_COMPRESS="lzma"                                                                                                                                      
PORTAGE_CONFIGROOT="/"                                                                                                                                       
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/local/portage /usr/local/src/gentoo/overlays/vapier/enlightenment"
SYNC="rsync://gentoo/gentoo-portage"
USE="3dnow X a52 aac aalib accessibility acl acpi adns agg aio alsa amd64 apache2 asf audiofile berkdb bitmap-fonts bzip2 cairo caps cdaudio cddb cdparanoia cdr cli console cracklib crypt ctype cups curl cvs dba dbus divx4linux dri dts dvb dvd dvdr dvdread emboss encode evo exif fbcon ffmpeg firefox flac flash fortran ftp gcj gd gif glib glitz glut gmp gphoto2 gpm gtk gtk2 hal htmlhandbook iconv imap imlib ipv6 isdnlog jbig joystick jpeg jpeg2k kde kpathsea libcaca libedit libnotify lzo lzw mad maildir mailwrapper matroska midi mikmod mime mjpeg mmx mng modplug mp3 mp4 mpeg mplayer mtp mudflap multilib multislot musepack mysql ncurses nls nptl nptlonly nsplugin nvidia objc objc-gc offensive ogg oggvorbis openal opengl openmp pcre pdf perl pic png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline redland reflection samba sdl session sndfile snmp spell spl sqlite sse sse2 ssl startup-notification subtitles subversion svg sysfs syslog tcl tcltk tcpd tga theora threads tiff tk truetype truetype-fonts type1-fonts unicode upnp usb vcd vnc vorbis webkit wma wmf xanim xattr xcb xcomposite xine xinerama xml xml2 xorg xpm xrandr xulrunner xv xvid xvmc zip 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard joystick void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US de" USERLAND="GNU" VIDEO_CARDS="nvidia nv ati r128 radeon vga sisusb"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2009-08-01 04:05:15 UTC
looks like this might be handled w/ --with-python-dir


http://gcc.gnu.org/ml/java-patches/2008-q2/msg00042.html

- if --with-python-dir is not specified (say, in a regular upstream build) , classfile.py and aotcompile.py are installed in $(prefix)/share/python. Otherwise, those Python modules will be installed in the path specified with --with-python-dir. I modified aot-compile -> aot-compile.in to append whichever path classfile.py and aotcompile.py was installed in, so that it can actually find these modules (it wouldn't look in $(prefix)/share/python by default).
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2009-08-02 21:49:03 UTC
Is /usr/share/gcc-data/i686-pc-linux-gnu/4.4.0/ a good place to dump those scripts you think?
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2009-08-09 02:46:18 UTC
in 4.5 i seem to have a /usr/share/gcc-data/x86_64-unknown-linux-gnu/4.5.0-pre9999/gcc-4.5.0-pre9999/python directory.

i also have /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre9999/libstdc++.so.6.0.13-gdb.py which annoys the hell out of me every time ldconfig gets run.

/sbin/ldconfig: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.5.0-pre9999/libstdc++.so.6.0.13-gdb.py is not an ELF file - it has the wrong magic bytes at the start.

Comment 4 Mark Loeser (RETIRED) gentoo-dev 2009-08-13 18:16:29 UTC
Fixed now.  The actual patch that got committed for with-python-dir to GCC actually prepends the prefix to it, so I strip that off first when specifying the python directory.