Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377941 - app-office/libreoffice-3.4.2.3 build fails to build in bridgetest with -mavx
Summary: app-office/libreoffice-3.4.2.3 build fails to build in bridgetest with -mavx
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:
Depends on:
Blocks:
 
Reported: 2011-08-06 06:36 UTC by Vasilis Lourdas
Modified: 2011-08-17 19:35 UTC (History)
1 user (show)

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


Attachments
build.log (build.log.gz,171.25 KB, application/x-gzip)
2011-08-06 10:22 UTC, Vasilis Lourdas
Details
build.log.gz (build.log.gz,181.46 KB, application/x-gzip)
2011-08-06 16:38 UTC, Matt Turner
Details
testtools.build.log (testtools.build.log,8.19 KB, text/plain)
2011-08-07 14:35 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,7.39 KB, text/plain)
2011-08-07 14:35 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2011-08-06 06:36:53 UTC
Compiling: scripting/unxlngx6.pro/misc/dlgprov_dflt.uno_version.c
: &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/bin/cppumaker -O../../unxlngx6.pro/inc/dlgprov -BUCR /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/bin/oovbaapi.rdb -X/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/bin/types.rdb && echo > ../../unxlngx6.pro/misc/dlgprov.don
echo ../../unxlngx6.pro/misc/dlgprov.don
: &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$OOO_BASE_DIR/program/dlgprovlx.uno.so' -o ../../unxlngx6.pro/misc/dlgprov.component \
        /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solenv/bin/createcomponent.xslt dlgprov.component
../../unxlngx6.pro/misc/dlgprov.don
Compiling: scripting/source/dlgprov/dlgprov.cxx
Compiling: scripting/source/dlgprov/DialogModelProvider.cxx
Compiling: scripting/source/dlgprov/dlgevtatt.cxx
Making:    dlgprov.lib
Making:    dlgprovlx.uno.so
Entering /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/scripting/util

Compiling: scripting/unxlngx6.pro/misc/scriptframe_version.c
: &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} xsltproc --nonet --stringparam uri \
        'vnd.sun.star.expand:$OOO_BASE_DIR/program/libscriptframe.so' -o ../unxlngx6.pro/misc/scriptframe.component \
        /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solenv/bin/createcomponent.xslt scriptframe.component
Making:    scriptframe.lib
Making:    libscriptframe.so
Entering /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/scripting/util/provider/beanshell

/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solenv/bin/transform_description.pl: WITH_LANG not set or empty, defaulting to 'en-US'
Making:    script-provider-for-beanshell.oxt
rebuilding zipfiles
------------------------------ 
scripting deliver
deliver -- version: 275594
Module 'scripting' delivered successfully. 35 files copied, 0 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/testtools/source/bridgetest

 it seems that the error is inside 'testtools', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

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

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make: *** [all] Error 1
 * ERROR: app-office/libreoffice-3.4.2.3 failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8824:  Called die
 * The specific snippet of code:
 *       make || die
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.4.2.3',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.4.2.3'.
!!! 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.26"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.4.2.3/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3'


emerge --info
Portage 2.1.10.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 3.0.0-gentoo x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2520M_CPU_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 06 Aug 2011 06:00:01 +0000
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/cmake:           2.8.5-r2
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
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.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo kde Local-overlay-Vasilis
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm skype-eula AdobeFlash-10.1 PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -msse4.2 -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=generic"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=core2 -mcx16 -msahf -msse4.2 -maes -mpclmul -mpopcnt -mavx --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=generic"
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="http://helios/~lourdas/ http://gentoo.mneisen.org/ http://ftp.ntua.gr/pub/linux/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://de-mirror.org/distro/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB en_US el"
MAKEOPTS="-j9"
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/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi additions alsa amd64 apache2 apng archive asf bash-completion bcmath berkdb branding bzip2 bzlib cairo calendar caps cdr charconv chm cli consolekit contrast cracklib crypt css ctype cups cupsddk curl curlwrappers custom-optimization cxx dba dbus dcc_video declarative device-mapper dhclient dmi dri dts dvd dvdr dvdread ebook effects emboss encode exif expat extras faac faad fam fat fbcon ffmpeg fftw filter firefox firefox3 flac flatfile fontconfig foomaticdb ftp gcj gd gdbm gif gimp gimpprint git glib glx gmp gnomedb gnutls gocr gphoto2 gpm gtk hddtemp hotpixels howl iconv icu id3tag imagemagick imap imlib innodb inotify jabber java java6 javascript jpeg jpeg2k json kde kdehiddenvisibility kipi lame lcdfilter lcms lensfun libsamplerate libwww lm_sensors mad madwifi maildir mailwrapper maps melt mhash mime mmap mmx mmxext modules motif mozbranding mozdevelop mozilla mozsvg mp3 mp4 mpeg mplayer mpm-worker mudflap multilib multiuser mysql mysqli ncurses networkmanager newspr nls no-old-linux nodrm nomalloccheck nptl nptlonly ntfs ntfsprogs objc offensive ofx ogg opengl openmp optimization pam pango pcmcia pcntl pcre pdf pdo pear perl phonon php plasma pmu png policykit posix postgres ppds pppd pyqt4 python qt3support qt4 quicktime rar raw rdesktop readline redeyes reiserfs reports romio ruby sasl scanner sdl semantic-desktop server session sha512 sharedext simplexml smp sndfile soap sockets speex spell spreadsheet sqlite sqlite3 srt sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg symlink sysfs syslog sysvipc tcltk tcpd templates tetex theora threads tidy tiff tokenizer tordns truetype udev unicode usb userlocales vda vdpau video vncviewer vorbis wddx webkit windeco wv wxgtk1 x264 xcomposite xetex xfs xine xinerama xml xmlreader xmlrpc xmlwriter xorg xpdf-headers xpm xprint xscreensaver xsl xulrunner xv xvid xvnc zip zlib" ALSA_CARDS="hda-intel" 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 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 version" APACHE2_MPMS="prefork" 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US el" NETBEANS_MODULES="cnd php ide nb webcommon xml gsf harness websvccommon" PHP_TARGETS="php5-2 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, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-06 07:35:48 UTC
Please paste FULL build log, compressed if needed.
Comment 2 Hanno Zysik (geki) 2011-08-06 09:27:47 UTC
ERROR: error 65280 occurred while making
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/testtools/source/bridgetest


