Created attachment 302273 [details] emerge --info building dev-libs/libpre-8.30-r2 appears to kill gnumeric-1.10.17; if gnumeric is already built, dev-libs/libpre-8.30-r2 results in strace error: writev(2, [{"gnumeric", 8}, {": ", 2}, {"symbol lookup error", 19}, {": ", 2}, {"/usr/lib64/libgoffice-0.8.so.8", 30}, {": ", 2}, {"undefined symbol: pcre_info", 27}, {"", 0}, {"", 0}, {"\n", 1}], 10gnumeric: symbol lookup error: /usr/lib64/libgoffice-0.8.so.8: undefined symbol: pcre_info ) = 91 Trying to rebuild gnumeric results in link failure (excerpt from build.log: print.c: In function ‘gnm_begin_print_cb’: print.c:1204:11: warning: variable ‘i_pb’ set but not used [-Wunused-but-set-variable] main-application.c:244:2: warning: #warning "REMOVE REMOVE REMOVE" [-Wcpp] CCLD libspreadsheet.la CCLD ssconvert CCLD gnumeric CCLD ssindex CCLD ssgrep CCLD sstest /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libgoffice-0.8.so: undefined reference to `pcre_info' collect2: ld returned 1 exit status make[4]: *** [ssgrep] Error 1 make[4]: *** Waiting for unfinished jobs.... /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libgoffice-0.8.so: undefined reference to `pcre_info' collect2: ld returned 1 exit status make[4]: *** [ssindex] Error 1 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libgoffice-0.8.so: undefined reference to `pcre_info' collect2: ld returned 1 exit status /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libgoffice-0.8.so: undefined reference to `pcre_info' collect2: ld returned 1 exit status make[4]: *** [ssconvert] Error 1 make[4]: *** [sstest] Error 1 /usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libgoffice-0.8.so: undefined reference to `pcre_info' collect2: ld returned 1 exit status make[4]: *** [gnumeric] Error 1 make[4]: Leaving directory `/var/tmp/portage/app-office/gnumeric-1.10.17/work/gnumeric-1.10.17/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-office/gnumeric-1.10.17/work/gnumeric-1.10.17/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-office/gnumeric-1.10.17/work/gnumeric-1.10.17/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-office/gnumeric-1.10.17/work/gnumeric-1.10.17' make: *** [all] Error 2 emake failed Related to other libpcre bugs (pcre_info symbol)? E.g.: https://bugs.gentoo.org/show_bug.cgi?id=402363 https://bugs.gentoo.org/show_bug.cgi?id=402351 https://bugs.gentoo.org/show_bug.cgi?id=402371 Reverting to dev-libs/libpcre-8.21, rebuilding x11-libs/goffice-0.8.17 allows gnumeric-1.10.17 to build (and execute) without error. Not sure if this should have been piggybacked onto https://bugs.gentoo.org/show_bug.cgi?id=402363 Emerge --info attached
Did you try rebuilding x11-libs/libgoffice?
OK, I may have pulled the trigger too soon. On further searching, I guess the problem lies with goffice not libpcre (or gnumeric). Grabbing the patch suggested at https://build.opensuse.org/package/view_file?file=goffice-0_8-pcre-8_30.patch&package=goffice-0_8&project=home%3Adimstar%3Abranches%3AGNOME%3AApps&rev=b92fb787d233925a583440bc3c6fd0f9, and emending the ebuild for goffice-0.8.17 to include this patch allows gnumeric-1.10.17 to build and execute correctly. I've attached a suggested ebuild and patch for goffice-0.8.17 below. My apologies to gentoo devs for the confusion ... //Rolf
Created attachment 302279 [details] emended ebuild to include patch; patch to follow
Created attachment 302281 [details, diff] patch for API replacement of pcre_info() with pcre_fullinfo() patch taken from https://build.opensuse.org/package/view_file?file=goffice-0_8-pcre-8_30.patch&package=goffice-0_8&project=home%3Adimstar%3Abranches%3AGNOME%3AApps&rev=b92fb787d233925a583440bc3c6fd0f9
Please report this problem and the patch to upstream -> bugzilla.gnome.org
Added a comment to gnome bug 670316 (https://bugzilla.gnome.org/show_bug.cgi?id=670316), thanks. //Rolf
*** Bug 412729 has been marked as a duplicate of this bug. ***
*** Bug 412793 has been marked as a duplicate of this bug. ***
Thank you all for reporting. This bug was caused by goffice's configure failing to detect regex support in glib and activating the libpcre-based workaround that had been needed for <glib-2.15.1. That libpcre-based code is completely unnecessary for any version of glib currently in portage, and therefore, it has been removed in goffice-0.8.17-r1. The issue should now be fixed. >*goffice-0.8.17-r1 (20 Apr 2012) > > 20 Apr 2012; Alexandre Rostovtsev <tetromino@gentoo.org> > +goffice-0.8.17-r1.ebuild, +files/goffice-0.8.17-no-pcre.patch: > Prevent goffice from accidentally linking to pcre and causing "undefined > symbol: pcre_info" errors (bug #404271)