Source: acpica-unix
Version: 20190509-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

During a rebuild of the package on Debian Bullseye, the package fails to
build. A snippet of the build failure is below. The same build failure
is also seen in the Reproducible Builds.

```
[  219s] -  flex         ../../../source/compiler/aslcompiler.l
[  219s] -  Intermediate obj/aslcompilerlex.c
[  222s] - Link obj/iasl
[  222s] /usr/bin/ld: 
obj/aslcompilerparse.o:./generate/unix/iasl/y.tab.c:11227: multiple definition 
of `AslCompilerlval'; 
obj/aslcompilerlex.o:./generate/unix/iasl/../../../source/compiler/aslcompiler.l:51:
 first defined here
[  222s] /usr/bin/ld: 
obj/prparserlex.o:./generate/unix/iasl/../../../source/compiler/prparser.l:119: 
multiple definition of `LexBuffer'; 
obj/dtparserlex.o:./generate/unix/iasl/../../../source/compiler/dtparser.l:103: 
first defined here
[  223s] collect2: error: ld returned 1 exit status
[  223s] make[3]: *** [../Makefile.rules:15: obj/iasl] Error 1
[  223s] make[3]: Leaving directory '/usr/src/packages/BUILD/generate/unix/iasl'
[  223s] make[2]: *** [generate/unix/Makefile.common:7: iasl] Error 2
[  223s] make[2]: Leaving directory '/usr/src/packages/BUILD'
[  223s] dh_auto_build: error: make -j3 "OPT_CFLAGS=-g -O2 
-ffile-prefix-map=/usr/src/packages/BUILD=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-fno-strict-aliasing" CC=gcc returned exit code 2
[  223s] make[1]: *** [debian/rules:78: override_dh_auto_build] Error 25
[  223s] make[1]: Leaving directory '/usr/src/packages/BUILD'
[  223s] make: *** [debian/rules:31: build] Error 2
[  223s] dpkg-buildpackage: error: debian/rules build subprocess returned exit 
status 2
[  223s]
```


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (990, 'testing'), (500, 'stable-updates'), 
(500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_USER
Locale: LANG=en_IN.UTF-8, LC_CTYPE=en_IN.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to