Your message dated Wed, 20 Mar 2024 16:06:10 +0000
with message-id <[email protected]>
and subject line Bug#1066556: fixed in libdrpm 0.5.1-1.1
has caused the Debian Bug report #1066556,
regarding libdrpm: FTBFS: drpm_write.c:94:20: error: implicit declaration of
function ‘strlen’ [-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 [email protected]
immediately.)
--
1066556: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066556
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libdrpm
Version: 0.5.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
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):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/cc
> -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -std=c99 -pedantic -Wall
> -Wextra -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -MD -MT
> test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o -MF
> CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o.d -o
> CMakeFiles/drpm_api_tests.dir/__/src/drpm_apply.c.o -c
> /<<PKGBUILDDIR>>/src/drpm_apply.c
> /<<PKGBUILDDIR>>/src/drpm_utils.c:38:41: warning: argument 1 of type ‘const
> unsigned char[2]’ with mismatched bound [-Warray-parameter=]
> 38 | uint16_t parse_be16(const unsigned char buffer[2])
> | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/drpm_utils.c:23:
> /<<PKGBUILDDIR>>/src/drpm_private.h:237:21: note: previously declared as
> ‘const unsigned char *’
> 237 | uint16_t parse_be16(const unsigned char *);
> | ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_utils.c:44:41: warning: argument 1 of type ‘const
> unsigned char[4]’ with mismatched bound [-Warray-parameter=]
> 44 | uint32_t parse_be32(const unsigned char buffer[4])
> | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_private.h:238:21: note: previously declared as
> ‘const unsigned char *’
> 238 | uint32_t parse_be32(const unsigned char *);
> | ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_utils.c:53:41: warning: argument 1 of type ‘const
> unsigned char[8]’ with mismatched bound [-Warray-parameter=]
> 53 | uint64_t parse_be64(const unsigned char buffer[8])
> | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_private.h:239:21: note: previously declared as
> ‘const unsigned char *’
> 239 | uint64_t parse_be64(const unsigned char *);
> | ^~~~~~~~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_utils.c:66:45: warning: argument 2 of type
> ‘unsigned char[4]’ with mismatched bound [-Warray-parameter=]
> 66 | void create_be32(uint32_t in, unsigned char out[4])
> | ~~~~~~~~~~~~~~^~~~~~
> /<<PKGBUILDDIR>>/src/drpm_private.h:233:28: note: previously declared as
> ‘unsigned char *’
> 233 | void create_be32(uint32_t, unsigned char *);
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_utils.c:75:45: warning: argument 2 of type
> ‘unsigned char[8]’ with mismatched bound [-Warray-parameter=]
> 75 | void create_be64(uint64_t in, unsigned char out[8])
> | ~~~~~~~~~~~~~~^~~~~~
> /<<PKGBUILDDIR>>/src/drpm_private.h:234:28: note: previously declared as
> ‘unsigned char *’
> 234 | void create_be64(uint64_t, unsigned char *);
> | ^~~~~~~~~~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_write.c: In function ‘write_deltarpm’:
> /<<PKGBUILDDIR>>/src/drpm_write.c:94:20: error: implicit declaration of
> function ‘strlen’ [-Werror=implicit-function-declaration]
> 94 | src_nevr_len = strlen(delta->src_nevr) + 1;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/drpm_write.c:30:1: note: include ‘<string.h>’ or provide
> a declaration of ‘strlen’
> 29 | #include <rpm/rpmlib.h>
> +++ |+#include <string.h>
> 30 |
> /<<PKGBUILDDIR>>/src/drpm_write.c:94:20: warning: incompatible implicit
> declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
> 94 | src_nevr_len = strlen(delta->src_nevr) + 1;
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/drpm_write.c:94:20: note: include ‘<string.h>’ or
> provide a declaration of ‘strlen’
> /<<PKGBUILDDIR>>/src/drpm_write.c: In function ‘compstrm_wrapper_write’:
> /<<PKGBUILDDIR>>/src/drpm_write.c:364:9: error: implicit declaration of
> function ‘memcpy’ [-Werror=implicit-function-declaration]
> 364 | memcpy(csw->uncomp_data + csw->uncomp_len - csw->uncomp_left,
> buffer, write_len);
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/drpm_write.c:364:9: note: include ‘<string.h>’ or
> provide a declaration of ‘memcpy’
> /<<PKGBUILDDIR>>/src/drpm_write.c:364:9: warning: incompatible implicit
> declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
> /<<PKGBUILDDIR>>/src/drpm_write.c:364:9: note: include ‘<string.h>’ or
> provide a declaration of ‘memcpy’
> /<<PKGBUILDDIR>>/src/drpm_write.c: In function ‘compstrm_wrapper_finish’:
> /<<PKGBUILDDIR>>/src/drpm_write.c:389:5: error: implicit declaration of
> function ‘memmove’ [-Werror=implicit-function-declaration]
> 389 | memmove(data_tmp + csw->uncomp_len, data_tmp, *data_len);
> | ^~~~~~~
> /<<PKGBUILDDIR>>/src/drpm_write.c:389:5: note: include ‘<string.h>’ or
> provide a declaration of ‘memmove’
> /<<PKGBUILDDIR>>/src/drpm_write.c:389:5: warning: incompatible implicit
> declaration of built-in function ‘memmove’ [-Wbuiltin-declaration-mismatch]
> /<<PKGBUILDDIR>>/src/drpm_write.c:389:5: note: include ‘<string.h>’ or
> provide a declaration of ‘memmove’
> /<<PKGBUILDDIR>>/src/drpm_write.c:390:5: warning: incompatible implicit
> declaration of built-in function ‘memcpy’ [-Wbuiltin-declaration-mismatch]
> 390 | memcpy(data_tmp, csw->uncomp_data, csw->uncomp_len);
> | ^~~~~~
> /<<PKGBUILDDIR>>/src/drpm_write.c:390:5: note: include ‘<string.h>’ or
> provide a declaration of ‘memcpy’
> [ 58%] Building C object
> test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/cc
> -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -std=c99 -pedantic -Wall
> -Wextra -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -MD -MT
> test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o -MF
> CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o.d -o
> CMakeFiles/drpm_api_tests.dir/__/src/drpm_block.c.o -c
> /<<PKGBUILDDIR>>/src/drpm_block.c
> [ 61%] Building C object
> test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/cc
> -fvisibility=hidden -g -O2 -Werror=implicit-function-declaration
> -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection
> -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -std=c99 -pedantic -Wall
> -Wextra -DHAVE_CONFIG_H -I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -MD -MT
> test/CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o -MF
> CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o.d -o
> CMakeFiles/drpm_api_tests.dir/__/src/drpm_compstrm.c.o -c
> /<<PKGBUILDDIR>>/src/drpm_compstrm.c
> /<<PKGBUILDDIR>>/src/drpm_block.c:285:52: warning: argument 2 of type
> ‘unsigned char[8192]’ with mismatched bound [-Warray-parameter=]
> 285 | int blocks_next(struct blocks *blks, unsigned char
> buffer[BLOCK_SIZE], size_t *buffer_len,
> | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
> In file included from /<<PKGBUILDDIR>>/src/drpm_block.c:23:
> /<<PKGBUILDDIR>>/src/drpm_private.h:143:34: note: previously declared as
> ‘unsigned char *’
> 143 | int blocks_next(struct blocks *, unsigned char *, size_t *, uint64_t,
> size_t,
> | ^~~~~~~~~~~~~~~
> cc1: some warnings being treated as errors
> make[3]: *** [src/CMakeFiles/drpm.dir/build.make:261:
> src/CMakeFiles/drpm.dir/drpm_write.c.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/libdrpm_0.5.1-1_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&[email protected]&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: libdrpm
Source-Version: 0.5.1-1.1
Done: Andrey Rakhmatullin <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libdrpm, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrey Rakhmatullin <[email protected]> (supplier of updated libdrpm 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sat, 16 Mar 2024 20:17:44 +0500
Source: libdrpm
Architecture: source
Version: 0.5.1-1.1
Distribution: unstable
Urgency: medium
Maintainer: RPM packaging team <[email protected]>
Changed-By: Andrey Rakhmatullin <[email protected]>
Closes: 1066556
Changes:
libdrpm (0.5.1-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix FTBFS with -Werror=implicit-function-declaration (Closes: #1066556).
Checksums-Sha1:
a7fab2fd18b2e72f8f8ae238ba44affeabfebc28 2152 libdrpm_0.5.1-1.1.dsc
7fdc0543fcfd691eef0f26e4136d6d04ebab4cfb 9896 libdrpm_0.5.1-1.1.debian.tar.xz
e0af10133e88a69cef33b4edc281a5187ed6fdad 8837 libdrpm_0.5.1-1.1_amd64.buildinfo
Checksums-Sha256:
3f341381e9dea5dd06db4ca8d6aaecce6831694096a8535dde2466b7804e7e0f 2152
libdrpm_0.5.1-1.1.dsc
3779b622fa4e8d9462ca4708ad359523c1e50857cb041b759277d854a3c04d3c 9896
libdrpm_0.5.1-1.1.debian.tar.xz
9f062b4013b1f1212d007fc1cb455b4e0d9338d7a2f7a4cd946a2e0125526325 8837
libdrpm_0.5.1-1.1_amd64.buildinfo
Files:
3ab55350343e0ea725984564a7f6c750 2152 libs optional libdrpm_0.5.1-1.1.dsc
15bc0502abf41951c58a097281916a27 9896 libs optional
libdrpm_0.5.1-1.1.debian.tar.xz
a3446e48c34553671960fa134c0b2369 8837 libs optional
libdrpm_0.5.1-1.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmX1uXoACgkQM2L3AxpJ
kuHg8RAAqKJOZkgJzfphXVOmWMuh5ic5kjCVHL5hWMHwGdqQInHSsuHY6C+sYJSC
F8LXnM7Bxv39h18mcM/gop7pkaqIn8fmtfJQ4EUYTCeRDmewAVJhXKT2mMu9b7rY
LUEyeKN+ArCJDbaWd51/+FHuDhzL3sMfPufBAP9RRHK+eRlZVSCoWkRuH8tLSNZo
5t3zj1Kf9uefAr2dqHEyIkJIgB6wxoCq1ZlKCTV+L8ywqShGau096dsPG4fC0qmM
aaLkZrA9Hg2V2PxKJiAONfVszX2CADFXaipQIGJxOXXrtFRnjSIsLbWVSe5NaUDx
n9ecq/1Mr5M2uv/+J22svDH0BcK6pn7OssMKoXvy7tXnJSYdSVJJjyDdUyUna1PP
4sFWmDG9zL8ozg8vN8C6ei0wTVjnyfrfXLmjG9+M0ZpMy1ZOZl/KUOcCMVtWhSlP
7FZokRyL0rHqRAX37so/wgJ8Bk2ak310X2DpLaJi65jPJMDNZs0PpUum/0vrxCtt
sZ+wdVW87xpI1BAGSysicVAxRq7z2Fp0Dgttvf4rKt+wrbOVLr3lhwGMmBYOlDkW
cBlQ7L+L15HrNvsDQIKm9zwIlBKc2pCACo8xUedCyccOFJnrYDleAPhiqc8N48vE
ry/2a1cGwLXWOmaEK0BTyj18j/5BlEKbxYTLqPDrRpXKYgKxwB0=
=DSVj
-----END PGP SIGNATURE-----
pgpEFI2g0ytml.pgp
Description: PGP signature
--- End Message ---