Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 387735 - app-office/libreoffice-3.3.4 fails to compile on stable x86
Summary: app-office/libreoffice-3.3.4 fails to compile on stable x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-19 21:06 UTC by Bob Johnson
Modified: 2011-11-12 12:39 UTC (History)
2 users (show)

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


Attachments
The final part of the build log (app-office:libreoffice-3.3.4:20111019-200152.log,37.34 KB, text/plain)
2011-10-19 21:11 UTC, Bob Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Johnson 2011-10-19 21:06:51 UTC
Today's update of my stable x86 system generated a request from 'emerge' to keyword app-text/poppler to 0.18.0. After doing so, revdep-rebuild rebuilt all poppler dependencies except libreoffice, which crashes during compilation.

Reproducible: Always




The requested info from the ebuild:

# emerge --info =app-office/libreoffice-3.3.4
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.39-gentoo-r3 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r3-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Wed, 19 Oct 2011 19:15: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.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
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.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo science x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA vmware"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-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.3/ext-active/ /etc/php/cgi-php5.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/texmf/web2c"
CXXFLAGS="-march=prescott -O2 -pipe"
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://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US"
MAKEOPTS="-j5"
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/science /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amr apache2 berkdb bluetooth bzip2 cairo cdda cli consolekit cracklib crypt css cups curl cxx dbus doc dri dts dv dvd dvdr dvi encode examples exif ffmpeg flac fontconfig fortran gcj gd gdbm gif gimp graphviz gstreamer gtk guile handbook hddtemp iconv icu id3tag ieee1394 ipv6 jack jadetex java jbig joystick jpeg jpeg2k kpathsea ladspa lcms libsamplerate libv4l2 lm_sensors loop-aes mad mbox midi mikmod mmx mng modules mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin odbc ogg openal opengl openmp pam pcre pdf png policykit ppds pppd qt3support quicktime raw readline rtc samba scanner sdl semantic-desktop session sox spell sse ssl svg sysfs t1lib tcl tcpd templates theora threads tiff tk truetype udev unicode usb v4l v4l2 vcd vorbis win32codecs wmf x264 x86 xanim xattr xine xinerama xml xorg xpm xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="canon" 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 vmmouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev intel radeon vesa vmware nv 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

app-office/libreoffice-3.3.4 was built with the following:
USE="binfilter cups dbus gstreamer gtk java nsplugin opengl templates (-aqua) -bash-completion -custom-cflags -debug -eds -gnome -kde (-kdeenablefinal) -ldap -odk" LINGUAS="en_US -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd (-sh) -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
CFLAGS="-march=prescott -pipe"
CXXFLAGS="-march=prescott -pipe"

# emerge -pqv =app-office/libreoffice-3.3.4
[ebuild   R   ] app-office/libreoffice-3.3.4  USE="binfilter cups dbus gstreamer gtk java nsplugin opengl templates (-aqua) -bash-completion -custom-cflags -debug -eds -gnome -kde (-kdeenablefinal) -ldap -odk" LINGUAS="en_US -af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd -sh -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu"
Comment 1 Bob Johnson 2011-10-19 21:11:39 UTC
Created attachment 290281 [details]
The final part of the build log
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2011-10-19 23:24:04 UTC
This bug is probably similar if not identical to bug 385111 et. al; except it's for a different minor version.  Unsure if the patch will be backported to 3.3.4 or if a 3.4 version will be stabilized?
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-20 07:39:10 UTC
This is not a bug, if you use popler that is broken even in testing tree on your stable machine things will break.

What did pull the 0.18.0 poppler to your depgraph, i can't find anything in stable tree pulling this version...

Note that I won't backport 0.18 poppler patches for 3.3 series.
Comment 4 Petr Pisar 2011-10-20 10:35:44 UTC
I can confirm the patch from bug #384933 is applicable to libreoffice-3.3.4 and makes it compilable.

I've been also dragged by emerge to unmask poppler-0.18.0 by keyword (on amd64) because somebody has unstabilized app-text/xpdf-3.02-r4, the only ebuild in tree (except the live one) to hard-require >=app-text/poppler-0.18.0.
Comment 5 Bob Johnson 2011-10-20 18:21:38 UTC
(In reply to comment #3)
> This is not a bug, if you use popler that is broken even in testing tree on
> your stable machine things will break.
> 
> What did pull the 0.18.0 poppler to your depgraph, i can't find anything in
> stable tree pulling this version...
> 
> Note that I won't backport 0.18 poppler patches for 3.3 series.

See Nick Bowler's comment in https://bugs.gentoo.org/show_bug.cgi?id=384009

There are two issue here, Nick's comment (is that how bugs get fixed in the stable tree, by removing packages) and the bigger one, emerge did not tell me what the problem was when I synced. What it said was (paraphrasing) 'if you want to upgrade this system, you must keyword poppler-0.18.0 now'.

To be honest, the last thing I wanted to do was keyword poppler. However, I was given no choice by portage, keyword or no update.
Comment 6 Bob Johnson 2011-10-20 19:33:09 UTC
Thanks to Petr's comment, I unmerged xpdf and downgraded back to the stable poppler. As one of the few remaining stable x86 users, I'm getting used to seeing things no one else sees. The right fix would have been an 'eselect news' item when xpdf went unstable.

Anyway, since this turned out to be an xpdf / portage issue and not a LibreOffice bug, feel free to close this bug. Thanks.
Comment 7 Daniele Boffi 2011-10-21 10:48:35 UTC
> Anyway, since this turned out to be an xpdf / portage issue and not a
> LibreOffice bug, feel free to close this bug. Thanks.

I was about to file a bug which is related to this issue.
I think that this is still an (unresolved) bug with portage / xpdf

Updating word says:

The following keyword changes are necessary to proceed:
#required by app-office/libreoffice-3.3.4, required by @selected, required by @world (argument)
>=app-text/poppler-0.18.0 ~amd64 

On the other hand, the dependence for poppler-0.18.0 is added by xpdf and not by libreoffice

It took me some time to diagnose the problem, but I have no idea what is causing this.
In any case, unmerging xpdf solves the issue.
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-10-21 11:40:50 UTC
Yeah bug is really on xpdf side, but the question is, do you really use xpdf, can't you use evince/okular? :)

Also there is xpdf-3.03 released so it might be cool to pack that instead of the poppler fork :)
Comment 9 Daniele Boffi 2011-10-21 14:47:29 UTC
> Yeah bug is really on xpdf side, but the question is, do you really use xpdf,
> can't you use evince/okular? :)

I agree: I do not need xpdf at all. Nevertheless I believe it is annoying that portage gives the erroneous indication that >=app-text/poppler-0.18.0 is pulled in by libreoffice, while the dependence is actually coming from xpdf. I cannot trace why this is happening; can we exclude that a similar erroneous indication might occur also in other situations?
Comment 10 Karol Ostrovsky 2011-11-05 19:40:49 UTC
Yesterday, I have run a relatively minimal fresh install with Xorg, Firefox and LibreOffice with only stable packages.  Poppler-0.16 gets automatically pulled by LibreOffice-3.3.4.  I was under the impression that this bug is not going to be fixed in the LibreOffice-3.3 series ebuilds but as it turns out the ebuild applies a patch to work with poppler-0.18!  I find this completely unacceptable.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2011-11-12 12:39:58 UTC
This bug is fixed in main tree by fixed patch.

Also starting from 3.4.4.2 the dependency on poppler is removed.