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

Bug#948645: marked as done (pesign FTBFS: nss-induced error: unsigned conversion from ‘int’ to ‘unsigned char’ changes value from ‘496’ to ‘240’ [-Werror=overflow])



Your message dated Fri, 01 Jan 2021 23:04:02 +0000
with message-id <E1kvTSk-000FCd-BR@fasolo.debian.org>
and subject line Bug#948645: fixed in pesign 0.112-6
has caused the Debian Bug report #948645,
regarding pesign FTBFS: nss-induced error: unsigned conversion from ‘int’ to ‘unsigned char’ changes value from ‘496’ to ‘240’ [-Werror=overflow]
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.)


-- 
948645: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=948645
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: pesign
Version: 0.112-5
Severity: serious

pesign fails to build from source in unstable:

| /usr/bin/gcc -g -O2 -ffile-prefix-map=/build/1st/pesign-0.112=. -fstack-protector-strong -Wformat -Werror=format-security  -Wall -Werror -Wno-cpp  -Wsign-compare -Wno-unused-result -Wno-unused-function -std=gnu11 -fshort-wchar -fPIC -flto -fno-strict-aliasing -fno-merge-constants -fkeep-inline-functions -D_GNU_SOURCE -DCONFIG_x86_64 -I/build/1st/pesign-0.112/include     -I/usr/include/efivar -I/usr/include/nss -I/usr/include/nspr -I/usr/include/uuid -Werror -Wdate-time -D_FORTIFY_SOURCE=2 -c -o efikeygen.o efikeygen.c
| In file included from /usr/include/nss/cert.h:22,
|                  from efikeygen.c:39:
| efikeygen.c: In function 'add_cert_type':
| /usr/include/nss/certt.h:460:5: error: unsigned conversion from 'int' to 'unsigned char' changes value from '496' to '240' [-Werror=overflow]
|   460 |     (NS_CERT_TYPE_SSL_CLIENT | NS_CERT_TYPE_SSL_SERVER | NS_CERT_TYPE_EMAIL | \
|       |     ^
| efikeygen.c:208:23: note: in expansion of macro 'NS_CERT_TYPE_APP'
|   208 |  unsigned char type = NS_CERT_TYPE_APP;
|       |                       ^~~~~~~~~~~~~~~~
| cc1: all warnings being treated as errors
| make[2]: *** [/build/1st/pesign-0.112/Make.rules:33: efikeygen.o] Error 1
| make[2]: Leaving directory '/build/1st/pesign-0.112/src'
| make[1]: *** [Makefile:25: all] Error 2
| make[1]: Leaving directory '/build/1st/pesign-0.112'
| dh_auto_build: make -j1 returned exit code 2
| make: *** [debian/rules:15: build] Error 255
| dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

Observed by crossqa:
http://crossqa.subdivi.de/build/pesign_0.112-5_arm64_20200111051741.log
Reproduced by reproducible builds:
https://tests.reproducible-builds.org/debian/rbuild/unstable/amd64/pesign_0.112-5.rbuild.log.gz

Very likely, this failure is due to a change in nss. I've Cced the
mozilla team.

Helmut

--- End Message ---
--- Begin Message ---
Source: pesign
Source-Version: 0.112-6
Done: Steve McIntyre <93sam@debian.org>

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

Debian distribution maintenance software
pp.
Steve McIntyre <93sam@debian.org> (supplier of updated pesign 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: SHA256

Format: 1.8
Date: Fri, 01 Jan 2021 22:34:53 +0000
Source: pesign
Architecture: source
Version: 0.112-6
Distribution: unstable
Urgency: medium
Maintainer: Debian UEFI maintainers <debian-efi@lists.debian.org>
Changed-By: Steve McIntyre <93sam@debian.org>
Closes: 948645
Changes:
 pesign (0.112-6) unstable; urgency=medium
 .
   * Fix FTBFS with new versions of NSS, using patch from
     upstream. Thanks to Dan Nicholson. Closes: #948645
   * Update Standards-Version to 4.5.1
   * Update debhelper compat to 10
Checksums-Sha1:
 b9af1edefc96288426ddce63cef42f8a06c742dc 2168 pesign_0.112-6.dsc
 c568e36e7f7843be67fa6fd7723becf1f0aa349a 12160 pesign_0.112-6.debian.tar.xz
 28a46d676800737d45e5718c2196c32ea6ee9dca 6090 pesign_0.112-6_source.buildinfo
Checksums-Sha256:
 11bdaa53e73cd8d0b80f38f003e33c1ae0060a2853d9138f1a85640377a8fe27 2168 pesign_0.112-6.dsc
 e4003e54db898cd10e768dae8330fa8922055e553d8f55b8ce45bfe8a6cc400b 12160 pesign_0.112-6.debian.tar.xz
 8158187993102a4a5e08baddf86f5bf6436966f95be58fe23494af6ad353905d 6090 pesign_0.112-6_source.buildinfo
Files:
 130b59e728d033e96a64f9cb4c3220ab 2168 devel optional pesign_0.112-6.dsc
 a0c5a9269a194a8b0d2532516f6c79c9 12160 devel optional pesign_0.112-6.debian.tar.xz
 d35bd40675ca327db7c890309351a439 6090 devel optional pesign_0.112-6_source.buildinfo

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

iQJFBAEBCAAvFiEEzrtSMB1hfpEDkP4WWHl5VzRCaE4FAl/vpN4RHDkzc2FtQGRl
Ymlhbi5vcmcACgkQWHl5VzRCaE7USw//Q4t3ZL/DJ4R0QGJI9kJyhszLeFQ3KnU2
rm/b+ZJs3NYnqjpRxPkqy0lkhkdHdTmZ0BftinCeRxW2H/DsmKVrTNG0tjV3OYek
cj2xIwYVDeMrl60ULpU2+Mh/8InJnAIuGXjbviTa9oej+ZfSRzSuPEqt2gGevX+a
I5rtKDk2GpPMOvudRHFoXNu17c5ZyBdAnf1al80cI+ft7VffqyJSC6itsl8tgNxS
AQkgqEAXH7oU1mGCjK/wqAg3rgy1jrps/EgBn0jIyNfbSHIAv4J8k9JAGCpEudyP
dKO1EAJkNq7LVC3aUjeb34szM55gfFZECPDL42tqt9zbNwyT+UlhpJzrUyha+m90
/C+SwtqfpMp05/mviPYyynkZ2XPS+bSUi8gDmxxwW5vVkVEG16Ha8Xug5jIwkA3/
MOgO3VKCb/xIbBvMC8FGguUz2XZ1bFWN+pgnRziRmB+EInIRWxEBrttr80JQpwgD
4ImAfQ+YVsV83TqoKkIdhsAyD1Q7OdyZW79F8sa3id43FYISRJWFQA6r51XZSvvi
l8eu+tMzjtzeXC/OTbo9VSYxnNCedNzov+hp7tiExEB/j5hbPywXTXoc/7v0tcSP
JVEykDcYa5KCAKH3LAIvHC8qScXTejZOr5KJdJcaRxlaJdcDooGwq8sPg5hINFQB
9328iYaH3uQ=
=h4Kg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: