[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1066263: marked as done (xfonts-utils: FTBFS: ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration])



Your message dated Thu, 23 Jan 2025 18:50:34 +0100
with message-id <2507d119-da17-4651-bb82-9da239434904@debian.org>
and subject line Re: xfonts-utils: FTBFS: ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
has caused the Debian Bug report #1066263,
regarding xfonts-utils: FTBFS: ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; 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 owner@bugs.debian.org
immediately.)


-- 
1066263: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066263
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: xfonts-utils
Version: 1:7.7+6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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../fonttosfnt   -Wdate-time -D_FORTIFY_SOURCE=2 -DXVENDORNAME=\"X.Org\ Foundation\" -I/usr/include/freetype2 -I/usr/include/libpng16  -DXVENDORNAMESHORT=\"X.Org\" -D_BSD_SOURCE  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c ../fonttosfnt/write.c
> sed -e 's|__vendorversion__|"fonttosfnt 1.0.4" "X Version 11"|' -e 's|__xorgversion__|"fonttosfnt 1.0.4" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr|g' -e 's|__apploaddir__||' -e 's|__appmansuffix__|1|g' -e 's|__libmansuffix__|3|g' -e 's|__adminmansuffix__|8|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < ../fonttosfnt/fonttosfnt.man > fonttosfnt.1
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdlib.h:26,
>                  from ../fonttosfnt/struct.c:24:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> In file included from /usr/include/time.h:25,
>                  from ../fonttosfnt/util.c:25:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from ../fonttosfnt/read.c:26:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from ../fonttosfnt/fonttosfnt.c:25:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
>                  from /usr/include/stdio.h:27,
>                  from ../fonttosfnt/write.c:29:
> /usr/include/features.h:195:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
>   195 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
>       |   ^~~~~~~
> ../fonttosfnt/read.c: In function ‘readFile’:
> ../fonttosfnt/read.c:239:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘FT_Pos’ {aka ‘long int’} [-Wformat=]
>   239 |             fprintf(stderr, "size %d: %dx%d\n",
>       |                                       ~^
>       |                                        |
>       |                                        int
>       |                                       %ld
>   240 |                     i,
>   241 |                     face->available_sizes[i].x_ppem >> 6,
>       |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                     |
>       |                                                     FT_Pos {aka long int}
> ../fonttosfnt/read.c:239:43: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘FT_Pos’ {aka ‘long int’} [-Wformat=]
>   239 |             fprintf(stderr, "size %d: %dx%d\n",
>       |                                          ~^
>       |                                           |
>       |                                           int
>       |                                          %ld
> ......
>   242 |                     face->available_sizes[i].y_ppem >> 6);
>       |                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>       |                                                     |
>       |                                                     FT_Pos {aka long int}
> ../fonttosfnt/util.c: In function ‘vsprintf_alloc’:
> ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
>    89 |     rc = vasprintf(&r, f, args);
>       |          ^~~~~~~~~
>       |          vsprintf
> cc1: some warnings being treated as errors
> make[3]: *** [Makefile:355: util.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/03/13/xfonts-utils_7.7+6_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240313;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240313&fusertaguser=lucas@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 ---
Version: 1:7.7+7

On Wed, 13 Mar 2024 12:46:49 +0100 Lucas Nussbaum <lucas@debian.org> wrote:
Source: xfonts-utils
Version: 1:7.7+6
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@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):
> ../fonttosfnt/util.c: In function ‘vsprintf_alloc’:
> ../fonttosfnt/util.c:89:10: error: implicit declaration of function ‘vasprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
>    89 |     rc = vasprintf(&r, f, args);
>       |          ^~~~~~~~~
>       |          vsprintf

This looks fixed in 1:7.7+7, which updated fonttosfnt to upstream 1.2.3.

Please reopen if I missed something.

Cheers,
Emilio

--- End Message ---

Reply to: