Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279959 - app-office/openoffice-3.0.0 fails to build after an upgrade of python to 2.6 : relocation truncated to fit
Summary: app-office/openoffice-3.0.0 fails to build after an upgrade of python to 2.6 ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-01 22:53 UTC by Marcello Magaldi
Modified: 2009-08-10 06:33 UTC (History)
1 user (show)

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


Attachments
build.log (xat,423.83 KB, text/plain)
2009-08-06 11:03 UTC, Marcello Magaldi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcello Magaldi 2009-08-01 22:53:33 UTC
After an upgrade to python 2.6 (last stable on amd64) If I try to rebuild openoffice I get this error :

../unxlngx6.pro/slo/docsh8.o: In function `ScDocShell::DBaseExport(String const&, unsigned short, unsigned char&)':
docsh8.cxx:(.text+0x3056): relocation truncated to fit: R_X86_64_PLT32 against symbol `typelib_static_sequence_type_init@@UDK_3_0_0' defined in .text section in /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/lib/libuno_cppu.so
`com::sun::star::reflection::cppu_detail_getUnoType(com::sun::star::reflection::XIdlMethod const*)' referenced in section `.text' of ../unxlngx6.pro/slo/addincol.o: defined in discarded section `com::sun::star::lang::cppu_detail_getUnoType(com::sun::star::lang::XLocalizable const*)' of ../unxlngx6.pro/slo/addincol.o
`com::sun::star::reflection::cppu_detail_getUnoType(com::sun::star::reflection::XIdlMethod const*)' referenced in section `.text' of ../unxlngx6.pro/slo/addincol.o: defined in discarded section `com::sun::star::lang::cppu_detail_getUnoType(com::sun::star::lang::XLocalizable const*)' of ../unxlngx6.pro/slo/addincol.o
`com::sun::star::reflection::cppu_detail_getUnoType(com::sun::star::reflection::XIdlMethod const*)' referenced in section `.text._ZN3com3sun4star3uno8SequenceINS2_9ReferenceINS1_10reflection10XIdlMethodEEEED1Ev[com::sun::star::uno::Sequence<com::sun::star::uno::Reference<com::sun::star::reflection::XIdlMethod> >::~Sequence()]' of ../unxlngx6.pro/slo/addincol.o: defined in discarded section `com::sun::star::lang::cppu_detail_getUnoType(com::sun::star::lang::XLocalizable const*)' of ../unxlngx6.pro/slo/addincol.o
collect2: ld returned 1 exit status
distcc[23468] ERROR: compile (null) on localhost failed
distcc[23467] ERROR: compile (null) on localhost failed
dmake:  Error code 1, while making '../unxlngx6.pro/lib/libsclx.so'
Running processes: 0

9 module(s): 
	sdext
	filter
	sd
	starmath
	xmlsecurity
	basctl
	forms
	reportdesign
	sc
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/sc/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/filter/source/xsltfilter
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/sd/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/filter/source/svg
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/basctl/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/reportdesign/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/xmlsecurity/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/sdext/source/presenter
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/forms/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/starmath/util
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/filter/source/config/tools/utils

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from sdext filter sd starmath xmlsecurity basctl forms reportdesign sc"

rmdir /tmp/24211
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5715:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.13"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge app-office/openoffice-3.0.0, Log file:

>>>  '/var/tmp/portage/app-office/openoffice-3.0.0/temp/build.log'

 * Messages for package app-office/openoffice-3.0.0:

 * 
 *  It is important to note that OpenOffice.org is a very fragile  
 *  build when it comes to CFLAGS.  A number of flags have already 
 *  been filtered out.  If you experience difficulty merging this  
 *  package and use agressive CFLAGS, lower the CFLAGS and try to  
 *  merge again. Also note that building OOo takes a lot of time and 
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are 
 *  the minimum requirements. If you have less, use openoffice-bin 
 *  instead. 
 * 
 *  Also if you experience a build break, please make sure to retry 
 *  with MAKEOPTS=-j1 before filing a bug. 
 * 
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5715:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 * 


Reproducible: Always

Steps to Reproduce:
1.emerge python
2.emerge openoffice
3.

Actual Results:  
the error reported above

Expected Results:  
openoffice should build...

 emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-1.12.11.1
Timestamp of tree: Sat, 01 Aug 2009 21:45:02 +0000
distcc 3.1 x86_64-pc-linux-gnu [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -msse3 -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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /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/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -msse3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.jamit.de/gentoo/"
LANG="it_IT.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="it en en_US en_GB"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 amr amrnb amrwb apache2 arts aspnet audiofile avahi bash-completion beagle berkdb bluetooth branding bzip2 c++ cairo cdaudio cdda cddb cdparanoia cdr chm cli cracklib crypt css cups cvs cxx dbus dri dts dv dvb dvd dvdnav dvdr dvdread eds emacs emboss encode epiphany esd evo exif expat fam fame ffmpeg firefox flac foomaticdb fortran ftp galago gd gdbm gif gimp glade gnome gnome-keyring gnome-print gnutls gphoto2 gpm gstreamer gtk guile hal hddtemp iconv id3tag imagemagick inotify ipv6 isdnlog jabber java java6 javascript joystick jpeg kde kpathsea ladspa lame latex lcms ldap libnotify libsamplerate live lm_sensors logitech-mouse lzo mad matroska mikmod mjpeg mmx mmxext mono mp3 mp4 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql nautilus ncurses network nls nptl nptlonly nsplugin nuv nvidia odbc offensive ogg ogm opengl openmp pam pcre pdf perl php plotutils png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba scanner scrobbler sdl session shout smp sndfile socks5 sourceview spell spl sql sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs syslog taglib tcpd theora threads thunderbird tiff timidity truetype twolame unicode upnp usb v4l v4l2 vcd videos vorbis wavpack wma wmf wxwindows x264 xcb xcomposite xemacs xine xml xorg xulrunner xv xvid xvmc yahoo 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en en_US en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marcello Magaldi 2009-08-01 22:58:27 UTC
I cannot attach the whole build.log since it is 19MB
Comment 2 James Earl Spahlinger 2009-08-06 03:49:47 UTC
Did you run python-updater when you updated to python-2.6?

Additionally just attach the last half or so of the log, the developers are most interested in the end of the log where the actual error ocurred.

Comment 3 Marcello Magaldi 2009-08-06 10:59:31 UTC
(In reply to comment #2)
> Did you run python-updater when you updated to python-2.6?

Sure , and then openoffice was part of those packages that needs to be rebuilt

> 
> Additionally just attach the last half or so of the log, the developers are
> most interested in the end of the log where the actual error ocurred.

ok, anyway I have to say that I realized that on my amd64 machine the ram has got a lot of errors , so it should be an hardware fault. 

Comment 4 Marcello Magaldi 2009-08-06 11:03:01 UTC
Created attachment 200367 [details]
build.log

last part of full build.log
Comment 5 Wormo (RETIRED) gentoo-dev 2009-08-10 06:33:48 UTC
I'm going to close this because bad ram is very likely to cause compile failures in something like openoffice. If you get exactly the same error on a system with good hardware, feel free to reopen this bug.