Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394615 - libreoffice-3.4.99.1-r1 fails to run hwpfilter_test_hwpfilter.test
Summary: libreoffice-3.4.99.1-r1 fails to run hwpfilter_test_hwpfilter.test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-13 22:46 UTC by Jonathan Heaney
Modified: 2012-01-11 11:08 UTC (History)
4 users (show)

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


Attachments
Export DBUS during the build (libreoffice-3.4.99.2-fix-hwpfilter-test.patch,327 bytes, patch)
2011-12-31 22:11 UTC, David E. Narváez
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Heaney 2011-12-13 22:46:47 UTC
As summary, and it fails right at the end after ~1 hour compiling.

I have icedtea-bin:6 and icedtea:7 installed, have to switch system-vm to v6 to get this far, although that is consistent with other L.O. ebuilds (inc. the currently installed 3.5.0.0 iirc)

Here is the output from the ebuild -

[ build CUT ] sc_ucalc
/bin/sh: line 1: 29873 Aborted                 LD_LIBRARY_PATH="$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_hwpfilter_test_hwpfilter.so --protector unoexceptionprotector.so unoexceptionprotector "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry" "-env:UNO_TYPES= file://$O/bin/udkapi.rdb  file://$O/bin/types.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb  file://$W/ComponentTarget/hwpfilter/source/hwp.component  file://$O/xml/configmgr.component  file://$O/xml/ucb1.component  file://$O/xml/ucpfile1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib > $W/CppunitTest/hwpfilter_test_hwpfilter.test.log 2>&1
LibreOffice(29873)/kdeui (kdelibs): Session bus not found 
To circumvent this problem try the following command (with Linux and bash) 
export $(dbus-launch) 

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck            # for memory checking
and retry.
make[2]: *** [/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1/workdir/unxlngx6.pro/CppunitTest/hwpfilter_test_hwpfilter.test] Error 1
make[2]: *** Waiting for unfinished jobs....
dmake:  Error code 2, while making 'all'

-----------------------------------------------------------------------
        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.99.1-r1/work/libreoffice-core-3.4.99.1/tail_build/prj

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

/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1
source ./Env.Host.sh
cd tail_build
make clean # optional
make -r

when the problem is isolated and fixed exit and re-run 'make' from the top-level
make[1]: *** [build] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1'
make: *** [source-env-and-recurse] Error 2
 * ERROR: app-office/libreoffice-3.4.99.1-r1 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  75:  Called src_install
 *   environment, line 8998:  Called die
 * The specific snippet of code:
 *       make DESTDIR="${D}" distro-pack-install -o build -o check || die;
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.4.99.1-r1',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.4.99.1-r1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME="/opt/icedtea-bin-6.1.10.4"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.4.99.1-r1/work/libreoffice-core-3.4.99.1'
 * QA Notice: make jobserver unavailable:
 * 
 *      make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.

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

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

Was suspicious when I saw this -
LibreOffice(29873)/kdeui (kdelibs): Session bus not found

But do not know how relevant it is. Could try building in a basic console (as opposed to su'd in konsole/kde).

emerge -pv libreoffice

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     UD ] app-office/libreoffice-3.4.99.1-r1 [3.5.0.0] USE="branding dbus graphite gtk java jemalloc kde nsplugin opengl svg vba webdav xmlsec (-aqua) -binfilter -debug -eds -gnome -gstreamer -gtk3 (-kdeenablefinal) -mysql -odk -pdfimport -postgres -test" 0 kB



Reproducible: Always




emerge --info
Portage 2.2.0_alpha80 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r1, 3.1.4-gentoo x86_64)
=================================================================
System uname: Linux-3.1.4-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_760_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Tue, 13 Dec 2011 20:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.7
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.11.1-r1
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r1
Repositories: gentoo local
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 AdobeFlash-10 AdobeFlash-10.1 Oracle-BCLA-JavaSE"
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 /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going --quiet-build n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://mirrors.linuxant.fr/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_GB"
MAKEOPTS="-j4 -l4"
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/local/portage"
SYNC="rsync://foucault/gentoo-portage"
USE="X a52 aac acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus declarative dga dri dts dv dvd dvdr emboss encode exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gdu geoip gif glibc-omitfp glitz gphoto2 gpm gtk handbook iconv icu idn ieee1394 imagemagick joystick jpeg jpeg2k kde kipi lame lcms libnotify lm_sensors lzma mad mjpeg mmx mmxext mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pch pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl session sndfile sox speex spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg sysfs system-sqlite tcpd theora threads tiff truetype udev unicode usb vaapi vcd vdpau vorbis wmf x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid yv12 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 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="kexi words flow plan stage tables krita karbon braindump" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="coolscan3" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pavel 2011-12-14 04:39:08 UTC
Confirm, I've got the same error.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-14 10:06:08 UTC
Looks like broken test, I will look what I can do about it.
Comment 3 Cyril 2011-12-19 16:43:26 UTC
(In reply to comment #1)
> Confirm, I've got the same error.

same on x86_64 but not on x86
Comment 4 David E. Narváez 2011-12-28 12:43:17 UTC
(In reply to comment #3)
> (In reply to comment #1)
> > Confirm, I've got the same error.
> 
> same on x86_64 but not on x86

Same here, app-office/libreoffice-3.4.99.2 on amd64.
Comment 5 David E. Narváez 2011-12-31 22:11:17 UTC
Created attachment 297491 [details, diff]
Export DBUS during the build

The attached patch fixes the test issue with hwpfilter.
Comment 6 Jonathan Heaney 2012-01-01 14:37:07 UTC
(In reply to comment #5)
> Created attachment 297491 [details, diff] [details, diff]
> Export DBUS during the build
> 
> The attached patch fixes the test issue with hwpfilter.

Works for me here.
Comment 7 Cyril 2012-01-10 10:27:13 UTC
(In reply to comment #5)
> Created attachment 297491 [details, diff] [details, diff]
> Export DBUS during the build
> 
> The attached patch fixes the test issue with hwpfilter.

Works for me, thanks a lot
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2012-01-11 11:08:12 UTC
Killed the test in beta3.