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

Bug#925688: marked as done (fwupdate: ftbfs with GCC-9)



Your message dated Wed, 04 Sep 2019 17:33:58 +0000
with message-id <E1i5ZAM-0004RH-Do@fasolo.debian.org>
and subject line Bug#925688: fixed in fwupdate 12-6
has caused the Debian Bug report #925688,
regarding fwupdate: ftbfs with GCC-9
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
925688: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925688
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:fwupdate
Version: 12-4
Severity: normal
Tags: sid bullseye
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-9

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-9/g++-9, but succeeds to build with gcc-8/g++-8. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc9-20190321/fwupdate_12-4_unstable_gcc9.log
The last lines of the build log are at the end of this report.

To build with GCC 9, either set CC=gcc-9 CXX=g++-9 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-9/porting_to.html

GCC 9 also passes the linker option --as-needed by default; typical
build issues are passing libraries before object files to the linker,
or underlinking of convenience libraries built from the same source.

[...]
x86_64-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib/x86_64-linux-gnu -L/usr/lib -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib/crt0-efi-x86_64.o -o fakeesrt2.so fakeesrt2.o -lefi -lgnuefi \
	/usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a \
	-T elf_x86_64_efi.lds
x86_64-linux-gnu-objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
	-j .rel* -j .rela* -j .reloc -j .eh_frame \
	--target efi-app-x86_64 fakeesrt2.so fakeesrt2.efi
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/<<PKGBUILDDIR>>/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-linux-gnu/9/include -c -o fakeesrt.o fakeesrt.c
x86_64-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib/x86_64-linux-gnu -L/usr/lib -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib/crt0-efi-x86_64.o -o fakeesrt.so fakeesrt.o -lefi -lgnuefi \
	/usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a \
	-T elf_x86_64_efi.lds
x86_64-linux-gnu-objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
	-j .rel* -j .rela* -j .reloc -j .eh_frame \
	--target efi-app-x86_64 fakeesrt.so fakeesrt.efi
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/<<PKGBUILDDIR>>/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-linux-gnu/9/include -c -o dumpesrt.o dumpesrt.c
x86_64-linux-gnu-gcc -nostdlib -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-shared -Wl,-Bsymbolic -L/usr/lib/x86_64-linux-gnu -L/usr/lib -Wl,--build-id=sha1 -Wl,--hash-style=sysv /usr/lib/crt0-efi-x86_64.o -o dumpesrt.so dumpesrt.o -lefi -lgnuefi \
	/usr/lib/gcc/x86_64-linux-gnu/9/libgcc.a \
	-T elf_x86_64_efi.lds
x86_64-linux-gnu-objcopy -j .text -j .sdata -j .data -j .dynamic -j .dynsym \
	-j .rel* -j .rela* -j .reloc -j .eh_frame \
	--target efi-app-x86_64 dumpesrt.so dumpesrt.efi
x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fpic -Werror -Wall -Wextra -fshort-wchar -Wno-error=missing-field-initializers -Wno-missing-field-initializers -fno-merge-constants -ffreestanding -fno-stack-protector -fno-stack-check --std=gnu11 -DCONFIG_x86_64 -I/usr/include/efi/ -I/usr/include/efi/x86_64/ -iquote/<<PKGBUILDDIR>>/include "-DDEBUGDIR=L\"/\"" -mno-mmx -mno-sse -mno-red-zone -nostdinc -maccumulate-outgoing-args -DEFI_FUNCTION_WRAPPER -DGNU_EFI_USE_MS_ABI -I/usr/lib/gcc/x86_64-linux-gnu/9/include -c -o fwupdate.o fwupdate.c
In file included from /usr/include/efi/efi.h:41,
                 from fwupdate.c:11:
fwupdate.c: In function 'find_updates':
fwupdate.c:529:8: error: taking address of packed member of 'struct update_info_s' may result in an unaligned pointer value [-Werror=address-of-packed-member]
  529 |        &update->info->time_attempted,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/efi/x86_64/efibind.h:296:51: note: in definition of macro 'uefi_call_wrapper'
  296 | #define uefi_call_wrapper(func, va_num, ...) func(__VA_ARGS__)
      |                                                   ^~~~~~~~~~~
