Package: python2.7
Version: 2.7.2-7
Severity: normal

When building on amd64 via : fakeroot ./debian/rules binary (build
already done) DPKG_VARS is not set as I dit not use dpkg-buildpackage.
This patch fixes this issue. The error was:

dh_makeshlibs -plibpython2.7 -V 'libpython2.7'
dpkg-gensymbols: warning: some new symbols appeared in the symbols file:
see diff output below
dpkg-gensymbols: warning: some symbols or patterns disappeared in the
symbols file: see diff output below
dpkg-gensymbols: warning: debian/libpython2.7/DEBIAN/symbols doesn't
match completely debian/libpython2.7.symbols
--- debian/libpython2.7.symbols (libpython2.7_2.7.2-7_amd64)
+++ dpkg-gensymbolsrRYE0L       2011-11-02 14:03:17.976286134 +0100
@@ -869,7 +869,8 @@
  Py_GetVersion@Base 2.7
  Py_IgnoreEnvironmentFlag@Base 2.7
  Py_IncRef@Base 2.7
- Py_InitModule4@Base 2.7
+#MISSING: 2.7.2-7# Py_InitModule4@Base 2.7
+ Py_InitModule4_64@Base 2.7.2-7
  Py_Initialize@Base 2.7
  Py_InitializeEx@Base 2.7
  Py_InspectFlag@Base 2.7
dh_makeshlibs: dpkg-gensymbols -plibpython2.7
-Idebian/libpython2.7.symbols -Pdebian/libpython2.7 returned exit code 1
make: *** [binary-arch]


Best regards
Alban

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

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

Versions of packages python2.7 depends on:
ii  libbz2-1.0         1.0.5-7  
ii  libc6              2.13-21  
ii  libdb4.8           4.8.30-10
ii  libexpat1          2.0.1-7.1
ii  libncursesw5       5.9-3    
ii  libreadline6       6.2-7    
ii  libsqlite3-0       3.7.8-1  
ii  libtinfo5          5.9-3    
ii  mime-support       3.51-1   
ii  python2.7-minimal  2.7.2-7  

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.21.90.20111025-1
ii  python2.7-doc  2.7.2-7           

-- no debconf information
--- a/debian/rules	2011-11-02 15:24:39.212920232 +0100
+++ b/debian/rules	2011-11-02 15:26:44.735485491 +0100
@@ -11,6 +11,8 @@
 
 vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
 
+DPKG_VARS := $(shell dpkg-architecture)
+
 DEB_HOST_ARCH		?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH)
 DEB_HOST_ARCH_BITS	?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH_BITS)
 DEB_HOST_ARCH_OS	?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH_OS)

Reply via email to