Your message dated Thu, 07 Jan 2021 14:29:17 +0000
with message-id <[email protected]>
and subject line Bug#976944: fixed in rapidjson 1.1.0+dfsg2-7
has caused the Debian Bug report #976944,
regarding rapidjson: FTBFS on ppc64el (arch:all-only src pkg): c++: error:
unrecognized command-line option ‘-march=native’; did you mean ‘-mcpu=native’?
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
976944: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976944
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Source: rapidjson
Source-Version: 1.1.0+dfsg2-7
Done: Alexander GQ Gerasiov <[email protected]>
We believe that the bug you reported is fixed in the latest version of
rapidjson, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Alexander GQ Gerasiov <[email protected]> (supplier of updated rapidjson package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 07 Jan 2021 16:45:27 +0300
Source: rapidjson
Architecture: source
Version: 1.1.0+dfsg2-7
Distribution: unstable
Urgency: medium
Maintainer: Alexander GQ Gerasiov <[email protected]>
Changed-By: Alexander GQ Gerasiov <[email protected]>
Closes: 976536 976944
Changes:
rapidjson (1.1.0+dfsg2-7) unstable; urgency=medium
.
* Do not use -arch=native on ppc64 and cross-compilation:
Add 0001-support-IBM-PowerPC-ppc64-ppc64le-and-XL-compiler.patch and
0001-CMake-do-not-pass-march-native-or-mcpu-native-when-c.patch
(Closes: #976944).
* Add deal-with-Werror-type-limits.patch:
Disable -Werror=type-limits on archs other then amd64. (Closes: #976536)
Checksums-Sha1:
0e8cf5109eb13133bad11c45a76a6ec50d12e1ac 1667 rapidjson_1.1.0+dfsg2-7.dsc
e47525454271c119a8e2609c553fcb2eb6a0f49f 10800
rapidjson_1.1.0+dfsg2-7.debian.tar.xz
dafb592c8a347c4e44ef57c8baf6b554df534f36 6943
rapidjson_1.1.0+dfsg2-7_source.buildinfo
Checksums-Sha256:
65360be47c563d7d42f75d06efb8195f79911679f0a1ce7bf5e0800761fa4363 1667
rapidjson_1.1.0+dfsg2-7.dsc
05746455d58d48433b83f880173ea90ecfb0b8fb0f2d47db079f33d751e89bcf 10800
rapidjson_1.1.0+dfsg2-7.debian.tar.xz
eb3892aa7148ecb5f0bd3733c3b105c29fc2627d4a676826913e3c2327359af5 6943
rapidjson_1.1.0+dfsg2-7_source.buildinfo
Files:
3e05fefc45868cb2798e0e81b3216cfb 1667 libs optional rapidjson_1.1.0+dfsg2-7.dsc
7931e9131bfb64697fe5bc6293446685 10800 libs optional
rapidjson_1.1.0+dfsg2-7.debian.tar.xz
3cd4ef496797c2ff816c55bb5265ef9e 6943 libs optional
rapidjson_1.1.0+dfsg2-7_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFCBAEBCgAsFiEEBLWdkN98wqvNSbrqyofp6CqsM/EFAl/3EQcOHGdxQGRlYmlh
bi5vcmcACgkQyofp6CqsM/FTuwf/fCPgByfiZykbhs+NKCVGTwYwuBeQIl3v+V86
81MwUdG8PuX/YTlyWvIFr0aMHDmy3ix+C/ecKNGxf8wZleaer6Ev5h6RxsIQV9Nr
UxI5DNSBkAwfWVGNfJwvm99SRgQSGGIvu4e7jILg+4wphJqGV6vsXl9QE6MdewoW
q71RGdpGSFg9UlFrcV3lldXj6dUXAlTYUbq2Buax48zAO1zXkiQyvQ1YizcF4s2h
IFhswZ+L7Iz/VrARJT9bjqwAfpCSGGs0++2+L2fOyF7+LF1lplYBLWWOnEzS/fBO
31wSb7lZue+/PMrSsWXrjNSAAvDGw/RsrlsmBIJqINxEQhfhtQ==
=G8/j
-----END PGP SIGNATURE-----
--- End Message ---