I tried to reproduce this in my sid chroot on a machine running Debian
Stable, but here it built just fine for amd64.  Was this a problem in
some other package which have since been fixed?

When I try the same build in a testing/trixy chroot on a different
machine, running testing, the build fail like this:

  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
  ============================================================================
  See ./test-suite.log for debugging.
  Some test(s) failed.  Please report this to bug-y...@tortall.net,
  together with the test-suite.log file (gzipped) and your system
  information.  Thanks.
  ============================================================================
  make[5]: *** [Makefile:3265: test-suite.log] Error 1

Perhaps the issue is kernel specific?  The latter test was done using
this script:

#!/bin/sh
set -x
set -e
pkg=$1
testdir="test-$pkg"
sudo debootstrap testing "$testdir"
sudo mount -o bind /proc "$testdir"/proc
echo deb-src http://deb.debian.org/debian testing main | sudo tee -a 
"$testdir"/etc/apt/sources.list
sudo chroot "$testdir" apt update
sudo chroot "$testdir" apt -y build-dep "$pkg"
sudo chroot "$testdir" apt-get source -b "$pkg"
sudo umount "$testdir"/proc

When I modify the script to rerun using unstable, I get this failure:

  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
  ============================================================================
  See ./test-suite.log for debugging.
  Some test(s) failed.  Please report this to bug-y...@tortall.net,
  together with the test-suite.log file (gzipped) and your system
  information.  Thanks.
  ============================================================================
  make[5]: *** [Makefile:3265: test-suite.log] Error 1

-- 
Happy hacking
Petter Reinholdtsen

Reply via email to