Package: blhc
Version: 0.13-5
Severity: serious
Tags: ftbfs upstream
Justification: fails to build from source
X-Debbugs-Cc: eribe...@debian.org, Simon Ruderich <si...@ruderich.org>

Dear Simon Ruderich,

Currently blhc fails to build from source in Debian Sid. This issue was
detected in Salsa[1].

[1] https://salsa.debian.org/debian/blhc/-/jobs/4635438

I also tested it in a fresh jail:

dh_auto_test
        /usr/bin/perl Build test --verbose 1

#   Failed test './t/logs/arch-avr32 --color (output)'
#   at t/tests.t line 45.
#          got: 'Use of uninitialized value $os in pattern match (m//) at 
./bin/blhc line 1194.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1198.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1202.
# LDFLAGS missing (-Wl,-z,relro): gcc -o test test.o
# CFLAGS missing (-fstack-protector-strong): gcc -D_FORTIFY_SOURCE=2 -g -O2 
-Wformat -Wformat-security -Werror=format-security -Wall -c test.c
# LDFLAGS missing (-Wl,-z,relro): gcc -o test test.o
# '
#     expected: 'CFLAGS missing (-fstack-protector-strong): gcc 
-D_FORTIFY_SOURCE=2 -g -O2 -Wformat -Wformat-security -Werror=format-security 
-Wall -c test.c
# '

#   Failed test './t/logs/arch-avr32 (output)'
#   at t/tests.t line 45.
#          got: 'Use of uninitialized value $os in pattern match (m//) at 
./bin/blhc line 1194.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1198.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1202.

[...]

# checking './t/logs/debian-hardening-wrapper'...
# HARDENING WRAPPER: no checks possible, aborting
# '

#   Failed test './t/logs/arch-i386 ./t/logs/arch-amd64 ./t/logs/arch-avr32 
./t/logs/ignore-flag --ignore-arch-flag i386:-fstack-protector-strong 
--ignore-arch-flag mipsel:-Werror=format-security (output)'
#   at t/tests.t line 45.
#          got: 'Use of uninitialized value $os in pattern match (m//) at 
./bin/blhc line 1194.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1198.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1202.

[...]

# CFLAGS missing (-O2): gcc -g     -fstack-protector-strong -Wformat 
-Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -c test-c.c
# '

#   Failed test './t/logs/arch-i386 ./t/logs/arch-amd64 ./t/logs/arch-avr32 
./t/logs/ignore-line --ignore-arch-line "i386:gcc .+ -fPIE .+" 
--ignore-arch-line "mipsel:gcc .+ -Wl,-z,relro -Wl,-z,now .+" (output)'
#   at t/tests.t line 45.
#          got: 'Use of uninitialized value $os in pattern match (m//) at 
./bin/blhc line 1194.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1198.
# Use of uninitialized value $cpu in pattern match (m//) at ./bin/blhc line 
1202.

[...]


# Looks like you failed 5 tests of 246.
t/tests.t ..
1..246
[...]
not ok 14 - ./t/logs/arch-avr32 --color (output)
[...]
not ok 164 - ./t/logs/arch-avr32 (output)
[...]
not ok 242 - ./t/logs/bad-ldflags ./t/logs/empty ./t/logs/arch-avr32 
./t/logs/debian-hardening-wrapper (output)
[...]
not ok 244 - ./t/logs/arch-i386 ./t/logs/arch-amd64 ./t/logs/arch-avr32 
./t/logs/ignore-flag --ignore-arch-flag i386:-fstack-protector-strong 
--ignore-arch-flag mipsel:-Werror=format-security (output)
[...]
not ok 246 - ./t/logs/arch-i386 ./t/logs/arch-amd64 ./t/logs/arch-avr32 
./t/logs/ignore-line --ignore-arch-line "i386:gcc .+ -fPIE .+" 
--ignore-arch-line "mipsel:gcc .+ -Wl,-z,relro -Wl,-z,now .+" (output)
Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/246 subtests 

Test Summary Report
-------------------
t/tests.t (Wstat: 1280 (exited 5) Tests: 246 Failed: 5)
  Failed tests:  14, 164, 242, 244, 246
  Non-zero exit status: 5
Files=1, Tests=246,  3 wallclock secs ( 0.02 usr  0.00 sys +  2.46 cusr  0.37 
csys =  2.85 CPU)
Result: FAIL
Failed 1/1 test programs. 5/246 subtests failed.


Regards,

Eriberto

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-11-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to 
C.UTF-8), LANGUAGE=C.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages blhc depends on:
ii  libdpkg-perl  1.22.0

blhc recommends no packages.

blhc suggests no packages.

-- debconf-show failed

Reply via email to