Source: rapidjson
Version: 1.1.0+dfsg2-6
Severity: serious
Justification: FTBFS on ppc64el
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201209 ftbfs-bullseye ftbfs-ppc64el

Hi,

During a rebuild of all packages in sid, your package failed to build
on ppc64el. At the same time, it did not fail on amd64.

I'm marking this bug as severity:serious since your package has only
Architecture:all binary packages, and should thus, in theory, build
everywhere. Failure to build on ppc64el might indicate a serious issue
in this package or in another package.

But feel free to downgrade or close if you believe that this is only a
build-time issue. (I would personnally prefer a severity:minor bug just to
track that the package can only be built on specific architectures.)

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu'
> [ 20%] Building CXX object example/CMakeFiles/pretty.dir/pretty/pretty.cpp.o
> cd /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/example && /usr/bin/c++ 
> -D__STDC_FORMAT_MACROS -I/<<PKGBUILDDIR>>/include 
> -I/<<PKGBUILDDIR>>/example/../include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wall 
> -Wextra -Werror -std=c++11 -pthread -Werror -Wall -Wextra -Weffc++ 
> -Wswitch-default -o CMakeFiles/pretty.dir/pretty/pretty.cpp.o -c 
> /<<PKGBUILDDIR>>/example/pretty/pretty.cpp
> [ 22%] Building CXX object 
> example/CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o
> cd /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/example && /usr/bin/c++ 
> -D__STDC_FORMAT_MACROS -I/<<PKGBUILDDIR>>/include 
> -I/<<PKGBUILDDIR>>/example/../include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wall 
> -Wextra -Werror -std=c++11 -pthread -Werror -Wall -Wextra -Weffc++ 
> -Wswitch-default -o CMakeFiles/tutorial.dir/tutorial/tutorial.cpp.o -c 
> /<<PKGBUILDDIR>>/example/tutorial/tutorial.cpp
> [ 23%] Building CXX object 
> example/CMakeFiles/schemavalidator.dir/schemavalidator/schemavalidator.cpp.o
> cd /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/example && /usr/bin/c++ 
> -D__STDC_FORMAT_MACROS -I/<<PKGBUILDDIR>>/include 
> -I/<<PKGBUILDDIR>>/example/../include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wall 
> -Wextra -Werror -std=c++11 -pthread -Werror -Wall -Wextra -Weffc++ 
> -Wswitch-default -o 
> CMakeFiles/schemavalidator.dir/schemavalidator/schemavalidator.cpp.o -c 
> /<<PKGBUILDDIR>>/example/schemavalidator/schemavalidator.cpp
> [ 25%] Building CXX object 
> test/unittest/CMakeFiles/namespacetest.dir/namespacetest.cpp.o
> c++: error: unrecognized command-line option ‘-march=native’; did you mean 
> ‘-mcpu=native’?
> cd /<<PKGBUILDDIR>>/obj-powerpc64le-linux-gnu/test/unittest && /usr/bin/c++  
> -I/<<PKGBUILDDIR>>/include -isystem /usr/src/gtest/include -g -O2 
> -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -march=native -Wall 
> -Wextra -Werror -std=c++11 -Werror -Wall -Wextra -Weffc++ -Wswitch-default 
> -Wfloat-equal -DRAPIDJSON_HAS_STDSTRING=1 -o 
> CMakeFiles/namespacetest.dir/namespacetest.cpp.o -c 
> /<<PKGBUILDDIR>>/test/unittest/namespacetest.cpp
> c++: error: unrecognized command-line option ‘-march=native’; did you mean 
> ‘-mcpu=native’?
> make[3]: *** [example/CMakeFiles/simplereader.dir/build.make:85: 
> example/CMakeFiles/simplereader.dir/simplereader/simplereader.cpp.o] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/09/rapidjson_1.1.0+dfsg2-6_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!

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 me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on a Power8 cluster part of the
Grid'5000 testbed. Hardware specs: 
https://www.grid5000.fr/w/Grenoble:Hardware#drac

Reply via email to