Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374243 - [app-office/libreoffice]: assertion failed on libosl test with noexec on /tmp/
Summary: [app-office/libreoffice]: assertion failed on libosl test with noexec on /tmp/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
: 378051 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-07-06 14:33 UTC by cyberbat
Modified: 2011-08-12 19:51 UTC (History)
4 users (show)

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


Attachments
log of failed build (libre-build.log.xz,31.32 KB, application/octet-stream)
2011-07-06 14:33 UTC, cyberbat
Details
patch for libreoffice-3.4.1 ebuild (libreoffice-3.4.1-ebuild.patch,555 bytes, patch)
2011-07-12 16:07 UTC, Marko D
Details | Diff
log of failed build with MAKEOPTS="-j1" (libre-buildlog-sal.xz,29.25 KB, application/octet-stream)
2011-07-16 12:14 UTC, cyberbat
Details
Build log showing unit test failure (buildlog.txt.xz,34.56 KB, application/x-xz; charset=binary)
2011-07-17 15:41 UTC, Christian Becke
Details
log of failed build with the same error of the 3.4.2.3 version (libre3423-build.log.xz,17.71 KB, application/octet-stream)
2011-07-29 07:22 UTC, cyberbat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cyberbat 2011-07-06 14:33:18 UTC
Created attachment 279237 [details]
log of failed build

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.1/work/libreoffice-bootstrap-3.4.1.3/sal/qa/osl/module

My info:
GENTOO_VM=icedtea6  CLASSPATH="" JAVA_HOME="/usr/lib64/icedtea6"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""

emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9505_@_2.83GHz-with-gentoo-2.0.2
Timestamp of tree: Wed, 06 Jul 2011 13:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/ccache:          2.4-r9
dev-util/pkgconfig:       0.25-r2
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo x-unklay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 Q3AEULA PUEL LOKI-EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"                                                                                                       
CHOST="x86_64-pc-linux-gnu"                                                                                                           
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"                           
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"                                                                                                                   
CXXFLAGS="-march=core2 -O2 -pipe"                                                                                                     
DISTDIR="/usr/portage/distfiles"                                                                                                      
FEATURES="assume-digests binpkg-logs buildpkg distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"                                                    
FFLAGS=""                                                                                                                             
GENTOO_MIRRORS="ftp://gentoo.bloodhost.ru/ ftp://mirror.yandex.ru/gentoo-distfiles/"                                                  
LANG="ru_RU.UTF8"                                                                                                                     
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"                                                                                                                                               
MAKEOPTS="-j5"                                                                                                                                                
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="/var/lib/layman/unklay"
SYNC="rsync://rsync.ru.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 amr audiofile bash-completion branding bzip2 cairo cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus declarative djvu dri dts dv dvd dvdr emboss encode exif ffmpeg firefox flac fontconfig fortran gd gdu geoip gif gimp gmp gnutls gphoto2 gpm graphviz gsm gstreamer gtk handbook iconv icu id3tag idn imagemagick imap imlib iphone ipod ipv6 jabber jbig jingle jpeg jpeg2k kde kipi kontact ladspa lame lcms libproxy libsamplerate libwww lm_sensors lzma lzo mac mad matroska mikmod mjpeg mmx mng modplug modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly ntfs ogg openal openexr opengl pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 quicktime rar raw readline rss rtmp sasl scanner sdl semantic-desktop session sharedext smp sndfile socks5 speex spell sqlite sse sse2 sse3 sse4 ssl ssse3 startup-notification svg symlink sysfs syslog taglib theora threads thumbnail tiff truetype udev unicode usb video vim-syntax vlc vorbis wavpack webkit wmf x264 xcb xcomposite xface xml xmp xorg xpm xscreensaver xulrunner xv xvid zip 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas Proschofsky (RETIRED) gentoo-dev 2011-07-06 15:41:01 UTC

