Control: forwarded -1 http://lists.xymon.com/archive/2017-February/044369.html
Control: tag -1 + patch pending

Hi,

Adrian Bunk wrote:
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/xymon.html
> 
> ...
> gcc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now -Wall -Wno-unused 
> -Wno-pointer-sign -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -DLINUX -I/build/1st/xymon-4.3.28/include  -o logfetch logfetch.c 
> ../lib/libxymonclient.a
> logfetch.c: In function 'logdata':
> logfetch.c:210:105: error: 'intmax_t' undeclared (first use in this 
> function); did you mean '__intmax_t'?
>    errprintf("logfetch: %s delta %jd bytes exceeds max buffer size %u; 
> skipping some data\n", filename, (intmax_t)bufsz, MAXCHECK);
>                                                                               
>                            ^~~~~~~~
>                                                                               
>                            __intmax_t
> logfetch.c:210:105: note: each undeclared identifier is reported only once 
> for each function it appears in
> logfetch.c:210:114: error: expected ')' before 'bufsz'
>    errprintf("logfetch: %s delta %jd bytes exceeds max buffer size %u; 
> skipping some data\n", filename, (intmax_t)bufsz, MAXCHECK);
>                                                                               
>                                     ^~~~~
> Makefile:41: recipe for target 'logfetch' failed
> make[2]: *** [logfetch] Error 1

This issue seems to be known upstream for about a year now, just not
related to glibc 2.26 but related to OpenBSD:

http://lists.xymon.com/archive/2017-February/044369.html

The patch suggested there is just to add "#include <stdint.h>" to
logfetch.c. And doing so also fixes this issue here.

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to