[Bug 854916] New: openSUSE:12.3/libapr1: Bug
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c0 Summary: openSUSE:12.3/libapr1: Bug Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: draht@suse.com ReportedBy: urs.beyerle@env.ethz.ch QAContact: adrian@suse.com Found By: --- Blocker: --- libarp1 is compiled with -fvisibility=hidden. As a result some symbols are not included in libapr-1.so.0.4.8. For example ganglia needs libganglia.so: undefined reference to `apr_sockaddr_vars_set' libganglia.so: undefined reference to `apr_inet_ntop' compiling without -fvisibility=hidden solves the problem. # nm -D /usr/lib64/libapr-1.so.0.4.8 | grep apr_inet_ntop 000000000001c900 T apr_inet_ntop nm -D /usr/lib64/libapr-1.so.0.4.8 | grep apr_sockaddr_vars_set 000000000001ddc0 T apr_sockaddr_vars_set Please see https://build.opensuse.org/project/show/home:beyerle:Ganglia Why was -fvisibility=hidden introduced in openSUSE 13.1? It's not there in openSUSE 12.3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c Urs Beyerle <urs.beyerle@env.ethz.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|BuildService |Apache Version|unspecified |Final AssignedTo|draht@suse.com |bnc-team-apache@forge.provo | |.novell.com Product|openSUSE.org |openSUSE 13.1 QAContact|adrian@suse.com |qa-bugs@suse.de -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crrodriguez@opensuse.org, | |meissner@suse.com AssignedTo|bnc-team-apache@forge.provo |draht@suse.com |.novell.com | Summary|openSUSE:12.3/libapr1: Bug |openSUSE:13.1/libapr1: Bug -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c1 Roman Drahtmueller <draht@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |draht@suse.com InfoProvider| |crrodriguez@opensuse.org --- Comment #1 from Roman Drahtmueller <draht@suse.com> 2013-12-11 14:25:39 UTC --- Christian, can you please be somewhat verbose about ------------------------------------------------------------------- Wed Aug 28 07:20:31 UTC 2013 - crrodriguez@opensuse.org - Use compiler symbol visibility ------------------------------------------------------------------- in libapr1 of 13.1? I intend to "fix" this by reverting that change, once we know what it was. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c2 --- Comment #2 from Roman Drahtmueller <draht@suse.com> 2013-12-11 14:29:54 UTC --- Thanks for the bug report, Urs! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c3 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|crrodriguez@opensuse.org | --- Comment #3 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-12-11 13:36:43 CLST --- There is no need to revert anything, I will check if; a. those symbols are really part of the exported interface b. if they are, fix that. c. otherwise it is ganglia that is broken. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c4 --- Comment #4 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-12-11 14:26:51 CLST --- The symbols apr_sockaddr_vars_set and apr_inet_ntop are not part of the public interface, there is no prototype for them in headers, neither is exported by upstream (macro APR_DECLARE is used for that purpose) verify with rpm -ql libapr1-devel | xargs grep apr_inet_ntop or: rpm -ql libapr1-devel | xargs grep apr_sockaddr_vars_set both are architecture-specific implementation details.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c5 --- Comment #5 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-12-11 14:37:45 CLST --- (In reply to comment #1)
I intend to "fix" this by reverting that change, once we know what it was.
By that I mean, that we now hide all symbols that are not part of the exported interface, to avoid among other things exactly the very same problem we are discussing here, applications attempting to use library-internal functionality. The public interface of APR and APR-UTIL consist in all the functions and data structures that have a declaration in the installed headers and are exported to applications using APR_DECLARE, APR_DECLARE_DATA, APR_DECLARE_NONSTD.. all other functions are private. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c6 --- Comment #6 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-12-11 14:43:47 CLST --- Also note that all other dependant packages that heavily consume apr including apache, subversion, KDE...do it correctly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c7 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|draht@suse.com |crrodriguez@opensuse.org Status Whiteboard| |not a bug in apr --- Comment #7 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-12-11 15:06:22 CLST --- see also http://mail-archives.apache.org/mod_mbox/httpd-dev/200011.mbox/%3C2000111414... http://sourceforge.net/apps/trac/ganglia/changeset/1089 (here, here..that's the wrong ganglia hack..) Anyway, I will assist you with a patch for this buggy app after lunch and after figuring out what is the correct API to use for the apr_sockaddr_vars_set() case. apr_inet_ntop is probably easily replaceable by a call to libc inet_ntop. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c8 --- Comment #8 from Urs Beyerle <urs.beyerle@env.ethz.ch> 2013-12-11 18:12:46 UTC --- Many thanks for looking into this! Since ganglia is running on so many platforms/distributions, I didn't expect that I'm the first one who hit this problem. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c9 Cristian Rodríguez <crrodriguez@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #9 from Cristian Rodríguez <crrodriguez@opensuse.org> 2013-12-11 16:32:06 CLST --- (In reply to comment #8)
Many thanks for looking into this!
Since ganglia is running on so many platforms/distributions, I didn't expect that I'm the first one who hit this problem.
See request id 210599 to your project, that should fix your issue.. still your package needs quite a bit of work to do something useful in current distributions. The main subject of this bug report is invalid, so I am closing it as such. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=854916 https://bugzilla.novell.com/show_bug.cgi?id=854916#c10 --- Comment #10 from Roman Drahtmueller <draht@suse.com> 2013-12-12 14:13:56 UTC --- Thanks to both of you! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com