*** This bug has been marked as a duplicate of bug 359295 ***
Comment 2 cyberbat 2011-07-06 16:09:13 UTC
(In reply to comment #1)
> 
> *** This bug has been marked as a duplicate of bug 359295 ***

I disagree with that. I have built libreoffice 3.3.1, 3.3.3 on this box with icedtea6.
Comment 3 cyberbat 2011-07-06 16:17:24 UTC
In addition I have to say that I have icedtea build with "-cacao" so as it's figured here: https://bugs.gentoo.org/show_bug.cgi?id=359295#c11 it isn't bug #359295.

Also, please, somebody, who can do it, change my attachement type to binary as it's xz archive and autodetection has failed.
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2011-07-07 09:16:44 UTC
For further reference, this is the real build failure:


----------------------------------------------------------
- start unit test #2 on library ../../../unxlngx6.pro/lib/libosl_Module.so
----------------------------------------------------------
: &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.1/work/libreoffice-bootstrap-3.4.1.3$
Compiling: sal/unxlngx6.pro/misc/qa_rtl_strings_version.c
osl_Module.cxx:335:Assertion
Test name: osl_Module::load::load_002
assertion failed
- Expression: sal_True == bRes && bOK == sal_True
- #test comment#: load lib which is under a CJK directory.

Failures !!!
Run: 12   Failure total: 1   Failures: 1   Errors: 0
dmake:  Error code 1, while making 'test2'
Comment 5 Paolo Pedroni 2011-07-07 09:24:47 UTC
Strange thing...

I built libreoffice-3.4.1 yesterday without problems, but this morning I synced again and I got this error while recompiling with the "offlinehelp" USE flag set. I tried un-setting it and I got the error again, so something must have changed with the latest commit.
Comment 6 Andreas Proschofsky (RETIRED) gentoo-dev 2011-07-08 09:07:51 UTC
(In reply to comment #5)
> Strange thing...
> 
> I built libreoffice-3.4.1 yesterday without problems, but this morning I synced
> again and I got this error while recompiling with the "offlinehelp" USE flag
> set. I tried un-setting it and I got the error again, so something must have
> changed with the latest commit.

Are you sure you got the exact same error (and not only the same error number, cause this is generic)?
Comment 7 Paolo Pedroni 2011-07-08 10:15:34 UTC
(In reply to comment #6)
> Are you sure you got the exact same error (and not only the same error number,
> cause this is generic)?

Sorry, you're right. I was mistaken.
Comment 8 David Kredba 2011-07-12 06:33:30 UTC
For me it built. With MAKEOPTS=-j5 it failed the same way you reported.
But with -j1 it went OK.

[ebuild   R   #] app-office/libreoffice-3.4.1  USE="binfilter cups dbus gstreamer gtk java kde ldap odk offlinehelp opengl (-aqua) -custom-cflags -debug -eds -gnome (-kdeenablefinal) -nsplugin" LINGUAS="cs en -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cy -da -de -dgo -dz -el -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB

gcc-4.6.1, ~amd64.
Comment 9 Marko D 2011-07-12 16:05:31 UTC
The problem seems to be in the --with-vendor flag in the ebuild.
The build log is suggesting to execute 

rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.1/work/libreoffice-bootstrap-3.4.1.3/sal/unxlngx6.pro # optional module 'clean'
/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.4.1/work/libreoffice-bootstrap-3.4.1.3
source ./LinuxX86-64Env.Set.sh
cd sal
build

but when executing 
 source LinuxX86-64Env.Set.sh

the output is
Foundation: command not found

This is due to a double quote in  LinuxX86-64Env.Set.sh:
OO_VENDOR=""Gentoo Foundation""

The value was set in the ebuild file
--with-vendor=\\\"Gentoo Foundation\\\"" >> ${CONFFILE}

The patch has fixed the issue for me: libreoffice-3.4.1 compiles fine with -j5
Comment 10 Marko D 2011-07-12 16:07:17 UTC
Created attachment 279893 [details, diff]
patch for libreoffice-3.4.1 ebuild
Comment 11 Andreas Proschofsky (RETIRED) gentoo-dev 2011-07-14 11:00:35 UTC
(In reply to comment #9)
> The problem seems to be in the --with-vendor flag in the ebuild.

Very good catch, thanks a lot, I've pushed the change to portage. That was a stupid oversight while migrating to the new build system....

Closing
Comment 12 cyberbat 2011-07-16 12:14:16 UTC
Created attachment 280169 [details]
log of failed build with MAKEOPTS="-j1"

Bug is not fixed for me. I have the same output tring to build with new ebuild. (I've checked /usr/portage/app-office/libreoffice/ChangeLog) that it's new ebuild. I have tried to emerge with -j1 to make build log more clear.
Comment 13 Christian Becke 2011-07-17 15:41:15 UTC
Created attachment 280245 [details]
Build log showing unit test failure

I'm getting the same error as in comment 4 (using an ebuild including the patch from comment 10). Build log attached. Emerge was done with MAKEOPTS="-j1" to work around the dmake error (cf. bug #374415).

# emerge -pv app-office/libreoffice
[ebuild  N    #] app-office/libreoffice-3.4.1  USE="cups dbus gnome gstreamer gtk java opengl (-aqua) -binfilter -custom-cflags -debug -eds -kde (-kdeenablefinal) -ldap -nsplugin -odk -offlinehelp -templates" LINGUAS="de -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -dgo -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB

# emerge --info
Portage 2.1.10.6 (default/linux/amd64/10.0/desktop/gnome, gcc-4.5.2, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9400_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 17 Jul 2011 03:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo gnome proaudio science my-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 skype-eula"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j -l4.0"
PKGDIR="/usr/portage/distfiles/packages/tosh"
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/tosh"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/gnome /var/lib/layman/pro-audio /var/lib/layman/science /var/lib/layman/my"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran fuse gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gudev iconv idn introspection jpeg laptop lash lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support readline samba sdl session smp spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb v4l v4l2 vdpau vim-syntax vorbis webkit x264 xcb xinerama xml xorg xscreensaver xulrunner xv xvid zeroconf 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 14 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-07-17 20:47:04 UTC
Exactly the same problem here:

----------------------------------------------------------
- start unit test #2 on library ../../../unxlngx6.pro/lib/libosl_Module.so
----------------------------------------------------------
: &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.1/work/libr
eoffice-bootstrap-3.4.1.3/sal/unxlngx6.pro/lib:/var/tmp/portage/app-office/libre
office-3.4.1/work/libreoffice-bootstrap-3.4.1.3/solver/340/unxlngx6.pro/lib${LD_
LIBRARY_PATH:+:${LD_LIBRARY_PATH}}   ../../../unxlngx6.pro/bin/cppunittester ../
../../unxlngx6.pro/lib/libosl_Module.so
osl_Module.cxx:335:Assertion
Test name: osl_Module::load::load_002
assertion failed
- Expression: sal_True == bRes && bOK == sal_True
- #test comment#: load lib which is under a CJK directory.

Failures !!!
Run: 12   Failure total: 1   Failures: 1   Errors: 0
dmake:  Error code 1, while making 'test2'



# emerge --info ~libreoffice-3.4.1
Portage 2.2.0_alpha45 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3-asneeded, glibc-2.12.2-r0, 2.6.38.8 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38.8-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.0.3
Timestamp of tree: Sun, 17 Jul 2011 18:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.3_pre::poly-c
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo kde-sunset poly-c
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -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 /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y --misspell-suggestions=n --autounmask=n"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j8"
PKGDIR="/var/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="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo caps cdda cdr cli cracklib crypt css cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gdu gif gmp gnutls gtk iconv idn inotify jpeg jpeg2k kde kipi lame lcms libnotify lzma mad matroska midi mmap mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png ppds pppd qt3support qt4 quicktime readline rtmp schroedinger sdl semantic-desktop session slang spell sse sse2 ssl startup-notification svg sysfs theora threads tiff truetype twolame udev unicode usb vaapi vcd vorbis vpx x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 hda-intel usb-audio" 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick" KERNEL="linux" LINGUAS="de en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -qpv libreoffice
[ebuild     U ] app-office/libreoffice-3.4.1 [3.3.3] USE="(-aqua) (-bash-completion%) -binfilter cups -custom-cflags dbus -debug -eds -gnome -gstreamer gtk java kde (-kdeenablefinal) -ldap nsplugin -odk -offlinehelp% opengl templates" LINGUAS="-af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da de -dgo -dz -el en -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
Comment 15 cyberbat 2011-07-24 15:01:03 UTC
I've got exactly same error with libreoffice-3.4.2.2.
Comment 16 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-28 13:41:12 UTC
(In reply to comment #15)
> I've got exactly same error with libreoffice-3.4.2.2.

Could you post the full build.log? As this should not happen with 3.4.2.2 and 3.4.2.3.
Comment 17 cyberbat 2011-07-29 07:22:06 UTC
Created attachment 281391 [details]
log of failed build with the same error of the 3.4.2.3 version

Got just the same error with 3.4.2.3 version
Comment 18 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-08-05 10:26:49 UTC
Any news here? Now that libreoffice-3.4 got unmasked I have this problem on all of my ~arch machines. This is quite annoying...
Comment 19 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-05 10:57:01 UTC
(In reply to comment #18)
> Any news here? Now that libreoffice-3.4 got unmasked I have this problem on all
> of my ~arch machines. This is quite annoying...

Problem is that I can't reproduce it on any machine. So it is not particulary easy to figure out what really went wrong :(
Comment 20 Klaus Kusche 2011-08-06 11:36:00 UTC
Same breakage here with 3.4.2.3.

Took a quick look at it:
../../../unxlngx6.pro/bin/cppunittester 
../../../unxlngx6.pro/lib/libosl_Module.so
osl_Module.cxx:335:Assertion
Test name: osl_Module::load::load_002
assertion failed
- Expression: sal_True == bRes && bOK == sal_True
- #test comment#: load lib which is under a CJK directory.

This particular test compiles a .so, 
copies it to a newly-created dir under /tmp,
and loads it (which fails).

This is brain-dead, it won't work on any system taking security serious 
(like mine): /tmp should always be mounted with the noexec option,
which means that you're not allowed to load and exec code (binaries or .so)
from there.

Remounted /tmp without noexec, error gone...

They should fix their test, 
/tmp without noexec is not acceptable on real-world systems...
Comment 21 cyberbat 2011-08-06 12:06:36 UTC
(In reply to comment #20)
> 
> This is brain-dead, it won't work on any system taking security serious 
> (like mine): /tmp should always be mounted with the noexec option,
> which means that you're not allowed to load and exec code (binaries or .so)
> from there.
> 

You're quite right. I can't test now with remounting /tmp without noexec, but I want to say that I have not /tmp with noexec, but /var/tmp also, just as all world writable directories.
Comment 22 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-08-08 07:11:48 UTC
I can confirm that remounting /tmp without noexec flag is fixing this problem.
Anybody willing to make upstream aware of this bug?
Comment 23 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-08 11:31:50 UTC
*** Bug 378051 has been marked as a duplicate of this bug. ***
Comment 24 Mario Bachmann 2011-08-09 11:28:22 UTC
How to remount /tmp without an extra partition for /tmp? I have only a folder for /tmp - no partition! 
And even when I use tmpfs for /var/tmp/portage, there is no noexec-flag...

So what can I do? Is there a solution?
Comment 25 Klaus Kusche 2011-08-09 11:53:20 UTC
Then perhaps your bug (comment #24) is a different bug.

Don't only compare the "ERROR: error 65280 occurred while making
/var/tmp/portage/app-office/libreoffice-3.4.1/work/libreoffice-bootstrap-3.4.1.3/sal/qa/osl/module", that's a generic error message, could have many reasons.

The interesting message is "../../../unxlngx6.pro/bin/cppunittester 
../../../unxlngx6.pro/lib/libosl_Module.so
osl_Module.cxx:335:Assertion
Test name: osl_Module::load::load_002
assertion failed
- Expression: sal_True == bRes && bOK == sal_True
- #test comment#: load lib which is under a CJK directory."
just preceeding the other message.

Do you get the same message (same line 335)?
Comment 26 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-12 13:16:39 UTC
Unittests are no longer run. Could you please retest?
Comment 27 cyberbat 2011-08-12 16:24:23 UTC
(In reply to comment #26)
> Unittests are no longer run. Could you please retest?

I have compiled and run libreoffice 3.4.2.3 after portage sync today succesfully. This bug seems to go away for me. Thanks to everybody.