[Python-modules-team] Bug#710790: pythonmagick: FTBFS: wrap_python.hpp:50:23: fatal error: pyconfig.h: No such file or directory

David Suárez david.sephirot at gmail.com
Sat Jun 1 10:36:59 UTC 2013


Source: pythonmagick
Version: 0.9.7-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130529 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> /bin/bash ../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../../../pythonmagick_src -I../config   -D_FORTIFY_SOURCE=2 -IUsage:
-I/usr/include -fopenmp -I/usr/include/ImageMagick   -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat
-Werror=format-security -DBOOST_PYTHON_DYNAMIC_LIB -c -o
libpymagick_la-_DrawableFillRule.lo `test -f '_DrawableFillRule.cpp' ||
echo '../../../pythonmagick_src/'`_DrawableFillRule.cpp
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../pythonmagick_src
-I../config -D_FORTIFY_SOURCE=2 -IUsage: -I/usr/include -fopenmp
-I/usr/include/ImageMagick -g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security
-DBOOST_PYTHON_DYNAMIC_LIB -c
../../../pythonmagick_src/_DrawableFillRule.cpp  -fPIC -DPIC -o
.libs/libpymagick_la-_DrawableFillRule.o
> In file included from /usr/include/boost/python/detail/prefix.hpp:13:0,
>                  from /usr/include/boost/python/args.hpp:8,
>                  from /usr/include/boost/python.hpp:11,
>                  from ../../../pythonmagick_src/_DrawableFillRule.cpp:3:
> /usr/include/boost/python/detail/wrap_python.hpp:50:23: fatal error:
pyconfig.h: No such file or directory
> compilation terminated.
> make[3]: *** [libpymagick_la-_DrawableFillRule.lo] Error 1

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/29/pythonmagick_0.9.7-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list