pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59638: cad/qcad build fails on netbsd-11/i386



>Number:         59638
>Category:       pkg
>Synopsis:       cad/qcad build fails on netbsd-11/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 07 12:35:00 +0000 2025
>Originator:     John D. Baker
>Release:        NetBSD/i386-11.0_BETA, pkgsrc-HEAD (20250906)
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 11.0_BETA NetBSD 11.0_BETA (PLEX760) #2: Sat Aug 16 21:30:30 CDT 2025  sysop%plex760.technoskunk.fur@localhost:/r0/build/netbsd-11/obj/i386/sys/arch/i386/compile/PLEX760 i386
>Description:
Building "cad/qcad" on netbsd-11/i386 fails as follows:

[...]
[  3%] Built target android_uuid
[  3%] Building CXX object src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/cmake_pch.hxx.gch
g++: internal compiler error: Segmentation fault signal terminated program cc1plus
Please submit a full bug report, with preprocessed source (by using -freport-bug).
See <http://www.NetBSD.org/support/send-pr.html> for instructions.
*** [src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/cmake_pch.hxx.gch] Error code 4
make[2]: *** src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/cmake_pch.hxx.gch removed

make[2]: stopped making "src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/build" in /r0/build/pkgsrc/cad/qcad/work/qcad-3.32.3.4/cmake-pkgsrc-build
make[2]: 1 error

make[2]: stopped making "src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/build" in /r0/build/pkgsrc/cad/qcad/work/qcad-3.32.3.4/cmake-pkgsrc-build
*** [src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/all] Error code 2

make[1]: stopped making "all" in /r0/build/pkgsrc/cad/qcad/work/qcad-3.32.3.4/cmake-pkgsrc-build
make[1]: 1 error

make[1]: stopped making "all" in /r0/build/pkgsrc/cad/qcad/work/qcad-3.32.3.4/cmake-pkgsrc-build
*** [all] Error code 2

make: stopped making "all" in /r0/build/pkgsrc/cad/qcad/work/qcad-3.32.3.4/cmake-pkgsrc-build
make: 1 error

make: stopped making "all" in /r0/build/pkgsrc/cad/qcad/work/qcad-3.32.3.4/cmake-pkgsrc-build
*** Error code 2

Stop.
make[1]: stopped making "all" in /x/pkgsrc/cad/qcad
*** Error code 1

Stop.
make: stopped making "all" in /x/pkgsrc/cad/qcad


>How-To-Repeat:
See above.
>Fix:
A tell-tale seems to be:

  src/3rdparty/opennurbs/CMakeFiles/OpenNURBS.dir/cmake_pch.hxx.gch

Unless it has come to mean something else, the "pch" in the above
file may mean "pre-compiled header" and these have frequently been
a problem on NetBSD/i386.

In the past, such situations were worked around by disabling pre-
compiled headers, but I'm not sure how that's done with 'cmake' in
the mix.



Home | Main Index | Thread Index | Old Index