https://bugzilla.redhat.com/show_bug.cgi?id=2119983
--- Comment #22 from Benson Muite <benson_muite(a)emailplus.org> ---
There are tests distributed with the code. Maybe some of these should be run in
a %check section?
Using:
./configure --with-perl --with-openssl --with-zlib --with-bzlib --with-ldap
--enable-ipv6 --enable-lib-compat --enable-large-files --without-bdb
--prefix=$HOME/SomeLocation
Then checking
$ ldd --unused perl_handler.so
Unused direct dependencies:
/lib64/libresolv.so.2
/lib64/libgdbm.so.6
/lib64/libdb-5.3.so
/lib64/libm.so.6
/lib64/libcrypt.so.2
/lib64/libgdbm_compat.so.4
/lib64/libatomic.so.1
Indicates that libdb is linked but is not used.
In particular using
$perl -MConfig -e 'print $Config{libs}'
-lpthread -lresolv -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat
one sees that Perl brings in libdb
https://github.com/c-icap/c-icap-server/blob/master/configure.ac#L348
from
https://src.fedoraproject.org/rpms/perl/blob/rawhide/f/perl.spec#_194
May also want to examine the Perl guidelines to add correct requires for the
Perl subpackage:
https://docs.fedoraproject.org/en-US/packaging-guidelines/Perl/#_perl_req...
An updated spec file is available at:
https://download.copr.fedorainfracloud.org/results/fed500/c-icap/fedora-r...
Corresponding srpm:
https://download.copr.fedorainfracloud.org/results/fed500/c-icap/fedora-r...
Output of Fedora-Review:
https://download.copr.fedorainfracloud.org/results/fed500/c-icap/fedora-r...
It seems logrotate should be required by the main package? There also seem to
be further linking problems to resolve.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2119983