Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379209 - app-office-openoffice - configure: error: Library requirements (libwpg-0.1 ) not met
Summary: app-office-openoffice - configure: error: Library requirements (libwpg-0.1 ) ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2011-08-14 23:15 UTC by brad
Modified: 2011-08-15 02:26 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description brad 2011-08-14 23:15:32 UTC
error when emerging openoffice.
Package libwpd-0.8 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpd-0.8.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpd-0.8' found
configure: error: Library requirements (libwpd-0.8 ) not met;

yet I emerge libwpd and it installs without any issues and I still get the same error??

Reproducible: Always

Steps to Reproduce:
1.emerge openoffice
2.
3.
Actual Results:  
fail

Expected Results:  
success

emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.13-r4, 2.6.38-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 14 Aug 2011 16:15:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.1.4-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.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.4.5, 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.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=i486 -pipe"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS="-O2 -march=i486 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
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://gentoo.localhost.net.ar/ ftp://mirrors.localhost.net.ar/pub/mirrors/gentoo/ http://ftp.swin.edu.au/gentoo ftp://ftp.swin.edu.au/gentoo http://gentoo.inode.at/ ftp://gentoo.inode.at/source/ rsync://gentoo.lagis.at/gentoo-distfiles/ http://gentoo.lagis.at/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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=""
SYNC="rsync://rsync1.au.gentoo.org/gentoo-portage"
USE="X acl alsa apng berkdb bzip2 cli consolekit cracklib crypt cups cxx dbus device-mapper doc dri extras fortran gdbm gdu gpm gtk gtk3 iconv icu ipv6 java jpeg lcms libwpd lock modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl png policykit pppd python readline session sound ssl startup-notification sysfs tcpd threads thunar tiff udev unicode utils x86 xorg xpdf-headers 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 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" 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="endev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 brad 2011-08-14 23:34:34 UTC
********************************************************************
*                                                                  *
*   OpenOffice.org build configuration.                            *
*                                                                  *
*   The configure process checks your platform to see whether      *
*   you can build OpenOffice.org on it.                            *
*   This process checks all pre-requisites and generates a file    *
*   containing the necessary environment variables.                *
*   Source this file after configure has ended successfully.       *
*                                                                  *
*   Any warning that is generated during the configure process     *
*   must be taken into account since it can be a reason for        *
*   an unsuccessful build of OpenOffice.org                        *
*                                                                  *
********************************************************************

********************************************************************
*                                                                  *
*   Checking the platform pre-requisites.                          *
*                                                                  *
********************************************************************

checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for gawk... gawk
checking for gawk... /usr/bin/gawk
checking for sed... /bin/sed
checking for solenv environment... default
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking whether to enable crashdump feature... no
checking whether to turn warnings to errors... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product build
checking whether to include symbols into final build... no
checking whether to strip the solver or not.... checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... no
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... no
checking whether to use dicts from external paths... yes
checking for spelling dictionary directory... file:///usr/share/myspell
checking for hyphenation patterns directory... file:///usr/share/myspell
checking for thesaurus directory... file:///usr/share/myspell
checking which shell to use... bash
checking for bash... /bin/bash
checking gcc home... /usr
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc... /usr/bin/gcc
checking the GNU gcc compiler version... checked (gcc 4.4.5)
checking for -Bsymbolic-functions linker support ... found 
checking whether to enable pch feature... no
checking whether to enable hid list feature... no
checking for GNU make... make
checking the GNU make version... make 3.82
3+:
checking for GNU tar... tar
checking for --hash-style=gnu linker support ... found 
checking for working -Wl,--as-needed linker support... yes
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... all modules found
./configure: line 7748: test: : integer expression expected
checking whether to enable Mono bindings... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking how to run the C preprocessor... gcc -E
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking size of long... 4
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking whether to disable vba feature... no
checking how to package the vba compatibility api... build into installset
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking whether to enable pam support... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking whether to link to libpam... no, dynamically open it
checking whether to link to libcrypt... yes
checking for crypt in -lcrypt... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking the GNU C++ compiler version... checked (g++ 4.4.5)
checking for g++ include path... /usr/lib/gcc/i486-pc-linux-gnu/4.4.5/include/g++-v4
checking exception type... 
checking what the default STL should be... stlport
checking for STL providing headers... using system STL
configure: WARNING: using system STL. Warning, breaks your ABI compatability!
checking whether gcc supports -fvisibility=hidden... yes
checking whether we are allowed and able to use --ccache-skip... only used on Mac currently, skipping
checking if hash_map will be in __gnu_cxx namespace... yes
checking if STL headers are visibility safe... yes
checking if gcc is -fvisibility-inlines-hidden safe with STL headers... yes
checking if gcc has a visibility bug with class-level attributes (GCC bug 26905)... no
checking which memory allocator to use... system
checking for malloc... yes
checking for realloc... yes
checking for calloc... yes
checking for free... yes
checking whether to add custom build version... yes, ooo-build 3.2.1.6
checking whether to build with Java support... yes
checking the installed JDK... checked (JDK 1.6.0_22)
checking for target java bytecode version... 1.5
checking for jawt lib name... -ljawt
checking whether to use specific JVM search path at runtime... yes
checking whether to enable gcj aot compilation... no
checking for dmake... no
dmake will be built on ./bootstrap
checking whether to enable EPM for packing... no
checking for gperf... /usr/bin/gperf
checking gperf version... OK
checking whether to build the stax... yes
checking whether to build the ODK... no
checking whether to build qadevOOo... no
checking whether to provide libstdc++/libgcc_s in the installset... no
checking which zlib to use... external
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking which jpeg to use... external
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_resync_to_restart in -ljpeg... yes
checking which expat to use... external
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_ParserCreate in -lexpat... yes
checking which libwpd to use... external
checking for pkg-config... /usr/bin/pkg-config
checking for libwpd-0.8 ... yes
checking LIBWPD_CFLAGS... -I/usr/include/libwpd-0.8  
checking LIBWPD_LIBS... -lwpd-0.8  
checking whether freetype is available... checking for freetype2 >= 2.0 ... yes
checking FREETYPE_CFLAGS... -I/usr/include/freetype2  
checking FREETYPE_LIBS... -lfreetype  
checking which libwps to use... internal
checking which libwpg to use... external
checking for libwpg-0.1 ... Package libwpg-0.1 was not found in the pkg-config search path. Perhaps you should add the directory containing `libwpg-0.1.pc' to the PKG_CONFIG_PATH environment variable No package 'libwpg-0.1' found
configure: error: Library requirements (libwpg-0.1 ) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
make: *** [stamp/build] Error 1
 * ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8861:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
 * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.3"
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/openoffice-3.2.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'.
 * S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo'

>>> Failed to emerge app-office/openoffice-3.2.1-r1, Log file:

>>>  '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'

 * Messages for package app-office/openoffice-3.2.1-r1:

 * 
 *  It is important to note that OpenOffice.org is a very fragile  
 *  build when it comes to CFLAGS.  A number of flags have already 
 *  been filtered out.  If you experience difficulty merging this  
 *  package and use aggressive CFLAGS, lower the CFLAGS and try to  
 *  merge again. 
 * 
 *  Also if you experience a build break, please make sure to retry 
 *  with MAKEOPTS=-j1 before filing a bug. 
 * 
 * ERROR: app-office/openoffice-3.2.1-r1 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 8861:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.1-r1',
 * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.1-r1'.
 * The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.1-r1/temp/environment'.
 * S: '/var/tmp/portage/app-office/openoffice-3.2.1-r1/work/ooo'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 2 Matt Turner gentoo-dev 2011-08-14 23:40:59 UTC
What is this I don't even...

Why did you file this against catalyst? Also, as the bug reporter, you don't need to CC yourself.
Comment 3 Matt Turner gentoo-dev 2011-08-14 23:54:15 UTC
The bug report title is "openoffice cannot find libwpd" and the initial report mentions libwpd-0.8.pc.

Searching your logs for 'libwpd', I'm really confused. I see:

checking which libwpd to use... external
checking for pkg-config... /usr/bin/pkg-config
checking for libwpd-0.8 ... yes
checking LIBWPD_CFLAGS... -I/usr/include/libwpd-0.8
checking LIBWPD_LIBS... -lwpd-0.8

I then see an actual error about 'libwpg':

checking which libwpg to use... external
checking for libwpg-0.1 ... Package libwpg-0.1 was not found in the pkg-config
search path. Perhaps you should add the directory containing `libwpg-0.1.pc' to
the PKG_CONFIG_PATH environment variable No package 'libwpg-0.1' found
configure: error: Library requirements (libwpg-0.1 ) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.

So, I presume the actual error is about missing libwpg.
Comment 4 Matt Turner gentoo-dev 2011-08-14 23:57:23 UTC
The latest comment in the ChangeLog is

> 05 Aug 2011; Jeremy Olexa <darkside@gentoo.org> openoffice-3.2.1-r1.ebuild:
> update deps for libwpg pkgmove for people that haven't migrated to
> libreoffice yet

which tells me (and you) two things:

1) you should use libreoffice instead
2) this bug is probably related to that change

So either use app-office/libreoffice, or make sure >=libwpg-0.1.3 is installed.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-15 02:26:08 UTC
# Tomáš Chvátal <scarabeus@gentoo.org> (27 Jul 2011)
# Old replaced packages. Will be removed in 30 days.
# app-office/openoffice -> app-office/libreoffice
# app-office/openoffice-bin -> app-office/libreoffice-bin
# app-text/wpd2sxw -> app-text/wpd2odt
app-office/openoffice
app-office/openoffice-bin
app-text/wpd2sxw