It looks very much like the fixed AVX bug.
A resync of the Gentoo repository should fix this, I think.
Comment 3 Vasilis Lourdas 2011-08-06 10:22:01 UTC
Created attachment 282279 [details]
build.log
Comment 4 Matt Turner gentoo-dev 2011-08-06 16:38:25 UTC
Created attachment 282337 [details]
build.log.gz

Confirmed here too.
Comment 5 Matt Turner gentoo-dev 2011-08-06 17:42:35 UTC
The error I see is

> dmake:  Error code 139, while making 'runtest'
Comment 6 Matt Turner gentoo-dev 2011-08-06 19:28:37 UTC
(In reply to comment #5)
> The error I see is
> 
> > dmake:  Error code 139, while making 'runtest'

Entering /home/mattst88/tmpdir/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/testtools/source/bridgetest

cd ../../unxlngx6.pro/lib && : &&     LD_LIBRARY_PATH=/home/mattst88/tmpdir/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_
PATH}} /home/mattst88/tmpdir/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/bin/uno \
        -ro uno_services.rdb -ro uno_types.rdb \
        -s com.sun.star.test.bridge.BridgeTest -- \
        com.sun.star.test.bridge.CppTestObject
/bin/sh: line 1: 25295 Segmentation fault      LD_LIBRARY_PATH=/home/mattst88/tmpdir/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD
_LIBRARY_PATH}} /home/mattst88/tmpdir/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/bin/uno -ro uno_services.rdb -ro uno_types.rdb -s com.sun.star.test.bridge
.BridgeTest -- com.sun.star.test.bridge.CppTestObject
dmake:  Error code 139, while making 'runtest'
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-07 09:30:30 UTC
Ok it looks like it needs expanding of the -mno-avx cflags altering

So just do this:
cd /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/
source ./LinuxX86-64Env.Set.sh
cd testtools
build V=1

If it says something about build not being allowed there just run make and post the output here.
Comment 8 Andrew Savchenko gentoo-dev 2011-08-07 14:33:20 UTC
(In reply to comment #7)
> Ok it looks like it needs expanding of the -mno-avx cflags altering
> 
> So just do this:
> cd
> /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/
> source ./LinuxX86-64Env.Set.sh
> cd testtools
> build V=1
> 
> If it says something about build not being allowed there just run make and post
> the output here.

It looks like I have exactly the same problem, but on ~x86:

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/testtools/source/br
idgetest                                                                                                                                       
                                                                                                                                               
 it seems that the error is inside 'testtools', please re-run build                                                                            
 inside this module to isolate the error and/or test your fix:                                                                                 
-----------------------------------------------------------------------                                                                        
                                                                                                                                               
rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/testtools/unxlngi6.pro # optional module 'clean'     
/bin/sh                                                                                                                                        
cd /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3                                                          
source ./LinuxX86Env.Set.sh                                                                                                                    
cd testtools                                                                                                                                   
build

After I performed all requested steps, it looks like it have segfault:

/bin/sh: line 1:  7485 Segmentation fault      LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngi6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngi6.pro/bin/uno -ro uno_services.rdb -ro uno_types.rdb -s com.sun.star.test.bridge.BridgeTest -- com.sun.star.test.bridge.CppTestObject
Comment 9 Andrew Savchenko gentoo-dev 2011-08-07 14:35:24 UTC
Created attachment 282427 [details]
testtools.build.log

build log of the testtools module
Comment 10 Andrew Savchenko gentoo-dev 2011-08-07 14:35:37 UTC
Created attachment 282429 [details]
emerge --info
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-08-13 07:05:18 UTC
You are right i changed the configure check to ommit true/false instead of yes/no.
Updated in the patch.

Really thanks for investigating and testing this further.
Comment 12 Andrew Savchenko gentoo-dev 2011-08-17 19:35:18 UTC
(In reply to comment #11)

Problem described in comment #8 is still present.
Should I open a new bug?