[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994274: syslinux: FTBFS with gnu-efi 3.0.13



Hi,

here are the bisect results:


# debbisect --cache cache -v --depends e2fslibs-dev,nasm,python3,uuid-dev,gnu-efi,debhelper-compat,binutils,gcc-multilib,build-essential 2020-02-01 2022-12-31 ./script.sh
good timestamp 2020-02-01 00:00:00+02:00 was remapped to snapshot.d.o timestamp 2020-01-31 21:17:03+00:00
bad timestamp 2022-12-31 00:00:00+02:00 was remapped to snapshot.d.o timestamp 2022-12-30 15:17:41+00:00
INFO:root:using cache directory: cache
snapshot timestamp difference: 1063.750440 days
approximately 14 steps left to test
#1: using cached results from debbisect.20200131T211703Z.log.good
computation time left: 0:00:00.001066
approximately 13 steps left to test
#2: using cached results from debbisect.20221230T151741Z.log.bad
snapshot timestamp difference: 1063.750440 days
computation time left: 0:00:01.426242
approximately 12 steps left to test
#3: using cached result (was good) from debbisect.20210716T091727Z.log.good
snapshot timestamp difference: 532.250162 days
computation time left: 0:00:01.436556
approximately 11 steps left to test
#4: using cached result (was good) from debbisect.20220408T091859Z.log.good
snapshot timestamp difference: 266.249097 days
computation time left: 0:00:01.549000
approximately 10 steps left to test
#5: using cached result (was bad) from debbisect.20220818T100320Z.log.bad
snapshot timestamp difference: 132.030799 days
computation time left: 0:00:01.393391
approximately 9 steps left to test
#6: using cached result (was good) from debbisect.20220613T085403Z.log.good
snapshot timestamp difference: 66.048113 days
computation time left: 0:00:01.362789
approximately 8 steps left to test
#7: using cached result (was good) from debbisect.20220716T092224Z.log.good
snapshot timestamp difference: 33.028426 days
computation time left: 0:00:01.257209
approximately 7 steps left to test
#8: using cached result (was bad) from debbisect.20220801T205040Z.log.bad
snapshot timestamp difference: 16.477963 days
computation time left: 0:00:01.060509
approximately 6 steps left to test
#9: using cached result (was bad) from debbisect.20220724T092241Z.log.bad
snapshot timestamp difference: 8.000197 days
computation time left: 0:00:00.870132
approximately 5 steps left to test
#10: using cached result (was good) from debbisect.20220720T092049Z.log.good
snapshot timestamp difference: 4.001296 days
computation time left: 0:00:00.721089
approximately 4 steps left to test
#11: using cached result (was good) from debbisect.20220722T085138Z.log.good
snapshot timestamp difference: 2.021562 days
computation time left: 0:00:00.533613
approximately 3 steps left to test
#12: using cached result (was bad) from debbisect.20220723T030313Z.log.bad
snapshot timestamp difference: 0.758044 days
computation time left: 0:00:00.365619
approximately 2 steps left to test
#13: using cached result (was bad) from debbisect.20220722T150935Z.log.bad
bisection finished successfully
  last good timestamp: 2022-07-22 08:51:38+00:00
  first bad timestamp: 2022-07-22 15:09:35+00:00
the following packages differ between the last good and first bad timestamp:
  cpp 4:11.2.0-2 -> 4:12.1.0-1
  cpp-12 (n.a.) -> 12.1.0-7
  g++ 4:11.2.0-2 -> 4:12.1.0-1
  g++-12 (n.a.) -> 12.1.0-7
  gcc 4:11.2.0-2 -> 4:12.1.0-1
  gcc-12 (n.a.) -> 12.1.0-7
  gcc-12-multilib (n.a.) -> 12.1.0-7
  gcc-multilib 4:11.2.0-2 -> 4:12.1.0-1
  lib32asan8 (n.a.) -> 12.1.0-7
  lib32gcc-12-dev (n.a.) -> 12.1.0-7
  libasan8:amd64 (n.a.) -> 12.1.0-7
  libgcc-12-dev:amd64 (n.a.) -> 12.1.0-7
  libstdc++-12-dev:amd64 (n.a.) -> 12.1.0-7
  libtsan2:amd64 (n.a.) -> 12.1.0-7
  libx32asan8 (n.a.) -> 12.1.0-7
  libx32gcc-12-dev (n.a.) -> 12.1.0-7
test upgrading cpp 4:11.2.0-2 -> 4:12.1.0-1...
using cached result (was bad) from debbisect.20220722T085138Z.cpp.log.bad
  upgrading cpp triggered the problem
  additional packages that got upgraded/installed at the same time:
    cpp-12 (n.a.) -> 12.1.0-7
    g++ 4:11.2.0-2 -> 4:12.1.0-1
    g++-12 (n.a.) -> 12.1.0-7
    gcc 4:11.2.0-2 -> 4:12.1.0-1
    gcc-12 (n.a.) -> 12.1.0-7
    gcc-12-multilib (n.a.) -> 12.1.0-7
    gcc-multilib 4:11.2.0-2 -> 4:12.1.0-1
    lib32asan8 (n.a.) -> 12.1.0-7
    lib32gcc-12-dev (n.a.) -> 12.1.0-7
    libasan8:amd64 (n.a.) -> 12.1.0-7
    libgcc-12-dev:amd64 (n.a.) -> 12.1.0-7
    libstdc++-12-dev:amd64 (n.a.) -> 12.1.0-7
    libtsan2:amd64 (n.a.) -> 12.1.0-7
    libx32asan8 (n.a.) -> 12.1.0-7
    libx32gcc-12-dev (n.a.) -> 12.1.0-7
test installing cpp-12 12.1.0-7...
using cached result (was bad) from debbisect.20220722T085138Z.cpp-12.log.bad
  upgrading cpp-12 triggered the problem
test upgrading g++ 4:11.2.0-2 -> 4:12.1.0-1...
using cached result (was bad) from debbisect.20220722T085138Z.g++.log.bad
  upgrading g++ triggered the problem
  additional packages that got upgraded/installed at the same time:
    cpp 4:11.2.0-2 -> 4:12.1.0-1
    cpp-12 (n.a.) -> 12.1.0-7
    g++-12 (n.a.) -> 12.1.0-7
    gcc 4:11.2.0-2 -> 4:12.1.0-1
    gcc-12 (n.a.) -> 12.1.0-7
    gcc-12-multilib (n.a.) -> 12.1.0-7
    gcc-multilib 4:11.2.0-2 -> 4:12.1.0-1
    lib32asan8 (n.a.) -> 12.1.0-7
    lib32gcc-12-dev (n.a.) -> 12.1.0-7
    libasan8:amd64 (n.a.) -> 12.1.0-7
    libgcc-12-dev:amd64 (n.a.) -> 12.1.0-7
    libstdc++-12-dev:amd64 (n.a.) -> 12.1.0-7
    libtsan2:amd64 (n.a.) -> 12.1.0-7
    libx32asan8 (n.a.) -> 12.1.0-7
    libx32gcc-12-dev (n.a.) -> 12.1.0-7
test installing g++-12 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.g++-12.log.good
  installing g++-12 does not cause the problem
test upgrading gcc 4:11.2.0-2 -> 4:12.1.0-1...
using cached result (was bad) from debbisect.20220722T085138Z.gcc.log.bad
  upgrading gcc triggered the problem
  additional packages that got upgraded/installed at the same time:
    cpp 4:11.2.0-2 -> 4:12.1.0-1
    cpp-12 (n.a.) -> 12.1.0-7
    g++ 4:11.2.0-2 -> 4:12.1.0-1
    g++-12 (n.a.) -> 12.1.0-7
    gcc-12 (n.a.) -> 12.1.0-7
    gcc-12-multilib (n.a.) -> 12.1.0-7
    gcc-multilib 4:11.2.0-2 -> 4:12.1.0-1
    lib32asan8 (n.a.) -> 12.1.0-7
    lib32gcc-12-dev (n.a.) -> 12.1.0-7
    libasan8:amd64 (n.a.) -> 12.1.0-7
    libgcc-12-dev:amd64 (n.a.) -> 12.1.0-7
    libstdc++-12-dev:amd64 (n.a.) -> 12.1.0-7
    libtsan2:amd64 (n.a.) -> 12.1.0-7
    libx32asan8 (n.a.) -> 12.1.0-7
    libx32gcc-12-dev (n.a.) -> 12.1.0-7
test installing gcc-12 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.gcc-12.log.good
  installing gcc-12 does not cause the problem
test installing gcc-12-multilib 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.gcc-12-multilib.log.good
  installing gcc-12-multilib does not cause the problem
test upgrading gcc-multilib 4:11.2.0-2 -> 4:12.1.0-1...
using cached result (was bad) from debbisect.20220722T085138Z.gcc-multilib.log.bad
  upgrading gcc-multilib triggered the problem
  additional packages that got upgraded/installed at the same time:
    cpp 4:11.2.0-2 -> 4:12.1.0-1
    cpp-12 (n.a.) -> 12.1.0-7
    g++ 4:11.2.0-2 -> 4:12.1.0-1
    g++-12 (n.a.) -> 12.1.0-7
    gcc 4:11.2.0-2 -> 4:12.1.0-1
    gcc-12 (n.a.) -> 12.1.0-7
    gcc-12-multilib (n.a.) -> 12.1.0-7
    lib32asan8 (n.a.) -> 12.1.0-7
    lib32gcc-12-dev (n.a.) -> 12.1.0-7
    libasan8:amd64 (n.a.) -> 12.1.0-7
    libgcc-12-dev:amd64 (n.a.) -> 12.1.0-7
    libstdc++-12-dev:amd64 (n.a.) -> 12.1.0-7
    libtsan2:amd64 (n.a.) -> 12.1.0-7
    libx32asan8 (n.a.) -> 12.1.0-7
    libx32gcc-12-dev (n.a.) -> 12.1.0-7
test installing lib32asan8 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.lib32asan8.log.good
  installing lib32asan8 does not cause the problem
test installing lib32gcc-12-dev 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.lib32gcc-12-dev.log.good
  installing lib32gcc-12-dev does not cause the problem
test installing libasan8:amd64 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.libasan8:amd64.log.good
  installing libasan8:amd64 does not cause the problem
test installing libgcc-12-dev:amd64 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.libgcc-12-dev:amd64.log.good
  installing libgcc-12-dev:amd64 does not cause the problem
test installing libstdc++-12-dev:amd64 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.libstdc++-12-dev:amd64.log.good
  installing libstdc++-12-dev:amd64 does not cause the problem
test installing libtsan2:amd64 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.libtsan2:amd64.log.good
  installing libtsan2:amd64 does not cause the problem
test installing libx32asan8 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.libx32asan8.log.good
  installing libx32asan8 does not cause the problem
test installing libx32gcc-12-dev 12.1.0-7...
using cached result (was good) from debbisect.20220722T085138Z.libx32gcc-12-dev.log.good
  installing libx32gcc-12-dev does not cause the problem



#### script.sh

#!/bin/bash

dir="$1"

echo building syslinux

mkdir "$dir/build"

cp syslinux_6.04~git20190206.bf6db5b4+dfsg1-3.dsc syslinux_6.04~git20190206.bf6db5b4+dfsg1-3.debian.tar.xz syslinux_6.04~git20190206.bf6db5b4+dfsg1.orig.tar.xz "$dir/build"
cp -a syslinux-6.04~git20190206.bf6db5b4+dfsg1 "$dir/build"

cp gnu-efi_3.0.9-2.debian.tar.xz gnu-efi_3.0.9-2.dsc gnu-efi_3.0.9.orig.tar.bz2 "$dir/build"
cp -a gnu-efi-3.0.9 "$dir/build"

cp script2.sh "$dir"

chroot "$dir" ./script2.sh

rc=$?
if [ "$rc" != "0" ]; then
    echo build failed
    exit 1
fi


file1="$dir/build/syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/syslinux-efi/usr/lib/SYSLINUX.EFI/efi64/syslinux.efi"

if [ ! -e "$file1" ]; then
    echo build did not produce $file1
    exit 1
fi

dir2="$dir/build/syslinux-6.04~git20190206.bf6db5b4+dfsg1/debian/syslinux-common/usr/lib/syslinux/modules/efi64"

if [ ! -e "$dir2" ]; then
    echo build did not produce $dir2
    exit 1
fi



virt-copy-in -d debian11 "$file1" $dir2/* /boot/efi/EFI/syslinux/

virsh start debian11

sleep 20

virsh screenshot debian11 screenshot.png

virsh destroy debian11

tesseract screenshot.png - > screenshot.txt

cat screenshot.txt

for i in futomatic "edit options"; do
    if [ "$(grep "$i" screenshot.txt)" != "" ]; then
	echo "OK"
	exit 0
    fi
done
echo "FAIL"
exit 1


#### script2.sh

#!/bin/bash

(
    cd build/gnu-efi-3.0.9 || exit 1
    dpkg-buildpackage -us -uc
    dpkg -i ../gnu-efi*.deb
)

(
    cd build/syslinux-6.04~git20190206.bf6db5b4+dfsg1 || exit 1
    dpkg-buildpackage -us -uc
)

-Timo


Reply to: