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

Bug 376801

Summary: App-office/libreoffice-3.4.2.3 not compile with USE=graphite
Product: Gentoo Linux Reporter: David Kredba <kredba>
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: libreoffice-3.4.2.3-parallel-build.log gzipped

Description David Kredba 2011-07-28 19:16:58 UTC
Removed -nostdlibs from CMakeFileList files and installed graphite2. Tried to build app-office/libreoffice-3.4.2.3. Parallel and -j1 build fails in sfx2 module with gcc-4.6.1.

Reproducible: Always

Steps to Reproduce:
1.Remove -nostdlibs option from CMakeFileLists and build and install graphite2-r1 package
2.Try to emerge app-office/libreoffice-3.4.2.3 with -jX or -j1
3.Build fails in sfx2
Actual Results:  
Entering /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/binfilter/util

echo \
        '<list><filename>bf_frm.component</filename> <filename>bf_sc.component</filename> <filename>bf_sch.component</filename> <filename>bf_sd.component</filename> <filename>bf_sm.component</filename> <filename>bf_svt.component</filename> <filename>bf_svx.component</filename> <filename>bf_sw.component</filename> <filename>bf_wrapper.component</filename> <filename>bf_xo.component</filename></list>' \
        > ../unxlngx6.pro/misc/legacy_binfilters.input
: &&     LD_LIBRARY_PATH=/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/lib${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}} xsltproc --nonet --stringparam prefix /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/binfilter/util/../unxlngx6.pro/misc/ -o ../unxlngx6.pro/misc/legacy_binfilters.rdb \
        /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solenv/bin/packcomponents.xslt ../unxlngx6.pro/misc/legacy_binfilters.input
binfilter deliver
deliver -- version: 275594
Module 'binfilter' delivered successfully. 63 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.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sfx2/prj

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

rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/sfx2/unxlngx6.pro # optional module 'clean'
/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3
source ./LinuxX86-64Env.Set.sh
cd sfx2
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level

Expected Results:  
Builds fine.

emerge --info
Portage 2.2.0_alpha47 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.1, glibc-2.13-r4, 3.0.0-gentoo-1d x86_64)
=================================================================
System uname: Linux-3.0.0-gentoo-1d-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.3
Timestamp of tree: Thu, 28 Jul 2011 18:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.5-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
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-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.6.1
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb -march=core2"
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 /var/bind /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/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="-O2 -pipe -ggdb -march=core2"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -ggdb -march=core2"
GENTOO_MIRRORS="ftp://gentoo.mirror.web4u.cz/"
LANG="cs_CZ.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="echo"
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=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo caps cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gdu gif gmp gpm gtk iconv idn ithreads java jpeg jpeg2k kde kipi lcms ldap libnotify lzma mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly objc objc++ objc-gc odbc ogg openexr opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 readline samba sdl semantic-desktop session slang speex spell sqlite sse sse2 ssl ssse3 svg sysfs tcl tcpd threads tiff tk truetype udev unicode usb vorbis wavpack x264 xattr xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2 canon hp215 sony_dscf1 sony_dscf55" 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 joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en" LIRC_DEVICES="inputlirc pctv hauppauge hauppauge_dvb devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

emerge -pv libreoffice

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

