Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179212 - app-office/openoffice-2.1.0-r1 failed to compile on libuno_sal.so
Summary: app-office/openoffice-2.1.0-r1 failed to compile on libuno_sal.so
Status: RESOLVED DUPLICATE of bug 115603
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-20 12:36 UTC by Cédric Krier
Modified: 2007-05-20 16:23 UTC (History)
0 users

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


Attachments
build.log (build.log.gz,97.18 KB, application/octet-stream)
2007-05-20 12:45 UTC, Cédric Krier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Krier gentoo-dev 2007-05-20 12:36:15 UTC
openoffice failed to compile when creating libuno_sal

Portage 2.1.2.7 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r5, 2.6.20-hardened-r2-mactel i686)
=================================================================
System uname: 2.6.20-hardened-r2-mactel i686 Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 19 May 2007 07:20:01 +0000
ccache version 2.4 [enabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=nocona -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=nocona -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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 /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa bash-completion berkdb bzip2 cdr crypt cups dri dvd dvdread gtk gtk2 hardened ipv6 jpeg lirc logrotate midi mmx motif mpeg nls ntpl ntplonly opengl pam pic png readline sdl sse sse2 ssl svg tcpd threads truetype unicode urandom v4l2 win32codecs x86 xorg 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="i810 vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Cédric Krier gentoo-dev 2007-05-20 12:45:19 UTC
Created attachment 119783 [details]
build.log

Here is the build log
Comment 2 Andreas Proschofsky (RETIRED) gentoo-dev 2007-05-20 13:14:01 UTC
(In reply to comment #1)
> Created an attachment (id=119783) [edit]
> build.log
> 
> Here is the build log
> 

Please also paste the relevant part of the build log directly into the bug report, having to download the attachment everytime I look at the bug is a bit painful ;)
Comment 3 Cédric Krier gentoo-dev 2007-05-20 13:18:45 UTC
Here is:

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2346
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 assertion fail /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c:2347
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: BFD 2.16.1 internal error, aborting at /var/tmp/portage/sys-devel/binutils-2.16.1-r3/work/binutils-2.16.1/bfd/elflink.c line 6455 in elf_link_output_extsym

/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: Please report this bug.

collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngi6.pro/lib/libuno_sal.so.3'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-2.1.0-r1/work/ooo/build/OOE680_m6/sal/util
make: *** [stamp/build] Error 1

!!! ERROR: app-office/openoffice-2.1.0-r1 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.1.0-r1.ebuild, line 326:   Called die

!!! 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-2.1.0-r1/temp/build.log'.

!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-20 14:03:47 UTC
You cannot use binutils-2.16.x with LDFLAGS="-Wl,--as-needed"


*** This bug has been marked as a duplicate of bug 115603 ***
Comment 5 Cédric Krier gentoo-dev 2007-05-20 15:14:15 UTC
I try with binutils compiled without "-Wl,--as-needed" and openoffice doesn't compile
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-05-20 16:23:22 UTC
This is not an openoffice bug. As said, upgrade you binutils before using such flags.

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