[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1020048: vamp-plugin-sdk: FTBFS: gcc: error: unrecognized command-line option '-V'



Source: vamp-plugin-sdk
Version: 2.10.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20220917 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc version 12.2.0 (Debian 12.2.0-2) 
> ... rest of stderr output deleted ...
> configure:3634: $? = 0
> configure:3623: gcc -V >&5
> gcc: error: unrecognized command-line option '-V'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3634: $? = 1
> configure:3623: gcc -qversion >&5
> gcc: error: unrecognized command-line option '-qversion'; did you mean '--version'?
> gcc: fatal error: no input files
> compilation terminated.
> configure:3634: $? = 1
> configure:3623: gcc -version >&5
> gcc: error: unrecognized command-line option '-version'
> gcc: fatal error: no input files
> compilation terminated.
> configure:3634: $? = 1
> configure:3638: checking whether the compiler supports GNU C
> configure:3658: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3658: $? = 0
> configure:3668: result: yes
> configure:3679: checking whether gcc accepts -g
> configure:3700: gcc -c -g -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3700: $? = 0
> configure:3744: result: yes
> configure:3764: checking for gcc option to enable C11 features
> configure:3779: gcc  -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3779: $? = 0
> configure:3797: result: none needed
> configure:3912: checking for stdio.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for stdlib.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for string.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for inttypes.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for stdint.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for strings.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for sys/stat.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for sys/types.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3912: checking for unistd.h
> configure:3912: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:3912: $? = 0
> configure:3912: result: yes
> configure:3937: checking for grep that handles long lines and -e
> configure:4001: result: /bin/grep
> configure:4009: checking for egrep
> configure:4077: result: /bin/grep -E
> configure:4083: checking whether byte ordering is bigendian
> configure:4099: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> conftest.c:20:16: error: unknown type name 'not'
>    20 |                not a universal capable compiler
>       |                ^~~
> conftest.c:20:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'universal'
>    20 |                not a universal capable compiler
>       |                      ^~~~~~~~~
> conftest.c:20:22: error: unknown type name 'universal'
> configure:4099: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "vamp-plugin-sdk"
> | #define PACKAGE_TARNAME "vamp-plugin-sdk"
> | #define PACKAGE_VERSION "2.10"
> | #define PACKAGE_STRING "vamp-plugin-sdk 2.10"
> | #define PACKAGE_BUGREPORT "cannam@all-day-breakfast.com"
> | #define PACKAGE_URL ""
> | #define HAVE_STDIO_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_UNISTD_H 1
> | #define STDC_HEADERS 1
> | /* end confdefs.h.  */
> | #ifndef __APPLE_CC__
> | 	       not a universal capable compiler
> | 	     #endif
> | 	     typedef int dummy;
> | 
> configure:4145: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> configure:4145: $? = 0
> configure:4164: gcc -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.c >&5
> conftest.c: In function 'main':
> conftest.c:26:18: error: unknown type name 'not'; did you mean 'ino_t'?
>    26 |                  not big endian
>       |                  ^~~
>       |                  ino_t
> conftest.c:26:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'endian'
>    26 |                  not big endian
>       |                          ^~~~~~
> configure:4164: $? = 1
> configure: failed program was:
> | /* confdefs.h */
> | #define PACKAGE_NAME "vamp-plugin-sdk"
> | #define PACKAGE_TARNAME "vamp-plugin-sdk"
> | #define PACKAGE_VERSION "2.10"
> | #define PACKAGE_STRING "vamp-plugin-sdk 2.10"
> | #define PACKAGE_BUGREPORT "cannam@all-day-breakfast.com"
> | #define PACKAGE_URL ""
> | #define HAVE_STDIO_H 1
> | #define HAVE_STDLIB_H 1
> | #define HAVE_STRING_H 1
> | #define HAVE_INTTYPES_H 1
> | #define HAVE_STDINT_H 1
> | #define HAVE_STRINGS_H 1
> | #define HAVE_SYS_STAT_H 1
> | #define HAVE_SYS_TYPES_H 1
> | #define HAVE_UNISTD_H 1
> | #define STDC_HEADERS 1
> | /* end confdefs.h.  */
> | #include <sys/types.h>
> | 		#include <sys/param.h>
> | 
> | int
> | main (void)
> | {
> | #if BYTE_ORDER != BIG_ENDIAN
> | 		 not big endian
> | 		#endif
> | 
> |   ;
> |   return 0;
> | }
> configure:4298: result: no
> configure:4326: checking whether g++ supports C++11 features by default
> configure:4361: g++ -c -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 conftest.cpp >&5
> configure:4361: $? = 0
> configure:4369: result: yes
> configure:4468: checking for library containing dlopen
> configure:4498: gcc -o conftest -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now conftest.c  >&5
> configure:4498: $? = 0
> configure:4518: result: none required
> 
> ## ---------------- ##
> ## Cache variables. ##
> ## ---------------- ##
> 
> ac_cv_c_bigendian=no
> ac_cv_c_compiler_gnu=yes
> ac_cv_cxx_compiler_gnu=yes
> ac_cv_env_CCC_set=
> ac_cv_env_CCC_value=
> ac_cv_env_CC_set=
> ac_cv_env_CC_value=
> ac_cv_env_CFLAGS_set=set
> ac_cv_env_CFLAGS_value='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> ac_cv_env_CPPFLAGS_set=set
> ac_cv_env_CPPFLAGS_value='-Wdate-time -D_FORTIFY_SOURCE=2'
> ac_cv_env_CXXFLAGS_set=set
> ac_cv_env_CXXFLAGS_value='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> ac_cv_env_CXX_set=
> ac_cv_env_CXX_value=
> ac_cv_env_LDFLAGS_set=set
> ac_cv_env_LDFLAGS_value='-Wl,-z,relro -Wl,-z,now'
> ac_cv_env_LIBS_set=
> ac_cv_env_LIBS_value=
> ac_cv_env_build_alias_set=set
> ac_cv_env_build_alias_value=x86_64-linux-gnu
> ac_cv_env_host_alias_set=
> ac_cv_env_host_alias_value=
> ac_cv_env_target_alias_set=
> ac_cv_env_target_alias_value=
> ac_cv_header_inttypes_h=yes
> ac_cv_header_stdint_h=yes
> ac_cv_header_stdio_h=yes
> ac_cv_header_stdlib_h=yes
> ac_cv_header_string_h=yes
> ac_cv_header_strings_h=yes
> ac_cv_header_sys_stat_h=yes
> ac_cv_header_sys_types_h=yes
> ac_cv_header_unistd_h=yes
> ac_cv_objext=o
> ac_cv_path_EGREP='/bin/grep -E'
> ac_cv_path_GREP=/bin/grep
> ac_cv_prog_ac_ct_CC=gcc
> ac_cv_prog_ac_ct_CXX=g++
> ac_cv_prog_cc_c11=
> ac_cv_prog_cc_g=yes
> ac_cv_prog_cc_stdc=
> ac_cv_prog_cxx_11=no
> ac_cv_prog_cxx_cxx11=
> ac_cv_prog_cxx_g=yes
> ac_cv_prog_cxx_stdcxx=
> ac_cv_search_dlopen='none required'
> ax_cv_cxx_compile_cxx11=yes
> 
> ## ----------------- ##
> ## Output variables. ##
> ## ----------------- ##
> 
> CC='gcc'
> CFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> CPPFLAGS='-Wdate-time -D_FORTIFY_SOURCE=2'
> CXX='g++'
> CXXFLAGS='-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security'
> DEFS=''
> ECHO_C=''
> ECHO_N='-n'
> ECHO_T=''
> EGREP='/bin/grep -E'
> EXEEXT=''
> GREP='/bin/grep'
> HAVE_CXX11=''
> LDFLAGS='-Wl,-z,relro -Wl,-z,now'
> LIBOBJS=''
> LIBS=''
> LTLIBOBJS=''
> OBJEXT='o'
> PACKAGE_BUGREPORT='cannam@all-day-breakfast.com'
> PACKAGE_NAME='vamp-plugin-sdk'
> PACKAGE_STRING='vamp-plugin-sdk 2.10'
> PACKAGE_TARNAME='vamp-plugin-sdk'
> PACKAGE_URL=''
> PACKAGE_VERSION='2.10'
> PATH_SEPARATOR=':'
> SHELL='/bin/bash'
> SNDFILE_CFLAGS=''
> SNDFILE_LIBS=''
> TARGETS=''
> ac_ct_CC='gcc'
> ac_ct_CXX='g++'
> bindir='${exec_prefix}/bin'
> build_alias='x86_64-linux-gnu'
> datadir='${datarootdir}'
> datarootdir='${prefix}/share'
> docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
> dvidir='${docdir}'
> exec_prefix='NONE'
> host_alias=''
> htmldir='${docdir}'
> includedir='${prefix}/include'
> infodir='${prefix}/share/info'
> libdir='${prefix}/lib/x86_64-linux-gnu'
> libexecdir='${exec_prefix}/libexec'
> localedir='${datarootdir}/locale'
> localstatedir='/var'
> mandir='${prefix}/share/man'
> oldincludedir='/usr/include'
> pdfdir='${docdir}'
> prefix='/usr'
> program_transform_name='s,x,x,'
> psdir='${docdir}'
> runstatedir='/run'
> sbindir='${exec_prefix}/sbin'
> sharedstatedir='${prefix}/com'
> sysconfdir='/etc'
> target_alias=''
> 
> ## ----------- ##
> ## confdefs.h. ##
> ## ----------- ##
> 
> /* confdefs.h */
> #define PACKAGE_NAME "vamp-plugin-sdk"
> #define PACKAGE_TARNAME "vamp-plugin-sdk"
> #define PACKAGE_VERSION "2.10"
> #define PACKAGE_STRING "vamp-plugin-sdk 2.10"
> #define PACKAGE_BUGREPORT "cannam@all-day-breakfast.com"
> #define PACKAGE_URL ""
> #define HAVE_STDIO_H 1
> #define HAVE_STDLIB_H 1
> #define HAVE_STRING_H 1
> #define HAVE_INTTYPES_H 1
> #define HAVE_STDINT_H 1
> #define HAVE_STRINGS_H 1
> #define HAVE_SYS_STAT_H 1
> #define HAVE_SYS_TYPES_H 1
> #define HAVE_UNISTD_H 1
> #define STDC_HEADERS 1
> 
> configure: exit 2
> dh_auto_configure: error: ./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking returned exit code 2
> make: *** [debian/rules:12: binary] Error 25


The full build log is available from:
http://qa-logs.debian.net/2022/09/17/vamp-plugin-sdk_2.10.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220917;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220917&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.


Reply to: