Bug#963987: buster-pu: package libtool/2.4.6-9
Hi, all I meet the same problem when building the latest qemu package on buster. The output of the failed build log is : ``` . powerpc64-linux-gnu-ar cru libfs.a xxx.o xxx.o (a lot of .o's omitted); powerpc64-linux-gnu-ranlib libfs.a powerpc64-linux-gnu-ar: `u' modifier ignored since `D' is the default (see `U') cc1: all warnings being treated as errors make[1]: *** [rules.mak:233: target/drivers/usbohci.o] Error 1 make[1]: *** Waiting for unfinished jobs ``` It seems that the problem is related to the option `cru` to ar at first look. However, it's not the case. Rhe cause of the build failure is actually in usbohci.c: ``` /home//qemu/qemu/qemu-6.0+dfsg/roms/openbios/drivers/usbohci.c:46:32: error: unknown option after '#pragma GCC diagnostic' kind [-Werror=pragmas] #pragma GCC diagnostic warning "-Waddress-of-packed-member" ^~~~ ``` That's because the option `-Waddress-of-packed-member` is introduced in gcc 9, and we only have gcc 8 on buster. I'm posting this information here, in case anyone should reach this bug report via search engine. Cheers, Miao Wang
Bug#963987: buster-pu: package libtool/2.4.6-9
Control: tags -1 + moreinfo On Mon, 2020-06-29 at 19:23 +, Mohammed Naser wrote: > The following bug was reported back in 2017: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864018 > > Because of that bug, it's not possible to build certain packages from > source such as 'qemu' because it fails with the following: > > powerpc64-linux-gnu-ar: `u' modifier ignored since `D' is the default > (see `U') I assume there's some missing detail here, because qemu has been built in the Debian archive multiple times since 2017. > The bug explains the details of why/how this issue is happening. We can't approve an update simply based on a pointer to a bug. Please attach a copy of the proposed debdiff against the current package in stable, having built and tested it on a stable system. Regards, Adam
Bug#963987: buster-pu: package libtool/2.4.6-9
Package: release.debian.org Severity: normal Tags: buster User: release.debian@packages.debian.org Usertags: pu The following bug was reported back in 2017: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864018 Because of that bug, it's not possible to build certain packages from source such as 'qemu' because it fails with the following: powerpc64-linux-gnu-ar: `u' modifier ignored since `D' is the default (see `U') The bug explains the details of why/how this issue is happening. -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-4-cloud-amd64 (SMP w/32 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled