Package: jq
Version: 1.7.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

jq failed to build in i386 with illegal instruction in unit test. The
following is build log


FAIL: tests/jqtest
FAIL: tests/mantest
FAIL: tests/utf8test
FAIL: tests/shtest
FAIL: tests/optionaltest
FAIL: tests/onigtest
FAIL: tests/base64test
FAIL: tests/manonigtest
==============================
   jq 1.7: ./test-suite.log
==============================

# TOTAL: 8
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  8
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/mantest
===================

==2576563== 
==2576563== Process terminating with default action of signal 4 (SIGILL)
==2576563==  Illegal opcode at address 0x40199A6
==2576563==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576563==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576563==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576563==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576563==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
FAIL tests/mantest (exit status: 132)

FAIL: tests/jqtest
==================

==2576560== 
==2576560== Process terminating with default action of signal 4 (SIGILL)
==2576560==  Illegal opcode at address 0x40199A6
==2576560==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576560==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576560==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576560==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576560==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
FAIL tests/jqtest (exit status: 132)

FAIL: tests/shtest
==================

+ . ./tests/setup
+ [ -n  ]
+ set -eu
+ dirname ./tests/shtest
+ cd ./tests
+ pwd
+ JQTESTDIR=/<<PKGBUILDDIR>>/tests
+ JQBASEDIR=/<<PKGBUILDDIR>>/tests/..
+ JQ=/<<PKGBUILDDIR>>/jq
+ [ -z  ]
+ which valgrind
+ VALGRIND=libtool --mode=execute -- valgrind --error-exitcode=1 
--leak-check=full                        
--suppressions=/<<PKGBUILDDIR>>/tests/onig.supp                        
--suppressions=/<<PKGBUILDDIR>>/tests/local.supp
+ VG_EXIT0=--error-exitcode=0
+ Q=-q
+ mods=/<<PKGBUILDDIR>>/tests/modules
+ clean=true
+ d=
+ trap clean EXIT
+ mktemp -d -t jqXXXXXX
+ d=/tmp/jqh5V7Wd
+ [ -z /tmp/jqh5V7Wd ]
+ msys=false
+ mingw=false
+ uname -s
+ JQ_NO_B=/<<PKGBUILDDIR>>/jq
+ JQ=/<<PKGBUILDDIR>>/jq -b
+ 
PATH=/<<PKGBUILDDIR>>/tests/..:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 /<<PKGBUILDDIR>>/tests/../tests/jq-f-test.sh
+ [ -f /<<PKGBUILDDIR>>/tests/../.libs/libinject_errors.so ]
+ printf a\0b\nc\0d\ne
+ libtool --mode=execute -- valgrind --error-exitcode=1 --leak-check=full 
--suppressions=/<<PKGBUILDDIR>>/tests/onig.supp 
--suppressions=/<<PKGBUILDDIR>>/tests/local.supp -q /<<PKGBUILDDIR>>/jq -b -Rse 
. == "a\u0000b\nc\u0000d\ne" /tmp/jqh5V7Wd/input
==2576629== 
==2576629== Process terminating with default action of signal 4 (SIGILL)
==2576629==  Illegal opcode at address 0x40199A6
==2576629==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576629==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576629==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576629==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576629==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
+ clean
+ true
+ [ -n /tmp/jqh5V7Wd ]
+ rm -rf /tmp/jqh5V7Wd
FAIL tests/shtest (exit status: 132)

FAIL: tests/utf8test
====================

==2576567== 
==2576567== Process terminating with default action of signal 4 (SIGILL)
==2576567==  Illegal opcode at address 0x40199A6
==2576567==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576567==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576567==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576567==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576567==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
UTF-8 byte sequences that span the jv_load_file read buffer are mangled
FAIL tests/utf8test (exit status: 1)

FAIL: tests/base64test
======================

==2576797== 
==2576797== Process terminating with default action of signal 4 (SIGILL)
==2576797==  Illegal opcode at address 0x40199A6
==2576797==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576797==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576797==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576797==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576797==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
FAIL tests/base64test (exit status: 132)

FAIL: tests/optionaltest
========================

==2576802== 
==2576802== Process terminating with default action of signal 4 (SIGILL)
==2576802==  Illegal opcode at address 0x40199A6
==2576802==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576802==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576802==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576802==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576802==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
FAIL tests/optionaltest (exit status: 132)

FAIL: tests/onigtest
====================

==2576803== 
==2576803== Process terminating with default action of signal 4 (SIGILL)
==2576803==  Illegal opcode at address 0x40199A6
==2576803==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576803==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576803==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576803==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576803==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
FAIL tests/onigtest (exit status: 132)

FAIL: tests/manonigtest
=======================

==2576850== 
==2576850== Process terminating with default action of signal 4 (SIGILL)
==2576850==  Illegal opcode at address 0x40199A6
==2576850==    at 0x40199A6: _dl_sysdep_parse_arguments (dl-sysdep.c:83)
==2576850==    by 0x40199A6: _dl_sysdep_start (dl-sysdep.c:106)
==2576850==    by 0x401B3C2: _dl_start_final (rtld.c:498)
==2576850==    by 0x401B3C2: _dl_start (rtld.c:585)
==2576850==    by 0x401A23A: ??? (in /usr/lib/i386-linux-gnu/ld-linux.so.2)
Illegal instruction
FAIL tests/manonigtest (exit status: 132)

============================================================================
Testsuite summary for jq 1.7
============================================================================
# TOTAL: 8
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  8
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to https://github.com/jqlang/jq/issues
============================================================================
make[5]: *** [Makefile:1209: test-suite.log] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>'
make[4]: *** [Makefile:1317: check-TESTS] Error 2
make[4]: Leaving directory '/<<PKGBUILDDIR>>'
make[3]: *** [Makefile:1578: check-am] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:1580: check] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_test: error: make -j4 check "TESTSUITEFLAGS=-j4 --verbose" VERBOSE=1 
returned exit code 2
make[1]: *** [debian/rules:20: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:26: binary-arch] Error 2
dpkg-buildpackage: error: debian/rules binary-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2023-12-15T21:19:09Z


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 
'stable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages jq depends on:
ii  libc6   2.37-13
ii  libjq1  1.7.1-1

jq recommends no packages.

jq suggests no packages.

-- no debconf information

-- 
ChangZhuo Chen (陳昌倬) czchen@{czchen,debian}.org
Key fingerprint = BA04 346D C2E1 FE63 C790  8793 CC65 B0CD EC27 5D5B

Attachment: signature.asc
Description: PGP signature

Reply via email to