Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178035 - app-office/openoffice-2.2.0 with ooo-build-2.1.93.tar.gz requires python to be built with threads USE FLAG
Summary: app-office/openoffice-2.2.0 with ooo-build-2.1.93.tar.gz requires python to b...
Status: RESOLVED DUPLICATE of bug 177866
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 11:37 UTC by Kenton Groombridge
Modified: 2007-05-11 17:40 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 Kenton Groombridge 2007-05-11 11:37:27 UTC
Openoffice built fine on my system with ooo-build-2.1.92.tar.gz and earlier.  With ooo-build-2.1.93.tar.gz, the build failed with the following:

/var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/pyuno/sou
rce/module/pyuno_module.cxx: In function 'void initpyuno()':
/var/tmp/portage/app-office/openoffice-2.2.0/work/ooo/build/OOF680_m14/pyuno/sou
rce/module/pyuno_module.cxx:722: error: 'PyEval_InitThreads' was not declared in
 this scope
dmake:  Error code 1, while making '../../unxlngi6.pro/slo/pyuno_module.obj'
'---* tg_merge.mk *---'
dmake:  Error code 255, while making 'do_it_noopt'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-                                                                                                 2.2.0/work/ooo/build/OOF680_m14/pyuno/source/module
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.2.0 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  openoffice-2.2.0.ebuild, line 327:   Called die

!!! Build failed
!!! If you need support, post the topmost build error, and the call stack if rel                                                                                                 evant.
!!! A complete build log is located at '/var/tmp/portage/app-office/openoffice-2.2.0/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.11"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Specifying the threads USE FLAG and rebuilding python, allowed openoffice to build with the new update.



Reproducible: Always

Steps to Reproduce:
1. Uncheck the "threads" USE FLAG
2. emerge -DNvu world
3. emerge openoffice with the newest update ooo-build-2.1.93.tar.gz


Actual Results:  
Build fails.

Expected Results:  
Building openoffice-2.2.0 should perform a check to ensure python is built with threads before continuing.

Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.21-ck1 i686)
=================================================================
System uname: 2.6.21-ck1 i686 AMD Athlon(tm)
Gentoo Base System release 1.12.10
Timestamp of tree: Fri, 11 May 2007 11:00:10 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
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.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.kems.net/mirrors/gentoo http://gentoo.kems.net http://mirror.datapipe.net/gentoo http://ftp.club-internet.fr/pub/mirrors/gentoo ftp://mirror.datapipe.net/gentoo"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
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="3dnow 3dnowext S3TC X a52 aac acpi alsa amarok arts asf asm audiofile bash-completion berkdb binary-drivers bzip2 cairo cddb cdparanoia cdr cdrom cracklib crypt css cups curl dbus dri dv dvd dvdr dvdread eds emoticon encode fame ffmpeg firefox flac foomaticdb gdbm gif gimp glibc-omitfp glut gstreamer gtk gzip hal iconv ieee1394 imagemagick imlib iproute2 jack java javascript joystick jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility lame live logitech-mouse lzo mad midi mikmod mjpeg mmx mmxext mp3 mpeg mpeg2 mplayer musicbrainz ncurses network nforce2 nls nntp no-old-linux nptl nptlonly nsplugin nspr nvidia offensive ogg openal opengl pam pango pcre pdf perl physfs png python qt3 qt3support qt4 quicktime readline real rt2500pci rtc samba scanner sdl spell sse ssl subtitles svg sysfs tcpd theora threads threadsafe tiff transcode truetype unicode urandom usb userlocales utempter v4l2 vcd visualization vorbis win32codecs wmf wmp x86 xcomposite xine xml xorg xpm xscreensaver xv xvid xvmc zlib" ALSA_CARDS="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" ELIBC="glibc" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Hanno Zysik (geki) 2007-05-11 14:07:35 UTC
python-2.4.4-r3 and python-2.5.1-r1 change USE-flag threads to nothreads. you may resync portage and update python.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-05-11 17:40:33 UTC

*** This bug has been marked as a duplicate of bug 177866 ***