Hi Puffnfresh!
I'm trying to compile the device kobo-clara-2e.
During the build stage I get a segmentation error while libconfig is running checks.
Output from nix log is (Running phase: checkPhase):
`
make[3]: Entering directory '/build/libconfig-1.8/examples/c'
make[4]: Entering directory '/build/libconfig-1.8/examples/c'
PASS: example1
PASS: example2
PASS: example3
../../aux-build/test-driver: line 119: 10345 Segmentation fault (core dumped) "$@" >> "$log_file" 2>&1
FAIL: example4
==============================================
libconfig 1.8: examples/c/test-suite.log
==============================================
TOTAL: 4
PASS: 3
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
System information (uname -a): Linux 6.15.9 #1-NixOS SMP PREEMPT_DYNAMIC Fri Aug 1 08:51:29 UTC 2025 armv7l
.. contents:: :depth: 2
FAIL: example4
==============
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
FAIL example4 (exit status: 139)
============================================================================
Testsuite summary for libconfig 1.8
============================================================================
TOTAL: 4
PASS: 3
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
============================================================================
See examples/c/test-suite.log for debugging.
Some test(s) failed. Please report this to hyperrealm@gmail.com,
together with the test-suite.log file (gzipped) and your system
information. Thanks.
============================================================================
`
As I understand, its normal to get segmentation errors in qemu simulations and i can ignore this. How can I disable libconfig from running checks?
Hi Puffnfresh!
I'm trying to compile the device kobo-clara-2e.
During the build stage I get a segmentation error while libconfig is running checks.
Output from nix log is (Running phase: checkPhase):
`
make[3]: Entering directory '/build/libconfig-1.8/examples/c'
make[4]: Entering directory '/build/libconfig-1.8/examples/c'
PASS: example1
PASS: example2
PASS: example3
../../aux-build/test-driver: line 119: 10345 Segmentation fault (core dumped) "$@" >> "$log_file" 2>&1
FAIL: example4
==============================================
libconfig 1.8: examples/c/test-suite.log
==============================================
TOTAL: 4
PASS: 3
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
System information (uname -a): Linux 6.15.9 #1-NixOS SMP PREEMPT_DYNAMIC Fri Aug 1 08:51:29 UTC 2025 armv7l
.. contents:: :depth: 2
FAIL: example4
==============
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
FAIL example4 (exit status: 139)
============================================================================
Testsuite summary for libconfig 1.8
============================================================================
TOTAL: 4
PASS: 3
SKIP: 0
XFAIL: 0
FAIL: 1
XPASS: 0
ERROR: 0
============================================================================
See examples/c/test-suite.log for debugging.
Some test(s) failed. Please report this to hyperrealm@gmail.com,
together with the test-suite.log file (gzipped) and your system
information. Thanks.
============================================================================
`
As I understand, its normal to get segmentation errors in qemu simulations and i can ignore this. How can I disable libconfig from running checks?