| Summary: | app-office/libreoffice-3.5.4.2-r1 won't build after update to libcmis-0.2.2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Alexander Hof <gentoobugs> |
| Component: | Current packages | Assignee: | Gentoo Office Team <office> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | b.brachaczek, jason, thanasis, yamadharma |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log
build log libcmis-0.2.2-pkgconfig.patch |
||
|
Description
Alexander Hof
2012-06-06 16:07:47 UTC
Created attachment 314443 [details]
build log
(In reply to comment #1) > Created attachment 314443 [details] > build log Hit the same bug in Funtoo Current. # emerge --info app-office/libreoffice Portage 2.3.4-r4 (default/linux/amd64/2008.0/desktop, gcc-4.6.2, glibc-2.13-r4, 3.3.4-ck x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.3.4-ck-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-2.1.8 Timestamp of tree: Wed, 06 Jun 2012 06:00:01 +0000 app-shells/bash: 4.2_p24 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.3-r1000, 3.2.3-r1000 dev-util/cmake: 2.8.8-r2 sys-apps/baselayout: 2.1.8-r3 sys-apps/openrc: 0.8.3-r8 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.5 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.6.2-r1 sys-devel/gcc-config: 1.5 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo lcd-filtering x-portage Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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/udev/rules.d" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs 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,--sort-common -Wl,--as-needed" MAKEOPTS="-j6" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering /usr/local/portage" SYNC="git://github.com/funtoo/ports-2012.git" SYNC_USER="root" USE="X a52 aac acl acpi alac alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit corefonts cpudetection cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran fuse gdbm gif gnome gpm gstreamer gtk iconv icq ipv6 irc jabber jpeg lame lcms ldap libnotify libsamplerate mad mmx mng modules mp3 mp4 mpeg msn mudflap multilib nautilus ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd pulseaudio python qt3support qt4 readline realtime samba sasl sdl session sip sndfile spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis wavpack wxwidgets x264 xcb xml xorg xulrunner xv xvid yahoo 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="kexi words flow plan sheets 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK ================================================================= Package Settings ================================================================= app-office/libreoffice-3.5.4.2-r1 was built with the following: USE="branding cups dbus gnome graphite gstreamer gtk (multilib) nsplugin opengl svg vba webdav xmlsec (-aqua) -binfilter -binfilterdebug -eds -java -jemalloc -kde -mysql -nlpsolver -odk -pdfimport -postgres -test" Created attachment 314453 [details, diff]
libcmis-0.2.2-pkgconfig.patch
It's because libcmis-0.2.2 includes libxml2 headers in its public headers and LibreOffice can't find them. And it can't find them because libcmis installs incomplete pkgconfig file. Attaching a patch to fix it in libcmis (maybe a separate bug should be filed, but I see libcmis is maintained by the openoffice herd anyways).
But with fixed libcmis there is a new error: /var/tmp/portage/app-office/libreoffice-3.5.4.2-r1/work/libreoffice-core-3.5.4.2/ucb/source/ucp/cmis/cmis_content.cxx:325:30: error: ‘class libcmis::Document’ has no member named ‘getContent’ So I guess libcmis API has changed. Maybe <libreoffice-3.6 should depend on =libcmis-0.1*? PS. I think my patch for libcmis-0.2.2 is still valid (there only should be INCLUDES="$INCLUDES $BOOST_CPPFLAGS" instead of INCLUDES="$CFLAGS_PRIVATE $BOOST_CPPFLAGS") and should be sent upstream. Do I have to do it myself? *** This bug has been marked as a duplicate of bug 419825 *** |