Your message dated Tue, 24 May 2011 19:56:51 +0300
with message-id <[email protected]>
and subject line Re: Bug#627747: /usr/bin/dpkg-gensymbols: Fails to handle arch 
tags properly
has caused the Debian Bug report #627747,
regarding /usr/bin/dpkg-gensymbols: Fails to handle arch tags properly
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.)


-- 
627747: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=627747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dpkg-dev
Version: 1.16.0.3
Severity: normal
File: /usr/bin/dpkg-gensymbols

I'm trying to build nspr 4.8.8 from roughly the same rules as 4.8.7, which
built fine, but somehow, it chokes on dpkg-gensymbols:

dpkg-gensymbols: warning: some libraries disappeared in the symbols file: 
(arch=ia64)_PR_ia64_AtomicDecrement@Base (arch=amd64 (arch=powerpc (arch=i386 
(arch=ia64)_PR_ia64_AtomicIncrement@Base (arch=ia64)_PR_ia64_AtomicAdd@Base 
(arch=ia64)_PR_ia64_AtomicSet@Base
dpkg-gensymbols: warning: some new symbols appeared in the symbols file: see 
diff output below
dpkg-gensymbols: warning: debian/libnspr4-0d/DEBIAN/symbols doesn't match 
completely debian/libnspr4-0d.symbols
--- debian/libnspr4-0d.symbols (libnspr4-0d_4.8.8-1_amd64)
+++ dpkg-gensymbolsnogL3u       2011-05-24 07:22:31.459980113 +0000
@@ -1,11 +1,3 @@
-(arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicSet@Base 1.8.0.10
-(arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicSet@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicAdd@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicDecrement@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicIncrement@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicSet@Base 1.8.0.10
-(arch=powerpc powerpcspe)_PR_ppc_AtomicSet@Base 4.7.0
- libVersionPoint@Base 1.8.0.10
 libnspr4.so.0d libnspr4-0d #MINVER#
  GetExecutionEnvironment@Base 1.8.0.10
  LL_MaxInt@Base 1.8.0.10
@@ -396,8 +388,13 @@
  PR_vsxprintf@Base 1.8.0.10
  PT_FPrintStats@Base 1.8.0.10
  SetExecutionEnvironment@Base 1.8.0.10
+ _PR_x86_64_AtomicAdd@Base 4.8.8-1
+ _PR_x86_64_AtomicDecrement@Base 4.8.8-1
+ _PR_x86_64_AtomicIncrement@Base 4.8.8-1
+ _PR_x86_64_AtomicSet@Base 4.8.8-1
  _pr_push_ipv6toipv4_layer@Base 1.8.0.10
  _pr_test_ipv6_socket@Base 1.8.0.10
+ libVersionPoint@Base 4.8.8-1
 libplc4.so.0d libnspr4-0d #MINVER#
  PL_Base64Decode@Base 1.8.0.10
  PL_Base64Encode@Base 1.8.0.10

If I remove the tags, it just works. If I e.g. move libVersionPoint@Base
 above the tagged symbols, the failure goes broader. The same symbol file
worked with 4.8.7.  The symbol list for 4.8.8 is also just the same.

Source can be found here (builds in a few seconds on a fast enough
machine):
http://people.debian.org/~glandium/nspr_4.8.8-1.dsc

Cheers,

Mike

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

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

Versions of packages dpkg-dev depends on:
ii  base-files            6.3                Debian base system miscellaneous f
ii  binutils              2.21.51.20110421-4 The GNU assembler, linker and bina
ii  bzip2                 1.0.5-6            high-quality block-sorting file co
ii  libdpkg-perl          1.16.0.3           Dpkg perl modules
ii  make                  3.81-8.1           An utility for Directing compilati
ii  patch                 2.6.1-1            Apply a diff file to an original
ii  xz-utils              5.0.0-2            XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.5       Informational list of build-essent
ii  fakeroot                      1.15.1-1   tool for simulating superuser priv
ii  gcc [c-compiler]              4:4.6.0-5  The GNU C compiler
ii  gcc-4.3 [c-compiler]          4.3.5-4    The GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.6-3    The GNU C compiler
ii  gcc-4.5 [c-compiler]          4.5.3-1    The GNU C compiler
ii  gcc-4.6 [c-compiler]          4.6.0-7    The GNU C compiler
ii  gnupg                         1.4.11-3   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.11-3   GNU privacy guard - signature veri
ii  libalgorithm-merge-perl       0.08-2     Perl module for three-way merge of

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2011.03.03 GnuPG keys of Debian Developers

-- no debconf information



--- End Message ---
--- Begin Message ---
Hello,

On antradienis 24 Gegužė 2011 10:33:20 Mike Hommey wrote:
> I'm trying to build nspr 4.8.8 from roughly the same rules as 4.8.7, which
> built fine, but somehow, it chokes on dpkg-gensymbols:
> 
> dpkg-gensymbols: warning: some libraries disappeared in the symbols file:
> (arch=ia64)_PR_ia64_AtomicDecrement@Base (arch=amd64 (arch=powerpc
> (arch=i386 (arch=ia64)_PR_ia64_AtomicIncrement@Base
> (arch=ia64)_PR_ia64_AtomicAdd@Base (arch=ia64)_PR_ia64_AtomicSet@Base
> dpkg-gensymbols: warning: some new symbols appeared in the symbols file:
> see diff output below dpkg-gensymbols: warning:
> debian/libnspr4-0d/DEBIAN/symbols doesn't match completely
> debian/libnspr4-0d.symbols --- debian/libnspr4-0d.symbols
> (libnspr4-0d_4.8.8-1_amd64)
> +++ dpkg-gensymbolsnogL3u     2011-05-24 07:22:31.459980113 +0000
> @@ -1,11 +1,3 @@
> -(arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicSet@Base 1.8.0.10
> -(arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicSet@Base 1.8.0.10
> -(arch=ia64)_PR_ia64_AtomicAdd@Base 1.8.0.10
> -(arch=ia64)_PR_ia64_AtomicDecrement@Base 1.8.0.10
> -(arch=ia64)_PR_ia64_AtomicIncrement@Base 1.8.0.10
> -(arch=ia64)_PR_ia64_AtomicSet@Base 1.8.0.10
> -(arch=powerpc powerpcspe)_PR_ppc_AtomicSet@Base 4.7.0
> - libVersionPoint@Base 1.8.0.10

All symbols (even if they have tags) have to be indented by a single space. 
Apply an attached patch to your package.

> If I remove the tags, it just works. If I e.g. move libVersionPoint@Base
>  above the tagged symbols, the failure goes broader. The same symbol file
> worked with 4.8.7.  The symbol list for 4.8.8 is also just the same.

If it worked, you were truly lucky. Since I don't believe in luck too much, I 
checked 4.8.7-2 source and symbol tags are not there. So apparently you were 
not entirely honest about "The same symbol file worked with 4.8.7" :-)

Anyway, closing as it's not a dpkg bug and nspr 4.8.8 is not in archive.

-- 
Modestas Vainius <[email protected]>
diff -Nru nspr-4.8.8/debian/libnspr4-0d.symbols nspr-4.8.8/debian/libnspr4-0d.symbols
--- nspr-4.8.8/debian/libnspr4-0d.symbols	2011-05-24 09:47:35.000000000 +0300
+++ nspr-4.8.8/debian/libnspr4-0d.symbols	2011-05-24 19:40:07.000000000 +0300
@@ -390,22 +390,22 @@
  SetExecutionEnvironment@Base 1.8.0.10
  _pr_push_ipv6toipv4_layer@Base 1.8.0.10
  _pr_test_ipv6_socket@Base 1.8.0.10
-(arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicAdd@Base 1.8.0.10
-(arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicDecrement@Base 1.8.0.10
-(arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicIncrement@Base 1.8.0.10
-(arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicSet@Base 1.8.0.10
-(arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicAdd@Base 1.8.0.10
-(arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicDecrement@Base 1.8.0.10
-(arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicIncrement@Base 1.8.0.10
-(arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicSet@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicAdd@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicDecrement@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicIncrement@Base 1.8.0.10
-(arch=ia64)_PR_ia64_AtomicSet@Base 1.8.0.10
-(arch=powerpc powerpcspe)_PR_ppc_AtomicAdd@Base 4.7.0
-(arch=powerpc powerpcspe)_PR_ppc_AtomicDecrement@Base 4.7.0
-(arch=powerpc powerpcspe)_PR_ppc_AtomicIncrement@Base 4.7.0
-(arch=powerpc powerpcspe)_PR_ppc_AtomicSet@Base 4.7.0
+ (arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicAdd@Base 1.8.0.10
+ (arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicDecrement@Base 1.8.0.10
+ (arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicIncrement@Base 1.8.0.10
+ (arch=amd64 kfreebsd-amd64)_PR_x86_64_AtomicSet@Base 1.8.0.10
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicAdd@Base 1.8.0.10
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicDecrement@Base 1.8.0.10
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicIncrement@Base 1.8.0.10
+ (arch=i386 kfreebsd-i386 hurd-i386)_PR_x86_AtomicSet@Base 1.8.0.10
+ (arch=ia64)_PR_ia64_AtomicAdd@Base 1.8.0.10
+ (arch=ia64)_PR_ia64_AtomicDecrement@Base 1.8.0.10
+ (arch=ia64)_PR_ia64_AtomicIncrement@Base 1.8.0.10
+ (arch=ia64)_PR_ia64_AtomicSet@Base 1.8.0.10
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicAdd@Base 4.7.0
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicDecrement@Base 4.7.0
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicIncrement@Base 4.7.0
+ (arch=powerpc powerpcspe)_PR_ppc_AtomicSet@Base 4.7.0
  libVersionPoint@Base 1.8.0.10
 libplc4.so.0d libnspr4-0d #MINVER#
  PL_Base64Decode@Base 1.8.0.10

Attachment: signature.asc
Description: This is a digitally signed message part.


--- End Message ---

Reply via email to