Package: yasm
Version: 1.3.0-5
Severity: serious
Tags: ftbfs upstream
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: debian-am...@lists.debian.org, debian-...@lists.debian.org, 
debian-powe...@lists.debian.org, debian-ri...@lists.debian.org
User: debian-powe...@lists.debian.org
Usertags: powerpc ppc64 ppc64el
User: debian-...@lists.debian.org
Usertags: arm64 armel armhf
User: debian...@lists.debian.org
Usertags: i386
User: debian-am...@lists.debian.org
Usertags: amd64
User: debian-ri...@lists.debian.org
Usertags: riscv64

Hello!

yasm fails to build from source on these architectures I tested on:
amd64, arm64, armel, armhf, i386, ppc64el, ppc64, powerpc, riscv64. You
should be able to reproduce it with the usual "sbuild -d unstable" (I use
the unshare backend).

All of them failed because of 1~3 failed tests:
FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
FAIL: modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh
FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh

I don't know how to fix it.

And here are the fragments of build logs:

amd64:
System information (uname -a): Linux 6.12.17-amd64 #1 SMP PREEMPT_DYNAMIC 
Debian 6.12.17-1 (2025-03-01) x86_64
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O.OO +1-3/4 25%
 ** O: elf-rip did not match object file!
 ** O: gotpcrel did not match object file!
 ** O: multiplefixup did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 3)

FAIL: modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh
=========================================================

Test elf_gasx32_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================



arm64:
System information (uname -a): Linux 6.12.21-arm64 #1 SMP Debian 6.12.21-1 
(2025-03-30) aarch64
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O... +3-1/4 75%
 ** O: elf-rip did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 1)

FAIL: modules/objfmts/elf/tests/x32/elf_x32_test.sh
===================================================

Test elf_x32_test: ..OO +2-2/4 50%
 ** O: gotpcrel did not match object file!
 ** O: multiplefixup did not match object file!
FAIL modules/objfmts/elf/tests/x32/elf_x32_test.sh (exit status: 2)

FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
=======================================================

Test elf_gas64_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gas64/elf_gas64_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  41
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================



armel:
System information (uname -a): Linux 6.12.21-arm64 #1 SMP Debian 6.12.21-1 
(2025-03-30) armv8l
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O.O. +2-2/4 50%
 ** O: elf-rip did not match object file!
 ** O: gotpcrel did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 2)

FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
=======================================================

Test elf_gas64_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gas64/elf_gas64_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================



armhf:
System information (uname -a): Linux 6.12.21-arm64 #1 SMP Debian 6.12.21-1 
(2025-03-30) armv8l
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O.OO +1-3/4 25%
 ** O: elf-rip did not match object file!
 ** O: gotpcrel did not match object file!
 ** O: multiplefixup did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 3)

FAIL: modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh
=========================================================

Test elf_gasx32_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gasx32/elf_gasx32_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================



i386:
System information (uname -a): Linux 6.12.17-amd64 #1 SMP PREEMPT_DYNAMIC 
Debian 6.12.17-1 (2025-03-01) i686
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/x32/elf_x32_test.sh
===================================================

Test elf_x32_test: O... +3-1/4 75%
 ** O: elf-rip did not match object file!
FAIL modules/objfmts/elf/tests/x32/elf_x32_test.sh (exit status: 1)

FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
=======================================================

Test elf_gas64_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gas64/elf_gas64_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================



ppc64el:
System information (uname -a): Linux 6.12.21-powerpc64le #1 SMP Debian 
6.12.21-1 (2025-03-30) ppc64le
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O... +3-1/4 75%
 ** O: elf-rip did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 1)

FAIL: modules/objfmts/elf/tests/x32/elf_x32_test.sh
===================================================

Test elf_x32_test: ...O +3-1/4 75%
 ** O: multiplefixup did not match object file!
FAIL modules/objfmts/elf/tests/x32/elf_x32_test.sh (exit status: 1)

FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
=======================================================

Test elf_gas64_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gas64/elf_gas64_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  41
# SKIP:  0
# XFAIL: 0
# FAIL:  3
# XPASS: 0
# ERROR: 0
============================================================================



ppc64:
System information (uname -a): Linux 6.12.22-powerpc64 #1 SMP Debian 6.12.22-1 
(2025-04-10) ppc64
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/x32/elf_x32_test.sh
===================================================

Test elf_x32_test: O.O. +2-2/4 50%
 ** O: elf-rip did not match object file!
 ** O: gotpcrel did not match object file!
FAIL modules/objfmts/elf/tests/x32/elf_x32_test.sh (exit status: 2)

FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
=======================================================

Test elf_gas64_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gas64/elf_gas64_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================



powerpc:
System information (uname -a): Linux 6.12.22-powerpc64 #1 SMP Debian 6.12.22-1 
(2025-04-10) ppc
Distribution information (/etc/os-release):
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/";
SUPPORT_URL="https://www.debian.org/support";
BUG_REPORT_URL="https://bugs.debian.org/";

.. contents:: :depth: 2

FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O.O. +2-2/4 50%
 ** O: elf-rip did not match object file!
 ** O: gotpcrel did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 2)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  43
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================



riscv64:
FAIL: modules/objfmts/elf/tests/amd64/elf_amd64_test.sh
=======================================================

Test elf_amd64_test: O.OO +1-3/4 25%
 ** O: elf-rip did not match object file!
 ** O: gotpcrel did not match object file!
 ** O: multiplefixup did not match object file!
FAIL modules/objfmts/elf/tests/amd64/elf_amd64_test.sh (exit status: 3)

FAIL: modules/objfmts/elf/tests/gas64/elf_gas64_test.sh
=======================================================

Test elf_gas64_test: O... +3-1/4 75%
 ** O: crosssect did not match object file!
FAIL modules/objfmts/elf/tests/gas64/elf_gas64_test.sh (exit status: 1)

============================================================================
Testsuite summary for yasm 1.3.0
============================================================================
# TOTAL: 44
# PASS:  42
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0
============================================================================




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

Kernel: Linux 6.12.21-amd64 (SMP w/128 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.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 yasm depends on:
ii  libc6  2.41-6

yasm recommends no packages.

yasm suggests no packages.

-- no debconf information

Reply via email to