Skip to content

Build failure: lib2geom #413230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
danth opened this issue Jun 2, 2025 · 0 comments
Open
3 tasks done

Build failure: lib2geom #413230

danth opened this issue Jun 2, 2025 · 0 comments
Labels
0.kind: build failure A package fails to build

Comments

@danth
Copy link
Contributor

danth commented Jun 2, 2025

Nixpkgs version

  • Stable (25.05)

Steps to reproduce

Configure hostPlatform as follows:

{
  system = "x86_64-linux";
  gcc = {
    arch = "tigerlake";
    tune = "tigerlake";
  };
}

Can Hydra reproduce this build failure?

No, Hydra cannot reproduce this build failure.

Link to Hydra build job

No response

Relevant log output

Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/khavr7hddmr0sd07h661jc4fwh1gribv-source
source root is source
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
fixing cmake files...
cmake flags: -GNinja -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LOCALEDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/share/doc/lib2geom -DCMAKE_INSTALL_INFODIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/3agqa21hv3i8lj7dr2yhbkjqkish1agx-lib2geom-1.4-dev/include -DCMAKE_INSTALL_SBINDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/iqr7d9gddz8cz5jp245qrax11vqpg7jp-gcc-wrapper-14.2.1.20250322/bin/strip -DCMAKE_RANLIB=/nix/store/iqr7d9gddz8cz5jp245qrax11vqpg7jp-gcc-wrapper-14.2.1.20250322/bin/ranlib -DCMAKE_AR=/nix/store/iqr7d9gddz8cz5jp245qrax11vqpg7jp-gcc-wrapper-14.2.1.20250322/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/s846g1p2nni54i1vv87y5s1ajdasfsv4-lib2geom-1.4 -D2GEOM_BUILD_SHARED=ON -D2GEOM_TESTING:BOOL=TRUE
-- The CXX compiler identification is GNU 14.2.1
-- The C compiler identification is GNU 14.2.1
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /nix/store/iqr7d9gddz8cz5jp245qrax11vqpg7jp-gcc-wrapper-14.2.1.20250322/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/iqr7d9gddz8cz5jp245qrax11vqpg7jp-gcc-wrapper-14.2.1.20250322/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
�[33mCMake Warning (dev) at CMakeLists.txt:34 (find_package):
  Policy CMP0167 is not set: The FindBoost module is removed.  Run "cmake
  --help-policy CMP0167" for policy details.  Use the cmake_policy command to
  set the policy and suppress this warning.

This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
-- Found Boost: /nix/store/9bbwkh764s33pm5yvlmm15a0wdgqvjxz-boost-1.87.0-dev/lib/cmake/Boost-1.87.0/BoostConfig.cmake (found suitable version "1.87.0", minimum required is "1.60")
-- Found DoubleConversion: /nix/store/19rddxns6nhd5k507kg2c9f05sd5qx9a-double-conversion-3.3.1/lib/libdouble-conversion.so
-- Found PkgConfig: /nix/store/s4sha92ssz48xbd1badll0zgappcq0c1-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2")
-- Could NOT find Cython (missing: CYTHON_EXECUTABLE) 
-- cython: NOT FOUND
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Checking for module 'gtk+-3.0'
--   No package 'gtk+-3.0' found
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.84.1
Package sysprof-capture-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sysprof-capture-4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sysprof-capture-4', required by 'glib-2.0', not found
Package sysprof-capture-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sysprof-capture-4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sysprof-capture-4', required by 'glib-2.0', not found
Package sysprof-capture-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sysprof-capture-4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sysprof-capture-4', required by 'glib-2.0', not found
Package sysprof-capture-4 was not found in the pkg-config search path.
Perhaps you should add the directory containing `sysprof-capture-4.pc'
to the PKG_CONFIG_PATH environment variable
Package 'sysprof-capture-4', required by 'glib-2.0', not found
-- Checking for module 'cairo'
--   Found cairo, version 1.18.2
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
Package expat was not found in the pkg-config search path.
Perhaps you should add the directory containing `expat.pc'
to the PKG_CONFIG_PATH environment variable
Package 'expat', required by 'fontconfig', not found
-- Checking for module 'gsl'
--   Found gsl, version 2.8
-- Found GTest: /nix/store/af3kl09y8adzimh7alanqvzxim83x8vb-gtest-1.16.0-dev/lib/cmake/GTest/GTestConfig.cmake (found version "1.16.0")
-- Performing Test HAVE_SINCOS
-- Performing Test HAVE_SINCOS - Success
-- Ragel NOT found. Using stale svg-path-parser.cpp.
�[33mCMake Warning (dev) at src/performance-tests/CMakeLists.txt:20 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
�[33mCMake Warning (dev) at src/performance-tests/CMakeLists.txt:20 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
�[33mCMake Warning (dev) at src/performance-tests/CMakeLists.txt:20 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
�[33mCMake Warning (dev) at src/performance-tests/CMakeLists.txt:20 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
�[33mCMake Warning (dev) at src/performance-tests/CMakeLists.txt:20 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
�[33mCMake Warning (dev) at src/performance-tests/CMakeLists.txt:20 (add_custom_command):
  Exactly one of PRE_BUILD, PRE_LINK, or POST_BUILD must be given.  Assuming
  POST_BUILD to preserve backward compatibility.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.
�[0m
�[0mNot building toys as they require GTK3.�[0m
-- Configuring done (3.1s)
-- Generating done (0.1s)
�[33mCMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_POLICY_DEFAULT_CMP0025

�[0m
-- Build files have been written to: /build/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: -j4
[1/105] Rewriting #line markers in svg-path-parser.cpp
[2/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/affine.cpp.o
[3/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/bezier.cpp.o
[4/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/bezier-clipping.cpp.o
[5/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/basic-intersection.cpp.o
[6/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/bezier-utils.cpp.o
[7/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/cairo-path-sink.cpp.o
[8/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/bezier-curve.cpp.o
[9/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/concepts.cpp.o
[10/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/circle.cpp.o
[11/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/coord.cpp.o
[12/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/convex-hull.cpp.o
[13/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/conic_section_clipper_impl.cpp.o
[14/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/crossing.cpp.o
[15/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/conicsec.cpp.o
[16/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/curve.cpp.o
[17/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/ellipse.cpp.o
[18/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/elliptical-arc-from-sbasis.cpp.o
[19/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/d2-sbasis.cpp.o
[20/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/elliptical-arc.cpp.o
[21/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/geom.cpp.o
[22/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/numeric/matrix.cpp.o
[23/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/line.cpp.o
[24/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/intersection-graph.cpp.o
[25/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/nearest-time.cpp.o
[26/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/parallelogram.cpp.o
[27/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/parting-point.cpp.o
[28/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/path-extrema.cpp.o
[29/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/path-sink.cpp.o
[30/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/path-intersection.cpp.o
[31/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/pathvector.cpp.o
[32/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/point.cpp.o
[33/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/path.cpp.o
[34/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/polynomial.cpp.o
[35/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/rect.cpp.o
[36/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/piecewise.cpp.o
[37/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/recursive-bezier-intersection.cpp.o
[38/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis-2d.cpp.o
[39/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis-poly.cpp.o
[40/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis-geometric.cpp.o
[41/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis-roots.cpp.o
[42/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis-math.cpp.o
[43/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/solve-bezier.cpp.o
[44/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis.cpp.o
[45/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/solve-bezier-one-d.cpp.o
[46/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sbasis-to-bezier.cpp.o
[47/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/self-intersect.cpp.o
[48/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/solve-bezier-parametric.cpp.o
[49/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/svg-path-parser.cpp.o
[50/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/transforms.cpp.o
[51/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/utils.cpp.o
[52/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/sweep-bounds.cpp.o
[53/105] Building CXX object src/2geom/CMakeFiles/2geom.dir/svg-path-writer.cpp.o
[54/105] Linking CXX shared library src/2geom/lib2geom.so.1.4.0
[55/105] Building CXX object tests/CMakeFiles/choose-test.dir/choose-test.cpp.o
[56/105] Building CXX object tests/CMakeFiles/angle-test.dir/angle-test.cpp.o
[57/105] Building CXX object tests/CMakeFiles/affine-test.dir/affine-test.cpp.o
[58/105] Building CXX object tests/CMakeFiles/circle-test.dir/circle-test.cpp.o
[59/105] Building CXX object tests/CMakeFiles/bezier-test.dir/bezier-test.cpp.o
In file included from /nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_uninitialized.h:63,
                 from /nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/memory:69,
                 from /nix/store/af3kl09y8adzimh7alanqvzxim83x8vb-gtest-1.16.0-dev/include/gtest/gtest.h:55,
                 from /build/source/tests/testing.h:1,
                 from /build/source/tests/bezier-test.cpp:36:
In static member function 'static constexpr _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = const double; _Up = double; bool _IsMove = false]',
    inlined from 'constexpr _OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const double*; _OI = double*]' at /nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_algobase.h:521:30,
    inlined from 'constexpr _OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const double*; _OI = double*]' at /nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_algobase.h:548:42,
    inlined from 'constexpr _OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const double*; _OI = double*]' at /nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_algobase.h:555:31,
    inlined from 'constexpr _OI std::copy(_II, _II, _OI) [with _II = const double*; _OI = double*]' at /nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_algobase.h:651:7,
    inlined from 'T Geom::casteljau_subdivision(double, const T*, T*, T*, unsigned int) [with T = double]' at /build/source/include/2geom/bezier.h:89:22,
    inlined from 'virtual void BezierTest_Casteljau_Test::TestBody()' at /build/source/tests/bezier-test.cpp:148:50:
/nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_algobase.h:452:30: warning: argument 1 null where non-null expected [-Wnonnull]
  452 |             __builtin_memmove(__result, __first, sizeof(_Tp) * _Num);
      |             ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/nix/store/w2ns4vpgcs9sdadirjfwqyk4hsy97560-gcc-14.2.1.20250322/include/c++/14.2.1.20250322/bits/stl_algobase.h:452:30: note: in a call to built-in function 'void* __builtin_memmove(void*, const void*, long unsigned int)'
[60/105] Building CXX object tests/CMakeFiles/convex-hull-test.dir/convex-hull-test.cpp.o
[61/105] Building CXX object tests/CMakeFiles/coord-test.dir/coord-test.cpp.o
[62/105] Building CXX object tests/CMakeFiles/interval-test.dir/interval-test.cpp.o
[63/105] Building CXX object tests/CMakeFiles/intersection-graph-test.dir/intersection-graph-test.cpp.o
[64/105] Building CXX object tests/CMakeFiles/elliptical-arc-test.dir/elliptical-arc-test.cpp.o
[65/105] Building CXX object tests/CMakeFiles/ellipse-test.dir/ellipse-test.cpp.o
[66/105] Building CXX object tests/CMakeFiles/min-bbox-test.dir/min-bbox-test.cpp.o
[67/105] Building CXX object tests/CMakeFiles/nl-vector-test.dir/nl-vector-test.cpp.o
[68/105] Building CXX object tests/CMakeFiles/line-test.dir/line-test.cpp.o
[69/105] Building CXX object tests/CMakeFiles/parallelogram-test.dir/parallelogram-test.cpp.o
[70/105] Building CXX object tests/CMakeFiles/point-test.dir/point-test.cpp.o
[71/105] Building CXX object tests/CMakeFiles/planar-graph-test.dir/planar-graph-test.cpp.o
[72/105] Building CXX object tests/CMakeFiles/polynomial-test.dir/polynomial-test.cpp.o
[73/105] Building CXX object tests/CMakeFiles/rect-test.dir/rect-test.cpp.o
[74/105] Building CXX object tests/CMakeFiles/path-test.dir/path-test.cpp.o
[75/105] Building CXX object tests/CMakeFiles/sbasis-test.dir/sbasis-test.cpp.o
[76/105] Building CXX object tests/CMakeFiles/self-intersections-test.dir/self-intersections-test.cpp.o
[77/105] Creating library symlink src/2geom/lib2geom.so
[78/105] Linking CXX executable tests/affine-test
[79/105] Building CXX object tests/CMakeFiles/sbasis-text-test.dir/sbasis-text-test.cpp.o
[80/105] Linking CXX executable tests/angle-test
[81/105] Linking CXX executable tests/bezier-test
[82/105] Linking CXX executable tests/choose-test
[83/105] Linking CXX executable tests/circle-test
[84/105] Linking CXX executable tests/convex-hull-test
[85/105] Linking CXX executable tests/coord-test
[86/105] Linking CXX executable tests/elliptical-arc-test
[87/105] Linking CXX executable tests/ellipse-test
[88/105] Linking CXX executable tests/intersection-graph-test
[89/105] Linking CXX executable tests/interval-test
[90/105] Linking CXX executable tests/min-bbox-test
[91/105] Linking CXX executable tests/line-test
[92/105] Linking CXX executable tests/parallelogram-test
[93/105] Linking CXX executable tests/nl-vector-test
[94/105] Linking CXX executable tests/planar-graph-test
[95/105] Linking CXX executable tests/point-test
[96/105] Linking CXX executable tests/path-test
[97/105] Linking CXX executable tests/rect-test
[98/105] Linking CXX executable tests/polynomial-test
[99/105] Linking CXX executable tests/sbasis-test
[100/105] Linking CXX executable tests/self-intersections-test
[101/105] Linking CXX executable tests/sbasis-text-test
[102/105] Building CXX object tests/CMakeFiles/root-find-test.dir/root-find-test.cpp.o
[103/105] Linking CXX executable tests/root-find-test
[104/105] Building CXX object tests/CMakeFiles/implicitization-test.dir/implicitization-test.cpp.o
[105/105] Linking CXX executable tests/implicitization-test
buildPhase completed in 4 minutes 38 seconds
Running phase: checkPhase
@nix { "action": "setPhase", "phase": "checkPhase" }
Test project /build/source/build
      Start  1: affine-test
      Start  2: angle-test
      Start  3: bezier-test
      Start  4: choose-test
 1/25 Test  #2: angle-test .......................   Passed    0.02 sec
      Start  5: circle-test
 2/25 Test  #1: affine-test ......................   Passed    0.02 sec
      Start  6: convex-hull-test
 3/25 Test  #4: choose-test ......................   Passed    0.01 sec
      Start  7: coord-test
 4/25 Test  #5: circle-test ......................   Passed    0.01 sec
      Start  8: ellipse-test
 5/25 Test  #6: convex-hull-test .................   Passed    0.02 sec
      Start  9: elliptical-arc-test
 6/25 Test  #7: coord-test .......................   Passed    0.10 sec
      Start 10: intersection-graph-test
 7/25 Test  #9: elliptical-arc-test ..............***Failed    0.10 sec
Running main() from /build/source/googletest/src/gtest_main.cc
[==========] Running 7 tests from 2 test suites.
[----------] Global test environment set-up.
[----------] 6 tests from EllipticalArcTest
[ RUN      ] EllipticalArcTest.PointAt
[       OK ] EllipticalArcTest.PointAt (0 ms)
[ RUN      ] EllipticalArcTest.Duplicate
[       OK ] EllipticalArcTest.Duplicate (0 ms)
[ RUN      ] EllipticalArcTest.LineSegmentIntersection
[       OK ] EllipticalArcTest.LineSegmentIntersection (70 ms)
[ RUN      ] EllipticalArcTest.ArcIntersection
/build/source/tests/elliptical-arc-test.cpp:187: Failure
Expected equality of these values:
  r1.size()
    Which is: 0
  2u
    Which is: 2

[  FAILED  ] EllipticalArcTest.ArcIntersection (0 ms)
[ RUN      ] EllipticalArcTest.BezierIntersection
[       OK ] EllipticalArcTest.BezierIntersection (0 ms)
[ RUN      ] EllipticalArcTest.ExpandToTransformedTest
[       OK ] EllipticalArcTest.ExpandToTransformedTest (1 ms)
[----------] 6 tests from EllipticalArcTest (72 ms total)

[----------] 1 test from EllipticalArc
[ RUN      ] EllipticalArc.Transform
[       OK ] EllipticalArc.Transform (0 ms)
[----------] 1 test from EllipticalArc (0 ms total)

[----------] Global test environment tear-down
[==========] 7 tests from 2 test suites ran. (72 ms total)
[  PASSED  ] 6 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] EllipticalArcTest.ArcIntersection

 1 FAILED TEST

      Start 11: interval-test
 8/25 Test #11: interval-test ....................   Passed    0.02 sec
      Start 12: line-test
 9/25 Test #10: intersection-graph-test ..........   Passed    0.04 sec
      Start 13: min-bbox-test
10/25 Test #13: min-bbox-test ....................   Passed    0.01 sec
      Start 14: nl-vector-test
11/25 Test #14: nl-vector-test ...................   Passed    0.01 sec
      Start 15: parallelogram-test
12/25 Test  #3: bezier-test ......................   Passed    0.20 sec
      Start 16: path-test
13/25 Test #15: parallelogram-test ...............   Passed    0.01 sec
      Start 17: planar-graph-test
14/25 Test #17: planar-graph-test ................   Passed    0.01 sec
      Start 18: point-test
15/25 Test #18: point-test .......................   Passed    0.02 sec
      Start 19: polynomial-test
16/25 Test  #8: ellipse-test .....................***Failed    0.26 sec
Running main() from /build/source/googletest/src/gtest_main.cc
[==========] Running 12 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 12 tests from EllipseTest
[ RUN      ] EllipseTest.Arcs
[       OK ] EllipseTest.Arcs (0 ms)
[ RUN      ] EllipseTest.AreNear
[       OK ] EllipseTest.AreNear (0 ms)
[ RUN      ] EllipseTest.Transformations
[       OK ] EllipseTest.Transformations (0 ms)
[ RUN      ] EllipseTest.TimeAt
[       OK ] EllipseTest.TimeAt (0 ms)
[ RUN      ] EllipseTest.LineIntersection
[       OK ] EllipseTest.LineIntersection (231 ms)
[ RUN      ] EllipseTest.EllipseIntersection
/build/source/tests/ellipse-test.cpp:231: Failure
Expected: (xs.size()) > (0), actual: 0 vs 0

[  FAILED  ] EllipseTest.EllipseIntersection (0 ms)
[ RUN      ] EllipseTest.BezierIntersection
[       OK ] EllipseTest.BezierIntersection (0 ms)
[ RUN      ] EllipseTest.Coefficients
[       OK ] EllipseTest.Coefficients (0 ms)
[ RUN      ] EllipseTest.UnitCircleTransform
[       OK ] EllipseTest.UnitCircleTransform (0 ms)
[ RUN      ] EllipseTest.PointAt
[       OK ] EllipseTest.PointAt (0 ms)
[ RUN      ] EllipseTest.UnitTangentAt
[       OK ] EllipseTest.UnitTangentAt (0 ms)
[ RUN      ] EllipseTest.Bounds
[       OK ] EllipseTest.Bounds (4 ms)
[----------] 12 tests from EllipseTest (236 ms total)

[----------] Global test environment tear-down
[==========] 12 tests from 1 test suite ran. (236 ms total)
[  PASSED  ] 11 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] EllipseTest.EllipseIntersection

 1 FAILED TEST

      Start 20: rect-test
17/25 Test #20: rect-test ........................   Passed    0.01 sec
      Start 21: sbasis-test
18/25 Test #16: path-test ........................   Passed    0.12 sec
      Start 22: self-intersections-test
19/25 Test #22: self-intersections-test ..........   Passed    0.03 sec
      Start 23: sbasis-text-test
20/25 Test #21: sbasis-test ......................   Passed    0.06 sec
      Start 24: root-find-test
21/25 Test #23: sbasis-text-test .................   Passed    0.02 sec
      Start 25: implicitization-test
22/25 Test #19: polynomial-test ..................***Failed    0.15 sec
Running main() from /build/source/googletest/src/gtest_main.cc
[==========] Running 9 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 9 tests from PolynomialTest
[ RUN      ] PolynomialTest.SolveQuadratic
[       OK ] PolynomialTest.SolveQuadratic (0 ms)
[ RUN      ] PolynomialTest.SolvePathologicalQuadratic
[       OK ] PolynomialTest.SolvePathologicalQuadratic (0 ms)
[ RUN      ] PolynomialTest.SolveCubic
[       OK ] PolynomialTest.SolveCubic (0 ms)
[ RUN      ] PolynomialTest.SolveQuartic_4_roots
[       OK ] PolynomialTest.SolveQuartic_4_roots (21 ms)
[ RUN      ] PolynomialTest.SolveQuartic_Evaluate
/build/source/tests/polynomial-test.cpp:186: Failure
Value of: are_near(quartic.eval(root), 0, eps)
  Actual: false
Expected: true

[  FAILED  ] PolynomialTest.SolveQuartic_Evaluate (11 ms)
[ RUN      ] PolynomialTest.SolveQuartic_2_roots
[       OK ] PolynomialTest.SolveQuartic_2_roots (28 ms)
[ RUN      ] PolynomialTest.SolveQuartic_DoubleRoots
[       OK ] PolynomialTest.SolveQuartic_DoubleRoots (0 ms)
[ RUN      ] PolynomialTest.SolveQuartic_0_roots
[       OK ] PolynomialTest.SolveQuartic_0_roots (19 ms)
[ RUN      ] PolynomialTest.SolveQuartic_degenerate
[       OK ] PolynomialTest.SolveQuartic_degenerate (52 ms)
[----------] 9 tests from PolynomialTest (135 ms total)

[----------] Global test environment tear-down
[==========] 9 tests from 1 test suite ran. (135 ms total)
[  PASSED  ] 8 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] PolynomialTest.SolveQuartic_Evaluate

 1 FAILED TEST

23/25 Test #25: implicitization-test .............   Passed    0.02 sec
24/25 Test #12: line-test ........................***Failed    0.35 sec
Running main() from /build/source/googletest/src/gtest_main.cc
[==========] Running 15 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 15 tests from LineTest
[ RUN      ] LineTest.VectorAndVersor
[       OK ] LineTest.VectorAndVersor (0 ms)
[ RUN      ] LineTest.AngleBisector
[       OK ] LineTest.AngleBisector (0 ms)
[ RUN      ] LineTest.Equality
[       OK ] LineTest.Equality (0 ms)
[ RUN      ] LineTest.Reflection
[       OK ] LineTest.Reflection (0 ms)
[ RUN      ] LineTest.RotationToZero
[       OK ] LineTest.RotationToZero (0 ms)
[ RUN      ] LineTest.Coefficients
[       OK ] LineTest.Coefficients (0 ms)
[ RUN      ] LineTest.Intersection
[       OK ] LineTest.Intersection (0 ms)
[ RUN      ] LineTest.CoincidingIntersect
/build/source/tests/line-test.cpp:197: Failure
Expected equality of these values:
  xings.size()
    Which is: 1
  2

[  FAILED  ] LineTest.CoincidingIntersect (51 ms)
[ RUN      ] LineTest.OverlappingIntersect
[       OK ] LineTest.OverlappingIntersect (32 ms)
[ RUN      ] LineTest.AlmostIntersect
[       OK ] LineTest.AlmostIntersect (0 ms)
[ RUN      ] LineTest.FuzzyOverlap
[       OK ] LineTest.FuzzyOverlap (0 ms)
[ RUN      ] LineTest.FuzzyEndToEnd
[       OK ] LineTest.FuzzyEndToEnd (0 ms)
[ RUN      ] LineTest.AlmostTouch
[       OK ] LineTest.AlmostTouch (0 ms)
[ RUN      ] LineTest.TBone
[       OK ] LineTest.TBone (127 ms)
[ RUN      ] LineTest.PushOff
[       OK ] LineTest.PushOff (113 ms)
[----------] 15 tests from LineTest (325 ms total)

[----------] Global test environment tear-down
[==========] 15 tests from 1 test suite ran. (326 ms total)
[  PASSED  ] 14 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] LineTest.CoincidingIntersect

 1 FAILED TEST

25/25 Test #24: root-find-test ...................   Passed    1.17 sec

84% tests passed�[0;0m, �[0;31m4 tests failed�[0;0m out of 25

Total Test time (real) =   1.52 sec

The following tests FAILED:
	�[0;31m  8 - ellipse-test (Failed)�[0;0m
	�[0;31m  9 - elliptical-arc-test (Failed)�[0;0m
	�[0;31m 12 - line-test (Failed)�[0;0m
	�[0;31m 19 - polynomial-test (Failed)�[0;0m
Errors while running CTest

Additional context

++ lib.optionals (stdenv.hostPlatform.system != "x86_64-linux") [

I think this check needs to be expanded to also disable the tests when gcc.arch / gcc.tune are used (or certain values thereof). For simplicity's sake it might be easier to just disable them unconditionally.

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.30, NixOS, 25.05 (Warbler), 25.05.20250525.7c43f08
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.28.3
  • nixpkgs: /nix/store/vj980b72z6zb0yg6v0a7nzc9rcww3jmn-source

Notify maintainers

@jtojnar


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@danth danth added the 0.kind: build failure A package fails to build label Jun 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: build failure A package fails to build
Projects
None yet
Development

No branches or pull requests

1 participant