rapidjson-1.1.0-1.949c771.drv failed (⇒ py-pyqt, sane-backends, and wine fail)

  • Done
  • quality assurance status badge
Details
2 participants
  • Andreas Enge
  • Dr. Arne Babenhauserheide
Owner
unassigned
Submitted by
Dr. Arne Babenhauserheide
Severity
normal

Debbugs page

D
D
Dr. Arne Babenhauserheide wrote on 12 Aug 00:49 -0700
(address . bug-guix@gnu.org)
87qzxhnfnp.fsf@web.de
Hi,

rapidjson can’t be built on my system: I get a build error during
update. This prevents building py-pyqt, sane-backends, and wine.

Error 1:
cc1plus: all warnings being treated as errors
make[2]: *** [test/unittest/CMakeFiles/unittest.dir/build.make:264: test/unittest/CMakeFiles/unittest.dir/pointertest.cpp.o] Error 1

End of the log (complete log attached):

In member function ‘rapidjson::GenericPointer<ValueType, Allocator>::Ch* rapidjson::GenericPointer<ValueType, Allocator>::CopyFromRaw(const rapidjson::GenericPointer<ValueType, Allocator>&, std::size_t, std::size_t) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’,
inlined from ‘rapidjson::GenericPointer<ValueType, Allocator>& rapidjson::GenericPointer<ValueType, Allocator>::operator=(const rapidjson::GenericPointer<ValueType, Allocator>&) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:185:28,
inlined from ‘rapidjson::GenericPointer<ValueType, Allocator>& rapidjson::GenericPointer<ValueType, Allocator>::operator=(const rapidjson::GenericPointer<ValueType, Allocator>&) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:174:21,
inlined from ‘virtual void Pointer_Append_Test::TestBody()’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/test/unittest/pointertest.cpp:572:26:
/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:890:24: error: ‘void* memcpy(void*, const void*, size_t)’ specified bound 4294967272 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=]
890 | std::memcpy(nameBuffer_, rhs.nameBuffer_, nameBufferSize * sizeof(Ch));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘rapidjson::GenericPointer<ValueType, Allocator>::Ch* rapidjson::GenericPointer<ValueType, Allocator>::CopyFromRaw(const rapidjson::GenericPointer<ValueType, Allocator>&, std::size_t, std::size_t) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’,
inlined from ‘rapidjson::GenericPointer<ValueType, Allocator>& rapidjson::GenericPointer<ValueType, Allocator>::operator=(const rapidjson::GenericPointer<ValueType, Allocator>&) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:185:28,
inlined from ‘rapidjson::GenericPointer<ValueType, Allocator>& rapidjson::GenericPointer<ValueType, Allocator>::operator=(const rapidjson::GenericPointer<ValueType, Allocator>&) [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:174:21,
inlined from ‘virtual void Pointer_Append_Test::TestBody()’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/test/unittest/pointertest.cpp:582:40:
/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:890:24: error: ‘void* memcpy(void*, const void*, size_t)’ specified bound 4294967272 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=]
890 | std::memcpy(nameBuffer_, rhs.nameBuffer_, nameBufferSize * sizeof(Ch));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In member function ‘rapidjson::GenericPointer<ValueType, Allocator> rapidjson::GenericPointer<ValueType, Allocator>::Append(const Token&, Allocator*) const [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’,
inlined from ‘rapidjson::GenericPointer<ValueType, Allocator> rapidjson::GenericPointer<ValueType, Allocator>::Append(const Ch*, rapidjson::SizeType, Allocator*) const [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:255:39,
inlined from ‘rapidjson::GenericPointer<ValueType, Allocator> rapidjson::GenericPointer<ValueType, Allocator>::Append(const std::__cxx11::basic_string<typename ValueType::Ch>&, Allocator*) const [with ValueType = rapidjson::GenericValue<rapidjson::UTF8<> >; Allocator = rapidjson::CrtAllocator]’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:278:82,
inlined from ‘virtual void Pointer_Append_Test::TestBody()’ at /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/test/unittest/pointertest.cpp:591:48:
/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include/rapidjson/pointer.h:239:20: error: ‘void* memcpy(void*, const void*, size_t)’ specified bound 4294967284 exceeds maximum object size 2147483647 [-Werror=stringop-overflow=]
239 | std::memcpy(p, token.name, (token.length + 1) * sizeof(Ch));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 86%] Building CXX object test/unittest/CMakeFiles/unittest.dir/regextest.cpp.o
cd /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/build/test/unittest && /gnu/store/q1zwahf2sbc299rn1jn4qd2rm9dffmvn-gcc-14.3.0/bin/c++ -I/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include -Wno-free-nonheap-object -Wall -Wextra -Werror -DRAPIDJSON_HAS_STDSTRING=1 -O2 -g -DNDEBUG -std=gnu++11 -fdiagnostics-color=always -Weffc++ -Wswitch-default -Wfloat-equal -Wconversion -Wsign-conversion -MD -MT test/unittest/CMakeFiles/unittest.dir/regextest.cpp.o -MF CMakeFiles/unittest.dir/regextest.cpp.o.d -o CMakeFiles/unittest.dir/regextest.cpp.o -c /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/test/unittest/regextest.cpp
[ 88%] Building CXX object test/unittest/CMakeFiles/unittest.dir/schematest.cpp.o
cd /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/build/test/unittest && /gnu/store/q1zwahf2sbc299rn1jn4qd2rm9dffmvn-gcc-14.3.0/bin/c++ -I/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include -Wno-free-nonheap-object -Wall -Wextra -Werror -DRAPIDJSON_HAS_STDSTRING=1 -O2 -g -DNDEBUG -std=gnu++11 -fdiagnostics-color=always -Weffc++ -Wswitch-default -Wfloat-equal -Wconversion -Wsign-conversion -MD -MT test/unittest/CMakeFiles/unittest.dir/schematest.cpp.o -MF CMakeFiles/unittest.dir/schematest.cpp.o.d -o CMakeFiles/unittest.dir/schematest.cpp.o -c /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/test/unittest/schematest.cpp
[ 89%] Building CXX object test/unittest/CMakeFiles/unittest.dir/simdtest.cpp.o
cd /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/build/test/unittest && /gnu/store/q1zwahf2sbc299rn1jn4qd2rm9dffmvn-gcc-14.3.0/bin/c++ -I/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/include -Wno-free-nonheap-object -Wall -Wextra -Werror -DRAPIDJSON_HAS_STDSTRING=1 -O2 -g -DNDEBUG -std=gnu++11 -fdiagnostics-color=always -Weffc++ -Wswitch-default -Wfloat-equal -Wconversion -Wsign-conversion -MD -MT test/unittest/CMakeFiles/unittest.dir/simdtest.cpp.o -MF CMakeFiles/unittest.dir/simdtest.cpp.o.d -o CMakeFiles/unittest.dir/simdtest.cpp.o -c /tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/source/test/unittest/simdtest.cpp
cc1plus: all warnings being treated as errors
make[2]: *** [test/unittest/CMakeFiles/unittest.dir/build.make:264: test/unittest/CMakeFiles/unittest.dir/pointertest.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:1989: test/unittest/CMakeFiles/unittest.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-rapidjson-1.1.0-1.949c771.drv-0/build'
make: *** [Makefile:149: all] Error 2

error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "cmake" arguments: ("--build" "." "-j" "4" "--" "-l" "32") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 67.3 seconds
command "cmake" "--build" "." "-j" "4" "--" "-l" "32" failed with status 2
build process 18 exited with status 256
Best wishes,
Arne

PS: you can use ansi-color-apply-on-region from the Emacs ansi-color
package to make the log easier to read (need to disable
read-only-mode first).
--
Unpolitisch sein
heißt politisch sein,
ohne es zu merken.
draketo.de
-----BEGIN PGP SIGNATURE-----

iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmia8fsQHGFybmVfYmFi
QHdlYi5kZQAKCRAT741FJAPD61qnD/sES3ah/Lpg4LQTsyEKCflIRmq9gwIBxMUf
OUvL1h35iOP8ZC5BGrn2mQwTv65lKlt+Wd2JICyFOl2aFzGJKn2zWg05msPm/fTd
4WEA2DLJpVgKOmtC0ZJmKhOnszh1n0qawc1HJmbQrw2AjTn3ilm5R2AgXcinsY2K
Up1FY8lKECBjG/rjbUTymx2ys7P/6jfKyuoFsKVIvEGiY9+Ry+95PP9oaWlkJ9cq
ymexsHSfntHcVJX5/s6Ctk+9hO7o1Nas/HmHA2ZP1s2Le2CM4rEgzB5Hjxn5Cihh
3AwRmuSpI8JBMIEmplsb8LupXd41s956mQTBrdt30G/4LbIHzsX2byrAqF/t92+D
AaJHA9wfqJcI2nbYiCT2fvm3qIkczsEaMR15IQerk5k34Cy8pkkV+b1rLlL1C1oI
2KA5AuJgbPtKkS2o8SVnTEQtw9myk73gUat7ub+AGVtG4tUHxLvYkGLuz+C4AblT
pheAaXY1+9uBsSuSqBn1YXCwkg27WjFBkZdBYVmc9j+BWgWch9fxKC3F2tfkWxM7
yb4COuTaKhk4zSwR2njsO0DnVg+8PyBP6MT5/wwpO3OrYqesfNNyIhp6XzshPM9Z
ORLd56w6z32XzkVBspoWiuBl50UUyoALxa1pK8QMk3aocXRjUGEemvVAzC7j0hVM
oJmu1MdJqIjEBAEBCAAuFiEE3Si95tmHXKvOSosd3M8NswvBBUgFAmia8f8QHGFy
bmVfYmFiQHdlYi5kZQAKCRDczw2zC8EFSDoyA/0dw3tbuvDw9nu0c+MvNZTdqR1s
jOblaBGiEvDc7YgQRowhvZNxBexqo+ggJjvPDg/GgZOrQx/+wHpG8Yg56Zm0sIEV
fQXu3lNk8U38i4sDOGJDSFGePla5KcdalNBtVoG50HLcqZrJbPkMl6xI73+Q2Lj9
leVnW6D5Uh3ODjYRGA==
=dfBM
-----END PGP SIGNATURE-----

A
A
Andreas Enge wrote on 13 Aug 09:10 -0700
Re: rapidjson-1.1.0-1.949c 771.drv failed ( ⇒ py-pyqt, sane-backends, and wine fail)
(name . Dr. Arne Babenhauserheide)(address . arne_bab@web.de)(address . 79223-done@debbugs.gnu.org)
aJy4_rOO9ieYrkUy@jurong
Hello,

this is the same as
since wine even on x86_64 uses the i686 flavour of rapidjson.

Closing here.

Andreas
Closed
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 79223@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 79223
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch