akheron / jansson

C library for encoding, decoding and manipulating JSON data
http://www.digip.org/jansson/
Other
3.05k stars 808 forks source link

make check failed #635

Open ShashaDDD opened 1 year ago

ShashaDDD commented 1 year ago

platform: ubuntu 20.04 jansson-2.14 config: ./configure --build=x86_64-linux --host=arm-poky-linux-gnueabi --target=arm-poky-linux-gnueabi CFLAGS="-march=armv7ve -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7"

error log:

make  check-TESTS
make[3]: Entering directory '/home/liushasha/Downloads/jansson-2.14/test'
make[4]: Entering directory '/home/liushasha/Downloads/jansson-2.14/test'
FAIL: run-suites
============================================================================
Testsuite summary for jansson 2.14
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See test/test-suite.log
Please report to https://github.com/akheron/jansson/issues
============================================================================
make[4]: *** [Makefile:678: test-suite.log] Error 1
make[4]: Leaving directory '/home/liushasha/Downloads/jansson-2.14/test'
make[3]: *** [Makefile:786: check-TESTS] Error 2
make[3]: Leaving directory '/home/liushasha/Downloads/jansson-2.14/test'
make[2]: *** [Makefile:883: check-am] Error 2
make[2]: Leaving directory '/home/liushasha/Downloads/jansson-2.14/test'
make[1]: *** [Makefile:570: check-recursive] Error 1
make[1]: Leaving directory '/home/liushasha/Downloads/jansson-2.14/test'
make: *** [Makefile:642: check-recursive] Error 1
RupW commented 1 year ago

Are there any more details in test-suite.log?

The build, host and target: are you cross-compiling this for ARM? How are you testing the library, on the ARM hardware or with an emulator? Does it work if you just compile on the ARM system? (If this is a complex setup that no-one else here has you might have to do the debugging yourself, sorry.)

chmodsayshello commented 1 year ago

I am having the same issue, on Linux Mint (which is Ubuntu base though) test-suite.log