Your message dated Wed, 20 Mar 2024 14:46:27 +0000
with message-id <e1rmxd1-007obz...@fasolo.debian.org>
and subject line Bug#1066506: fixed in mcpp 2.7.2-5.1
has caused the Debian Bug report #1066506,
regarding mcpp: FTBFS: system.c:2510:20: error: implicit declaration of
function ‘readlink’ [-Werror=implicit-function-declaration]
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.)
--
1066506: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066506
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mcpp
Version: 2.7.2-5
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240313 ftbfs-trixie ftbfs-impfuncdef
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
This is most likely caused by a change in dpkg 1.22.6, that enabled
-Werror=implicit-function-declaration. For more information, see
https://wiki.debian.org/qa.debian.org/FTBFS#A2024-03-13_-Werror.3Dimplicit-function-declaration
Relevant part (hopefully):
> /bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
> -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> -o system.lo system.c
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> expand.c -fPIC -DPIC -o .libs/expand.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> support.c -fPIC -DPIC -o .libs/support.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> directive.c -fPIC -DPIC -o .libs/directive.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> eval.c -fPIC -DPIC -o .libs/eval.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> mbchar.c -fPIC -DPIC -o .libs/mbchar.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> system.c -fPIC -DPIC -o .libs/system.o
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> main.c -fPIC -DPIC -o .libs/main.o
> support.c: In function ‘get_ch’:
> support.c:1590:19: warning: passing argument 1 of ‘free’ discards ‘const’
> qualifier from pointer target type [-Wdiscarded-qualifiers]
> 1590 | free( file->src_dir);
> | ~~~~^~~~~~~~~
> In file included from configed.H:374,
> from system.H:45,
> from support.c:76:
> /usr/include/stdlib.h:568:25: note: expected ‘void *’ but argument is of type
> ‘const char *’
> 568 | extern void free (void *__ptr) __THROW;
> | ~~~~~~^~~~~
> support.c:1596:19: warning: passing argument 1 of ‘free’ discards ‘const’
> qualifier from pointer target type [-Wdiscarded-qualifiers]
> 1596 | free( file->src_dir); /* Free src_dir */
> | ~~~~^~~~~~~~~
> /usr/include/stdlib.h:568:25: note: expected ‘void *’ but argument is of type
> ‘const char *’
> 568 | extern void free (void *__ptr) __THROW;
> | ~~~~~~^~~~~
> support.c:1599:22: warning: assignment discards ‘const’ qualifier from
> pointer target type [-Wdiscarded-qualifiers]
> 1599 | cur_fullname = infile->full_fname;
> | ^
> support.c: In function ‘get_file’:
> support.c:2308:21: warning: passing argument 1 of ‘strcpy’ discards ‘const’
> qualifier from pointer target type [-Wdiscarded-qualifiers]
> 2308 | strcpy( file->src_dir, src_dir);
> | ~~~~^~~~~~~~~
> In file included from /usr/include/features.h:490,
> from
> /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
> from /usr/include/limits.h:26,
> from /usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h:205,
> from /usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h:7,
> from /usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h:34,
> from configed.H:305:
> /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected
> ‘char * restrict’ but argument is of type ‘const char *’
> 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
> | ^~~~~
> expand.c: In function ‘replace’:
> expand.c:713:21: warning: assignment to ‘char *’ from incompatible pointer
> type ‘LOCATION *’ {aka ‘struct location *’} [-Wincompatible-pointer-types]
> 713 | m_inf->args = m_inf->loc_args = NULL; /* Default args */
> | ^
> expand.c: In function ‘rescan’:
> expand.c:1975:41: warning: assignment discards ‘const’ qualifier from pointer
> target type [-Wdiscarded-qualifiers]
> 1975 | mgc_cleared = remove_magics(
> | ^
> system.c: In function ‘norm_path’:
> system.c:2510:20: error: implicit declaration of function ‘readlink’
> [-Werror=implicit-function-declaration]
> 2510 | if ((len = readlink( slbuf1, slbuf2, PATHMAX)) > 0) {
> | ^~~~~~~~
> system.c: In function ‘do_once’:
> system.c:4245:20: warning: assignment discards ‘const’ qualifier from pointer
> target type [-Wdiscarded-qualifiers]
> 4245 | once_end->name = fullname;
> | ^
> system.c: In function ‘do_options’:
> system.c:452:5: warning: ignoring return value of ‘getcwd’ declared with
> attribute ‘warn_unused_result’ [-Wunused-result]
> 452 | getcwd( cur_work_dir, PATHMAX);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> main.c -o main.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> mbchar.c -o mbchar.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> directive.c -o directive.o >/dev/null 2>&1
> libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wdate-time -D_FORTIFY_SOURCE=2 -g
> -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c
> eval.c -o eval.o >/dev/null 2>&1
> cc1: some warnings being treated as errors
> make[4]: *** [Makefile:590: system.lo] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/mcpp_2.7.2-5_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.
--- End Message ---
--- Begin Message ---
Source: mcpp
Source-Version: 2.7.2-5.1
Done: Andrey Rakhmatullin <w...@debian.org>
We believe that the bug you reported is fixed in the latest version of
mcpp, 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 1066...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrey Rakhmatullin <w...@debian.org> (supplier of updated mcpp 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: Sat, 16 Mar 2024 18:23:16 +0500
Source: mcpp
Architecture: source
Version: 2.7.2-5.1
Distribution: unstable
Urgency: medium
Maintainer: Kiyoshi Matsui <kmat...@t3.rim.or.jp>
Changed-By: Andrey Rakhmatullin <w...@debian.org>
Closes: 1066506
Changes:
mcpp (2.7.2-5.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066506).
Checksums-Sha1:
0a12b743406831f259904dedbdfa9be74b7741bd 1977 mcpp_2.7.2-5.1.dsc
f57cc3871a89819f8c8c4aed81c68c039cbfc1b5 7824 mcpp_2.7.2-5.1.debian.tar.xz
5a9f5231bc061911023c681234b058778f5c2c1b 7335 mcpp_2.7.2-5.1_amd64.buildinfo
Checksums-Sha256:
915992e68d3fc872e1e4e53aaacaed2beb99b5d3e9d8068215a5d227937be59a 1977
mcpp_2.7.2-5.1.dsc
e67a61b57ea6cae424388aaee981814e8a6d73b33d252edf7d0478d512d843d2 7824
mcpp_2.7.2-5.1.debian.tar.xz
bfda16c0adea0cd358bd634f992c72cc983cbadcb2e86d349e96b1c74d3e9599 7335
mcpp_2.7.2-5.1_amd64.buildinfo
Files:
c4bb62b6a2adbda4defb0b38084956da 1977 devel optional mcpp_2.7.2-5.1.dsc
f013e1872477280979050e76d4aa0fb8 7824 devel optional
mcpp_2.7.2-5.1.debian.tar.xz
09990b0589e7f2057548732f0b0f2a03 7335 devel optional
mcpp_2.7.2-5.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX1qMkACgkQM2L3AxpJ
kuHr0xAAjyW9cXcnajeK4Pp1pNBw7BBX+Wx8AdSXoJ2NS9Mhlhbzt7Y1zdVzvBqK
T/0ceHTP7eyqxZvTHHSIXj4pAWoylxb/F0T5wWdkFQHBelwT4sv775x+l4joLxjE
+ot2Ruw36WHysZYB1+8v9ULkBfCjWHivnJ8phpdNBBjQk/S2qz8sKtO78APYVB1Z
fXQpSiIWu2LGxRo5spPpWU3XaB7sa0byKmESKzNFvAKVnxG3Ujljv/+VG/KjBzBj
CAy6ooKIjLK3/4U6rjg4DOIXzZgINuq9eU0KnggXvMbZEkGxKXiuPqZVrDG9jA3O
FsdNQrkDXntkmhZHK1H9HKJG92l3o+8STI2bKhy0Hd6ncF7HVd+ZbyoV7KFgNsI+
MfT4OMi21ONwob+vX3arycjyw3Fai08mfu4LauuENIxwkURW3hGEQlUNNwuMUKlC
jwQJONGaoEVKU5zZjm/wRnH/1n4eZ15GzRaFqk3sk0zGL6U9ynVyUeJHsE+/LJDc
z9qg1qMqUBvzXq31lFTs95GcguedZ5TR0V1fo4vrKMtFJ9id9Sropf/KlFLxqEjN
6qYehSxMjyWXWt/kiAuGlmxGjlVjBNZhWJR06lMx3df0qv2Dc1hhQlWisVwPjkuF
loH1gSdLTk39QI4NGzGw1uPtRTBlS+kJWAoQVF1nfaJm2owbDTY=
=bffu
-----END PGP SIGNATURE-----
pgpfPREP2SdkE.pgp
Description: PGP signature
--- End Message ---