Your message dated Fri, 19 Feb 2016 16:25:44 +0000
with message-id <[email protected]>
and subject line Bug#808990: fixed in nss 2:3.21-1.1
has caused the Debian Bug report #808990,
regarding nss FTBFS on hppa - trivial patch attached
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 [email protected]
immediately.)


-- 
808990: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808990
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nss
Version: 2:3.21-1
Tags: patch

nss fails to build due to a double definition of BYTE_ORDER.
The attached patch fixes it.
Can you please apply it for next upload ?
Thanks,
Helge



This is the bug:
gcc -o OBJS/db.o -c -g -O2 -Wformat -Werror=format-security -Wall -pipe 
-D_FORTIFY_SOURCE=2 -fPIC -DLINUX2_1  -Wall -Werror -pipe -ffunction-sections 
-fdata-sections -DHAVE_STRERROR -DLINUX -Dlinux -DXP_UNIX -UDEBUG -DNDEBUG 
-D_REENTRANT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DSTDC_HEADERS -DHAVE_STRERROR 
-DHAVE_SNPRINTF -DMEMMOVE -D__DBINTERFACE_PRIVATE -I/usr/include/nspr 
-I/<<PKGBUILDDIR>>/dist/include -I/<<PKGBUILDDIR>>/dist/public/dbm 
-I/<<PKGBUILDDIR>>/dist/private/dbm  db.c
In file included from db.c:50:0:
/<<PKGBUILDDIR>>/dist/public/dbm/mcom_db.h:114:0: error: "BYTE_ORDER" redefined 
[-Werror]
 #define BYTE_ORDER BIG_ENDIAN
 ^
In file included from /usr/include/hppa-linux-gnu/sys/types.h:216:0,
                 from db.c:42:
/usr/include/endian.h:48:0: note: this is the location of the previous 
definition
 # define BYTE_ORDER __BYTE_ORDER
 ^
In file included from db.c:50:0:
/<<PKGBUILDDIR>>/dist/public/dbm/mcom_db.h:115:0: error: "BIG_ENDIAN" redefined 
[-Werror]
 #define BIG_ENDIAN      4321
 ^
In file included from /usr/include/hppa-linux-gnu/sys/types.h:216:0,
                 from db.c:42:
/usr/include/endian.h:46:0: note: this is the location of the previous 
definition
 # define BIG_ENDIAN __BIG_ENDIAN
 ^
diff -up ./nss/lib/dbm/include/mcom_db.h.org ./nss/lib/dbm/include/mcom_db.h
--- ./nss/lib/dbm/include/mcom_db.h.org	2015-12-25 20:53:01.852000000 +0100
+++ ./nss/lib/dbm/include/mcom_db.h	2015-12-25 20:53:17.368000000 +0100
@@ -110,7 +110,7 @@ typedef PRUint32 uint32;
 #endif /* !BYTE_ORDER */
 #endif /* __sun */
 
-#if defined(__hpux) || defined(__hppa)
+#if defined(__hpux)
 #define BYTE_ORDER BIG_ENDIAN
 #define BIG_ENDIAN      4321
 #define LITTLE_ENDIAN   1234            /* LSB first: i386, vax, all NT risc */

--- End Message ---
--- Begin Message ---
Source: nss
Source-Version: 2:3.21-1.1

We believe that the bug you reported is fixed in the latest version of
nss, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam Borowski <[email protected]> (supplier of updated nss 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 14 Feb 2016 14:46:40 +0100
Source: nss
Binary: libnss3 libnss3-1d libnss3-tools libnss3-dev libnss3-dbg
Architecture: source
Version: 2:3.21-1.1
Distribution: unstable
Urgency: medium
Maintainer: Maintainers of Mozilla-related packages 
<[email protected]>
Changed-By: Adam Borowski <[email protected]>
Description:
 libnss3    - Network Security Service libraries
 libnss3-1d - Network Security Service libraries - transitional package
 libnss3-dbg - Debugging symbols for the Network Security Service libraries
 libnss3-dev - Development files for the Network Security Service libraries
 libnss3-tools - Network Security Service tools
Closes: 699217 808990
Changes:
 nss (2:3.21-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix FTBFS on x32. Closes: #699217
   * Fix FTBFS on hppa. Closes: #808990
Checksums-Sha1:
 bbfbaf389f179efbeddf00957e615001e38df86b 1923 nss_3.21-1.1.dsc
 8123375bebce3602f2b7a00d25595783e92f89a4 25420 nss_3.21-1.1.debian.tar.xz
Checksums-Sha256:
 f2fd34f8fc1e23abc2b9e723ef5e95cd725f1a2c65c9cef6bf4bc966cf27eb27 1923 
nss_3.21-1.1.dsc
 3929e8ca1a3a45af676dffd6f81c1a56151effd325ca8be2d676746326c5602a 25420 
nss_3.21-1.1.debian.tar.xz
Files:
 adf99fc47dd118c7ebbe6e965aaef870 1923 libs optional nss_3.21-1.1.dsc
 2b8f4d0b3452ab0b8fbf14e6406cc42c 25420 libs optional nss_3.21-1.1.debian.tar.xz

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

iQEcBAEBCAAGBQJWwIWmAAoJECw7Q2/qxoEBH5kH/1A7uQF2xJwilFCvGE3MPwdF
cY14/zveAM7m2eQ+T0/8JK6ub7OSnix6aqXvM//Yn8ZqBwBeLitWQ/b9yMGX3kef
AuWlxt90w9MLA2Y3EMETBMxWMAPazVuIe+xdL9SKNN8/MHPlXfkQf5kjL3c7qsZH
vaaK6YwzdgRAvnp85zjcB5RVyf1+nDhYJPBdNE04izLUb8qitV93S+zVgw6Na31p
OGheXMtqi3LXWnzK3gRbCYu1VCZMHRkw1zVzZX1vYhIQbHGwuuifikRIih8DsEDb
4a3/srJ1ezP1aljiCWc8f9P6rj4K6AiPGam1fb8fpXlYQoIVb6AyNYbcy6VIbkg=
=rsEd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to