cgsi-gsoap: Libraries are underlinked, missing -lgsoap

Bug #1264358 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cgsi-gsoap (Debian)
Fix Released
Unknown
gfal2 (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/733176:

Package: cgsi-gsoap
Version: 1.3.5-3
Severity: important

Hi there,

it appears to me the libraries in your package are underlinked. If you
take a look at the buildlog:

> dpkg-shlibdeps: warning: symbol soap_register_plugin_arg used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_lookup_plugin used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_sender_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_receiver_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_init_LIBRARY_VERSION_REQUIRED_20816 used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_closesock used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_register_plugin_arg used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_receiver_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_init_LIBRARY_VERSION_REQUIRED_20816 used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_closesock used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_lookup_plugin used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_sender_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_lookup_plugin used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_sender_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_receiver_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_init_LIBRARY_VERSION_REQUIRED_20816 used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_closesock used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_register_plugin_arg used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_register_plugin_arg used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_lookup_plugin used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_sender_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_init_LIBRARY_VERSION_REQUIRED_20816 used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_closesock used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms_cpp.so.1.3.5 found in none of the libraries
> dpkg-shlibdeps: warning: symbol soap_receiver_fault used by debian/libcgsi-gsoap1/usr/lib/libcgsi_plugin_voms_cpp.so.1.3.5 found in none of the libraries

(from
https://buildd.debian.org/status/fetch.php?pkg=cgsi-gsoap&arch=i386&ver=1.3.5-3&stamp=1385872772)

Changing the CGSI-gSOAP-library-linking.patch to include "-lgsoap" fixes
the underlinking issue.

Could this be included in one of the next uploads or am I missing
something here?

Thanks for your time!

--
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Tags: ftbfs trusty
Revision history for this message
Andreas Moog (ampelbein) wrote :
Changed in cgsi-gsoap (Ubuntu):
importance: Undecided → High
Changed in gfal2 (Ubuntu):
importance: Undecided → High
tags: added: ftbfs trusty
Changed in cgsi-gsoap (Debian):
importance: Undecided → Unknown
Revision history for this message
Mattias Ellert (mattias-ellert-fysast) wrote :

That the cgsi-gsoap libraries are not linked to the gsoap libraries and leave the gsoap symbols undefined is a deliberate design choice by the upstream developers.

The reason is that it is not known at the compile time of the cgsi-gsoap libraries which of the gsoap libraries (-lgsoap, -lgsoapck or -lgsoapssl) that will be used to resolve those symbols in the application that uses the libraries. By leaving the symbols undefined, the choice of gsoap library is postponed until the compile time of the application, when it is known.

The reason for the build failure of gfal2 is not due to underlinking of cgsi-gsoap. The problem is that the build is attempted using inconsistent dependencies with some of them built against libgsoap3 and others against libgsoap4.

According to the log, both versions are installed to satisfy the build dependencies:
Setting up libgsoap3:i386 (2.8.12-2) ...
Setting up libgsoap4:i386 (2.8.16-2) ...

The binnmus for the libgoap3 → libgsoap4 transition must be done in the proper dependency order in ubuntu the same way it was done in debian. With a consistent set of dependencies all linked to the same gsoap version the gfal2 build will succeed.

Revision history for this message
Andreas Moog (ampelbein) wrote :

Thanks for your explanation, gfal2 is built now.

no longer affects: cgsi-gsoap (Ubuntu)
Changed in gfal2 (Ubuntu):
status: New → Fix Released
Changed in cgsi-gsoap (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.