[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#900774: opendkim



Hi,
due to this RFA, missing hardening flags and a recent systemd warning
about a deprecated /var/run path, I started
to try out an own packaging update at
https://salsa.debian.org/cgzones-guest/opendkim.
I have some questions:

1.
Why do the -dev packages depend on the binary ones (e.g.: libvbr-dev
on libvbr2)?

2.
Lintian warns about missing cross-compile support:

W: librbl-dev: pkg-config-unavailable-for-cross-compilation
usr/lib/pkgconfig/rbl.pc
W: libvbr-dev: pkg-config-unavailable-for-cross-compilation
usr/lib/pkgconfig/vbr.pc
W: libopendkim-dev: pkg-config-unavailable-for-cross-compilation
usr/lib/pkgconfig/opendkim.pc

My experiences with packaging libraries is limited, so any advice
how to fix this?

3.
dh_installsystemd prints several lines on building:

dh_installsystemd: package opendkim@ is not in control info
dh_installsystemd: package opendkim-tools@ is not in control info
dh_installsystemd: package libopendkim11@ is not in control info
dh_installsystemd: package libopendkim-dev@ is not in control info
dh_installsystemd: package libvbr2@ is not in control info
dh_installsystemd: package libvbr-dev@ is not in control info
dh_installsystemd: package librbl1@ is not in control info
dh_installsystemd: package librbl-dev@ is not in control info

Any ideas what that's about?

4.
dpkg-shlibdeps complains about unnecessary dependencies although the
corresponding link flags should be enabled.
(debia/rules: export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed)

dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/librbl1/usr/lib/librbl.so.1.0.0 was not linked against
libbsd.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/libvbr2/usr/lib/libvbr.so.2.0.0 was not linked against
libbsd.so.0 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/libopendkim11/usr/lib/libopendkim.so.11.0.0 was not linked
against libssl.so.1.1 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/opendkim/usr/sbin/opendkim was not linked against
liblber-2.4.so.2 (it uses none of the library's symbols)
dpkg-shlibdeps: warning: package could avoid a useless dependency if
debian/opendkim-tools/usr/bin/opendkim-testkey
debian/opendkim-tools/usr/bin/opendkim-atpszone
debian/opendkim-tools/usr/bin/opendkim-genzone were not linked against
liblber-2.4.so.2 (they use none of the library's symbols)

Maybe some link flag propagation missing in the upstream Makefiles?

5.
dpkg-gencontrol prints several lines on building:

dpkg-gencontrol: warning: package opendkim-tools: unused substitution
variable ${perl:Depends}
dpkg-gencontrol: warning: package opendkim-tools: unused substitution
variable ${perl:Depends}

There seemed to be no (active) ${perl:Depends} in debian/control?


However the beta version runs fine for me.


Reply to: