On Sat, Jan 06, 2024 at 03:02:21PM +0100, Daniele Forsi wrote:
Hello Federico,
you wrote
the salsa unixcw pipeline passes all but one part; it reports a
failure with the `blhc' subtask ("build log hardening check", which is new to
me).
the issue with bhlc was that configure.ac hardcodes
-D_FORTIFY_SOURCE=1 (both in CFLAGS and in CXXFLAGS) and this
overrides the -D_FORTIFY_SOURCE=2 set by debian/rules with the line:
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
It was hinted by warnings like this in the build log, not in the bhls log: <command-line>: warning: "_FORTIFY_SOURCE" redefined
Please consider merging this branch that I just pushed and that makes
the bhlc test to succeed by removing the the definition of
_FORTIFY_SOURCE in configure.ac: https://salsa.debian.org/debian-hamradio-team/unixcw/-/tree/fix/blhc-test?ref_type=heads
I don't know if this has unwanted side effects, but I briefly ran cw,
cwcp and xvcp without issues.
Hi Fede, hi Daniele,
The patch looks good to me, and the packaging of the update looks good
with one caveat. Because this upload includes an SONAME bump, it's
technically a transition [1] and needs to be uploaded to experimental
and we will need to request a transition slot on the package has
cleared NEW so that cwdaemon transitions correctly.
I looked into the dropped "Provides: libcw6-dev" and #996628 [2], and
agree with that change, although you might note it in the changelog.
I'm not claiming that it's strictly necessary, but perhaps it could help someone working on a Debian derivative or a backport.
Also, and this is very minor, but you can go ahead and set the d/copyright years for your Debian contributions to 2024.
Fede, let me know if you'd like to merge the patch and fix up the
changelog for experimental, or if you would prefer that I do it. Once I
hear back from you, I will sponsor the upload.
Thank you both for the update.
Cheers,
tony
[1]
https://wiki.debian.org/Teams/ReleaseTeam/Transitions
[2]
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996628
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmWa+MoACgkQIdIFiZdL PpbpAQ//SRoWs3LEnNCa8qtl1H4gdEG36JZJymDUI0suf3WuDG6XsR3MI1NRTRaM ovWgaN5L1zzCpw29aaPHyuW0ye6L8GMc2Gy8RN7q554G4y3sEP3c6p2DQgKZss9L 2chVQW97QABz+yjok/k1+Ysa8NKkgKRwOxjls2qMO0ZjKRZpd6cluR7SDqnemakG 74DbJ/UbHFW+PZXFcF2T+ZSPs1rJ2/cWL8bBlYyXFgyDuCb4PgXF4g5UrtTa2yj+ CvmkJm26XliUX0iDftLHE3kf0fguYIaypAtwLqdo47Q41WsQ7wwqenU11rKev+MM lHuvB0l+WG/82deW33JJ7CNJizt7u0PC3puO0jKdQ9bg60AuFzV3jsq0Uf1vN21F mY2YLjrEviqBobFBBtFo0ZXMfCrbvyLSaMlY/hUDZ9djqyDaBXmb3buCbJAVp2zA Yp+GYlmn++R/msRhixSgaQ6fDtx0PRhL453M2oDNMzT/4lCDTLYiEyHJt9jcgGnW JQD+08A9aZbSIStWAIt1TA7IayCrlRFFFIubDaR0Jw9TgArs9yYHfgnfcf0z7+XM Hipuytkk6UHMgtESNrFPOH/WIoafq+nmHV4kUrA5p1A5Faw5jDxFgh+2D5BObPTT 8ENE3Z5zYCylsrv3lfdg3k4CDCqfCgYF2HwZfRramnI2iBY/uys=
=rSUf
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)