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

Bug#853409: marked as done (fwupdate: ftbfs with GCC-7)

Your message dated Fri, 04 Aug 2017 21:34:36 +0000
with message-id <E1ddkEu-0000nT-M4@fasolo.debian.org>
and subject line Bug#853409: fixed in fwupdate 9-2
has caused the Debian Bug report #853409,
regarding fwupdate: ftbfs with GCC-7
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

853409: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=853409
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:fwupdate
Version: 8-3
Severity: normal
Tags: sid buster
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-7

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-7/g++-7, but succeeds to build with gcc-6/g++-6. The
severity of this report may be raised before the buster release.
There is no need to fix this issue in time for the stretch release.

The full build log can be found at:
The last lines of the build log are at the end of this report.

To build with GCC 7, either set CC=gcc-7 CXX=g++-7 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

	--target efi-app-x86_64 mkvar2.so mkvar2.efi
rm fakeesrt.so fakeesrt2.o mkvar2.so dumpesrt.so dumpf.o mkvar.o fakeesrt2.so dumpf.so mkvar.so fwupdate.o fakeesrt.o mkvar2.o dumpesrt.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/efi'
make[3]: Entering directory '/<<PKGBUILDDIR>>/linux'
sed -e "s,@@VERSION@@,8,g" \
	-e "s,@@FWUP_MAJOR_VERSION@@,,g" \
	-e "s,@@FWUP_MINOR_VERSION@@,,g" \
	-e "s,@@DATADIR@@,/var/cache/,g" \
	-e "s,@@EFIDIR@@,debian,g" \
	-e "s,@@LIBDIR@@,/usr/lib/x86_64-linux-gnu,g" \
	-e "s,@@LIBEXECDIR@@,/usr/lib/,g" \
	include/fwup-version.h.in > include/fwup-version.h
gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DFWUPDATE_HAVE_LIBSMBIOS__ -Wall -Wextra -Werror -Wno-error=cpp -Wno-unused-result -Wno-unused-function -Wsign-compare -Werror=sign-compare -fshort-wchar --std=gnu11 -DLOCALEDIR=\"/usr/share/locale/\" -D_GNU_SOURCE -DFWUP_EFI_DIR_NAME=\"debian\" -I/<<PKGBUILDDIR>>/linux/include -iquote/<<PKGBUILDDIR>>/include/  -I/usr/include/efivar  -I/usr/include/efivar    -fPIC -c -o libfwup.o libfwup.c
In file included from /usr/include/efivar/efiboot.h:36:0,
                 from libfwup.c:12:
/usr/include/efivar/efiboot-loadopt.h:35:28: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 extern const unsigned char const * efi_loadopt_desc(efi_load_option *opt,
In file included from libfwup.c:29:0:
ucs2.h:13:29: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier]
 ucs2_to_utf8(const uint16_t const *chars, size_t max)
In file included from /usr/include/smbios_c/config/get_config.h:36:0,
                 from /usr/include/smbios_c/compat.h:27,
                 from /usr/include/smbios_c/token.h:23,
                 from libfwup.c:36:
/usr/include/smbios_c/config/compiler/gcc.h:31:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results" [-Wcpp]
 #     warning "Unknown compiler version - please run the configure tests and report the results"
libfwup.c: In function 'set_up_boot_next':
libfwup.c:962:36: error: may write a terminating nul past the end of the destination [-Werror=format-overflow=]
   sprintf(boot_next_name, "Boot%04X", boot_next);
libfwup.c:962:3: note: format output between 9 and 10 bytes into a destination of size 9
   sprintf(boot_next_name, "Boot%04X", boot_next);
