Bug#650319: libnss3-dev: compilation error: pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined

Jonathan McDowell noodles at earth.li
Mon Nov 28 19:42:29 UTC 2011


Package: libnss3-dev
Version: 3.13.1.with.ckbi.1.88-1
Severity: important
Tags: patch upstream

I've hit the following compile error trying to build a more up-to-date
pidgin-sipe package:

/usr/include/nss/pkcs11n.h:365:26: error: "__GNUC_MINOR" is not defined [-Werror=undef]

Compiler is:

gcc (Debian 4.6.2-4) 4.6.2

Invoked as:

gcc -DHAVE_CONFIG_H -I. -I../.. -Werror -Wall -Wextra -Waggregate-return
-Wcast-align -Wdeclaration-after-statement -Winit-self
-Wmissing-declarations -Wmissing-prototypes -Wnested-externs
-Wpointer-arith -Wundef -Wunused-but-set-variable -I/usr/include/libxml2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-DLOCALEDIR=\"/usr/local/share/locale\" -I./../api -D_LARGEFILE64_SOURCE
-pthread -I/usr/include/gmime-2.4 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -g
-O2 -MT libsipe_core_la-sipe-crypt.lo -MD -MP -MF
.deps/libsipe_core_la-sipe-crypt.Tpo -c sipe-crypt.c  -fPIC -DPIC -o
.libs/libsipe_core_la-sipe-crypt.o

This is already fixed upstream at:

https://bugzilla.mozilla.org/show_bug.cgi?format=multiple&id=702090


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libnss3-dev depends on:
ii  libnspr4-dev  4.8.9-1                
ii  libnss3-1d    3.13.1.with.ckbi.1.88-1

libnss3-dev recommends no packages.

libnss3-dev suggests no packages.

-- no debconf information





More information about the pkg-mozilla-maintainers mailing list