/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -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 system.lo system.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 expand.c -fPIC -DPIC -o .libs/expand.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 support.c -fPIC -DPIC -o .libs/support.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 directive.c -fPIC -DPIC -o .libs/directive.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 eval.c -fPIC -DPIC -o .libs/eval.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 mbchar.c -fPIC -DPIC -o .libs/mbchar.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 system.c -fPIC -DPIC -o .libs/system.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 main.c -fPIC -DPIC -o .libs/main.o
support.c: In function ‘get_ch’:protection -c main.c -o main.o >/dev/null 2>&1
support.c:1590:19: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1590 | free( file->src_dir);
| ~~~~^~~~~~~~~
In file included from configed.H:374,
from system.H:45,
from support.c:76:
/usr/include/stdlib.h:568:25: note: expected ‘void *’ but argument is of type ‘const char *’
568 | extern void free (void *__ptr) __THROW;
| ~~~~~~^~~~~
support.c:1596:19: warning: passing argument 1 of ‘free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1596 | free( file->src_dir); /* Free src_dir */
| ~~~~^~~~~~~~~
/usr/include/stdlib.h:568:25: note: expected ‘void *’ but argument is of type ‘const char *’
568 | extern void free (void *__ptr) __THROW;
| ~~~~~~^~~~~
support.c:1599:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1599 | cur_fullname = infile->full_fname;
| ^
support.c: In function ‘get_file’:
support.c:2308:21: warning: passing argument 1 of ‘strcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
2308 | strcpy( file->src_dir, src_dir);
| ~~~~^~~~~~~~~
In file included from /usr/include/features.h:490,
from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
from /usr/include/limits.h:26,
from /usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h:205,
from /usr/lib/gcc/x86_64-linux-gnu/13/include/syslimits.h:7,
from /usr/lib/gcc/x86_64-linux-gnu/13/include/limits.h:34,
from configed.H:305: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:77:1: note: expected ‘char * restrict’ but argument is of type ‘const char *’
77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
| ^~~~~
expand.c: In function ‘replace’:
expand.c:713:21: warning: assignment to ‘char *’ from incompatible pointer type ‘LOCATION *’ {aka ‘struct location *’} [-Wincompatible-pointer-types]
713 | m_inf->args = m_inf->loc_args = NULL; /* Default args */
| ^
expand.c: In function ‘rescan’:
expand.c:1975:41: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1975 | mgc_cleared = remove_magics(
| ^
system.c: In function ‘norm_path’:
system.c:2510:20: error: implicit declaration of function ‘readlink’ [-Werror=implicit-function-declaration]
2510 | if ((len = readlink( slbuf1, slbuf2, PATHMAX)) > 0) {
| ^~~~~~~~
system.c: In function ‘do_once’:
system.c:4245:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
4245 | once_end->name = fullname;
| ^
system.c: In function ‘do_options’:
system.c:452:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
452 | getcwd( cur_work_dir, PATHMAX);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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-
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 mbchar.c -o mbchar.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 directive.c -o directive.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -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 eval.c -o eval.o >/dev/null 2>&1
cc1: some warnings being treated as errors
make[4]: *** [Makefile:590: system.lo] Error 1
tags 1066506 + patchBug #1066506 [src:mcpp] mcpp: FTBFS: system.c:2510:20: error: implicit declaration of function ‘readlink’ [-Werror=implicit-function-declaration]
tags 1066506 + pendingBug #1066506 [src:mcpp] mcpp: FTBFS: system.c:2510:20: error: implicit declaration of function ‘readlink’ [-Werror=implicit-function-declaration]
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 00:44:28 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,396 |