Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 389049 - app-office/libreoffice-3.4.3.2-r1 (and 3.3.3) runtime crash: libunordfli.so: undefined symbol: librdf_new_world using build option with-system-redland
Summary: app-office/libreoffice-3.4.3.2-r1 (and 3.3.3) runtime crash: libunordfli.so: ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-31 01:51 UTC by daid kahl
Modified: 2012-03-18 11:03 UTC (History)
0 users

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


Attachments
patch for 3.4.3.2-r1 (libreoffice-force-internal-redland.diff,1.39 KB, patch)
2011-10-31 01:54 UTC, daid kahl
Details | Diff
lo-3.4 with the affected file (lo3.4.png,286.50 KB, image/png)
2011-11-02 10:11 UTC, Tomáš Chvátal (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daid kahl 2011-10-31 01:51:52 UTC
LibreOffice crashes if I build it with-system-redland enabled.  Should not be a duplicate of bug #295268 which was a build-time failure with the infamous "Error 65280" and was corrected by libreoffice-3.3.3 by the hard work of some developers.  The package is thankfully now able to successfully compile using --with-system-redland but causes total runtime crashes.

Reproducible: Always

Steps to Reproduce:
1. Open LibreOffice by any sane means, preferably the command line to get my runtime failure message.
2. Attempt to Save a Writer document in odt format, or attempt to open an odt file (which may have been created by OpenOffice.org 3.1.1 or earlier, but likely all cases).
Actual Results:  
It just dies.

I get output at the command line (but none otherwise) as:

daid@titan ~ % /usr/lib/libreoffice/program/soffice.bin: symbol lookup error: /usr/lib/libreoffice/program/../basis-link/program/libunordfli.so: undefined symbol: librdf_new_world

Expected Results:  
LibreOffice's compatibility with RDF and my system redland is awesome.

The issue of RDF led me to quickly connect this with a likely redland issue, which I was able to solve by essentially reverting the ebuild to my previous minor hacks posted in the bug report above.  

At the time of success, I include for posterity (despite that ebuild compiles either way):
emerge --info
Portage 2.1.10.10 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.11.3-r0, 2.6.32-gentoo-r29 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r29-i686-Intel-R-_Core-TM-2_Duo_CPU_P8700_@_2.53GHz-with-gentoo-2.0.2

Timestamp of tree: Fri, 28 Oct 2011 09:45:01 +0000
ccache version 3.1.4 [enabled]
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 3.1.3-r1
dev-util/ccache:          3.1.4
dev-util/cmake:           2.8.4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.65-r1
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            3.4.6-r2, 4.2.4-r1, 4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories:

gentoo
    location: /usr/portage
    sync: rsync://rsync.asia.gentoo.org/gentoo-portage 
    priority: -1000

pentoo
    location: /var/lib/layman/pentoo
    masters: gentoo
    priority: 0

gentoo-haskell
    location: /var/lib/layman/haskell
    masters: gentoo
    priority: 1

bircoph
    location: /var/lib/layman/bircoph
    masters: gentoo
    priority: 2

kde-sunset
    location: /var/lib/layman/kde-sunset
    masters: gentoo
    priority: 3

daid-s-local-overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 4

ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 sun-bcla-java-vm IBM-J1.4 Oracle-BCLA-JavaSE"
ACCEPT_PROPERTIES="*"
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 so
ftvol"
ANT_HOME="/usr/share/ant"
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 autoi
ndex 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"
ARCH="x86"
AUTOCLEAN="yes"
CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="i686-pc-linux-gnu"
CCACHE_DIR="/var/tmp/ccache/"
CCACHE_SIZE="10G"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"  
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
COLORTERM="Terminal"
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.3/ext-active/ /etc/php/cgi-ph
p5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texm
f/web2c"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/usr/bin/vim"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms 
strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x
#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP
 \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS=" https://www.pentoo.ch/svn/portage/trunk/ http://ftp.iij.ad.jp/pub/linux/gentoo http://gentoo.gg3.net "
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 tim
ing tsip tripmate tnt ubx"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="gconf"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVACC_HOME="/usr/share/javacc/"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="en en_US ja"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=0
1;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*
.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.
jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;3
5:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01
;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;
35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi
=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j3"
MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.5.3/man:/etc/java-config/system-vm/man/:
/usr/lib/php5.3/man/:/usr/qt/3/doc/man"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="nvidia"
PATH="/home/daid/scripts:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.5.2:/usr/qt/3/bin:/usr/games/bin:/sbin:/usr/sbin:/home/daid/.gentoo/java-config-2/c
urrent-user-vm/bin:/usr/local/warlock2:/usr/local/sbin:/home/daid/physics/transport_for_crib/transport1.6/bin:/usr/local/kaliveda/bin:/usr/local/mvp/etc:/usr/local/mvp/bin/LINUXGL
IBC"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-
netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64
-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="info warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="0"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude
=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SANDBOX_COMPAT_LEVEL="16"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pentoo /var/lib/layman/haskell /var/lib/layman/bircoph /var/lib/layman/kde-sunset /usr/local/portage"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/libfreebl3.so:/usr/lib/libnssdbm3.so:/usr/lib/libsoftokn3.so"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/usr/lib/root"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.5.3:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/zsh"
SUDO_COMMAND="/bin/env PATH=/home/daid/scripts:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.5.2:/usr/qt/3/bin:/usr/games/bin:/sbin:/usr/sbin:/home/daid/.gentoo/java-config-2/current-user-vm/bin:/usr/local/warlock2:/usr/local/sbin:/home/daid/physics/transport_for_crib/transport1.6/bin:/usr/local/kaliveda/bin:/usr/local/mvp/etc:/usr/local/mvp/bin/LINUXGLIBC emerge --info"
SUDO_GID="1000"
SUDO_UID="1000"
SUDO_USER="daid"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
TERM="screen"
TEXINPUTS="/usr/lib/ocaml/ocamldoc:"
USE="X Xaw3d aac acl acpi alsa apm berkdb branding bzip2 cairo cdr cjk cli cracklib crypt css cups cxx dbus dri dvd dvdr encode esd firefox flac fortran ftp gcj gdbm gif gimp glibc-omitfp gnome-keyring gpm gstreamer gtk hal hfs iconv icu imagemagick imap ipv6 java javascript joystick jpeg kerberos kpathsea lapack latex ldap libg++ lm_sensors lock loop-aes mad mime mmx modules mono mozilla mp3 mpeg mplayer mudflap mysql ncurses network networkmanager nls nptl nptlonly nsplugin ntfs ogg oggvorbis opengl openmp oss pam pcre pdf png policykit portaudio posix ppds pppd pulseaudio python readline samba session spell sse sse2 ssl startup-notification subversion svg sysfs tcpd theora threads thunar tiff truetype unicode usb userlocales v4l v4l2 vim-syntax vorbis wifi win32codecs winbind x86 xcb xcomposite xine xml xml2 xorg xpm xulrunner xv xvmc zsh-completion" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ja" PHP_TARGETS="php5-3" 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" 
USER="root"
USERLAND="GNU"
USERNAME="root"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="nvidia vesa"
XAUTHORITY="/home/daid/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
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"

Please note I compiled the ebuilds present in portage also without fomit-frame-pointers, and not knowing how to do much stack tracing myself, cannot offer additional help from that side.  

Can notice that some of the responsible parties are not the most up-to-date (but I already had in mind a solution as was emerging at the time):
Calculating dependencies... done!
[ebuild  NS    ] media-libs/raptor-2.0.4 [1.4.21-r1] USE="curl unicode xml -debug -json -static-libs" 1,622 kB
[ebuild  N     ] app-crypt/mhash-0.9.9.9  USE="-static-libs" 910 kB
[ebuild     U  ] dev-libs/rasqal-0.9.27 [0.9.19] USE="crypt%* mhash%* pcre xml -doc% -gmp -static-libs% -test" 1,445 kB
[ebuild     U  ] dev-libs/redland-1.0.14 [1.0.10-r2] USE="berkdb mysql ssl xml -iodbc -odbc -postgres -sqlite -static-libs" 1,545 kB

If any of this is a problem, then the ebuild would need to insist on certain higher versions of these packages so they are pulled in when an explicit call to emerge libreoffice without --deep call is issued.  

Please ask for any build logs that may be useful, but they are large and I can't see anything helpful there.
Comment 1 daid kahl 2011-10-31 01:54:44 UTC
Created attachment 291325 [details, diff]
patch for 3.4.3.2-r1

A quick fix to force the internal redland.  Works for me.
Comment 2 daid kahl 2011-10-31 02:06:13 UTC
Please note I am also usually using MAKEOPTS=-j1 for LibreOffice.  That's done in my /etc/portage/env/app-office/libreoffice:

#LO requires slightly less aggressive compile settings
export MAKEOPTS="-j1"
export FEATURES="collision-protect sandbox userpriv usersandbox buildpkg"

buildpkg is enable from me wanting a good binary sticking around when I have to deal with ebuilds getting changed back to using system-redland.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-01 10:26:34 UTC
This does not make me happy,
I really hoped I already fixed this stuff.

Meh more coding for me, I will try to look to it and if it takes more time I will use the attached patch to use internal redland (TBH I would really rather fix this stuff for good :)).
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-01 10:27:14 UTC
Also for other notes you don't need to tweak the FEATURES or jobs now on libreoffice.

They should be parallel safe :)
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-02 09:44:36 UTC
Could you give me some file which you reproduce the issue with?

I am now unable to get this undefined warning from any of my builds.
Comment 6 daid kahl 2011-11-02 10:05:49 UTC
(In reply to comment #5)
> Could you give me some file which you reproduce the issue with?
> 
> I am now unable to get this undefined warning from any of my builds.

Well, I got the error even trying to save a blank document in odt format.  But you may try this one, for example: http://www.goatface.org/physix/Run_Plan_Final.odt

I know that was one I tried, since a colleague was asking me for some help, and I couldn't show this file at that time.
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-02 10:11:16 UTC
Created attachment 291515 [details]
lo-3.4 with the affected file

I am really unable to reproduce this when using libreoffice-bin-3.4.3.2-r1.

Could you try that package?
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-02 10:16:06 UTC
Also it looks like bug because you don't have raptor installed, try to install just raptor and see how it behaves, the raptor should be harddep for both rasqual and redland, I will bump version requirements in the ebuild to ensure fresh enough redland anyway...
Comment 9 daid kahl 2011-11-02 11:38:09 UTC
> I am really unable to reproduce this when using libreoffice-bin-3.4.3.2-r1.
> 
> Could you try that package?

This is the package I am using.  Originally saw the bug on 3.3.3 (the first time I was able to build successfully with system-redland), and it persisted to 3.4.3.2-r1 upgrade.  

Will update redland, raptor, and so on, and try the build again.  Gonna sneak that present binary buildpkg somewhere else though...
Comment 10 daid kahl 2011-11-03 01:28:46 UTC
(In reply to comment #8)
> Also it looks like bug because you don't have raptor installed, try to install
> just raptor and see how it behaves, the raptor should be harddep for both
> rasqual and redland, I will bump version requirements in the ebuild to ensure
> fresh enough redland anyway...

I updated redland as in the original post emerge pretend output, which also installed the version 2 slot of raptor, installed mhash, and updated rasqal.  Changed my LO ebuild so the system-redland is used, rebuilt LO, but the problem comes back.

Re-emerged the binary package I set aside using the internal redland and again I can use LO without any issues.

I should also note, compared to the build error of a couple years ago, this is a new PC with a fresh install as of April 2011.  So it shouldn't be any weird lurking software that's causing the problem.  But the make.conf is pretty similar to the other case.  Can it be some kind of USE flag issue?
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-10 21:06:42 UTC
I really dunno what can cause this...

I could recommend slight cleanup of your gentoo with removal of your definiton of LDFLAGS (we use now as-needed everywhere) and emerge -euD @world to update everything (yeah consuming i know but should solve the issue).

The without --as-needed setup is quite prone for errors, specially for lo.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2012-03-18 11:03:26 UTC
So, did you get to reemerge your system with updated ldflags?