cc1: all warnings being treated as errors
Makefile:76: recipe for target 'libfwup.o' failed
make[3]: *** [libfwup.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/linux'
Makefile:9: recipe for target 'all' failed
make[2]: *** [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 EFIDIR=debian returned exit code 2
debian/rules:21: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:18: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2

--- End Message ---
--- Begin Message ---
Source: fwupdate
Source-Version: 9-2

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

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

Debian distribution maintenance software
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)

Hash: SHA512

Format: 1.8
Date: Fri, 04 Aug 2017 16:11:35 -0500
Source: fwupdate
Binary: libfwup-dev fwupdate libfwup1
Architecture: source amd64
Version: 9-2
Distribution: unstable
Urgency: medium
Maintainer: Debian EFI <debian-efi@lists.debian.org>
Changed-By: Mario Limonciello <mario.limonciello@dell.com>
 fwupdate   - Tools to manage UEFI firmware updates
 libfwup-dev - Development headers for libfwup
 libfwup1   - Library to manage UEFI firmware updates
Closes: 853409
 fwupdate (9-2) unstable; urgency=medium
   * Add patch to fix compilation with gcc-7. (Closes: #853409)
   * Update build depends to efivar-31 to fix compilation with gcc-7
 ee45296e6913652dc2950baa84d4c74f44ff0cc0 2251 fwupdate_9-2.dsc
 a5b77505105d46bb819dd4cadc327ab0d367ef76 9648 fwupdate_9-2.debian.tar.xz
 62d5cdb1349165e903f76ea5bfdbd5bc8410015d 9818 fwupdate-dbgsym_9-2_amd64.deb
 0eb98074aaeb40c20547b6b2e4128e582de35658 6563 fwupdate_9-2_amd64.buildinfo
 31d7031850c49c1cd3873d921a9a3fdb7f4b3d87 38698 fwupdate_9-2_amd64.deb
 265b511a17c13b8bff1e79e2bab9882e9a074b21 6320 libfwup-dev_9-2_amd64.deb
 9470fe5236abd0b912f00ab26a712b511272b30c 30498 libfwup1-dbgsym_9-2_amd64.deb
 11a9197fa71e8c462f76ea42a18655c1501eaeac 17204 libfwup1_9-2_amd64.deb
 c1d1053a470a9cbf998d7efc4db8fc2c97e40b58db0efe0946b95a3a041d8077 2251 fwupdate_9-2.dsc
 16c1ed3310a98330419f8d90195b4256f2e5588bcec75e8ba61eb2dab5150354 9648 fwupdate_9-2.debian.tar.xz
 0af158a916aa771817255d56524d9e4ac0d857267fe1d31f65852b1a6d9539d8 9818 fwupdate-dbgsym_9-2_amd64.deb
 79b51e4d0ddba1ec7ef1d7828561ef2486c9bc862c94a9034bc8c558e4d2d6b4 6563 fwupdate_9-2_amd64.buildinfo
 dad7b155d9ea0653f266472c35c9578d43d15245304d6ee2b3f2631e31829483 38698 fwupdate_9-2_amd64.deb
 6b01ae1de89c16e48089934d7cc8e6f2a33561e53452bc6f8861e2834864c700 6320 libfwup-dev_9-2_amd64.deb
 ed50cef8941d171efc0e631317c8cabf0479a2be9567b303440c6d2197c1b22e 30498 libfwup1-dbgsym_9-2_amd64.deb
 1b682026b475bb1f99e7a22c26e37d8fa33384e39392a2d96e5e904e2ea7bd41 17204 libfwup1_9-2_amd64.deb
 3f5f9cc5c3b7e6514002be0e34db60a6 2251 libs optional fwupdate_9-2.dsc
 813c33871446c290874b40a332fedf76 9648 libs optional fwupdate_9-2.debian.tar.xz
 add450476007288306e99413e216fb39 9818 debug extra fwupdate-dbgsym_9-2_amd64.deb
 a8180448be31ea6075b48186e575f48f 6563 libs optional fwupdate_9-2_amd64.buildinfo
 3e6945edba3fe30b223180bf365b0c49 38698 admin optional fwupdate_9-2_amd64.deb
 55450f632edd59838da37163d63d70be 6320 libdevel optional libfwup-dev_9-2_amd64.deb
 9d6ccd28092f473ea43faa84b4bae385 30498 debug extra libfwup1-dbgsym_9-2_amd64.deb
 a61cff72b703d6c946b451e4470f73dd 17204 libs optional libfwup1_9-2_amd64.deb

Version: GnuPG v2


--- End Message ---

Reply to: