Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 360275 - Libreoffice-3.3.2 fails to build, error is inside 'ucb' module
Summary: Libreoffice-3.3.2 fails to build, error is inside 'ucb' module
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-24 14:03 UTC by Robert Cabrera
Modified: 2011-03-25 15:13 UTC (History)
1 user (show)

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


Attachments
compressed libreoffice-3.3.2 build.log (build.log.tar.gz,144.04 KB, text/plain)
2011-03-24 14:13 UTC, Robert Cabrera
Details
build environment (environment,341.26 KB, text/plain)
2011-03-24 14:15 UTC, Robert Cabrera
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Cabrera 2011-03-24 14:03:58 UTC
Attempted to update to libreoffice-3.3.2 the last 2 days. First attempt with USE="bash-completion binfilter cups custom-cflags dbus java kde ldap nsplugin opengl templates failed. I have successfully compiled OOo and now libreoffice with these flags for a couple of years, but since USE="custom-cflags" is officially "unsupported" I attempted to build again with USE="bash-completion binfilter cups dbus java kde ldap nsplugin opengl templates". Again build failed in exactly the same spot. 

Builds die with the following:

Making:    libucpdav1.so
: ERROR: /usr/lib/libproxy.so.1: undefined symbol: JS_GetStringBytes
dmake:  Error code 1, while making '../../../unxlngi6.pro/lib/libucpdav1.so'

-----------------------------------------------------------------------
        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

 it seems that the error is inside 'ucb', 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 ./LinuxX86Env.Set.sh
cd ucb
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 unxlngi6.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 8477:  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'

Reproducible: Always

Steps to Reproduce:
1.emerge -1av libreoffice
2. 
3.
Actual Results:  
Build crashes in the same spot every time.

Expected Results:  
Successful build and installation of new libreoffice

My emerge --info:
Portage 2.2.0_alpha28 (default/linux/x86/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.37-pf6 i686)
=================================================================
System uname: Linux-2.6.37-pf6-i686-Intel-R-_Pentium-R-_M_processor_2.26GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 24 Mar 2011 07:15: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.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.36.1 (sys-kernel/linux-headers)
Repositories: gentoo portage
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/config/kdm /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/skel /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"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.netnitco.net http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.wetzlmayr.com/ http://osmirrors.cerias.purdue.edu/pub/gentoo/ http://www.cyberuse.com/gentoo/ http://gentoo.mirrors.hoobly.com/ ftp://gentoo.imj.fr/pub/gentoo/ http://130.59.10.35/ftp/mirror/gentoo/"
LANG="en_US.utf8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j1 -s"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="S3TC X a52 aac aalib acl acpi addressbook alsa amr apm archive audiofile autoipd avahi bash-completion berkdb binfilter bittorrent bluetooth bonjour branding bzip2 cairo cdda cdinstall cdr chm cleartype cli clucene connection-sharing consolekit contrast cracklib crypt cups custom-optimization cxx dbus dc1394 dell designer-plugin desktopglobe dga dhcpcd dirac djvu dri drm dts dv dvb dvd dvdr ebook editor eix embedded emboss emovix enca encode exif extensions faac faad fam fat fbcon fbcondecor fbsplash ffmpeg firefox fits flac flash fortran ftp fuse gallium gcrypt gd gdbm gdu geolocation ggi gif gimp git gles glib glibc-omitfp gmm gmp gnutls gphoto2 gpm graphviz groupwise gsm gtk handbook httpd hyperestraier iconv id3tag ieee1394 imagemagick imlib indi inotify ipod ipv6 jabber jack java javascript jbig jce jingle joystick jpeg jpeg2k kate kde kerberos kig-scripting kipi konqueror ladspa lame laptop lastfm latex lcms ldap libass libcaca libnotify libproxy libsamplerate libtiger live llvm lm_sensors lua lzma lzo mad matroska md5sum meanwhile mikmod mjpeg mmx mng modplug modules mozilla mp3 mp3tunes mp4 mpeg mplayer msn mtp mudflap musepack musicbrainz ncurses network networkmanager nls nova npp nptl nptlonly nsplugin ntfs nut offensive ogg openal openexr opengl openmp optimization optimized-qmake oscar otr pam pango pch pcmcia pcre pdf perl plasma pm-utils pmu png pnm policykit ppds ppp pppd pvr python python3 qalculate qt-faststart qt3support qt4 quicktime qwt rar raw rdp readline remote-access reports resolvconf rle rss rtmp rtsp samba sasl scanner schroedinger sdl sdl-image secure-delete semantic-desktop session shout shutdown skins skype slp smbclient sms sndfile solver sox speex spell sse sse2 ssl stable startup-notification stream strong-optimization subversion svg svga symlink sysfs system-sqlite taglib tcl tcpd teamarena templates tga themedesigner theora threads thumbnail tidy tiff timidity tremor truetype twolame udev udis86 unicode upnp usb vaapi vcd vcdx video vidix vlc vlm vnc vorbis vpx watchdog wavpack webpresence wicd wifi win32codecs windeco winpopup wireshark wmf wpd wpg wps wv2 wxwidgets x264 x86 xanim xattr xcb xcomposite xine xml xorg xosd xulrunner xv xvid xvmc yahoo yv12 zeroconf zlib" ALSA_CARDS="intel8x0 intel8x0m" 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 keyboard mouse synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Robert Cabrera 2011-03-24 14:13:09 UTC
Created attachment 267083 [details]
compressed libreoffice-3.3.2 build.log
Comment 2 Robert Cabrera 2011-03-24 14:15:48 UTC
Created attachment 267085 [details]
build environment
Comment 3 Serkan Kaba (RETIRED) gentoo-dev 2011-03-24 19:39:36 UTC
what's your xulrunner version, this might be similar to bug 359879
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2011-03-24 20:28:11 UTC
Not a libreoffice bug, you have to rebuild / fix libproxy. Closing.
Comment 5 Robert Cabrera 2011-03-25 15:13:07 UTC
(In reply to comment #4)
> Not a libreoffice bug, you have to rebuild / fix libproxy. Closing.

Thanks for the info. I rebuilt libproxy, then libreoffice installed as expected.