[Debian-lego-team] Bug#1114116: gcc-h8300-hms: FTBFS: ../../libiberty/getpwd.c:41:14: error: conflicting types for 'getwd'; have 'char *(void)'
Santiago Vila
sanvila at debian.org
Fri Sep 5 19:17:27 BST 2025
Package: src:gcc-h8300-hms
Version: 1:3.4.6+dfsg2-7
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build.
Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202509/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:gcc-h8300-hms, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean -Bbuild
dh_auto_clean -O-Bbuild
debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# Too old, autoreconf will install up to date versions.
rm ltcf-*.sh ltconfig ltmain.sh
# Generated using gperf.
rm -f gcc/cp/cfns.h
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_clean -O-Bbuild
debian/rules binary
dh binary -Bbuild
dh_update_autotools_config -O-Bbuild
[... snipped ...]
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c -o pic/concat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/concat.c -o concat.o
../../libiberty/concat.c: In function âvconcat_lengthâ:
../../libiberty/concat.c:74:1: warning: old-style function definition [-Wold-style-definition]
74 | vconcat_length (first, args)
| ^~~~~~~~~~~~~~
../../libiberty/concat.c: In function âvconcat_copyâ:
../../libiberty/concat.c:89:1: warning: old-style function definition [-Wold-style-definition]
89 | vconcat_copy (dst, first, args)
| ^~~~~~~~~~~~
../../libiberty/concat.c: In function âconcat_lengthâ:
../../libiberty/concat.c:111:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
111 | concat_length VPARAMS ((const char *first, ...))
| ^~~~~~~~~~~~~
../../libiberty/concat.c: In function âconcat_copyâ:
../../libiberty/concat.c:126:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
126 | concat_copy VPARAMS ((char *dst, const char *first, ...))
| ^~~~~~~~~~~
../../libiberty/concat.c: In function âconcat_copy2â:
../../libiberty/concat.c:145:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
145 | concat_copy2 VPARAMS ((const char *first, ...))
| ^~~~~~~~~~~~
../../libiberty/concat.c: In function âconcatâ:
../../libiberty/concat.c:156:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
156 | concat VPARAMS ((const char *first, ...))
| ^~~~~~
../../libiberty/concat.c: In function âreconcatâ:
../../libiberty/concat.c:193:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional]
193 | reconcat VPARAMS ((char *optr, const char *first, ...))
| ^~~~~~~~
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/dyn-string.c -o pic/dyn-string.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/dyn-string.c -o dyn-string.o
../../libiberty/dyn-string.c: In function âdyn_string_initâ:
../../libiberty/dyn-string.c:68:1: warning: old-style function definition [-Wold-style-definition]
68 | dyn_string_init (ds_struct_ptr, space)
| ^~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_newâ:
../../libiberty/dyn-string.c:97:1: warning: old-style function definition [-Wold-style-definition]
97 | dyn_string_new (space)
| ^~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_deleteâ:
../../libiberty/dyn-string.c:120:1: warning: old-style function definition [-Wold-style-definition]
120 | dyn_string_delete (ds)
| ^~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_releaseâ:
../../libiberty/dyn-string.c:132:1: warning: old-style function definition [-Wold-style-definition]
132 | dyn_string_release (ds)
| ^~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_resizeâ:
../../libiberty/dyn-string.c:153:1: warning: old-style function definition [-Wold-style-definition]
153 | dyn_string_resize (ds, space)
| ^~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_clearâ:
../../libiberty/dyn-string.c:188:1: warning: old-style function definition [-Wold-style-definition]
188 | dyn_string_clear (ds)
| ^~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_copyâ:
../../libiberty/dyn-string.c:201:1: warning: old-style function definition [-Wold-style-definition]
201 | dyn_string_copy (dest, src)
| ^~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_copy_cstrâ:
../../libiberty/dyn-string.c:223:1: warning: old-style function definition [-Wold-style-definition]
223 | dyn_string_copy_cstr (dest, src)
| ^~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_prependâ:
../../libiberty/dyn-string.c:244:1: warning: old-style function definition [-Wold-style-definition]
244 | dyn_string_prepend (dest, src)
| ^~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_prepend_cstrâ:
../../libiberty/dyn-string.c:256:1: warning: old-style function definition [-Wold-style-definition]
256 | dyn_string_prepend_cstr (dest, src)
| ^~~~~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_insertâ:
../../libiberty/dyn-string.c:269:1: warning: old-style function definition [-Wold-style-definition]
269 | dyn_string_insert (dest, pos, src)
| ^~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_insert_cstrâ:
../../libiberty/dyn-string.c:297:1: warning: old-style function definition [-Wold-style-definition]
297 | dyn_string_insert_cstr (dest, pos, src)
| ^~~~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_insert_charâ:
../../libiberty/dyn-string.c:322:1: warning: old-style function definition [-Wold-style-definition]
322 | dyn_string_insert_char (dest, pos, c)
| ^~~~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_appendâ:
../../libiberty/dyn-string.c:346:1: warning: old-style function definition [-Wold-style-definition]
346 | dyn_string_append (dest, s)
| ^~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_append_cstrâ:
../../libiberty/dyn-string.c:362:1: warning: old-style function definition [-Wold-style-definition]
362 | dyn_string_append_cstr (dest, s)
| ^~~~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_append_charâ:
../../libiberty/dyn-string.c:381:1: warning: old-style function definition [-Wold-style-definition]
381 | dyn_string_append_char (dest, c)
| ^~~~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_substringâ:
../../libiberty/dyn-string.c:404:1: warning: old-style function definition [-Wold-style-definition]
404 | dyn_string_substring (dest, src, start, end)
| ^~~~~~~~~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_eqâ:
../../libiberty/dyn-string.c:433:1: warning: old-style function definition [-Wold-style-definition]
433 | dyn_string_eq (ds1, ds2)
| ^~~~~~~~~~~~~
../../libiberty/dyn-string.c: In function âdyn_string_insert_cstrâ:
../../libiberty/dyn-string.c:311:3: warning: â__builtin_strncpyâ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
311 | strncpy (dest->s + pos, src, length);
| ^
../../libiberty/dyn-string.c:303:16: note: length computed here
303 | int length = strlen (src);
| ^~~~~~~~~~~~
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fdmatch.c -o pic/fdmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fdmatch.c -o fdmatch.o
../../libiberty/fdmatch.c: In function âfdmatchâ:
../../libiberty/fdmatch.c:49:5: warning: old-style function definition [-Wold-style-definition]
49 | int fdmatch (fd1, fd2)
| ^~~~~~~
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fibheap.c -o pic/fibheap.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fibheap.c -o fibheap.o
../../libiberty/fibheap.c: In function âfibheap_compareâ:
../../libiberty/fibheap.c:77:1: warning: old-style function definition [-Wold-style-definition]
77 | fibheap_compare (heap, a, b)
| ^~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_comp_dataâ:
../../libiberty/fibheap.c:90:1: warning: old-style function definition [-Wold-style-definition]
90 | fibheap_comp_data (heap, key, data, b)
| ^~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_insertâ:
../../libiberty/fibheap.c:106:1: warning: old-style function definition [-Wold-style-definition]
106 | fibheap_insert (heap, key, data)
| ^~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_minâ:
../../libiberty/fibheap.c:135:1: warning: old-style function definition [-Wold-style-definition]
135 | fibheap_min (heap)
| ^~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_min_keyâ:
../../libiberty/fibheap.c:146:1: warning: old-style function definition [-Wold-style-definition]
146 | fibheap_min_key (heap)
| ^~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_unionâ:
../../libiberty/fibheap.c:157:1: warning: old-style function definition [-Wold-style-definition]
157 | fibheap_union (heapa, heapb)
| ^~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_extract_minâ:
../../libiberty/fibheap.c:193:1: warning: old-style function definition [-Wold-style-definition]
193 | fibheap_extract_min (heap)
| ^~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_replace_key_dataâ:
../../libiberty/fibheap.c:214:1: warning: old-style function definition [-Wold-style-definition]
214 | fibheap_replace_key_data (heap, node, key, data)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_replace_dataâ:
../../libiberty/fibheap.c:256:1: warning: old-style function definition [-Wold-style-definition]
256 | fibheap_replace_data (heap, node, data)
| ^~~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_replace_keyâ:
../../libiberty/fibheap.c:266:1: warning: old-style function definition [-Wold-style-definition]
266 | fibheap_replace_key (heap, node, key)
| ^~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_delete_nodeâ:
../../libiberty/fibheap.c:278:1: warning: old-style function definition [-Wold-style-definition]
278 | fibheap_delete_node (heap, node)
| ^~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_deleteâ:
../../libiberty/fibheap.c:293:1: warning: old-style function definition [-Wold-style-definition]
293 | fibheap_delete (heap)
| ^~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_emptyâ:
../../libiberty/fibheap.c:304:1: warning: old-style function definition [-Wold-style-definition]
304 | fibheap_empty (heap)
| ^~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_extr_min_nodeâ:
../../libiberty/fibheap.c:312:1: warning: old-style function definition [-Wold-style-definition]
312 | fibheap_extr_min_node (heap)
| ^~~~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_ins_rootâ:
../../libiberty/fibheap.c:349:1: warning: old-style function definition [-Wold-style-definition]
349 | fibheap_ins_root (heap, node)
| ^~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_rem_rootâ:
../../libiberty/fibheap.c:370:1: warning: old-style function definition [-Wold-style-definition]
370 | fibheap_rem_root (heap, node)
| ^~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_consolidateâ:
../../libiberty/fibheap.c:382:1: warning: old-style function definition [-Wold-style-definition]
382 | fibheap_consolidate (heap)
| ^~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_linkâ:
../../libiberty/fibheap.c:430:1: warning: old-style function definition [-Wold-style-definition]
430 | fibheap_link (heap, node, parent)
| ^~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_cutâ:
../../libiberty/fibheap.c:446:1: warning: old-style function definition [-Wold-style-definition]
446 | fibheap_cut (heap, node, parent)
| ^~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibheap_cascading_cutâ:
../../libiberty/fibheap.c:459:1: warning: old-style function definition [-Wold-style-definition]
459 | fibheap_cascading_cut (heap, y)
| ^~~~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibnode_insert_afterâ:
../../libiberty/fibheap.c:481:1: warning: old-style function definition [-Wold-style-definition]
481 | fibnode_insert_after (a, b)
| ^~~~~~~~~~~~~~~~~~~~
../../libiberty/fibheap.c: In function âfibnode_removeâ:
../../libiberty/fibheap.c:502:1: warning: old-style function definition [-Wold-style-definition]
502 | fibnode_remove (node)
| ^~~~~~~~~~~~~~
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/floatformat.c -o pic/floatformat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/floatformat.c -o floatformat.o
../../libiberty/floatformat.c: In function âfloatformat_always_validâ:
../../libiberty/floatformat.c:68:1: warning: old-style function definition [-Wold-style-definition]
68 | floatformat_always_valid (fmt, from)
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../libiberty/floatformat.c: In function âfloatformat_i387_ext_is_validâ:
../../libiberty/floatformat.c:124:1: warning: old-style function definition [-Wold-style-definition]
124 | floatformat_i387_ext_is_valid (fmt, from)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../libiberty/floatformat.c: In function âget_fieldâ:
../../libiberty/floatformat.c:233:1: warning: old-style function definition [-Wold-style-definition]
233 | get_field (data, order, total_len, start, len)
| ^~~~~~~~~
../../libiberty/floatformat.c: In function âfloatformat_to_doubleâ:
../../libiberty/floatformat.c:286:1: warning: old-style function definition [-Wold-style-definition]
286 | floatformat_to_double (fmt, from, to)
| ^~~~~~~~~~~~~~~~~~~~~
../../libiberty/floatformat.c: In function âput_fieldâ:
../../libiberty/floatformat.c:403:1: warning: old-style function definition [-Wold-style-definition]
403 | put_field (data, order, total_len, start, len, stuff_to_put)
| ^~~~~~~~~
../../libiberty/floatformat.c: In function âfloatformat_from_doubleâ:
../../libiberty/floatformat.c:456:1: warning: old-style function definition [-Wold-style-definition]
456 | floatformat_from_double (fmt, from, to)
| ^~~~~~~~~~~~~~~~~~~~~~~
../../libiberty/floatformat.c: In function âfloatformat_is_validâ:
../../libiberty/floatformat.c:554:1: warning: old-style function definition [-Wold-style-definition]
554 | floatformat_is_valid (fmt, from)
| ^~~~~~~~~~~~~~~~~~~~
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fnmatch.c -o pic/fnmatch.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/fnmatch.c -o fnmatch.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/getopt.c -o pic/getopt.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/getopt.c -o getopt.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/getopt1.c -o pic/getopt1.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/getopt1.c -o getopt1.o
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/getpwd.c -o pic/getpwd.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_FORTIFY_SOURCE=2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/getpwd.c -o getpwd.o
../../libiberty/getpwd.c:41:14: error: conflicting types for âgetwdâ; have âchar *(void)â
41 | extern char *getwd ();
| ^~~~~
In file included from /usr/include/features.h:523,
from /usr/include/x86_64-linux-gnu/sys/types.h:25,
from ../../libiberty/getpwd.c:19:
/usr/include/x86_64-linux-gnu/bits/unistd.h:124:1: note: previous definition of âgetwdâ with type âchar *(char *)â
124 | __NTH (getwd (__fortify_clang_overload_arg (char *,, __buf)))
| ^~~~~
make[3]: *** [Makefile:126: getpwd.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/libiberty'
make[2]: *** [Makefile:19944: all-libiberty] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j1 returned exit code 2
make[1]: *** [debian/rules:48: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:26: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
More information about the Debian-lego-team
mailing list