[Reproducible-builds] Bug#828936: python-mhash: FTBFS: /bin/sh: 3: pythonpython2.7-dbg: not found

Chris Lamb lamby at debian.org
Wed Jun 29 06:15:45 UTC 2016


Source: python-mhash
Version: 1.4-1.1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

python-mhash fails to build from source in unstable/amd64:

  [..]

  
  **************************************************************************************
  ** Starting build                                                                   **
  **************************************************************************************
  
   Package:              python-mhash
   Version:              1.4-1.1
   Build architecture:   amd64
   Date:                 Wed, 29 Jun 2016 08:05:52 +0200
   Hostname:             44d6b7270c68
   Uname:                Linux 44d6b7270c68 4.5.0-2-amd64 #1 SMP Debian 4.5.4-1 (2016-05-16) x86_64 GNU/Linux
   /etc/timezone:        Africa/Johannesburg
  
  **************************************************************************************
  ** Installing build dependencies                                                    **
  **************************************************************************************
  
  dh_testdir
  dh_testroot
  dh_prep
  dh_testdir
  dh_testroot
  dh_install
  dh_installdocs
  dh_installchangelogs
  dh_compress
  dh_fixperms
  dh_installdeb
  dh_gencontrol
  dh_md5sums
  dh_builddeb
  dpkg-deb: building package 'python-mhash-build-deps' in '../python-mhash-build-deps_1.4-1.1_all.deb'.
  
  The package has been created.
  Attention, the package has been created in the current directory,
  not in ".." as indicated by the message above!
  Selecting previously unselected package python-mhash-build-deps.
  (Reading database ... 23073 files and directories currently installed.)
  Preparing to unpack python-mhash-build-deps_1.4-1.1_all.deb ...
  Unpacking python-mhash-build-deps (1.4-1.1) ...
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Correcting dependencies... Done
  The following additional packages will be installed:
    cdbs libexpat1-dev libmhash-dev libmhash2 libpython-all-dbg
    libpython-all-dev libpython-dbg libpython-dev libpython2.7 libpython2.7-dbg
    libpython2.7-dev python-all python-all-dbg python-all-dev python-dbg
    python-dev python2.7-dbg python2.7-dev
  Suggested packages:
    python2.7-gdbm-dbg python2.7-tk-dbg python-gdbm-dbg python-tk-dbg
  The following NEW packages will be installed:
    cdbs libexpat1-dev libmhash-dev libmhash2 libpython-all-dbg
    libpython-all-dev libpython-dbg libpython-dev libpython2.7 libpython2.7-dbg
    libpython2.7-dev python-all python-all-dbg python-all-dev python-dbg
    python-dev python2.7-dbg python2.7-dev
  0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
  1 not fully installed or removed.
  Need to get 41.8 MB of archives.
  After this operation, 83.0 MB of additional disk space will be used.
  Get:1 http://httpredir.debian.org/debian sid/main amd64 cdbs all 0.4.142 [80.7 kB]
  Get:2 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-2 [938 B]
  Get:3 http://httpredir.debian.org/debian sid/main amd64 libpython2.7 amd64 2.7.12~rc1-2 [1068 kB]
  Get:4 http://httpredir.debian.org/debian sid/main amd64 libexpat1-dev amd64 2.2.0-1 [128 kB]
  Get:5 http://httpredir.debian.org/debian sid/main amd64 libpython2.7-dev amd64 2.7.12~rc1-2 [27.8 MB]
  Get:6 http://httpredir.debian.org/debian sid/main amd64 libpython-dev amd64 2.7.11-2 [19.8 kB]
  Get:7 http://httpredir.debian.org/debian sid/main amd64 libpython-all-dev amd64 2.7.11-2 [952 B]
  Get:8 http://httpredir.debian.org/debian sid/main amd64 python2.7-dev amd64 2.7.12~rc1-2 [281 kB]
  Get:9 http://httpredir.debian.org/debian sid/main amd64 python-dev amd64 2.7.11-2 [1128 B]
  Get:10 http://httpredir.debian.org/debian sid/main amd64 python-all-dev amd64 2.7.11-2 [954 B]
  Get:11 http://httpredir.debian.org/debian sid/main amd64 libpython2.7-dbg amd64 2.7.12~rc1-2 [4409 kB]
  Get:12 http://httpredir.debian.org/debian sid/main amd64 libpython-dbg amd64 2.7.11-2 [19.8 kB]
  Get:13 http://httpredir.debian.org/debian sid/main amd64 libpython-all-dbg amd64 2.7.11-2 [1074 B]
  Get:14 http://httpredir.debian.org/debian sid/main amd64 python2.7-dbg amd64 2.7.12~rc1-2 [7768 kB]
  Get:15 http://httpredir.debian.org/debian sid/main amd64 python-dbg amd64 2.7.11-2 [1204 B]
  Get:16 http://httpredir.debian.org/debian sid/main amd64 python-all-dbg amd64 2.7.11-2 [956 B]
  Get:17 http://httpredir.debian.org/debian sid/main amd64 libmhash2 amd64 0.9.9.9-7 [91.8 kB]
  Get:18 http://httpredir.debian.org/debian sid/main amd64 libmhash-dev amd64 0.9.9.9-7 [105 kB]
  Fetched 41.8 MB in 0s (121 MB/s)
  Selecting previously unselected package cdbs.
  (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 23077 files and directories currently installed.)
  Preparing to unpack .../archives/cdbs_0.4.142_all.deb ...
  Unpacking cdbs (0.4.142) ...
  Selecting previously unselected package python-all.
  Preparing to unpack .../python-all_2.7.11-2_amd64.deb ...
  Unpacking python-all (2.7.11-2) ...
  Selecting previously unselected package libpython2.7:amd64.
  Preparing to unpack .../libpython2.7_2.7.12~rc1-2_amd64.deb ...
  Unpacking libpython2.7:amd64 (2.7.12~rc1-2) ...
  Selecting previously unselected package libexpat1-dev:amd64.
  Preparing to unpack .../libexpat1-dev_2.2.0-1_amd64.deb ...
  Unpacking libexpat1-dev:amd64 (2.2.0-1) ...
  Selecting previously unselected package libpython2.7-dev:amd64.
  Preparing to unpack .../libpython2.7-dev_2.7.12~rc1-2_amd64.deb ...
  Unpacking libpython2.7-dev:amd64 (2.7.12~rc1-2) ...
  Selecting previously unselected package libpython-dev:amd64.
  Preparing to unpack .../libpython-dev_2.7.11-2_amd64.deb ...
  Unpacking libpython-dev:amd64 (2.7.11-2) ...
  Selecting previously unselected package libpython-all-dev:amd64.
  Preparing to unpack .../libpython-all-dev_2.7.11-2_amd64.deb ...
  Unpacking libpython-all-dev:amd64 (2.7.11-2) ...
  Selecting previously unselected package python2.7-dev.
  Preparing to unpack .../python2.7-dev_2.7.12~rc1-2_amd64.deb ...
  Unpacking python2.7-dev (2.7.12~rc1-2) ...
  Selecting previously unselected package python-dev.
  Preparing to unpack .../python-dev_2.7.11-2_amd64.deb ...
  Unpacking python-dev (2.7.11-2) ...
  Selecting previously unselected package python-all-dev.
  Preparing to unpack .../python-all-dev_2.7.11-2_amd64.deb ...
  Unpacking python-all-dev (2.7.11-2) ...
  Selecting previously unselected package libpython2.7-dbg:amd64.
  Preparing to unpack .../libpython2.7-dbg_2.7.12~rc1-2_amd64.deb ...
  Unpacking libpython2.7-dbg:amd64 (2.7.12~rc1-2) ...
  Selecting previously unselected package libpython-dbg:amd64.
  Preparing to unpack .../libpython-dbg_2.7.11-2_amd64.deb ...
  Unpacking libpython-dbg:amd64 (2.7.11-2) ...
  Selecting previously unselected package libpython-all-dbg:amd64.
  Preparing to unpack .../libpython-all-dbg_2.7.11-2_amd64.deb ...
  Unpacking libpython-all-dbg:amd64 (2.7.11-2) ...
  Selecting previously unselected package python2.7-dbg.
  Preparing to unpack .../python2.7-dbg_2.7.12~rc1-2_amd64.deb ...
  Unpacking python2.7-dbg (2.7.12~rc1-2) ...
  Selecting previously unselected package python-dbg.
  Preparing to unpack .../python-dbg_2.7.11-2_amd64.deb ...
  Unpacking python-dbg (2.7.11-2) ...
  Selecting previously unselected package python-all-dbg.
  Preparing to unpack .../python-all-dbg_2.7.11-2_amd64.deb ...
  Unpacking python-all-dbg (2.7.11-2) ...
  Selecting previously unselected package libmhash2:amd64.
  Preparing to unpack .../libmhash2_0.9.9.9-7_amd64.deb ...
  Unpacking libmhash2:amd64 (0.9.9.9-7) ...
  Selecting previously unselected package libmhash-dev.
  Preparing to unpack .../libmhash-dev_0.9.9.9-7_amd64.deb ...
  Unpacking libmhash-dev (0.9.9.9-7) ...
  Processing triggers for man-db (2.7.5-1) ...
  Processing triggers for libc-bin (2.22-13) ...
  Setting up cdbs (0.4.142) ...
  Setting up python-all (2.7.11-2) ...
  Setting up libpython2.7:amd64 (2.7.12~rc1-2) ...
  Setting up libexpat1-dev:amd64 (2.2.0-1) ...
  Setting up libpython2.7-dev:amd64 (2.7.12~rc1-2) ...
  Setting up libpython-dev:amd64 (2.7.11-2) ...
  Setting up libpython-all-dev:amd64 (2.7.11-2) ...
  Setting up python2.7-dev (2.7.12~rc1-2) ...
  Setting up python-dev (2.7.11-2) ...
  Setting up python-all-dev (2.7.11-2) ...
  Setting up libpython2.7-dbg:amd64 (2.7.12~rc1-2) ...
  Setting up libpython-dbg:amd64 (2.7.11-2) ...
  Setting up libpython-all-dbg:amd64 (2.7.11-2) ...
  Setting up python2.7-dbg (2.7.12~rc1-2) ...
  Setting up python-dbg (2.7.11-2) ...
  Setting up python-all-dbg (2.7.11-2) ...
  Setting up libmhash2:amd64 (0.9.9.9-7) ...
  Setting up libmhash-dev (0.9.9.9-7) ...
  Setting up python-mhash-build-deps (1.4-1.1) ...
  Processing triggers for libc-bin (2.22-13) ...
  
  **************************************************************************************
  ** Environment                                                                      **
  **************************************************************************************
  
  PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  HOSTNAME=44d6b7270c68
  TERM=xterm
  PAGER=more
  DISPLAY=:0
  DOCKER_IMAGE=lamby-debian-sid
  DEB_BUILD_OPTIONS=parallel=9
  PIP_DOWNLOAD_CACHE=/home/lamby/.cache/pip
  HOME=/home/lamby
  LOGNAME=lamby
  SHLVL=1
  PWD=/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4
  OLDPWD=/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash
  GPG_TTY=/dev/console
  QUILT_PATCHES=debian/patches
  QUILT_NO_DIFF_INDEX=1
  QUILT_REFRESH_ARGS=-p ab --no-timestamps --no-index
  DEBEMAIL=lamby at debian.org
  DEBFULLNAME=Chris Lamb
  EDITOR=vim
  LESS=-cgiFx4M
  BLASTER=A220 I5 D1 H5 P330 T6
  _=/usr/bin/env
  
  **************************************************************************************
  ** Building python-mhash 1.4-1.1 on amd64                                           **
  **************************************************************************************
  
   dpkg-buildpackage -rfakeroot -D -us -uc -b
  dpkg-buildpackage: info: source package python-mhash
  dpkg-buildpackage: info: source version 1.4-1.1
  dpkg-buildpackage: info: source distribution unstable
  dpkg-buildpackage: info: source changed by Matthias Klose <doko at debian.org>
   dpkg-source --before-build python-mhash-1.4
  dpkg-buildpackage: info: host architecture amd64
   fakeroot debian/rules clean
  pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
  test -x debian/rules
  dh_clean 
  cd . && python2.7 setup.py clean -a;
  running clean
  'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-2.7' does not exist -- can't clean it
  cd . && python2.7 setup.py clean -a;
  running clean
  'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
  'build/bdist.linux-x86_64' does not exist -- can't clean it
  'build/scripts-2.7' does not exist -- can't clean it
  rm -rf debian/python-module-stampdir
  find "/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4" -name '*.py[co]' -delete
  find "/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4" -name __pycache__ -type d -empty -delete
  find "/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4" -prune -name '*.egg-info' -exec rm -rf '{}' ';'
  rm -rf build
   debian/rules build
  pyversions: missing X(S)-Python-Version in control file, fall back to debian/pyversions
  test -x debian/rules
  mkdir -p "."
  CDBS WARNING:    DEB_DH_STRIP_ARGS is deprecated since 0.4.85
  mkdir -p debian/python-module-stampdir
  set -e; cd . && python2.7 setup.py build --build-base="/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/./build";
  running build
  running build_ext
  building 'mhash' extension
  creating /home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/build
  creating /home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/build/temp.linux-x86_64-2.7
  x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DVERSION="1.4" -I/usr/include/python2.7 -c mhash.c -o /home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/./build/temp.linux-x86_64-2.7/mhash.o
  In file included from /usr/include/python2.7/Python.h:58:0,
                   from mhash.c:31:
  /usr/include/python2.7/pyport.h:374:0: warning: "HAVE_STAT" redefined
   #define HAVE_STAT
   ^
  In file included from /usr/include/mutils/mhash.h:30:0,
                   from /usr/include/mhash.h:10,
                   from mhash.c:23:
  /usr/include/mutils/mhash_config.h:126:0: note: this is the location of the previous definition
   #define HAVE_STAT 1
   ^
  mhash.c: In function '_mhash_keygen_name':
  mhash.c:456:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
    name = mhash_get_keygen_name(type);
         ^
  mhash.c: In function 'initmhash':
  mhash.c:602:6: warning: variable 'res' set but not used [-Wunused-but-set-variable]
    int res;
        ^
  creating /home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/build/lib.linux-x86_64-2.7
  x86_64-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security /home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/./build/temp.linux-x86_64-2.7/mhash.o -lmhash -o /home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/./build/lib.linux-x86_64-2.7/mhash.so
  touch debian/python-module-stampdir/python-mhash
  set -e; cd . && python2.7 setup.py build --build-base="/home/lamby/temp/cdt.20160629080550.Pti8zGVwmO.python-mhash/python-mhash-1.4/./build";
  running build
  running build_ext
  touch debian/python-module-stampdir/python-mhash-dbg
  CDBS WARNING:    cdbs_python_build_versions is deprecated since 0.4.140 - please use cdbs_python_flavors instead
  set -e; \
  for i in python2.7; do \
  	python$i-dbg setup.py build; \
  done
  /bin/sh: 3: pythonpython2.7-dbg: not found
  debian/rules:11: recipe for target 'build/python-mhash-dbg' failed
  make: *** [build/python-mhash-dbg] Error 127

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python-mhash.1.4-1.1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 3314 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160629/f9018ebc/attachment.obj>


More information about the Reproducible-builds mailing list