Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1020277

Bug#966900: range-v3: FTBFS: cc1plus: error: command-line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.dist
Subject Bug#966900: range-v3: FTBFS: cc1plus: error: command-line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
Date 2020-08-03 10:30 +0200
Message-ID <AzE15-Du-35@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: range-v3
Version: 0.10.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200802 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -pedantic -pedantic-errors -Wno-padded -Wno-missing-prototypes -Wno-old-style-cast -Wno-noexcept-type -o CMakeFiles/bug1335.dir/bug1335.cpp.o -c /<<PKGBUILDDIR>>/test/bug1335.cpp
> cc1plus: error: command-line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
> [  0%] Building CXX object test/CMakeFiles/bug566.dir/bug566.cpp.o
> [  1%] Building CXX object test/CMakeFiles/bug474.dir/bug474.cpp.o
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -pedantic -pedantic-errors -Wno-padded -Wno-missing-prototypes -Wno-old-style-cast -Wno-noexcept-type -o CMakeFiles/bug566.dir/bug566.cpp.o -c /<<PKGBUILDDIR>>/test/bug566.cpp
> cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -pedantic -pedantic-errors -Wno-padded -Wno-missing-prototypes -Wno-old-style-cast -Wno-noexcept-type -o CMakeFiles/bug474.dir/bug474.cpp.o -c /<<PKGBUILDDIR>>/test/bug474.cpp
> cc1plus: error: command-line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
> cc1plus: error: command-line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ [-Werror]
> Scanning dependencies of target test.range.v3.headers
> make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> make -f CMakeFiles/test.range.v3.headers.dir/build.make CMakeFiles/test.range.v3.headers.dir/build
> make[4]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
> [  1%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/concepts/concepts.cpp.o
> /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -o CMakeFiles/test.range.v3.headers.dir/headers/concepts/concepts.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/headers/concepts/concepts.cpp
> [  1%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/concepts/swap.cpp.o
> /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -o CMakeFiles/test.range.v3.headers.dir/headers/concepts/swap.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/headers/concepts/swap.cpp
> [  1%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/concepts/type_traits.cpp.o
> /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -o CMakeFiles/test.range.v3.headers.dir/headers/concepts/type_traits.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/headers/concepts/type_traits.cpp
> [  2%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/meta/meta.cpp.o
> /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -o CMakeFiles/test.range.v3.headers.dir/headers/meta/meta.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/headers/meta/meta.cpp
> [  2%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/meta/meta_fwd.cpp.o
> /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -o CMakeFiles/test.range.v3.headers.dir/headers/meta/meta_fwd.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/headers/meta/meta_fwd.cpp
> [  2%] Building CXX object CMakeFiles/test.range.v3.headers.dir/headers/range/v3/action.cpp.o
> /usr/bin/c++   -I/<<PKGBUILDDIR>>/include  -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O3 -DNDEBUG   -std=c++14 -Wall -Wextra -Werror -fdiagnostics-show-template-tree -ftemplate-backtrace-limit=0 -fomit-frame-pointer -Ofast -fstrict-aliasing -ffast-math -fsized-deallocation -DRANGES_CXX_ALIGNED_NEW=0 -o CMakeFiles/test.range.v3.headers.dir/headers/range/v3/action.cpp.o -c /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/headers/range/v3/action.cpp
> cc1plus: all warnings being treated as errors
> make[4]: *** [test/CMakeFiles/bug1335.dir/build.make:66: test/CMakeFiles/bug1335.dir/bug1335.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/08/02/range-v3_0.10.0-1_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#966900: range-v3: FTBFS: cc1plus: error: command-line option ‘-Wno-missing-prototypes’ is valid for C/ObjC but not for C++ [-Werror] Lucas Nussbaum <lucas@debian.org> - 2020-08-03 10:30 +0200

csiph-web