[Reproducible-builds] Bug#833874: yara-python: FTBFS: yara-python.c:18:20: fatal error: Python.h: No such file or directory
Chris Lamb
lamby at debian.org
Tue Aug 9 17:56:48 UTC 2016
Source: yara-python
Version: 3.5.0+dfsg-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,
yara-python fails to build from source in unstable/amd64:
[..]
**************************************************************************************
** Starting build **
**************************************************************************************
Package: yara-python
Version: 3.5.0+dfsg-1
Build architecture: amd64
Date: Tue, 09 Aug 2016 18:49:19 +0100
Hostname: 3bee5fd8e301
Uname: Linux 3bee5fd8e301 4.6.0-1-amd64 #1 SMP Debian 4.6.4-1 (2016-07-18) x86_64 GNU/Linux
/etc/timezone: Europe/London
**************************************************************************************
** 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 'yara-python-build-deps' in '../yara-python-build-deps_3.5.0+dfsg-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 yara-python-build-deps.
(Reading database ... 23218 files and directories currently installed.)
Preparing to unpack yara-python-build-deps_3.5.0+dfsg-1_all.deb ...
Unpacking yara-python-build-deps (3.5.0+dfsg-1) ...
Reading package lists...
Building dependency tree...
Reading state information...
Correcting dependencies... Done
The following additional packages will be installed:
libjansson4 libyara-dev libyara3 python-all python-setuptools python3-all
python3-pkg-resources python3-setuptools
Suggested packages:
python-setuptools-doc
The following NEW packages will be installed:
libjansson4 libyara-dev libyara3 python-all python-setuptools python3-all
python3-pkg-resources python3-setuptools
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 692 kB of archives.
After this operation, 2439 kB of additional disk space will be used.
Get:1 http://httpredir.debian.org/debian sid/main amd64 python-all amd64 2.7.11-2 [938 B]
Get:2 http://httpredir.debian.org/debian sid/main amd64 python-setuptools all 20.10.1-1.1 [203 kB]
Get:3 http://httpredir.debian.org/debian sid/main amd64 python3-all amd64 3.5.1-4 [928 B]
Get:4 http://httpredir.debian.org/debian sid/main amd64 python3-pkg-resources all 20.10.1-1.1 [112 kB]
Get:5 http://httpredir.debian.org/debian sid/main amd64 python3-setuptools all 20.10.1-1.1 [122 kB]
Get:6 http://httpredir.debian.org/debian sid/main amd64 libjansson4 amd64 2.7-5 [27.8 kB]
Get:7 http://httpredir.debian.org/debian sid/main amd64 libyara3 amd64 3.5.0+dfsg-2 [101 kB]
Get:8 http://httpredir.debian.org/debian sid/main amd64 libyara-dev amd64 3.5.0+dfsg-2 [125 kB]
Fetched 692 kB in 0s (37.0 MB/s)
Selecting previously unselected package python-all.
(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 ... 23222 files and directories currently installed.)
Preparing to unpack .../python-all_2.7.11-2_amd64.deb ...
Unpacking python-all (2.7.11-2) ...
Selecting previously unselected package python-setuptools.
Preparing to unpack .../python-setuptools_20.10.1-1.1_all.deb ...
Unpacking python-setuptools (20.10.1-1.1) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../python3-all_3.5.1-4_amd64.deb ...
Unpacking python3-all (3.5.1-4) ...
Selecting previously unselected package python3-pkg-resources.
Preparing to unpack .../python3-pkg-resources_20.10.1-1.1_all.deb ...
Unpacking python3-pkg-resources (20.10.1-1.1) ...
Selecting previously unselected package python3-setuptools.
Preparing to unpack .../python3-setuptools_20.10.1-1.1_all.deb ...
Unpacking python3-setuptools (20.10.1-1.1) ...
Selecting previously unselected package libjansson4:amd64.
Preparing to unpack .../libjansson4_2.7-5_amd64.deb ...
Unpacking libjansson4:amd64 (2.7-5) ...
Selecting previously unselected package libyara3:amd64.
Preparing to unpack .../libyara3_3.5.0+dfsg-2_amd64.deb ...
Unpacking libyara3:amd64 (3.5.0+dfsg-2) ...
Selecting previously unselected package libyara-dev:amd64.
Preparing to unpack .../libyara-dev_3.5.0+dfsg-2_amd64.deb ...
Unpacking libyara-dev:amd64 (3.5.0+dfsg-2) ...
Processing triggers for libc-bin (2.23-4) ...
Setting up python-setuptools (20.10.1-1.1) ...
Setting up libjansson4:amd64 (2.7-5) ...
Setting up libyara3:amd64 (3.5.0+dfsg-2) ...
Setting up python3-pkg-resources (20.10.1-1.1) ...
Setting up python3-all (3.5.1-4) ...
Setting up python3-setuptools (20.10.1-1.1) ...
Setting up python-all (2.7.11-2) ...
Setting up libyara-dev:amd64 (3.5.0+dfsg-2) ...
Setting up yara-python-build-deps (3.5.0+dfsg-1) ...
Processing triggers for libc-bin (2.23-4) ...
**************************************************************************************
** Environment **
**************************************************************************************
PATH=/home/lamby/git/projects/dotfiles/dotfiles/..//bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=3bee5fd8e301
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.20160809184917.gNMqky9eNk.yara-python/yara-python-3.5.0+dfsg
OLDPWD=/home/lamby/temp/cdt.20160809184917.gNMqky9eNk.yara-python
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
GPG_KEY=1E953E27D4311E58
BLASTER=A220 I5 D1 H5 P330 T6
_=/usr/bin/env
**************************************************************************************
** Building yara-python 3.5.0+dfsg-1 on amd64 **
**************************************************************************************
dpkg-buildpackage -rfakeroot -D -us -uc -b
dpkg-buildpackage: info: source package yara-python
dpkg-buildpackage: info: source version 3.5.0+dfsg-1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Hilko Bengen <bengen at debian.org>
dpkg-source --before-build yara-python-3.5.0+dfsg
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
debian/rules override_dh_auto_clean
make[1]: Entering directory '/home/lamby/temp/cdt.20160809184917.gNMqky9eNk.yara-python/yara-python-3.5.0+dfsg'
dh_auto_clean
I: pybuild base:184: python2.7 setup.py clean
running clean
removing '/home/lamby/temp/cdt.20160809184917.gNMqky9eNk.yara-python/yara-python-3.5.0+dfsg/.pybuild/pythonX.Y_2.7/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
I: pybuild base:184: python3.5 setup.py clean
running clean
removing '/home/lamby/temp/cdt.20160809184917.gNMqky9eNk.yara-python/yara-python-3.5.0+dfsg/.pybuild/pythonX.Y_3.5/build' (and everything under it)
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.5' does not exist -- can't clean it
rm -rf tmp
make[1]: Leaving directory '/home/lamby/temp/cdt.20160809184917.gNMqky9eNk.yara-python/yara-python-3.5.0+dfsg'
dh_clean -O--buildsystem=pybuild
debian/rules build
dh build --with python2,python3 --buildsystem=pybuild
dh_testdir -O--buildsystem=pybuild
dh_update_autotools_config -O--buildsystem=pybuild
dh_auto_configure -O--buildsystem=pybuild
I: pybuild base:184: python2.7 setup.py config
running config
I: pybuild base:184: python3.5 setup.py config
running config
dh_auto_build -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python setup.py build
running build
running build_ext
building 'yara' extension
creating build
creating build/temp.linux-x86_64-2.7
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20160809184917.gNMqky9eNk.yara-python/yara-python-3.5.0+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python2.7 -c yara-python.c -o build/temp.linux-x86_64-2.7/yara-python.o
yara-python.c:18:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
E: pybuild pybuild:274: build: plugin distutils failed with: exit code=1: /usr/bin/python setup.py build
dh_auto_build: pybuild --build -i python{version} -p 2.7 returned exit code 13
debian/rules:8: recipe for target 'build' failed
make: *** [build] Error 25
[..]
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: yara-python.3.5.0+dfsg-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2646 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160809/69399b95/attachment.obj>
More information about the Reproducible-builds
mailing list