Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207648 - stabilize wx*
Summary: stabilize wx*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords: STABLEREQ
: 210379 (view as bug list)
Depends on:
Blocks: 210380
  Show dependency tree
 
Reported: 2008-01-27 05:20 UTC by Ryan Hill (RETIRED)
Modified: 2008-03-17 12:29 UTC (History)
2 users (show)

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


Attachments
build.log.bz2 (build.log.bz2,14.04 KB, text/plain)
2008-03-11 09:18 UTC, Peter Volkov (RETIRED)
Details
build-2.6.log.bz2 (build-2.6.log.bz2,12.96 KB, text/plain)
2008-03-11 09:55 UTC, Peter Volkov (RETIRED)
Details
wxpython-setup.py-collisions-2.4.patch (wxpython-setup.py-collisions-2.4.patch,814 bytes, patch)
2008-03-16 07:12 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2008-01-27 05:20:30 UTC
the bug you've all been waiting for...

please stabilize:

app-admin/eselect-wxwidgets-0.7-r1

dev-python/wxpython-2.6.4.0-r1
x11-libs/wxGTK-2.6.4.0-r3

dev-python/wxpython-2.8.7.1
x11-libs/wxGTK-2.8.7.1-r1

we need stable keywords on alpha, amd64, hppa, ia64, ppc, ppc64, sparc, and x86.  we would like major platforms stable for the 2008.0 snapshot.  we realize these packages take a very long time to test on secondary platforms so take your time.

there are no testsuites for these, but some major packages that use them include vlc, amule, bittorrent, ftpcube, audacity, scorched3d, poedit, rapidsvn...
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2008-01-27 14:22:34 UTC
x86 stable
Comment 2 Brent Baude (RETIRED) gentoo-dev 2008-01-27 15:21:19 UTC
ppc64 done.  

Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2008-01-27 19:00:20 UTC
alpha/ia64/sparc stable
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2008-01-28 15:42:53 UTC
Move stuff to new alias
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-01-28 18:32:06 UTC
Stable for HPPA.
Comment 6 nixnut (RETIRED) gentoo-dev 2008-01-29 19:25:13 UTC
ppc stable
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2008-01-31 10:35:00 UTC
Re-reassigning, sorry for the bugspam
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2008-02-16 16:18:20 UTC
*** Bug 210379 has been marked as a duplicate of this bug. ***
Comment 9 Matthias Langer 2008-03-07 02:36:19 UTC
on amd64:

well, there is at least a small problem:
sci-mathematics/wxmaxima-0.7.3a
depends on "=x11-libs/wxGTK-2.6*"
and thus, 

"
$ revdep-rebuild
[...]
[ebuild  NS   ] x11-libs/wxGTK-2.6.4.0-r1  USE="X gnome opengl sdl unicode -debug -doc -joystick -odbc -pch" 
[ebuild   R   ] sci-visualization/gnuplot-4.2.2-r1  
[ebuild   R   ] media-video/vlc-0.8.6d-r1  
[ebuild   R   ] sci-mathematics/wxmaxima-0.7.3a  
[blocks B     ] <=x11-libs/wxGTK-2.6.4.0-r2 (is blocking app-admin/eselect-wxwidgets-0.7-r1)
"

therefore, i would suggest to take a look at
sci-mathematics/wxmaxima-0.7.4
too (i'm just emerging it), and eventually push it to stable with the other wx* packages.
Comment 10 Matthias Langer 2008-03-07 03:01:20 UTC
and it even gets worse: all versions of media-video/vlc seem to depend on "=x11-libs/wxGTK-2.6*"...
Comment 11 Matthias Langer 2008-03-07 03:03:41 UTC
> and it even gets worse: all versions of media-video/vlc seem to depend on
> "=x11-libs/wxGTK-2.6*"...

ups, sorry... i'm just stupid; forget comment 8 and comment 9 :-/

Comment 12 Matthias Langer 2008-03-08 15:06:36 UTC
on amd64:

hopefully this makes more sense than my last comments ;-): i've installed

app-admin/eselect-wxwidgets-0.7-r1
x11-libs/wxGTK-2.6.4.0-r3  
USE="X gnome opengl sdl unicode -debug -doc -odbc -pch"
x11-libs/wxGTK-2.8.7.1-r1  
USE="X gnome gstreamer opengl sdl -debug -doc -odbc -pch"

and tested wxGTK-2.6.4.0-r3 with

* games-strategy/scorched3d-40.1d
* sci-mathematics/wxmaxima-0.7.3a
* media-video/vlc-0.8.6e
* sci-visualization/gnuplot-4.2.2-r1

