Your message dated Thu, 5 Dec 2024 16:38:45 +0100
with message-id <z1hjbxq84pzdz...@ariel.home>
and subject line Re: Bug#1066700: pgdbf: FTBFS: pgdbf.c:533:16: error: implicit
declaration of function ‘asprintf’; did you mean ‘vsprintf’?
[-Werror=implicit-function-declaration]
has caused the Debian Bug report #1066700,
regarding pgdbf: FTBFS: pgdbf.c:533:16: error: implicit declaration of function
‘asprintf’; did you mean ‘vsprintf’? [-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.)
--
1066700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066700
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pgdbf
Version: 0.6.2-1.1
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):
> gcc -DHAVE_CONFIG_H -I. -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 pgdbf.o pgdbf.c
> pgdbf.c: In function ‘main’:
> pgdbf.c:533:16: error: implicit declaration of function ‘asprintf’; did you
> mean ‘vsprintf’? [-Werror=implicit-function-declaration]
> 533 | if(asprintf(&pgfields[fieldnum].formatstring, "%%.%dlf",
> fields[fieldnum].decimals) < 0) {
> | ^~~~~~~~
> | vsprintf
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:366: pgdbf.o] Error 1
The full build log is available from:
http://qa-logs.debian.net/2024/03/13/pgdbf_0.6.2-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;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 ---
Hi Lucas,
On 2024-03-13 12:55, Lucas Nussbaum wrote:
> Relevant part (hopefully):
> > gcc -DHAVE_CONFIG_H -I. -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 pgdbf.o pgdbf.c
> > pgdbf.c: In function ‘main’:
> > pgdbf.c:533:16: error: implicit declaration of function ‘asprintf’; did you
> > mean ‘vsprintf’? [-Werror=implicit-function-declaration]
> > 533 | if(asprintf(&pgfields[fieldnum].formatstring,
> > "%%.%dlf", fields[fieldnum].decimals) < 0) {
> > | ^~~~~~~~
> > | vsprintf
> > cc1: some warnings being treated as errors
> > make[3]: *** [Makefile:366: pgdbf.o] Error 1
With the glibc version currently in unstable pgdbf builds fine.
asprintf is now available by default:
https://sourceware.org/git/?p=glibc.git;a=commit;h=0d5cb2ae27c0a163c15e5222fb132bf9d026b14b
Closing this bug.
--- End Message ---