Your message dated Wed, 08 May 2024 17:20:37 +0000
with message-id <e1s4ky5-004ar4...@fasolo.debian.org>
and subject line Bug#1067651: fixed in mapserver 8.0.1-5
has caused the Debian Bug report #1067651,
regarding mapserver: FTBFS: error: implicit declaration of function ‘strlcpy’
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 ow...@bugs.debian.org
immediately.)
--
1067651: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067651
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: mapserver
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu noble ubuntu-patch
Dear Maintainer,
The package failed to build in Ubuntu noble on armhf:
--
/<<PKGBUILDDIR>>/mapshape.c: In function ‘msShapefileOpenHandle’:
/<<PKGBUILDDIR>>/mapshape.c:1755:3: error: implicit declaration of function
‘strlcpy’; did you mean ‘strncpy’? [-Werror=implicit-function-declaration]
1755 | strlcpy(shpfile->source, filename, sizeof(shpfile->source));
| ^~~~~~~
| strncpy
/<<PKGBUILDDIR>>/mapshape.c: In function ‘msShapefileOpen’:
/<<PKGBUILDDIR>>/mapshape.c:1841:3: error: implicit declaration of function
‘strlcat’; did you mean ‘strncat’? [-Werror=implicit-function-declaration]
1841 | strlcat(dbfFilename, ".dbf", bufferSize);
| ^~~~~~~
| strncat
--
See the build log[1]
strlcpy/strlcat function prototype is enabled in string.h when __USE_MISC macro
is defined.
strlcpy/strlcat functions belong to a set of functions declared on BSD
systems[2]
In Ubuntu, the attached patch was applied to achieve the following:
* d/rules: define -D_BSD_SOURCE to ensure that strlcpy/strlcat functions
are declared (LP: #2058864).
Thanks for considering the patch.
[1] https://launchpadlibrarian.net/720858988/buildlog_ubuntu-noble-
armhf.mapserver_8.0.1-4build3_BUILDING.txt.gz
[2] https://linux.die.net/man/3/strlcat
-- System Information:
Debian Release: trixie/sid
APT prefers mantic-updates
APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500,
'mantic'), (100, 'mantic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.5.0-25-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru mapserver-8.0.1/debian/rules mapserver-8.0.1/debian/rules
--- mapserver-8.0.1/debian/rules 2024-03-16 20:08:52.000000000 +1300
+++ mapserver-8.0.1/debian/rules 2024-03-25 15:19:52.000000000 +1300
@@ -17,7 +17,7 @@
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS) -D_BSD_SOURCE
CFLAGS := $(shell dpkg-buildflags --get CFLAGS)
LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
--- End Message ---
--- Begin Message ---
Source: mapserver
Source-Version: 8.0.1-5
Done: Bas Couwenberg <sebas...@debian.org>
We believe that the bug you reported is fixed in the latest version of
mapserver, 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 1067...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bas Couwenberg <sebas...@debian.org> (supplier of updated mapserver 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 08 May 2024 18:48:14 +0200
Source: mapserver
Architecture: source
Version: 8.0.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian GIS Project <pkg-grass-de...@lists.alioth.debian.org>
Changed-By: Bas Couwenberg <sebas...@debian.org>
Closes: 1067651
Changes:
mapserver (8.0.1-5) unstable; urgency=medium
.
* Add patch to fix FTBFS with glibc 2.38.
(closes: #1067651)
* Update symbols for other architectures.
Checksums-Sha1:
5f49a5527ab81dd5ccea49d2648d333bc0c59623 3178 mapserver_8.0.1-5.dsc
cdf6145c9dab527d8354565a0e37320e0c8df01f 58700 mapserver_8.0.1-5.debian.tar.xz
dccda4b94a1cf7a8b3600d663b4b82fd441fb159 25252
mapserver_8.0.1-5_amd64.buildinfo
Checksums-Sha256:
525eaa62e673c9ea224c32acf40291a92f3f6354573486b2c4bf70bf7cb40218 3178
mapserver_8.0.1-5.dsc
80a91e5f4aba88532a3d95a6bad8f4010092f57c1af3e3c7c9257add4643037e 58700
mapserver_8.0.1-5.debian.tar.xz
b279a50f57d9c0d53c6bae7a24406e61faffc89987a266e9f8b0d08a6f4a38a5 25252
mapserver_8.0.1-5_amd64.buildinfo
Files:
44fa7bc4c0cdbeaa029427e0df8bf766 3178 devel optional mapserver_8.0.1-5.dsc
6806d4023d35b666763d6511a63d0fbf 58700 devel optional
mapserver_8.0.1-5.debian.tar.xz
9d2877b67e4381f6ac2ade9b7f602aee 25252 devel optional
mapserver_8.0.1-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEgYLeQXBWQI1hRlDRZ1DxCuiNSvEFAmY7sDQACgkQZ1DxCuiN
SvGwNRAAqXrNfnuUaP73Kd/n7/vr/qwu3vJuVMkamKv9/LdW8vjH92A/D8Z6DDbN
Jng20GT0+/kWxyKpqYmqcctfm/3xF6+jww2RO72St9B1Sbie04xLvRGpSNtknus3
Gh6CFYI2NEd7lGjbE4EHAS0a+r2HATSXbN/5vLV6u1Ddg5pMfwvbNgGx1k6e4vUU
e6tvRuWBGQ413HkH4Ir1vQcUDcyaB3gPVLoS3xlqi1cJ+TqKj03BzxO2mApwQOnN
JDikTHpe06zlsiSV961BqRRNmO3elxZ4uRocz4gxuCuy6zfrt8/Nj77YEubXd6A/
qpUQVpDuywORwgkM3k8gLVszOClpaSqdThK+/k74xqcMyeLlQdZMBfXIKw9tKx7R
LGdb2vU0Z9OskgDBMWnTaadtEgkPEEBvqM188jGvrLsnHxvIf+1g1ZbhFWK2HYt3
/FC8TDqOWdbeRRzs96qyoQa8KsMK3fD6uobYKc2f60AMsrJJiyJB3TcDsi42vV75
zy3Ws090nc+cJt+J3GYyNJUqsELKuif5nQAhnaxCBFD9e6GnHzmU5jNfR2vA7HH4
mMJW6Mafwcrv+e8ld7tF5g+VgGmz40MDhT/5/YPY5TAdWggDIQEJXqIk3YNgGR3T
hRblZmDVzpc8OQYJeeBnbEBAyo7SX3CJzi4oErThOOY+QBVAafE=
=z11B
-----END PGP SIGNATURE-----
pgpW7GxtgpMEr.pgp
Description: PGP signature
--- End Message ---