Non-empty dependency_libs cause build error in unrelated packages

Bug #905538 reported by Andreas Moog
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openwsman (Ubuntu)
Fix Released
High
Andreas Moog

Bug Description

Example build of uns:

 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./Include -D_FORTIFY_SOURCE=2 -DWITH_IPV6 -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -D_LINUX -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c src/SemaphoreLinux.cpp -o SemaphoreLinux.o
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./Include -D_FORTIFY_SOURCE=2 -DWITH_IPV6 -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -D_LINUX -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c -o ThreadLinux.lo `test -f 'src/ThreadLinux.cpp' || echo './'`src/ThreadLinux.cpp
 g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./Include -D_FORTIFY_SOURCE=2 -DWITH_IPV6 -DWITH_OPENSSL -DWITH_DOM -DWITH_COOKIES -DWITH_GZIP -D_LINUX -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -c src/ThreadLinux.cpp -o ThreadLinux.o
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wl,-Bsymbolic-functions -Wl,-z,relro -o libSyncLib.la EventLinux.lo RWLock.lo SemaphoreLinux.lo ThreadLinux.lo -lxerces-depdom -lxerces-c -lpthread -lrt -lxml2 -L/usr/lib/x86_64-linux-gnu -lcurl -Wl,-Bsymbolic-functions -Wl,-z,relro -lgsoapssl++ -lwsman -lwsman_clientpp -lssl -lcrypto
mkdir .libs
grep: /usr/lib/libxml2.la: No such file or directory
/bin/sed: can't read /usr/lib/libxml2.la: No such file or directory
libtool: link: `/usr/lib/libxml2.la' is not a valid libtool archive
make[3]: *** [libSyncLib.la] Error 1
make[3]: Leaving directory `/home/andreas/temp/uns-3.2.0.24/SyncLib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/andreas/temp/uns-3.2.0.24'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/andreas/temp/uns-3.2.0.24'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

(precise-amd64)root@anubis:/home/andreas/temp/uns-3.2.0.24# grep libxml2.la /usr/lib/* -r
/usr/lib/libwsman.la:dependency_libs=' -lpthread /usr/lib/libxml2.la'
/usr/lib/libwsman_client.la:dependency_libs=' /usr/lib/libwsman_curl_client_transport.la -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libcurl.la /usr/lib/libxml2.la'
/usr/lib/libwsman_clientpp.la:dependency_libs=' /usr/lib/libwsman.la -lpthread /usr/lib/libwsman_client.la /usr/lib/libwsman_curl_client_transport.la /usr/lib/x86_64-linux-gnu/libcurl.la /usr/lib/libxml2.la'
/usr/lib/libwsman_curl_client_transport.la:dependency_libs=' -L/usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libcurl.la /usr/lib/libxml2.la'
/usr/lib/libwsman_server.la:dependency_libs=' /usr/lib/libxml2.la'

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package openwsman - 2.2.3-0ubuntu4

---------------
openwsman (2.2.3-0ubuntu4) precise; urgency=low

  * debian/libopenwsman-dev.install: Don't install la-file (LP: #905538)
 -- Andreas Moog <email address hidden> Fri, 16 Dec 2011 23:00:37 +0100

Changed in openwsman (Ubuntu):
status: In Progress → 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.