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

Bug#925672: marked as done (efivar: ftbfs with GCC-9)



Your message dated Fri, 12 Jun 2020 02:33:28 +0000
with message-id <E1jjZVY-000B4X-74@fasolo.debian.org>
and subject line Bug#925672: fixed in efivar 37-2.1
has caused the Debian Bug report #925672,
regarding efivar: 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.)


-- 
925672: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=925672
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:efivar
Version: 37-2
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/efivar_37-2_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.

[...]
Check disk space
----------------

Sufficient free space for build

User Environment
----------------

APT_CONFIG=/var/lib/sbuild/apt.conf
HOME=/sbuild-nonexistent
LANG=en_US.UTF-8
LC_ALL=POSIX
LOGNAME=user42
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
SCHROOT_ALIAS_NAME=unstable
SCHROOT_CHROOT_NAME=sid-amd64-sbuild
SCHROOT_COMMAND=env
SCHROOT_GID=1001
SCHROOT_GROUP=user42
SCHROOT_SESSION_ID=sid-amd64-sbuild-5140e265-439a-4f86-8475-7ce1ea65e9fa
SCHROOT_UID=1001
SCHROOT_USER=user42
SHELL=/bin/sh
USER=user42

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package efivar
dpkg-buildpackage: info: source version 37-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Steve McIntyre <93sam@debian.org>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean 
   dh_testdir
   dh_auto_clean
	make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/sh: 1: [[: not found
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
cc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -flto -I/<<PKGBUILDDIR>>/src/include/   -specs=/<<PKGBUILDDIR>>/gcc.specs  -L.  -Wl,-z,relro -Wl,-z,muldefs     -Wdate-time -D_FORTIFY_SOURCE=2 -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl 
In file included from efivar.h:30,
                 from makeguids.c:30:
dp.h: In function 'format_vendor_helper':
dp.h:118:37: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
  118 |  format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:25: note: in definition of macro 'format_guid'
   74 |   _rc = efi_guid_to_str(guid, &_guidstr);   \
      |                         ^~~~
cc1: all warnings being treated as errors
In file included from efivar.h:30,
                 from guid.c:27:
dp.h: In function 'format_vendor_helper':
dp.h:118:37: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
  118 |  format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:25: note: in definition of macro 'format_guid'
   74 |   _rc = efi_guid_to_str(guid, &_guidstr);   \
      |                         ^~~~
cc1: all warnings being treated as errors
make[2]: *** [/<<PKGBUILDDIR>>/Make.rules:13: makeguids] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:49: clean] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_clean: make -j1 clean returned exit code 2
make: *** [debian/rules:12: clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: efivar
Source-Version: 37-2.1
Done: David da Silva Polverari <david.polverari@gmail.com>

We believe that the bug you reported is fixed in the latest version of
efivar, 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 925672@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David da Silva Polverari <david.polverari@gmail.com> (supplier of updated efivar 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: Tue, 09 Jun 2020 17:31:58 -0500
Source: efivar
Architecture: source
Version: 37-2.1
Distribution: unstable
Urgency: medium
Maintainer: Debian UEFI Maintainers <debian-efi@lists.debian.org>
Changed-By: David da Silva Polverari <david.polverari@gmail.com>
Closes: 925672
Changes:
 efivar (37-2.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/patches: added upstream patches fix-gcc9-werror-format-guid.patch
     and fix-gcc9-werrors.patch to fix FTBFS with GCC 9. Thanks to Matthias
     Klose <doko@ubuntu.com>. (Closes: #925672)
Checksums-Sha1:
 d9d1ab6d54198e7fdf7d3c463186835198d4be35 2418 efivar_37-2.1.dsc
 31562660393b14415b1afcee3e83e7eacc58b722 10868 efivar_37-2.1.debian.tar.xz
 99891ba503a821a13c74a2a646e64f3cb0e0d572 5369 efivar_37-2.1_source.buildinfo
Checksums-Sha256:
 114c0c1bf0f39003739201728c196eb27cb50dd8ede96c8e2647de608b790f24 2418 efivar_37-2.1.dsc
 f127f4b11cfc3424d4552b1c920ff33f531ef920b03d7a63cf65091957b27373 10868 efivar_37-2.1.debian.tar.xz
 2edba7f6b18249060a7540f6b785b8aac9b3d47dc367fb54c89c1e1f3a83373f 5369 efivar_37-2.1_source.buildinfo
Files:
 93e1a31ecbbfdee5a0dee973fea56d42 2418 libs optional efivar_37-2.1.dsc
 3de78566a3f1fd9eed591aaa8efe7503 10868 libs optional efivar_37-2.1.debian.tar.xz
 6985900b39e56c4a897a8555b4f42630 5369 libs optional efivar_37-2.1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEENX3LDuyVoBrrofDS3mO5xwTr6e8FAl7gQbAACgkQ3mO5xwTr
6e/2Xw/9FBezbNonnOrKHLKUELhCi81hTcovM1Cf8mh8vBVN3/sOJksXNFC9aRpc
n/aZ9s/xl6zURbxz7tSO20oK6Y/YSlW1TT1fzQf2g1GDZE9rJ++BF6V0EaZXbL3C
28y3OkGEgv1wIWmVm9oyqJoKAboxa0JxbjdIUI/zFP7PsA0/bYKC3m9L8RL9/uDg
WaxZV9V9rEJd055bLOqOCotQsusE1BJsJpQ/1cgy9WAjjp+Go1XMmYpVKLfagGvX
8oJcwTiBJ02e7niedyi8h9BiBqGngFY/LI298UoaxeDY+vd+onFQYS+O7blTqLrq
ewC973jkWBtPDGiCLeb4UtzkTI4l6gDWW6F3xck20XIGT/1wdVL2cFxpmNalB2pc
R+Shef8G0vXrlFPOyIR/M5G1PCPPTMUTrIX8DOoaXOCj0m9qJTe3IOCci9ztOnyc
mn98sGZvz2qGg+ZzrFST94RIO02VbAseRD7o3N+DN/sNzaIkapRj1oENvFHA8xoS
wZ6S7mCmwSAh36UNFkhecz+jhzQo3PljA8TBbQPFKkHYd4enSRGZu+C8mrzSmVxy
voaXsUsW9kAzgwOcjw+jpK1T406rf2QgfWawsY6eUtyNyUPkg2oVyKMRZecIW3r5
I9b3DwkMKuEOY8pvEa9F/uxs1QO9N5s5NNT77vafofspOA526Ok=
=vTNG
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: