GNU bug report logs - #79223
rapidjson-1.1.0-1.949c771.drv failed (⇒ py-pyqt, sane-backends, and wine fail)

Previous Next

Package: guix;

Reported by: arne_bab <at> web.de

Date: Tue, 12 Aug 2025 07:50:02 UTC

Severity: normal

Done: Andreas Enge <andreas <at> enge.fr>

To reply to this bug, email your comments to 79223 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#79223; Package guix. (Tue, 12 Aug 2025 07:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to arne_bab <at> web.de:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 12 Aug 2025 07:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
To: bug-guix <at> gnu.org
Subject: rapidjson-1.1.0-1.949c771.drv failed (⇒
 py-pyqt, sane-backends, and wine fail)
Date: Tue, 12 Aug 2025 09:49:14 +0200
[Message part 1 (text/plain, inline)]
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

[332fxyascdxwr6lj9nbqx7l4gmf64p-rapidjson-1.1.0-1.949c771.drv.gz (application/zip, attachment)]
[Message part 3 (text/plain, inline)]

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
[signature.asc (application/pgp-signature, inline)]

Reply sent to Andreas Enge <andreas <at> enge.fr>:
You have taken responsibility. (Wed, 13 Aug 2025 16:11:02 GMT) Full text and rfc822 format available.

Notification sent to arne_bab <at> web.de:
bug acknowledged by developer. (Wed, 13 Aug 2025 16:11:02 GMT) Full text and rfc822 format available.

Message #10 received at 79223-done <at> debbugs.gnu.org (full text, mbox):

From: Andreas Enge <andreas <at> enge.fr>
To: "Dr. Arne Babenhauserheide" <arne_bab <at> web.de>
Cc: 79223-done <at> debbugs.gnu.org
Subject: Re: rapidjson-1.1.0-1.949c771.drv failed (⇒ py-pyqt, sane-backends,
 and wine fail)
Date: Wed, 13 Aug 2025 18:10:38 +0200
Hello,

this is the same as
   https://codeberg.org/guix/guix/issues/1850
since wine even on x86_64 uses the i686 flavour of rapidjson.

Closing here.

Andreas





This bug report was last modified 3 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.