Bug 209697 - dev-libs/libpcre-7.6 silently breaks ABI
Bug#: 209697 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: fauli@gentoo.org Reported By: jakub@gentoo.org
Component: Library
URL:  http://bugs.exim.org/show_bug.cgi?id=664
Summary: dev-libs/libpcre-7.6 silently breaks ABI
Keywords:  
Status Whiteboard: 
Opened: 2008-02-11 19:54 0000
Description:   Opened: 2008-02-11 19:54 0000
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 From Jakub Moc (RETIRED) 2008-02-11 19:57:21 0000 -------
*** Bug 209269 has been marked as a duplicate of this bug. ***

------- Comment #2 From Jakub Moc (RETIRED) 2008-02-11 20:38:28 0000 -------
*** Bug 209637 has been marked as a duplicate of this bug. ***

------- Comment #3 From Christian Faulhammer 2008-02-12 07:11:56 0000 -------
Comments state that a rebuild is enough, so this should not be a real
problem..or do I get something wrong here?

------- Comment #4 From Jakub Moc (RETIRED) 2008-02-12 08:06:37 0000 -------
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 From Balazs Nemeth 2008-02-12 16:18:35 0000 -------
Downgrading to 7.4-r1 works until upstream fixes it.

------- Comment #6 From Christian Faulhammer 2008-02-12 18:09:07 0000 -------
(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 From Christian Faulhammer 2008-02-12 19:01:04 0000 -------
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 From Christian Faulhammer 2008-02-13 08:11:54 0000 -------
-r1 with the upstream patch has been committed to stable, seems to work in my
chroot.  Thanks for the report.

------- Comment #9 From Mike Nerone 2008-02-13 19:40:10 0000 -------
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 From Christian Faulhammer 2008-02-14 07:04:41 0000 -------
(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 From Fabian Groffen 2008-02-15 17:21:24 0000 -------
FYI: the patch breaks Darwin:

error: only weak aliases are supported in this configuration