Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278845 - dev-lang/python-2.6.2-r01.1 fails to build on AIX 5.3 or 6.1
Summary: dev-lang/python-2.6.2-r01.1 fails to build on AIX 5.3 or 6.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All AIX
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 15:37 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2009-07-30 17:22 UTC (History)
0 users

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


Attachments
build.log (build.log,115.90 KB, text/plain)
2009-07-23 15:38 UTC, Jeremy Olexa (darkside) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-23 15:37:38 UTC
%% emerge --info
Portage 2.2.00.13830-prefix (prefix/aix/6.1.0.0/ppc, gcc-4.2.4, unavailable, 1 00C47B0E4C00)
=================================================================
System uname: AIX-1-00C47B0E4C00-32bit
Timestamp of tree: Wed, 22 Jul 2009 21:50:05 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.5.2-r8
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.9.6-r2, 1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.0-r04.6
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~ppc-aix"
CBUILD="powerpc-ibm-aix6.1.0.0"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="powerpc-ibm-aix6.1.0.0"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/jolexa/portage/aix-6.1/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests collision-protect distlocks fixpackages nodoc noinfo nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/home/jolexa/portage/aix-6.1/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/jolexa/portage/aix-6.1/"
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="/home/jolexa/portage/aix-6.1/var/tmp"
PORTDIR="/home/jolexa/portage/aix-6.1/usr/portage"
PORTDIR_OVERLAY="/home/jolexa/portage/global/overlays"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="bash-completion bzip2 cracklib midi ncurses perl ppc-aix prefix python readline ssl unicode zlib" 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" ELIBC="AIX" INPUT_DEVICES="keyboard mouse" KERNEL="AIX" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-23 15:38:26 UTC
Created attachment 198913 [details]
build.log

%% emerge -pv python

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  NS   ] dev-lang/python-2.6.2-r01.1 [2.5.2-r8] USE="ncurses readline ssl threads xml -berkdb -build -doc -examples -gdbm -ipv6 -sqlite -tk -ucs2 -wininst" 0 kB
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-23 17:23:41 UTC
Similar error on AIX 5.3, bunch of warnings about duplicate symbols then:

ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
Fatal Python error: Interpreter not initialized (version mismatch?)
/home/jolexa/portage/aix-5.3/bin/bash: line 1: 737528 IOT/Abort trap          (core dumped) CC='powerpc-ibm-aix5.3.0.0-gcc -pthread' LDSHARED='./Modules/ld_so_aix powerpc-ibm-aix5.3.0.0-gcc -pthread -bI:Modules/python.exp' OPT='-DNDEBUG -O2 -pipe -fomit-frame-pointer' ./python -E ./setup.py -q build
make: *** [sharedmods] Error 134
 ^[[31;01m*^[[0m ERROR: dev-lang/python-2.6.2-r01.1 failed:
Comment 3 Fabian Groffen gentoo-dev 2009-07-25 12:11:29 UTC
powerpc-ibm-aix6.1.0.0-ranlib libpython2.6.a
./Modules/makexp_aix Modules/python.exp . libpython2.6.a;  powerpc-ibm-aix6.1.0.0-gcc -pthread -L. -Wl,-bE:Modules/python.exp -lld -o python \
			Modules/python.o \
			libpython2.6.a -ldl    -lm  

It looks like that command results in the zillion of duplicate symbols.

Perhaps because it both uses python.o (Modules/python.o) and the libpython2.6.a static archive.  What happens if you replay this command (starting from the gcc call) without libpython2.6a in it?
Comment 4 Michael Haubenwallner (RETIRED) gentoo-dev 2009-07-27 08:39:34 UTC
Fixed in r49058.
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-30 17:22:43 UTC
(In reply to comment #4)
> Fixed in r49058.
> 

confirmed, thx