fwupdate.c: In function 'add_capsule':
fwupdate.c:1060:16: error: taking address of packed member of 'struct update_info_s' may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1060 |  if ((guid_cmp(&update->info->guid, (efi_guid_t *)fbuf) == 0 ||
      |                ^~~~~~~~~~~~~~~~~~~
fwupdate.c:1076:41: error: taking address of packed member of 'struct update_info_s' may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1076 |   if (!cap_out->Flags && !is_ux_capsule(&update->info->guid)) {
      |                                         ^~~~~~~~~~~~~~~~~~~
fwupdate.c:1023:39: note: in definition of macro 'is_ux_capsule'
 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0)
      |                                       ^~~~
fwupdate.c:1099:22: error: taking address of packed member of 'struct update_info_s' may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1099 |   if (!is_ux_capsule(&update->info->guid)) {
      |                      ^~~~~~~~~~~~~~~~~~~
fwupdate.c:1023:39: note: in definition of macro 'is_ux_capsule'
 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0)
      |                                       ^~~~
fwupdate.c:1118:20: error: taking address of packed member of 'struct update_info_s' may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1118 |  if (is_ux_capsule(&update->info->guid)) {
      |                    ^~~~~~~~~~~~~~~~~~~
fwupdate.c:1023:39: note: in definition of macro 'is_ux_capsule'
 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0)
      |                                       ^~~~
fwupdate.c: In function 'efi_main':
fwupdate.c:1295:22: error: taking address of packed member of 'struct update_info_s' may result in an unaligned pointer value [-Werror=address-of-packed-member]
 1295 |        is_ux_capsule(&updates[i]->info->guid))
      |                      ^~~~~~~~~~~~~~~~~~~~~~~
fwupdate.c:1023:39: note: in definition of macro 'is_ux_capsule'
 1023 | #define is_ux_capsule(guid) (guid_cmp(guid, &ux_capsule_guid) == 0)
      |                                       ^~~~
cc1: all warnings being treated as errors
make[3]: *** [/<<PKGBUILDDIR>>/efi/Makefile:119: fwupdate.o] Error 1
rm fakeesrt.so dumpesrt.so fakeesrt2.o fakeesrt2.so fakeesrt.o dumpesrt.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/efi'
make[2]: *** [Makefile:16: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: make -j1 libdir=/usr/lib/x86_64-linux-gnu libexecdir=\${prefix}/lib/ datadir=/var/cache/ localedir=/usr/share/locale/ GNUEFIDIR=\${prefix}/lib CROSS_COMPILE=x86_64-linux-gnu- EFIDIR=debian returned exit code 2
make[1]: *** [debian/rules:23: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:20: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: fwupdate
Source-Version: 12-6

We believe that the bug you reported is fixed in the latest version of
fwupdate, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 925688@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Mario Limonciello <mario.limonciello@dell.com> (supplier of updated fwupdate package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 04 Sep 2019 11:54:50 -0500
Source: fwupdate
Binary: fwupdate
Architecture: source
Version: 12-6
Distribution: unstable
Urgency: medium
Maintainer: Debian EFI <debian-efi@lists.debian.org>
Changed-By: Mario Limonciello <mario.limonciello@dell.com>
Description:
 fwupdate   - Transitional package for fwupd
Closes: 925688
Changes:
 fwupdate (12-6) unstable; urgency=medium
 .
   * Convert package into a transition package (Closes: #925688)
Checksums-Sha1:
 e94253a733c9aad12fb5692d6c16ce784169dedd 1979 fwupdate_12-6.dsc
 9819dfd6838f44948f645c062453bce80b489b38 61523 fwupdate_12.orig.tar.gz
 77806084c2419670c435c541392f91ac3848e42e 5668 fwupdate_12-6.debian.tar.xz
Checksums-Sha256:
 5f9c1e56f61ec74c281c389c1fc60a99cdc551741eb939322197397b49e3d6e2 1979 fwupdate_12-6.dsc
 47d84ad2d2df563a86b8ddb1403b7eef3c2ffbd066932c41864a6253319be328 61523 fwupdate_12.orig.tar.gz
 2a5f6b4e2cd7c00fb4d1e156cdf5f9336d6d885ae0d1f9a05f2150d4b46965fe 5668 fwupdate_12-6.debian.tar.xz
Files:
 3898731fc8355a7ecca8537c98077989 1979 libs optional fwupdate_12-6.dsc
 834e421b6aa3206358907e68fb1223c2 61523 libs optional fwupdate_12.orig.tar.gz
 c9811251a3832c7f4ae6e2e2e3446608 5668 libs optional fwupdate_12-6.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCgAGBQJdb++8AAoJEC0ZLKYkdwJ28dAP/ivQ6zYc9QLFDxF2ET0HupFP
4Wqyme912Wj8cUpAeSJNbQ89dR2JsjhQTMFud7UD8TaRn7vV2tZUMBcNLC7qrC5i
m4XBy9p5CCHEOH7GUqs4TilvoowP9/FqsL1QGeqff1v2WZvh2dLCWPkqxgwYTKsS
8dY7N0r4iBhkT6uXAEghMXfZ8GwJLV+49ThOyesFN7GQBVL17O43cvmQXxbkuCE1
rFHm++P9z7+bozMFFBiklTOfpTkZTmu7IRveHw2Ihd+rbfuoDL+fJPi6EqmOaexr
e7cupeycRWr52+Etyx3A9lsA3sS80vcsBKb3DhO94rkB44meuUqb5VnBSvK4oLMV
PKzgr+ma92Pdw2B5Jgs2htCgoDpWlFSYJcCTLGYT1JeG5wVOwYPYm6nmUPgtkuB9
fr9RS0OzBwMql6SYO1MfUlO6mgFOxaf4pLuf3XUFpWt1ol0yJ3hnm5U8wq4Yhe7q
rTJMSnuKy/q37lvB8DsVE41+IknZ/J2pUhXKxp3f5lYnZgj8LTffWvKfc5UZP9Ap
FbO4kYxTqT0iGQNvXejuD3og5EE4F1kAfRrB4QkkyshqRUyxLFsALGfki7g0gz6p
rTuWn4dI4/WNnOtXQ5NzLzojfYYuJW0QdKZHDuQUTCM9qFw2ugkcwIuLmnD0X+9G
93iUU/j/4FEO8zQnTq3E
=xlb5
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: