[Debian-med-packaging] Bug#1065765: libmems: FTBFS on arm{el,hf}: dmSML/util.c:129:16: error: implicit declaration of function ‘system’ [-Werror=implicit-function-declaration]
Sebastian Ramacher
sramacher at debian.org
Sat Mar 9 20:22:42 GMT 2024
Source: libmems
Version: 1.6.0+4725-9.1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher at debian.org
https://buildd.debian.org/status/fetch.php?pkg=libmems&arch=armel&ver=1.6.0%2B4725-9.1&stamp=1709545672&raw=0
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -funroll-loops -fomit-frame-pointer -ftree-vectorize -I/usr/include/libGenome -I/usr/include/libMUSCLE -DUSE_POSIX_AIO -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c dmSML/buffer.c -fPIC -DPIC -o .libs/buffer.o
In file included from ../libMems/dmSML/buffer.h:8,
from dmSML/buffer.c:7:
../libMems/dmSML/asyncio.h:18: warning: "_LARGEFILE_SOURCE" redefined
18 | # define _LARGEFILE_SOURCE
|
<command-line>: note: this is the location of the previous definition
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -funroll-loops -fomit-frame-pointer -ftree-vectorize -I/usr/include/libGenome -I/usr/include/libMUSCLE -DUSE_POSIX_AIO -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -c dmSML/util.c -fPIC -DPIC -o .libs/util.o
dmSML/util.c: In function ‘removeFile’:
dmSML/util.c:126:24: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
126 | rm_cmd = Fmt( "/bin/rm -fv %s", filename );
| ^
dmSML/util.c:128:24: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
128 | rm_cmd = Fmt( "/bin/rm -f %s", filename );
| ^
dmSML/util.c:129:16: error: implicit declaration of function ‘system’ [-Werror=implicit-function-declaration]
129 | return system( rm_cmd );
| ^~~~~~
cc1: some warnings being treated as errors
make[3]: *** [Makefile:703: util.lo] Error 1
Cheers
--
Sebastian Ramacher
More information about the Debian-med-packaging
mailing list