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

Bug 360497

Summary: app-office/libreoffice-3.3.2 fails to compile -"testtools" problem
Product: Gentoo Linux Reporter: Billy DeVincentis <billydv1>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: billie
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Billy DeVincentis 2011-03-26 03:09:18 UTC
Compiling: sw/source/filter/xml/xmlitemm.cxx
Compiling: sw/source/filter/xml/xmlitemi.cxx
Compiling: sw/source/filter/xml/xmliteme.cxx
Compiling: sw/source/filter/xml/xmlithlp.cxx
Compiling: sw/source/filter/xml/xmlbrsh.cxx
Compiling: sw/source/filter/xml/xmlfonte.cxx
Compiling: sw/source/filter/xml/XMLRedlineImportHelper.cxx
Compiling: sw/source/filter/xml/xmlitem.cxx
Compiling: sw/source/filter/xml/xmlitmpr.cxx
Compiling: sw/source/filter/xml/xmlimpit.cxx
Compiling: sw/source/filter/xml/xmlexpit.cxx
Making:    xml.lib
Making:    all_xml.dpslo

Entering /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sw/source/filter

Making:    filter.lib

Entering /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sw/util

Compiling: sw/unxlngx6.pro/misc/sw_dflt_version.c
Compiling: sw/unxlngx6.pro/misc/swd_dflt_version.c
Compiling: sw/unxlngx6.pro/misc/swui_dflt_version.c
Compiling: sw/unxlngx6.pro/misc/msword_dflt_version.c
Compiling: sw/unxlngx6.pro/misc/vbaswobj_dflt.uno_version.c
Making:    swall.lib
Making:    swui.lib
Making:    libswlx.so
Making:    libswdlx.so
Making:    libswuilx.so
Making:    libmswordlx.so
Making:    libvbaswobjlx.uno.so
Making:    swen-US.res
Compiling: rsc_sw
sw deliver
Module 'sw' delivered successfully. 244 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.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/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:
-----------------------------------------------------------------------

/bin/bash
cd /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2
source ./LinuxX86-64Env.Set.sh
cd testtools
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module.
make: *** [stamp/build] Error 1
 * ERROR: app-office/libreoffice-3.3.2 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8507:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'.
!!! 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.24"
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.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2'

>>> Failed to emerge app-office/libreoffice-3.3.2, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'
 * 
 * The following package has failed to build or install:
 * 
 *  (app-office/libreoffice-3.3.2::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'
 * 


Reproducible: Always




Linux1 billydv # emerge --info
Portage 2.2.0_alpha28 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 24 Mar 2011 13:30:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
Repositories: gentoo miscellaneous
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="/usr/portage/local/miscellaneous"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow S3TC X a52 aac aalib accessibility acl acpi aften akonadi alsa amarok amd64 amrnb archive ares arts artworkextra audio audiofile automount avahi bash-completion berkdb bidi binary-drivers bittorrent bluetooth bookmarks branding bzip2 cairo calendar cdda cddb cdio cdr chm clamav clamd cleartype cli clucene consolekit corefonts cpudetection cracklib crypt css cups curl cxx dbus deprecated designer-plugin device-mapper devil dga directfb discouraged distribution divx dns doc dri dts dv dvb dvd dvdnav dvdr dvdread ebook eds elisp emacs emboss emerald encode esd eselect etc-proposals evo examples exif expat extra-tools extraicons extras fam fat fax fbcon fbcondecor fbsplash ffmpeg firefox flac flash fltk foomaticdb fortran ftp fts3 fuse gcj gd gdbm gdu gedit ggi gif gimp glep glib glitz gmedia gnome gnutls google gphoto2 gpm gstreamer gtk gtkhtml handbook hddtemp hfs hpcups hpijs html htmlhandbook httpd hyperestraier iconv idn ieee1394 imagemagick imlib inkjar inotify ipv6 isdnlog jack jadetex java java6 jfs joystick jpeg jpeg2k kde kdehiddenvisibility kdrive kerberos konqueror kpathsea lame lcms ldap libcaca libnotify libsamplerate lirc live lm_sensors logrotate mad mail matroska md5sum mdnsresponder-compat mikmod mime mjpeg mmx mmxext mng modules mono mozilla mp2 mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql nas nautilus ncurses networking new-login nforce2 nls npp nptl nptlonly nsplugin ntfs nvidia objc odbc offensive ogg ole openal openexr opengl openmp osdmenu pam pango parport pcre pdf perl pipechan plasma pmu png policykit postgres ppds pppd pulseaudio python qt3support qt4 quicktime raptor rar rdesktop readline realmedia reflection regex reiser4 reiserfs reports samba sametime scanner sdl secure-delete semantic-desktop servletapi session sip skins slang slp smbclient smp sndfile snmp sound sounds speex spell spl sql sqlite sse sse2 ssl startup-notification static-ppds stream subversion svg swat sysfs syslog tcpd templates theora thesaurus threads thumbnail thunderbird tidy tiff timidity tk tools truetype type1 udev unicode unsupported usb userlocales utempter utils v4l vcd vdpau vdr video vlm voice vorbis vram wav wavpack weather webkit wmf wmp wordperfect wxwindows x264 xattr xcb xcomposite xforms xfs xine xml xorg xpm xprint xscreensaver xulrunner xv xvid xvmc zeroconf 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" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia nv 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, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Linux1 billydv #
Comment 1 Daniel Pielmeier gentoo-dev 2011-03-26 07:01:16 UTC
I have the same problem with icedtea as java-vm but in my case I was able to successfully install libreoffice-3.3.2 with icedtea6-bin-1.9.7 or sun-jdk-1.6.0.24. Take a look at bug #359295 for more information.

The libreoffice build system wants you to try the following to get more information about the issue. So can you please add the output like it requested:

/bin/bash
cd
/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2
source ./LinuxX86-64Env.Set.sh
cd testtools
build
Comment 2 Billy DeVincentis 2011-03-26 13:59:09 UTC
Although it wasn't set as my system vm, Icedtea was installed. I have now unmerged it and will try emerging libreoffice again. If it still fails, I will provide you the info requested.
Comment 3 Billy DeVincentis 2011-03-26 14:52:14 UTC
Without icedtea installed on my system it emerges fine.
Comment 4 Daniel Pielmeier gentoo-dev 2011-03-26 21:24:47 UTC
Yes I saw that sun-jdk was set as your system-vm, thus I was asking for the additional output to check if it was really in use. But I think this is the same problem which I have, although I could solve it just by switching the system-vm to icedtea6-bin or sun-jdk to be able to compile libreoffice.

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