Source: gettext
Version: 0.21-14
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240615 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> /bin/bash ../libtool  --tag=CC   --mode=compile gcc 
> -DLOCALEDIR=\"/usr/share/locale\" -DBISON_LOCALEDIR=\"/usr/share/locale\" 
> -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJAVA=0 
> -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" 
> -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DGETTEXTDATADIR=\"/usr/share/gettext\" 
> -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H 
> -I. -I..  -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib 
> -I../intl -I../../gettext-runtime/intl -I../libgettextpo -I../libgettextpo 
> -I///usr/include/libxml2  -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 
> libgettextsrc_la-locating-rule.lo `test -f 'locating-rule.c' || echo 
> './'`locating-rule.c
> libtool: compile:  gcc -DLOCALEDIR=\"/usr/share/locale\" 
> -DBISON_LOCALEDIR=\"/usr/share/locale\" 
> -DLOCALE_ALIAS_PATH=\"/usr/share/locale\" -DUSEJAVA=0 
> -DGETTEXTJAR=\"/usr/share/gettext/gettext.jar\" 
> -DLIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
> -DGETTEXTDATADIR=\"/usr/share/gettext\" 
> -DPROJECTSDIR=\"/usr/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H 
> -I. -I.. -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib 
> -I../intl -I../../gettext-runtime/intl -I../libgettextpo -I../libgettextpo 
> -I///usr/include/libxml2 -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 locating-rule.c  -fPIC -DPIC -o 
> .libs/libgettextsrc_la-locating-rule.o
> locating-rule.c: In function ‘locating_rule_match’:
> locating-rule.c:150:7: error: implicit declaration of function ‘free’ 
> [-Werror=implicit-function-declaration]
>   150 |       free (reduced);
>       |       ^~~~
> locating-rule.c:50:1: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
>    49 | #include "xalloc.h"
>   +++ |+#include <stdlib.h>
>    50 | 
> locating-rule.c:150:7: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   150 |       free (reduced);
>       |       ^~~~
> locating-rule.c:150:7: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> locating-rule.c:169:27: warning: initialization discards ‘const’ qualifier 
> from pointer target type [-Wdiscarded-qualifiers]
>   169 |           xmlError *err = xmlGetLastError ();
>       |                           ^~~~~~~~~~~~~~~
> locating-rule.c: In function ‘locating_rule_list_locate’:
> locating-rule.c:217:15: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>   217 |               free (new_filename);
>       |               ^~~~
> locating-rule.c:217:15: note: include ‘<stdlib.h>’ or provide a declaration 
> of ‘free’
> locating-rule.c: In function ‘document_locating_rule_destroy’:
> locating-rule.c:244:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   244 |   free (rule->ns);
>       |   ^~~~
> locating-rule.c:244:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> locating-rule.c: In function ‘locating_rule_destroy’:
> locating-rule.c:288:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   288 |   free (rule->doc_rules.items);
>       |   ^~~~
> locating-rule.c:288:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> locating-rule.c: In function ‘locating_rule_list_add_from_directory’:
> locating-rule.c:399:15: warning: incompatible implicit declaration of 
> built-in function ‘free’ [-Wbuiltin-declaration-mismatch]
>   399 |               free (locator_file_name);
>       |               ^~~~
> locating-rule.c:399:15: note: include ‘<stdlib.h>’ or provide a declaration 
> of ‘free’
> locating-rule.c: In function ‘locating_rule_list_destroy’:
> locating-rule.c:431:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   431 |   free (rules->items);
>       |   ^~~~
> locating-rule.c:431:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> locating-rule.c: In function ‘locating_rule_list_free’:
> locating-rule.c:439:3: warning: incompatible implicit declaration of built-in 
> function ‘free’ [-Wbuiltin-declaration-mismatch]
>   439 |   free (rules);
>       |   ^~~~
> locating-rule.c:439:3: note: include ‘<stdlib.h>’ or provide a declaration of 
> ‘free’
> cc1: some warnings being treated as errors
> make[7]: *** [Makefile:3340: libgettextsrc_la-locating-rule.lo] Error 1


The full build log is available from:
http://qa-logs.debian.net/2024/06/15/gettext_0.21-14_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&[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.

Reply via email to