Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.rc > #358034 > unrolled thread
| Started by | Emanuele Rocca <ema@debian.org> |
|---|---|
| First post | 2024-03-06 17:30 +0100 |
| Last post | 2024-03-06 17:30 +0100 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.debian.bugs.rc
Bug#1065556: grok: FTBFS on armhf and armel: implicit declaration of function ‘asprintf’ Emanuele Rocca <ema@debian.org> - 2024-03-06 17:30 +0100
| From | Emanuele Rocca <ema@debian.org> |
|---|---|
| Date | 2024-03-06 17:30 +0100 |
| Subject | Bug#1065556: grok: FTBFS on armhf and armel: implicit declaration of function ‘asprintf’ |
| Message-ID | <If2jv-eQ1k-3@gated-at.bofh.it> |
Source: grok
Version: 1.20110708.1-7.1
Severity: serious
Tags: ftbfs
User: debian-arm@lists.debian.org
Usertags: time-t
Hi,
grok fails to build from source if -Werror=implicit-function-declaration
is on. The flag was added to the default ones on armhf and armel to help
with the ongoing time64 work. For context, see:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ef90821fe45b99fa8c8c4279b9a74c30f59f491d
An excerpt of the build logs follows.
cc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -I/usr/include/tirpc -Wdate-time -D_FORTIFY_SOURCE=2 -pipe -fPIC -I. -O2 -I/usr/local/include -DPLATFORM_GNULinux grok_capture.c -o grok_capture.o
grok_discover.c: In function ‘grok_discover_init’:
grok_discover.c:54:9: error: implicit declaration of function ‘asprintf’; did you mean ‘vsprintf’? [-Werror=implicit-function-declaration]
54 | if (asprintf(&gpattern, "%%{%.*s}", namelen, name) == -1) {
| ^~~~~~~~
| vsprintf
Back to top | Article view | linux.debian.bugs.rc
csiph-web