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

Bug#1003483: texinfo FTBFS with glibc 2.34: ./malloc/dynarray-skeleton.c:195:24: error: expected declaration specifiers or ‘...’ before ‘(’ token __attribute_nonnull__ ((1))



Package: texinfo
Version: 6.8-3
Severity: important
Tags: patch upstream ftbfs

Dear maintainer,

texinfo fails to build from source when built against glibc 2.34
(currently in experimental):

| x86_64-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -ffile-prefix-map=/tmp/autopkgtest-lxc.eesdofvc/downtmp/build.uke/src=. -fstack-protector-strong -Wformat -Wall -MT regex.o -MD -MP -MF $depbase.Tpo -c -o regex.o regex.c &&\
| mv -f $depbase.Tpo $depbase.Po
| In file included from regexec.c:1368,
|                  from regex.c:74:
| ./malloc/dynarray-skeleton.c:195:24: error: expected declaration specifiers or ‘...’ before ‘(’ token
|   195 | __attribute_nonnull__ ((1))
|       |                        ^
| ./malloc/dynarray-skeleton.c:205:51: error: expected declaration specifiers or ‘...’ before ‘(’ token
|   205 | __attribute_maybe_unused__ __attribute_nonnull__ ((1))
|       |                                                   ^

A full build log is available on ci.debian.net as part of an autopkgtest
run:
https://ci.debian.net/data/autopkgtest/unstable/amd64/t/texinfo/18203753/log.gz

The issue is an incompatibility between the malloc code on the glibc
side and gnulib. A patch is available here:
https://src.fedoraproject.org/rpms/texinfo/blob/rawhide/f/texinfo-6.8-undo-gnulib-nonnul.patch

As we are preparing for the glibc 2.34 transition, it would be
appreciated if you can fix this issue in the next weeks.

Regards,
Aurelien

Reply to: