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

Bug 209697

Summary: dev-libs/libpcre-7.6 silently breaks ABI
Product: Gentoo Linux Reporter: Jakub Moc (RETIRED) <jakub>
Component: [OLD] LibraryAssignee: Christian Faulhammer (RETIRED) <fauli>
Status: RESOLVED FIXED    
Severity: normal CC: mike, sfullenwider
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
URL: http://bugs.exim.org/show_bug.cgi?id=664
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakub Moc (RETIRED) gentoo-dev 2008-02-11 19:54:06 UTC
Some removed class/namespace (didn't have time to investigate) breaks stuff at runtime with "undefined symbol: _ZN7pcrecpp6no_argE" :/

Examples of borkage include media-video/mkvtoolnix and gnome-extra/gnome-system-monitor, see

http://bugs.debian.org/463170
http://bugs.debian.org/463413
http://bugs.archlinux.org/task/9437
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-02-11 19:57:21 UTC
*** Bug 209269 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2008-02-11 20:38:28 UTC
*** Bug 209637 has been marked as a duplicate of this bug. ***
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-12 07:11:56 UTC
Comments state that a rebuild is enough, so this should not be a real problem..or do I get something wrong here?
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2008-02-12 08:06:37 UTC
Well the real problem here is - libraries that break ABI should have bumped their soname, otherwise there's no way whatsoever do discover the problem until something crashes. This needs to be fixed upstream if intended, or reverted if that was unintended.
Comment 5 Balazs Nemeth 2008-02-12 16:18:35 UTC
Downgrading to 7.4-r1 works until upstream fixes it.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-12 18:09:07 UTC
(In reply to comment #5)
> Downgrading to 7.4-r1 works until upstream fixes it.

 And you get a security hole as bonus.

Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-12 19:01:04 UTC
This has been reported upstream and is discussed there:

http://bugs.exim.org/show_bug.cgi?id=664#c3 is the way to Nirvana...could someone with API breakage test the patch there?
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-13 08:11:54 UTC
-r1 with the upstream patch has been committed to stable, seems to work in my chroot.  Thanks for the report.
Comment 9 Mike Nerone 2008-02-13 19:40:10 UTC
Will -r1 break packages for those of us that have already recompiled everything that links to libpcre? No big deal, I can just recompile same again - just don't want to waste the time if it's not necessary.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-14 07:04:41 UTC
(In reply to comment #9)
> Will -r1 break packages for those of us that have already recompiled everything
> that links to libpcre? No big deal, I can just recompile same again - just
> don't want to waste the time if it's not necessary.

 I can't tell.  Just test it. :) 

Comment 11 Fabian Groffen gentoo-dev 2008-02-15 17:21:24 UTC
FYI: the patch breaks Darwin:

error: only weak aliases are supported in this configuration