Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 270792

Summary: Failed to emerge app-office/openoffice-3.1.0
Product: Gentoo Linux Reporter: Sergey <oneserg>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: VERIFIED FIXED    
Severity: normal CC: Adrian.Bassett, sparc, the.aidar
Priority: High Keywords: Bug
Version: 2008.0   
Hardware: Sparc64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sergey 2009-05-22 06:24:27 UTC
Failed vaking: ../unxlngs.pro/lib/libcomphelp4gcc3.so

../unxlngs.pro/slo/logging.o: In function `boost::detail::atomic_decrement(int*)':
logging.cxx:(.text._ZN5boost6detail16atomic_decrementEPi+0x8): undefined reference to `__sync_fetch_and_add_4'
../unxlngs.pro/slo/scopeguard.o: In function `boost::detail::atomic_count::operator--()':
scopeguard.cxx:(.text._ZN5boost6detail12atomic_countmmEv+0x8): undefined reference to `__sync_add_and_fetch_4'
../unxlngs.pro/slo/scopeguard.o: In function `boost::detail::atomic_count::operator++()':
scopeguard.cxx:(.text._ZN5boost6detail12atomic_countppEv+0x8): undefined reference to `__sync_add_and_fetch_4'
../unxlngs.pro/slo/servicedecl.o: In function `boost::detail::atomic_count::operator--()':
servicedecl.cxx:(.text._ZN5boost6detail12atomic_countmmEv+0x8): undefined reference to `__sync_add_and_fetch_4'
../unxlngs.pro/slo/servicedecl.o: In function `boost::detail::atomic_count::operator++()':
servicedecl.cxx:(.text._ZN5boost6detail12atomic_countppEv+0x8): undefined reference to `__sync_add_and_fetch_4'
../unxlngs.pro/slo/sharedmutex.o: In function `boost::detail::atomic_decrement(int*)':
sharedmutex.cxx:(.text._ZN5boost6detail16atomic_decrementEPi+0x8): undefined reference to `__sync_fetch_and_add_4'
../unxlngs.pro/slo/sharedmutex.o: In function `boost::detail::atomic_increment(int*)':
sharedmutex.cxx:(.text._ZN5boost6detail16atomic_incrementEPi+0x8): undefined reference to `__sync_fetch_and_add_4'
collect2: ld returned 1 exit status
dmake:  Error code 1, while making '../unxlngs.pro/lib/libcomphelp4gcc3.so'

ERROR: Error 65280 occurred while making /opt/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/comphelper/util
rmdir /tmp/16861
make: *** [stamp/build] Error 1


Reproducible: Always

Steps to Reproduce:
Comment 1 Sergey 2009-05-22 06:31:42 UTC
Portage 2.1.6.13 (default/linux/sparc/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo sparc64)
=================================================================
System uname: Linux-2.6.29-gentoo-sparc64-sun4u-with-gentoo-2.0.0
Timestamp of tree: Thu, 21 May 2009 05:30:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
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.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc ~sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-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/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
LANG="ru_RU.KOI8-R"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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="/opt/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dri fortran gcc64 gdbm gpm hal iconv ipv6 isdnlog kde midi mozilla mudflap ncurses nls nptl nptlonly openmp pam pcre perl pop pppd python qt3 readline reflection samba session sparc spl ssl sysfs tcpd unicode xorg xurlrunner zlib" ALSA_CARDS="all" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Sergey 2009-05-25 08:14:32 UTC
Portage 2.1.6.13 (default/linux/sparc/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo sparc64)
=================================================================
System uname: Linux-2.6.29-gentoo-sparc64-sun4u-with-gentoo-2.0.0
Timestamp of tree: Thu, 21 May 2009 05:30:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.2
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r2
sys-apps/sandbox:    1.9
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.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="sparc ~sparc"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-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/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo "
LANG="ru_RU.KOI8-R"
LDFLAGS="-Wl,-O1"
LINGUAS="ru"
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="/opt/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa berkdb bzip2 cli cracklib crypt cups dri fortran gcc64 gdbm gpm hal iconv ipv6 isdnlog kde midi mozilla mudflap ncurses nls nptl nptlonly openmp pam pcre perl pop pppd python qt3 readline reflection samba session sparc spl ssl sysfs tcpd unicode xorg xurlrunner zlib" ALSA_CARDS="all" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 aidar 2009-07-14 03:55:02 UTC
the OOO 3.1.0 is broken after I got FF3.5 with corresponding xulrunner.

can't emerge it as well, can't revdep rebuild it as well. Here is what it says : 

In file included from ../inc/plugin/unx/plugcon.hxx:105,                                                     
                 from ../inc/plugin/unx/sysplug.hxx:35,                                                      
                 from ../inc/plugin/impl.hxx:85,                                                             
                 from /var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/extensions/source/plugin/base/service.cxx:38:                                                                                
/usr/include/xulrunner-1.9.1/stable/npapi.h:155: error: redefinition of 'struct _NPP'                        
/var/tmp/portage/app-office/openoffice-3.1.0/work/ooo/build/ooo310-m11/solver/310/unxlngx6.pro/inc/npsdk/npapi.h:210: error: previous definition of 'struct _NPP'                                     


is there anyone doing something on this ?
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-28 22:06:12 UTC
Do you still get this?
Comment 5 aidar 2009-11-29 04:03:08 UTC
I don't get this any more. I removed libdir variable definition from /etc/env.d && re-emerged xulrunner, firefox and after that I guess ooo was not an issue.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2009-11-29 09:52:13 UTC
Actually I'd like to hear feedback from Sergey, cause that's what the original report was about. (which is not at all related to your problem)
Comment 7 Jack Morgan (RETIRED) gentoo-dev 2010-02-08 14:24:43 UTC
What is the status of this bug? openoffice-3.1.1 works fine on sparc
Portage 2.1.7.17 (default/linux/sparc/10.0/desktop, gcc-4.3.4, glibc-2.11-r1, 2.6.31-gentoo-r6 sparc64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-sparc64-sun4u-with-gentoo-2.0.1
Timestamp of tree: Sun, 07 Feb 2010 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.4-r1, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="sparc ~sparc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="sparc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=ultrasparc -pipe"
CHOST="sparc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mcpu=ultrasparc -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://dev.bonyari.local"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
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"
SYNC="rsync://dev.bonyari.local/gentoo-portage"
USE="X a52 aac acl alsa berkdb branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo fam firefox flac fortran gcc64 gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 jpeg kde ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session sparc spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xorg xulrunner xv xvid zlib" ALSA_CARDS="sun-cs4231" 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" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev mach64"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 8 Sergey 2010-02-08 14:47:03 UTC
openoffice-3.1.1 works fine on sparc