Your message dated Wed, 17 Jul 2013 19:48:03 +0000
with message-id <[email protected]>
and subject line Bug#717149: fixed in dacs 1.4.28b-3
has caused the Debian Bug report #717149,
regarding dacs: libdacs.so is underlinked
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
717149: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717149
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dacs
Version: 1.4.28b-2
Severity: normal
User: [email protected]
Usertags: unresolved-symbols-so
The Ubuntu toolchain is a bit stricter (I think "ld --as-needed" is the
relevant thing) and fails to link programs against libdacs.so as
follows:
/bin/bash /build/buildd/dacs-1.4.28b/src/libtool --silent --mode=link gcc -g
-O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -fPIC -D_FORTIFY_SOURCE=2 -I. -I../include
-I/usr/include -I/usr/include -I/usr/kerberos/include -Wl,-Bsymbolic-functions
-Wl,-z,relro -L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib
-L/usr/kerberos/lib -export-dynamic -o auth -DPROG auth.c
/build/buildd/dacs-1.4.28b/src/libdacs.la -Wl,-Bsymbolic-functions -Wl,-z,relro
-L/usr/lib -Wl,-rpath,/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib
-L/usr/kerberos/lib -export-dynamic -lpam -lcrypt -lrt -lresolv -lexpat -lnsl
-lm -ldl -lssl -lcrypto -lexpat -Wl,-rpath,/usr/lib -rpath /usr/lib
-lxmlsec1-openssl -L/usr/lib -Wl,-rpath,/usr/lib -lxmlsec1-openssl -lxmlsec1
-lxslt -lxml2 -lssl -lcrypto
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_free'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_get_cert_store'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_get_error'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_get_fd'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_get_peer_certificate'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_load_verify_locations'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_set_cipher_list'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_set_verify_result'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_library_init'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_set_bio'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSLv23_method'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_read'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_get_verify_result'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_set_verify_depth'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_ctrl'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_shutdown'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_set_verify'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_new'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_set_default_verify_paths'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`shm_open'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_use_certificate_chain_file'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_connect'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_load_error_strings'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`crypt'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_free'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_write'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_use_PrivateKey_file'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_CTX_ctrl'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`shm_unlink'
/build/buildd/dacs-1.4.28b/src/.libs/libdacs.so: undefined reference to
`SSL_new'
collect2: error: ld returned 1 exit status
I think the proper thing to do here is to make sure that libdacs.so is
adequately linked by adding $(LIBS) to its link line.
* Link libdacs.so with $(LIBS).
diff -Nru dacs-1.4.28b/debian/patches/series dacs-1.4.28b/debian/patches/series
--- dacs-1.4.28b/debian/patches/series 2013-06-20 16:22:29.000000000 +0100
+++ dacs-1.4.28b/debian/patches/series 2013-07-17 11:47:28.000000000 +0100
@@ -1,3 +1,4 @@
icx-libxml-patch.diff
ssl_hook_Fixup
libtool-shell
+shared-library-linkage
diff -Nru dacs-1.4.28b/debian/patches/shared-library-linkage
dacs-1.4.28b/debian/patches/shared-library-linkage
--- dacs-1.4.28b/debian/patches/shared-library-linkage 1970-01-01
01:00:00.000000000 +0100
+++ dacs-1.4.28b/debian/patches/shared-library-linkage 2013-07-17
11:48:07.000000000 +0100
@@ -0,0 +1,18 @@
+Description: Link libdacs.so with $(LIBS)
+Author: Colin Watson <[email protected]>
+Forwarded: no
+Last-Update: 2013-07-17
+
+Index: b/src/Makefile.in
+===================================================================
+--- a/src/Makefile.in
++++ b/src/Makefile.in
+@@ -1422,7 +1422,7 @@
+
+ $(SHARED_LIB): $(LIBDOBJECTS)
+ rm -f $(SHARED_LIB)
+- $(LTLINKLIB) $(LIBDOBJECTS)
++ $(LTLINKLIB) $(LIBDOBJECTS) $(LIBS)
+ # $(LTLINKLIB) $(LIBDOBJECTS) -lcrypto -lcrypt -lexpat -lssl -ldl -lrt -lm
+
+ .c.o:
Thanks,
--
Colin Watson [[email protected]]
--- End Message ---
--- Begin Message ---
Source: dacs
Source-Version: 1.4.28b-3
We believe that the bug you reported is fixed in the latest version of
dacs, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Zobel-Helas <[email protected]> (supplier of updated dacs package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 17 Jul 2013 21:00:28 +0200
Source: dacs
Binary: dacs libapache2-mod-dacs libdacs1 libdacs-dev dacs-examples
Architecture: source amd64 all
Version: 1.4.28b-3
Distribution: unstable
Urgency: low
Maintainer: Christoph Berg <[email protected]>
Changed-By: Martin Zobel-Helas <[email protected]>
Description:
dacs - Distributed Access Control System (DACS)
dacs-examples - Distributed Access Control System (DACS) - example web root
libapache2-mod-dacs - Distributed Access Control System (DACS) - Apache Module
libdacs-dev - Distributed Access Control System (DACS) - shared library
libdacs1 - Distributed Access Control System (DACS) - shared library
Closes: 717149
Changes:
dacs (1.4.28b-3) unstable; urgency=low
.
* Fix linking errors/warnings (Closes: #717149)
* Fix more lintian warnings, let dh_apache2 do the job for us
Checksums-Sha1:
cf37a1adcfa0cdce08ff6eb3700b75eb8e09c29d 2218 dacs_1.4.28b-3.dsc
e3bcb7943390a98a8e7b0b08d8860e724cd5b3c3 19914 dacs_1.4.28b-3.debian.tar.gz
fbcf11d0196cfa5b356a2f5383e86b2b560cf510 1868798 dacs_1.4.28b-3_amd64.deb
77ee7ddfb38c323b735d8e49d52b0b34a917fec5 40888
libapache2-mod-dacs_1.4.28b-3_amd64.deb
716003f681aed4aa5862acfe6fb9a56001394e01 624820 libdacs1_1.4.28b-3_amd64.deb
f4b7e47eadef8e2901b8e842d25eb4395f45a5c8 918390 libdacs-dev_1.4.28b-3_amd64.deb
79eb4eb20c2571c98395685a2cabc1c9f91446f1 593390 dacs-examples_1.4.28b-3_all.deb
Checksums-Sha256:
7cf98c1737c967754acf7d41aacd0852cb4813d6033fc03d6f44e5cc2b5dce29 2218
dacs_1.4.28b-3.dsc
ab6a772193e606ed34813cae090f5456c6440e0002ae997fc0697b6bc87c68e8 19914
dacs_1.4.28b-3.debian.tar.gz
fbb428c0f72d85664fa3013195cb52da9cc621f85ca8ae4d01b03b268dfbaf10 1868798
dacs_1.4.28b-3_amd64.deb
5c6592dfa0b39631f63dab6c36b9a529aa63e49ac446d93f0e3ad9796537ca6e 40888
libapache2-mod-dacs_1.4.28b-3_amd64.deb
9b9f383a8b9fa6e485ccf698e34635462a4f1c92c2c08c5dbbfecde18363eac8 624820
libdacs1_1.4.28b-3_amd64.deb
3ee0e024e8ca0cf7ac2e9d218f7f94e9af62c33657a2be3e3fc36d420bb3afef 918390
libdacs-dev_1.4.28b-3_amd64.deb
86f28158940e0994b6ed922e183b15cd21dfd1b805bd55b5dfe75cad0f91d464 593390
dacs-examples_1.4.28b-3_all.deb
Files:
df9270c864cfba1b3721ccbf89bc910f 2218 web optional dacs_1.4.28b-3.dsc
19900c599dc1b7ba817a033126bf1e8c 19914 web optional
dacs_1.4.28b-3.debian.tar.gz
0528ff721261dc28878952521bd990a7 1868798 web optional dacs_1.4.28b-3_amd64.deb
98fa61b31ddae47121cb6ec8ea0ff9a9 40888 httpd optional
libapache2-mod-dacs_1.4.28b-3_amd64.deb
01ccf582a7a9f7201fc70ace5f6fded6 624820 libs optional
libdacs1_1.4.28b-3_amd64.deb
2898af15906220bd294bbe8d9dffb160 918390 libdevel optional
libdacs-dev_1.4.28b-3_amd64.deb
cdbda5fff6790055954ea5fc5acbd5b2 593390 web optional
dacs-examples_1.4.28b-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJR5vGPAAoJEFOxrG2xG2J717gQAJQ/BC7oo8FtSb8Pn07vCvYR
zFjFxh7hfq77CN1vEfRfIYnDHPzMrya5UXsocyuMp6HCS7t73HznwpiIU2YfBa38
fEYnmt+iyVS0LV3jsvMd6QAQIn5qcL8Z3NcqSDt060PYjMGfvGtm3o+KB6+ns2Ub
1SqNJzYR2Wigjq55zKK0iTATe2cOfQVhqng8g/5gV8hD02rAe4eBkv1EiblDfVxf
TEGZ2Ssmq7pyNoX5jHqg50kqFiuukkMCxJbx3Je9l2wkLEiqT5rVV2h62Oe24PKL
50+pYuwUuV2svwwcuCj4By8pDjPRUIx8ZCCqWiXCIuA8jIYrXg6hXxqSxTklBFAa
5zWYvi5rWmBThr8pP16wYmhzPyGjXqadCK8tBPohyhd3GZXJ+5+Je4CjISAzxmmr
z2Dewb72fhki+56JvNHIMerkAcHokxH3/Ie/4gtjeCkZAIpPMN7WfiwYSzOluuYI
biEvMZKimG4/GBd7EKEHgTedPaJ7TXDJ0lR1R5jstYo+o3FpwSmtJbU5flEPdzyp
fY9N2LqjHgJpK3CAn3r4LgMRB+v//unboJtmzAX49W2C7zilsgIb3dyneLXu5hmC
q0wlOaFw/WWjoEs9xGHZPTrbl8nDd2FCC6dcs/jv4rrbuu0J3u0sBNFgLIzdhSMy
MYNw0IgmVKVelKgrXByF
=ZaV7
-----END PGP SIGNATURE-----
--- End Message ---