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

Bug 423795

Summary: app-office/gnucash 2.4.10 with dev-libs/libpcre 8.30 - undefined reference to `pcre_info'
Product: Gentoo Linux Reporter: Berthold Humkamp <Timewulf>
Component: Current packagesAssignee: GNOME Office (OBSOLETE) <gnome-office+disabled>
Status: RESOLVED DUPLICATE    
Severity: normal CC: Timewulf, tradakad
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log gepackt

Description Berthold Humkamp 2012-06-27 09:35:57 UTC
gnucash fails to build with libpcre 8.30. The important hint in the build log is:

undefined reference to `pcre_info'

Looking for this on bugs.gentoo.org shows up Bug 402351

pcre_info seems to be deprecated - the correct function to use should be pcre_fullinfo
Comment 1 Berthold Humkamp 2012-06-27 09:39:53 UTC
emerge --info '=app-office/gnucash-2.4.10'

Portage 2.1.10.65 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.14.1-r3, 3.4.4-gentoo-m4300-v2012-06-25 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.4-gentoo-m4300-v2012-06-25-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.1
Timestamp of tree: Wed, 27 Jun 2012 07:45:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
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
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.4 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo science mozilla sunrise tryton
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-march=core2 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-march=core2 -O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/  		ftp://de-mirror.org/distro/gentoo/  		rsync://de-mirror.org/gentoo/  		http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/  		ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/  		ftp://ftp.halifax.rwth-aachen.de/gentoo/  		http://ftp.halifax.rwth-aachen.de/gentoo/  		rsync://ftp.halifax.rwth-aachen.de/gentoo/  	ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/mozilla /var/lib/layman/sunrise /var/lib/layman/tryton"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acl acpi alsa amd64 ao audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt cups cxx dbus djvu dri dts dv dvb dvd dvdr emboss encode exif fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran gdbm ggi gif gimp ginac gmp gnome gnuplot gnutls gphoto2 gpm gstreamer gtk gtk3 handbook hddtemp iconv icu idn ieee1394 imagemagick imap ipv6 jack java java6 javascript jbig jpeg jpeg2k lame lapack lcms ldap libcaca libedit libgda libnotify libsamplerate lm_sensors lzma lzo m17n-lib mad maildir mailwrapper matroska memlimit mhash mikmod milter mime mmap mmx mng modules mozilla mp3 mp4 mpeg mpi mplayer mtp mudflap multilib musepack musicbrainz nas ncurses networkmanager nls nntp nocd nptl nsplugin nvidia ogg openal opengl openmp osc oscar pam pango pcmcia pcntl pcre pdf plotutils png policykit portaudio posix postgres ppds pppd python qt3support qt4 quicktime raw rdesktop readline scanner sdl semantic-desktop session sndfile sockets socks5 sound source sox speex spell sse sse2 ssl startup-notification svg syslog sysvipc szip tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vcd vorbis wavpack wifi wmf wxwidgets x264 xattr xcb xcomposite xine xinerama xinetd xml xorg xscreensaver xsl xulrunner xv xvid yaz zeroconf 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

app-office/gnucash-2.4.10 was built with the following:
USE="cxx doc (multilib) postgres python -chipcard -debug -hbci -mysql -ofx -quotes -sqlite -webkit"
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-27 13:46:54 UTC
Please attach that build log to this bug report.
Comment 3 Berthold Humkamp 2012-06-28 09:03:27 UTC
(In reply to comment #2)
> Please attach that build log to this bug report.

I did already as file attachment, directly with opening the bug. Here are the relevant lines again, copied in: (all before was without warning or error)

make[4]: Entering directory `/var/tmp/portage/app-office/gnucash-2.4.10/work/gnucash-2.4.10/src/bin'
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DG_LOG_DOMAIN=\"gnc.bin\" -I../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -DORBIT2=1 -D_REENTRANT -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -DPKGSYSCONFDIR=\"/etc/gnucash\" -DPKGDATADIR=\"/usr/share/gnucash\" -I../../src -I../../src -I../../src/core-utils -I../../src/app-utils -I../../src/gnome-utils -I../../src/engine -I../../src/gnome -I../../src -I../../src/gnc-module -I../../src/libqof/qof -pthread    -Wdeclaration-after-statement -march=core2  -pipe -g   -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -c gnucash-bin.c
./generate-gnc-script gnucash-env "/usr/libexec/gnucash/overrides"
./generate-gnc-script gnucash-make-guids "/usr/libexec/gnucash/overrides"
rm -f update-gnucash-gconf.tmp
sed < update-gnucash-gconf.in > update-gnucash-gconf.tmp \
    -e 's#@-GCONF_SCHEMA_FILE_DIR-@#/etc/gconf/schemas#g'
mv update-gnucash-gconf.tmp update-gnucash-gconf
chmod +x update-gnucash-gconf
rm -f gnucash-valgrind.tmp
sed < gnucash-valgrind.in > gnucash-valgrind.tmp \
    -e "s#@-TOP_SRC_DIR-@#/var/tmp/portage/app-office/gnucash-2.4.10/work/gnucash-2.4.10#g" \
    -e "s#@-GNUCASH_BIN_INSTALL_NAME-@#`echo gnucash | sed -e 's,x,x,'`#g"
mv gnucash-valgrind.tmp gnucash-valgrind
chmod u+x gnucash-valgrind
rm -f environment.tmp
sed < environment.in > environment.tmp \
    -e '/@-NOTE.*-@/ D'
mv environment.tmp environment
/bin/sh ../../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -Wdeclaration-after-statement -march=core2  -pipe -g   -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused  -Wl,-O1 -Wl,--as-needed -g -o gnucash gnucash-bin.o  ../../src/report/report-gnome/libgncmod-report-gnome.la ../../src/gnome/libgnc-gnome.la ../../src/gnome-utils/libgncmod-gnome-utils.la ../../src/app-utils/libgncmod-app-utils.la ../../src/engine/libgncmod-engine.la ../../src/gnc-module/libgnc-module.la ../../src/core-utils/libgnc-core-utils.la ../../src/libqof/qof/libgnc-qof.la -pthread -L/usr/lib64 -lguile -lltdl -lgmp -lcrypt -lm -lltdl -pthread -Wl,--export-dynamic -lgthread-2.0 -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0   -pthread -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnomecanvas-2 -lgnome-2 -lpopt -lbonobo-2 -lbonobo-activation -lORBit-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lrt -lgobject-2.0 -lglib-2.0   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0   -lm  -lm
libtool: link: x86_64-pc-linux-gnu-gcc -Wdeclaration-after-statement -march=core2 -pipe -g -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wl,-O1 -g -o .libs/gnucash gnucash-bin.o -pthread -pthread -Wl,--export-dynamic -pthread  -Wl,--as-needed ../../src/report/report-gnome/.libs/libgncmod-report-gnome.so ../../src/gnome/.libs/libgnc-gnome.so ../../src/gnome-utils/.libs/libgncmod-gnome-utils.so ../../src/app-utils/.libs/libgncmod-app-utils.so ../../src/engine/.libs/libgncmod-engine.so ../../src/gnc-module/.libs/libgnc-module.so ../../src/core-utils/.libs/libgnc-core-utils.so ../../src/libqof/qof/.libs/libgnc-qof.so -L/usr/lib64 /usr/lib64/libguile.so -lgmp -lcrypt /usr/lib64/libltdl.so /usr/lib64/libgnomeui-2.so -lSM -lICE -lbonoboui-2 /usr/lib64/libgnomevfs-2.so -lgnomecanvas-2 -lgnome-2 -lpopt /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBit-2.so /usr/lib64/libart_lgpl_2.so -lgconf-2 -lgthread-2.0 -lgmodule-2.0 -lrt -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype /usr/lib64/libfontconfig.so -lgobject-2.0 -lglib-2.0 -lm -pthread -Wl,-rpath -Wl,/usr/lib64/gnucash
/usr/lib64/libgoffice-0.8.so.8: undefined reference to `pcre_info'
collect2: ld returned 1 exit status
make[4]: *** [gnucash] Fehler 1
make[4]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.10/work/gnucash-2.4.10/src/bin'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.10/work/gnucash-2.4.10/src/bin'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.10/work/gnucash-2.4.10/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/app-office/gnucash-2.4.10/work/gnucash-2.4.10'
make: *** [all] Fehler 2
Comment 4 Berthold Humkamp 2012-06-28 09:05:50 UTC
Created attachment 316515 [details]
build.log gepackt
Comment 5 okovalov 2012-06-30 20:04:20 UTC
I have the same problem

emerge --info '=app-office/gnucash-2.4.10'
http://bpaste.net/show/32948/

emerge -pqv '=app-office/gnucash-2.4.10'
http://bpaste.net/show/32949/

The complete build log 
http://bpaste.net/show/32946/
Comment 6 Pacho Ramos gentoo-dev 2012-07-01 13:15:26 UTC

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