Source: bochs
Version: 2.6.11+dfsg-3
Severity: serious
Justification: FTBFS on arm64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201205 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on arm64 (I don't know if it also fails on amd64).
Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/bios'
> cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
> -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c -o
> biossums.o biossums.c
> cc -Wl,-z,relro -Wl,-z,now biossums.o -o biossums
> i686-linux-gnu-gcc -fno-stack-protector "-DBIOS_BUILD_DATE=\"`date -u -d '
> Sun Jan 5 08:36:00 CET 2020' '+%m/%d/%y'`\"" -E -P rombios.c > _rombios_.c
> bcc -o rombios.s -C-c -D__i86__ -0 -S _rombios_.c
> sed -e 's/^\.text//' -e 's/^\.data//' rombios.s > _rombios_.s
> as86 _rombios_.s -b tmp.bin -u- -w- -g -0 -j -O -l rombios.txt
> perl ./makesym.perl < rombios.txt > rombios.sym
> mv tmp.bin rombios16.bin
> ./biossums rombios16.bin
>
>
> PCI-Bios header at: 0x9620
> Current checksum: 0x07
> Calculated checksum: 0x07
>
>
> $PIR header at: 0x99D0
> Current checksum: 0x37
> Calculated checksum: 0x37
>
>
> $PnP header at: 0x9BB0
> Current checksum: 0xD1
> Calculated checksum: 0xB1 Setting checksum.
>
>
> Bios checksum at: 0xFFFF
> Current checksum: 0x00
> Calculated checksum: 0x15 Setting checksum.
> rm -f _rombios_.s
> i686-linux-gnu-gcc -fno-stack-protector -c -o rombios32start.o
> rombios32start.S
> cpp -P acpi-dsdt.dsl acpi-dsdt.dsl.i
> iasl -tc -p acpi-dsdt.hex acpi-dsdt.dsl.i
> acpi-dsdt.dsl.i 19: Device(PCI0) {
> Warning 3073 - Multiple types ^ (Device object requires either a
> _HID or _ADR, but not both)
>
> acpi-dsdt.dsl.i 157: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be
> made Serialized due to creation of named objects within
> (\_SB.PCI0.ISA.KBD._CRS)
>
> acpi-dsdt.dsl.i 159: Name (TMP, ResourceTemplate ()
> Remark 2173 - ^ Creation of named
> objects within a method is highly inefficient, use globals or method local
> variables instead (\_SB.PCI0.ISA.KBD._CRS)
>
> acpi-dsdt.dsl.i 186: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be
> made Serialized due to creation of named objects within
> (\_SB.PCI0.ISA.MOU._CRS)
>
> acpi-dsdt.dsl.i 188: Name (TMP, ResourceTemplate ()
> Remark 2173 - ^ Creation of named
> objects within a method is highly inefficient, use globals or method local
> variables instead (\_SB.PCI0.ISA.MOU._CRS)
>
> acpi-dsdt.dsl.i 202: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be made
> Serialized due to creation of named objects within (\_SB.PCI0.ISA.FDC0._CRS)
>
> acpi-dsdt.dsl.i 204: Name (BUF0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named objects within a
> method is highly inefficient, use globals or method local variables instead
> (\_SB.PCI0.ISA.FDC0._CRS)
>
> acpi-dsdt.dsl.i 230: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be made
> Serialized due to creation of named objects within (\_SB.PCI0.ISA.LPT._CRS)
>
> acpi-dsdt.dsl.i 232: Name (BUF0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named objects within a
> method is highly inefficient, use globals or method local variables instead
> (\_SB.PCI0.ISA.LPT._CRS)
>
> acpi-dsdt.dsl.i 257: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be made
> Serialized due to creation of named objects within (\_SB.PCI0.ISA.COM1._CRS)
>
> acpi-dsdt.dsl.i 259: Name (BUF0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named objects within a
> method is highly inefficient, use globals or method local variables instead
> (\_SB.PCI0.ISA.COM1._CRS)
>
> acpi-dsdt.dsl.i 284: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be made
> Serialized due to creation of named objects within (\_SB.PCI0.ISA.COM2._CRS)
>
> acpi-dsdt.dsl.i 286: Name (BUF0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named objects within a
> method is highly inefficient, use globals or method local variables instead
> (\_SB.PCI0.ISA.COM2._CRS)
>
> acpi-dsdt.dsl.i 330: If (And (0x80, PRQ0, Local1))
> Warning 3144 - Method Local is set but never used ^
> (Local1)
>
> acpi-dsdt.dsl.i 340: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be
> made Serialized due to creation of named objects within (\_SB.LNKA._CRS)
>
> acpi-dsdt.dsl.i 342: Name (PRR0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named
> objects within a method is highly inefficient, use globals or method local
> variables instead (\_SB.LNKA._CRS)
>
> acpi-dsdt.dsl.i 377: If (And (0x80, PRQ1, Local1))
> Warning 3144 - Method Local is set but never used ^
> (Local1)
>
> acpi-dsdt.dsl.i 387: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be
> made Serialized due to creation of named objects within (\_SB.LNKB._CRS)
>
> acpi-dsdt.dsl.i 389: Name (PRR0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named
> objects within a method is highly inefficient, use globals or method local
> variables instead (\_SB.LNKB._CRS)
>
> acpi-dsdt.dsl.i 424: If (And (0x80, PRQ2, Local1))
> Warning 3144 - Method Local is set but never used ^
> (Local1)
>
> acpi-dsdt.dsl.i 434: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be
> made Serialized due to creation of named objects within (\_SB.LNKC._CRS)
>
> acpi-dsdt.dsl.i 436: Name (PRR0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named
> objects within a method is highly inefficient, use globals or method local
> variables instead (\_SB.LNKC._CRS)
>
> acpi-dsdt.dsl.i 471: If (And (0x80, PRQ3, Local1))
> Warning 3144 - Method Local is set but never used ^
> (Local1)
>
> acpi-dsdt.dsl.i 481: Method (_CRS, 0, NotSerialized)
> Remark 2120 - ^ Control Method should be
> made Serialized due to creation of named objects within (\_SB.LNKD._CRS)
>
> acpi-dsdt.dsl.i 483: Name (PRR0, ResourceTemplate ()
> Remark 2173 - ^ Creation of named
> objects within a method is highly inefficient, use globals or method local
> variables instead (\_SB.LNKD._CRS)
>
>
> Intel ACPI Component Architecture
> ASL+ Optimizing Compiler/Disassembler version 20200925
> Copyright (c) 2000 - 2020 Intel Corporation
>
> ASL Input: acpi-dsdt.dsl.i - 19676 bytes 210 keywords 532 source
> lines
> AML Output: acpi-dsdt.aml - 3640 bytes 98 opcodes 112 named
> objects
> Hex Dump: acpi-dsdt.hex - 34535 bytes
>
> Compilation successful. 0 Errors, 5 Warnings, 20 Remarks, 226 Optimizations
> rm acpi-dsdt.dsl.i
> sed -i -e's/^unsigned/const
> unsigned/;s/ACPI-DSDT_HEX/ACPI_DSDT_HEX/g;s/acpi-dsdt_aml_code/AmlCode/g'
> acpi-dsdt.hex
> i686-linux-gnu-gcc -fno-stack-protector -O2 -Wall -c -o rombios32.o
> rombios32.c
> rombios32.c: In function ‘setup_mtrr’:
> rombios32.c:484:23: warning: variable ‘wc’ set but not used
> [-Wunused-but-set-variable]
> 484 | int i, vcnt, fix, wc;
> | ^~
> rombios32.c: In function ‘smbios_init’:
> rombios32.c:2201:30: warning: ‘%d’ directive output may be truncated writing
> between 1 and 6 bytes into a region of size 3 [-Wformat-truncation=]
> 2201 | snprintf(start, 8, "DIMM %d", instance);
> | ^~
> rombios32.c:2201:24: note: directive argument in the range [0, 131070]
> 2201 | snprintf(start, 8, "DIMM %d", instance);
> | ^~~~~~~~~
> rombios32.c:2201:5: note: ‘snprintf’ output between 7 and 12 bytes into a
> destination of size 8
> 2201 | snprintf(start, 8, "DIMM %d", instance);
> | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ld -o rombios32.out -T ./rombios32.ld rombios32start.o rombios32.o
> ld: cannot represent machine `i386'
> make[2]: *** [Makefile:114: rombios32.out] Error 1
The full build log is available from:
http://qa-logs.debian.net/2020/12/05/bochs_2.6.11+dfsg-3_unstable.log
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.