"Argument unused caused failure" build failure(s)
clang 5.0
Unknown or unused arguments triggers errors with -Werror:
clang -Werror -ggdb3 foo.c
Package | Version | Supposed error message | Full log |
Bug report |
librdkafka | 0.11.0-1 | DBG: compile check for PIC (HAVE_PIC) failed: gcc -g -O2 -fdebug-prefix-map=/<>=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include -g -O2 -Wall -Werror _mkltmpqCDafG.c -o _mkltmpqCDafG.c.o -specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -fPIC: clang: error: argument unused during compilation: '-specs=/usr/share/dpkg/no-pie-compile.specs' [-Werror,-Wunused-command-line-argument]
| Log |
|
python-pyxattr | 0.6.0-2 | clang: error: argument unused during compilation: '-specs=/usr/share/dpkg/no-pie-compile.specs' [-Werror,-Wunused-command-line-argument]
| Log |
|
2 errors