Calculating dependencies... done!
[ebuild     U #] app-office/libreoffice-3.4.2.3 [3.4.2.2] USE="binfilter branding%* cups dbus graphite%* gstreamer gtk java kde ldap mysql odk offlinehelp opengl python templates vba webdav (-aqua) -custom-cflags -debug -eds -gnome (-kdeenablefinal) -nsplugin -test" LINGUAS="cs en -af -ar -as -ast -be -bg -bn -bo -br -brx -bs -ca -ca_XV -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -lo -lt -lv -mai -mk -ml -mn -mni -mr -my -nb -ne -nl -nn -nr -nso -oc -or -pa_IN -pl -pt -pt_BR -ro -ru -rw -sat -sd -sh -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB
Comment 1 David Kredba 2011-07-28 19:18:09 UTC
Created attachment 281327 [details]
libreoffice-3.4.2.3-parallel-build.log gzipped
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-29 11:13:04 UTC
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `ResIdToPixbuf(unsigned short)':
shutdowniconunx.cxx:(.text+0x11b): undefined reference to `g_return_if_fail_warning'
shutdowniconunx.cxx:(.text+0x171): undefined reference to `g_malloc'
shutdowniconunx.cxx:(.text+0x2a8): undefined reference to `g_free'
shutdowniconunx.cxx:(.text+0x2e0): undefined reference to `gdk_pixbuf_new_from_data'
shutdowniconunx.cxx:(.text+0x2fd): undefined reference to `g_return_if_fail_warning'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `menu_deactivate_cb(_GtkWidget*)':
shutdowniconunx.cxx:(.text+0x3f5): undefined reference to `gtk_menu_get_type'
shutdowniconunx.cxx:(.text+0x400): undefined reference to `g_type_check_instance_cast'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `_ZL19add_image_menu_itemP13_GtkMenuShellPKcN3rtl8OUStringEPFvvE.constprop.25':
shutdowniconunx.cxx:(.text+0x46e): undefined reference to `gtk_image_new_from_stock'
shutdowniconunx.cxx:(.text+0x47f): undefined reference to `gtk_image_menu_item_new_with_label'
shutdowniconunx.cxx:(.text+0x487): undefined reference to `gtk_image_menu_item_get_type'
shutdowniconunx.cxx:(.text+0x492): undefined reference to `g_type_check_instance_cast'
shutdowniconunx.cxx:(.text+0x49d): undefined reference to `gtk_image_menu_item_set_image'
shutdowniconunx.cxx:(.text+0x4a8): undefined reference to `gtk_menu_shell_append'
shutdowniconunx.cxx:(.text+0x4c2): undefined reference to `g_signal_connect_data'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `add_item(_GtkMenuShell*, char const*, rtl::OUString*, unsigned short, void (*)())':
shutdowniconunx.cxx:(.text+0x5f9): undefined reference to `gtk_image_new_from_pixbuf'
shutdowniconunx.cxx:(.text+0x609): undefined reference to `g_type_check_instance_cast'
shutdowniconunx.cxx:(.text+0x611): undefined reference to `g_object_unref'
shutdowniconunx.cxx:(.text+0x61f): undefined reference to `gtk_image_menu_item_new_with_label'
shutdowniconunx.cxx:(.text+0x627): undefined reference to `gtk_image_menu_item_get_type'
shutdowniconunx.cxx:(.text+0x632): undefined reference to `g_type_check_instance_cast'
shutdowniconunx.cxx:(.text+0x63d): undefined reference to `gtk_image_menu_item_set_image'
shutdowniconunx.cxx:(.text+0x65c): undefined reference to `g_signal_connect_data'
shutdowniconunx.cxx:(.text+0x667): undefined reference to `gtk_menu_shell_append'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `plugin_init_sys_tray':
shutdowniconunx.cxx:(.text+0x978): undefined reference to `gtk_check_version'
shutdowniconunx.cxx:(.text+0x9a8): undefined reference to `g_type_from_name'
shutdowniconunx.cxx:(.text+0xb0c): undefined reference to `gtk_status_icon_new_from_pixbuf'
shutdowniconunx.cxx:(.text+0xb1b): undefined reference to `g_object_unref'
shutdowniconunx.cxx:(.text+0xb46): undefined reference to `g_object_set'
shutdowniconunx.cxx:(.text+0xb4b): undefined reference to `gtk_menu_new'
shutdowniconunx.cxx:(.text+0xb6c): undefined reference to `g_signal_connect_data'
shutdowniconunx.cxx:(.text+0xb8f): undefined reference to `g_signal_connect_data'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `plugin_shutdown_sys_tray':
shutdowniconunx.cxx:(.text+0xc52): undefined reference to `g_object_unref'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `display_menu_cb(_GtkWidget*, _GdkEventButton*, _GtkWidget*)':
shutdowniconunx.cxx:(.text+0xd18): undefined reference to `gtk_widget_set_sensitive'
shutdowniconunx.cxx:(.text+0xd27): undefined reference to `gtk_widget_set_sensitive'
shutdowniconunx.cxx:(.text+0xd36): undefined reference to `gtk_widget_set_sensitive'
shutdowniconunx.cxx:(.text+0xd3f): undefined reference to `gtk_menu_get_type'
shutdowniconunx.cxx:(.text+0xd51): undefined reference to `g_type_check_instance_cast'
shutdowniconunx.cxx:(.text+0xd58): undefined reference to `gtk_status_icon_position_menu'
shutdowniconunx.cxx:(.text+0xd6e): undefined reference to `gtk_menu_popup'
shutdowniconunx.cxx:(.text+0xd9f): undefined reference to `gtk_menu_shell_get_type'
shutdowniconunx.cxx:(.text+0xdaa): undefined reference to `g_type_check_instance_cast'
shutdowniconunx.cxx:(.text+0xe94): undefined reference to `gtk_separator_menu_item_new'
shutdowniconunx.cxx:(.text+0xea1): undefined reference to `gtk_menu_shell_append'
shutdowniconunx.cxx:(.text+0xef1): undefined reference to `gtk_separator_menu_item_new'
shutdowniconunx.cxx:(.text+0xefe): undefined reference to `gtk_menu_shell_append'
shutdowniconunx.cxx:(.text+0xf4e): undefined reference to `gtk_separator_menu_item_new'
shutdowniconunx.cxx:(.text+0xf5b): undefined reference to `gtk_menu_shell_append'
shutdowniconunx.cxx:(.text+0xfae): undefined reference to `gtk_widget_show_all'
/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/CxxObject/sfx2/source/appl/shutdowniconunx.o: In function `menu_deactivate_cb(_GtkWidget*)':
shutdowniconunx.cxx:(.text+0x409): undefined reference to `gtk_menu_popdown'
collect2: ld returned 1 exit status
make[1]: *** [/var/tmp/portage/app-office/libreoffice-3.4.2.3/work/libreoffice-bootstrap-3.4.2.3/solver/340/unxlngx6.pro/workdir/LinkTarget/Library/libqstart_gtklx.so] Error 1
dmake:  Error code 2, while making 'all'
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-07-29 11:14:19 UTC
This bug is gtk issue I fixed yesterday.

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