i've not yet looked more closely at the 2.8* stuff, but as a matter of fact, there are no stable packages that need it, and thus nothing it could break.

Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Timestamp of tree: Sat, 08 Mar 2008 01:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
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.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/var/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="/var/portage/repos/gentoo"
PORTDIR_OVERLAY="/var/portage/repos/private"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 beagle berkdb bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups dbus djvu dri dvd dvdr dvdread eds emboss encode evo exif fam ffmpeg firefox flac fortran gd gdbm gif gimp gnome gphoto2 gpm gstreamer gtk hal hddtemp iconv icu ipod ipv6 isdnlog java jpeg jpeg2k keyring lcms ldap libnotify lm_sensors mad matroska midi mikmod mmap mmx mmxext mono mp3 mpeg mudflap musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl plotutils png pppd pulseaudio python qt3support quicktime readline reflection ruby sdl session spell spl sse sse2 ssl ssse3 svg tcpd tetex theora threads tiff truetype unicode usb vcd vim-syntax vorbis xattr xml xorg xv xvid zlib" 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 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 konica ptp2 kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 13 Mart Raudsepp gentoo-dev 2008-03-09 02:49:55 UTC
(In reply to comment #12)
> i've not yet looked more closely at the 2.8* stuff, but as a matter of fact,
> there are no stable packages that need it, and thus nothing it could break.

Yes, there probably isn't, and probably because amd64 doesn't have a stable 2.8 yet.
Comment 14 Matthias Langer 2008-03-09 11:50:50 UTC
> Yes, there probably isn't, and probably because amd64 doesn't have a stable 2.8
> yet.
> 

hey, i might be stupid (see comment 11), but i'm not *that* stupid ;-). 

whatever:

x11-libs/wxGTK-2.8.7.1-r1  
USE="X gnome gstreamer opengl sdl -debug -doc -odbc -pch"

seems to be fine, at least with

net-p2p/amule-2.1.3-r1  
USE="gtk nls stats unicode -daemon -debug -geoip -remote"

(see bug 210380) although i've rarely seen a package producing more compiler warnings (that are actually coming from a few wx* headers) while building.

for "emerge --info" see comment 12.
Comment 15 Peter Volkov (RETIRED) gentoo-dev 2008-03-10 11:44:36 UTC
Eh, I've just tried to install wxpython here and encountered collisions:

 * package dev-python/wxpython-2.8.7.1 NOT merged
 *
 * Detected file collision(s):
 *
 *  /usr/lib/python2.4/site-packages/wxversion.py
 *  /usr/lib/python2.4/site-packages/wx.pth
 *  /usr/lib/python2.4/site-packages/wxversion.pyc
 *  /usr/lib/python2.4/site-packages/wxaddons/__init__.pyc
 *  /usr/lib/python2.4/site-packages/wxaddons/setup.py
 *  /usr/lib/python2.4/site-packages/wxaddons/__init__.py
 *  /usr/lib/python2.4/site-packages/wxaddons/setup.pyc
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * dev-python/wxpython-2.6.4.0-r1
 *  /usr/lib/python2.4/site-packages/wxversion.py
 *  /usr/lib/python2.4/site-packages/wx.pth
 *  /usr/lib/python2.4/site-packages/wxversion.pyc
 *  /usr/lib/python2.4/site-packages/wxaddons/__init__.pyc
 *  /usr/lib/python2.4/site-packages/wxaddons/setup.py
 *  /usr/lib/python2.4/site-packages/wxaddons/__init__.py
 *  /usr/lib/python2.4/site-packages/wxaddons/setup.pyc

This does not seem to be amd64 specific problem... Or do I miss anything?
Comment 16 Ryan Hill (RETIRED) gentoo-dev 2008-03-10 13:20:48 UTC
hmm, that should have been taken care of by

    python_version
    local site_pkgs=/usr/$(get_libdir)/python${PYVER}/site-packages

    [...]

    # Collision protection.
    for file in \
        "${D}"/usr/bin/* \
        "${D}"/${site_pkgs}/wx{version.*,.pth,addons}; do
            mv "${file}" "${file}-${SLOT}"
    done

and then:

    alternatives_auto_makesym \
        "${site_pkgs}/wx.pth" "${site_pkgs}/wx.pth-[0-9].[0-9]"
    alternatives_auto_makesym \
        "${site_pkgs}/wxversion.py" "${site_pkgs}/wxversion.py-[0-9].[0-9]"

Comment 17 Peter Volkov (RETIRED) gentoo-dev 2008-03-10 15:56:05 UTC
Strange. I see the following errors during install:

mv: cannot stat `/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image///usr/lib64/python2.4/site-packages/wxversion.*': No such file or directory
mv: cannot stat `/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image///usr/lib64/python2.4/site-packages/wx.pth': No such file or directory
mv: cannot stat `/var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image///usr/lib64/python2.4/site-packages/wxaddons': No such file or directory

Seems that wxpython has does honour $(get_libdir) somewhere during build...
Comment 18 Matthias Langer 2008-03-10 17:10:00 UTC
exactly the same for me:

"
# emerge -va =dev-python/wxpython-2.6.4.0-r1 =dev-python/wxpython-2.8.7.1
[...]
[ebuild  N    ] dev-python/wxpython-2.6.4.0-r1  USE="opengl unicode" 0 kB 
[ebuild  N    ] dev-python/wxpython-2.8.7.1  USE="opengl" 0 kB
[...]
 * package dev-python/wxpython-2.8.7.1 NOT merged
 * 
 * Detected file collision(s):
[...]
"
Comment 19 Ryan Hill (RETIRED) gentoo-dev 2008-03-11 02:24:55 UTC
i'm not sure what's happening.  here everything gets installed into /usr/lib64.

eg.
running install
running build
running build_py
running install_lib
creating /var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image/usr/lib64/python2.5/site-packages/wxaddons
copying build/lib/wxaddons/setup.py -> /var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image/usr/lib64/python2.5/site-packages/wxaddons
copying build/lib/wxaddons/__init__.py -> /var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image/usr/lib64/python2.5/site-packages/wxaddons
byte-compiling /var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image/usr/lib64/python2.5/site-packages/wxaddons/setup.py to setup.pyc
byte-compiling /var/tmp/portage/dev-python/wxpython-2.6.4.0-r1/image/usr/lib64/python2.5/site-packages/wxaddons/__init__.py to __init__.pyc

--- /usr/lib64/
--- /usr/lib64/python2.5/
--- /usr/lib64/python2.5/site-packages/
>>> /usr/lib64/python2.5/site-packages/wxPython_common-2.6.4.0-py2.5.egg-info
>>> /usr/lib64/python2.5/site-packages/wxaddons-2.6/
>>> /usr/lib64/python2.5/site-packages/wxaddons-2.6/setup.pyc
>>> /usr/lib64/python2.5/site-packages/wxaddons-2.6/__init__.pyc
>>> /usr/lib64/python2.5/site-packages/wxaddons-2.6/setup.py
>>> /usr/lib64/python2.5/site-packages/wxaddons-2.6/__init__.py
>>> /usr/lib64/python2.5/site-packages/wxversion.py-2.6
>>> /usr/lib64/python2.5/site-packages/wxaddons-2.6.4.0-py2.5.egg-info
>>> /usr/lib64/python2.5/site-packages/wx.pth-2.6

can you post the build log and emerge --info?  this isn't a stable box so one big change is it's using python 2.5 but i'd like to see what else is different so i can figure out how to reproduce it.

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.3.1-pre20080306, glibc-2.7-r1, 2.6.24-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r3 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Timestamp of tree: Sat, 08 Mar 2008 01:30:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1, 2.18.50.0.3, 2.18.50.0.4
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=nocona -fomit-frame-pointer -pipe -fdirectives-only"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=nocona -fomit-frame-pointer -pipe -fdirectives-only"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
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/overlay/dirtyepic /home/dirtyepic/svn/gcc-porting"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi addbookmarks ads aften alias alsa amd64 ao apache2 async audiofile automount autoreplace avahi bash-completion bcmath beagle berkdb bluetooth branding bzip2 cairo caps cdb cddb cdio cdr cgi chm cli connectionstatus contactnotes cracklib crypt cups curl curlwrappers custom-cflags cxx daap dbus deprecated djbfft djvu dri dts dvd dvdr dvi eds encode esd exif expat fam ffmpeg fftw flac fontconfig fpx ftp gadu galago gd gdbm gif glib gmp gnome gnutls gphoto2 gpm graphviz groupwise gs gstreamer gtk hal hdri highlight history howl-compat hpn iconv icu ieee1394 ifp imagemagick imap imlib ipod irc isdnlog jack jbig jingle joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility keyring latex lcms ldap libnotify libwww logitech-mouse logrotate lzo mad mdnsresponder-compat midi mmap mmx mmxext mng mono mp2 mp3 mp4 mpeg mplayer mtp musicbrainz nas ncurses netmeeting network network-cron networkmanager new-login njb nntp nowlistening nptl nptlonly nsplugin odbc ogg openexr opengl openmp oss pam pango pch pcre pda pdf perl pic png portaudio povray ppds pppd python qt3 quicktime rar readline reflection regex rle rtc ruby sametime sasl scanner sdl session slp smp sms sndfile sound speex spell spl sqlite sqlite3 sse sse2 ssl startup-notification statistics svg swat t1lib tcl tcpd tetex texteffect theora threads thunderbird tiff tk translator truetype unicode usb utempter v4l v4l2 vcd vim-syntax vim-with-x visualization vorbis webpresence wifi winpopup wmf x264 xattr xcb xcomposite xine xml xorg xpm xscreensaver xulrunner xv xvid yahoo zlib" ALSA_CARDS="hda-intel" 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 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" ELIBC="glibc" INPUT_DEVICES="joystick mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 20 Peter Volkov (RETIRED) gentoo-dev 2008-03-11 09:18:44 UTC
Created attachment 145800 [details]
build.log.bz2

build log is in attachment. I'm testing that of course in stable chroot, with only packages to be stabilized unmasked...

Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r8 x86_64 AMD Sempron(tm) Processor 2600+
Timestamp of tree: Tue, 11 Mar 2008 07:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -mtune=athlon64 -msse3 -fomit-frame-pointer"
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/fonts/fonts.conf /etc/gconf /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 -pipe -march=athlon64 -mtune=athlon64 -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg collision-protect distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--as-needed"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 apache2 bcmath berkdb bzip2 calendar cdb cgi cjk cli concurrentmodphp cracklib crypt ctype cups curl curlwrappers dbase discard-path doc dri exif fastbuild filter flatfile force-cgi-redirect fortran ftp gd gmp gpm hash iconv imap inifile iodbc ipv6 isdnlog jpeg json kerberos ldap libedit mhash midi mmx mssql mudflap mysql mysqli ncurses nls nptl nptlonly odbc opengl openmp pam pcntl pcre pdo perl pic posix postgres pppd python qdbm reflection session sharedext simplexml snmp soap sockets spell spl sqlite sse sse2 ssl svg sysvipc tcpd threads tidy tiff tokenizer truetype unicode wddx xcb xml xmlreader xmlrpc xmlwriter xorg xpm xsl 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 21 Peter Volkov (RETIRED) gentoo-dev 2008-03-11 09:55:46 UTC
Created attachment 145806 [details]
build-2.6.log.bz2

Oh, that was build log for wxpython-2.8 while I told about 2.6. Although they are similar I attach build log for 2.6 too. I just missed that FEATURES="noclean" was removed from portage...

BTW, Ryan if you need access to the system, send me your ssh key.
Comment 22 Ryan Hill (RETIRED) gentoo-dev 2008-03-12 03:30:05 UTC
i can reproduce with python-2.4.  i'll investigate further.
Comment 23 Ryan Hill (RETIRED) gentoo-dev 2008-03-15 03:49:55 UTC
well i'm stumped.  i can't see any reason why lib would be used instead of lib64 for these particular files.  i have an ugly workaround that might be enough for now:

    # Collision protection.
    # HACK
    # For some reason these get installed into /usr/lib on amd64 w/ python-2.4
    for file in wx{version.{py,pyc},.pth,addons}; do
        if [[ -e "${D}"/usr/$(get_libdir)/${site_pkgs}/${file} ]]; then
            mv "${D}"/usr/$(get_libdir)/${site_pkgs}/${file} \
                "${D}"/usr/$(get_libdir)/${site_pkgs}/${file}-${SLOT}
        else
            mv "${D}"/usr/lib/${site_pkgs}/${file} \
                "${D}"/usr/$(get_libdir)/${site_pkgs}/${file}-${SLOT}
        fi
    done
Comment 24 Peter Volkov (RETIRED) gentoo-dev 2008-03-16 07:12:20 UTC
Created attachment 146268 [details, diff]
wxpython-setup.py-collisions-2.4.patch

Well with trial-and-error method I've made this patch. It works but I didn't understood why. :) Please, review.
Comment 25 Ryan Hill (RETIRED) gentoo-dev 2008-03-16 14:27:09 UTC
ah, okay.  that put me on the right track.  the problem files are handled as python modules/packages while others are being handled as python extensions.  i'm not sure why one resolves to lib and the other lib64, but it looks like i can force distutils to install modules into a specific directory.

fixed.
Comment 26 Peter Volkov (RETIRED) gentoo-dev 2008-03-17 12:29:09 UTC
amd64 stable. FIXED.