[Python-modules-team] Bug#804584: python-enable: FTBFS: Error: Unknown SWIG preprocessor directive: map

Chris West (Faux) solo-debianbugs at goeswhere.com
Mon Nov 9 19:19:44 UTC 2015


Source: python-enable
Version: 4.5.1-2
Severity: serious
Justification: fails to build from source
Tags: sid 
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-CC: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

The package fails to build; I believe swig has changed the style of
comments it accepts:

build_src
building library "agg24_src" sources
building library "kiva_src" sources
building extension "kiva.agg._agg" sources
creating /python-enable-4.5.1/build
creating /python-enable-4.5.1/build/src.linux-x86_64-2.7
creating /python-enable-4.5.1/build/src.linux-x86_64-2.7/kiva
creating /python-enable-4.5.1/build/src.linux-x86_64-2.7/kiva/agg
swig++: kiva/agg/agg.i
swig -python -c++ -Ikiva/agg/src -Ikiva/agg/agg-24/include -Ikiva/agg/agg-24/font_freetype -I/usr/include/freetype2/ -I/usr/lib/python2.7/dist-packages/numpy/core/include -o /python-enable-4.5.1/build/src.linux-x86_64-2.7/kiva/agg/agg_wrap.cpp -outdir /python-enable-4.5.1/build/src.linux-x86_64-2.7/kiva/agg kiva/agg/agg.i
kiva/agg/src/constants.i:51: Error: Unknown SWIG preprocessor directive: map (if this is a block of target language code, delimit it with %{ and %})
kiva/agg/src/constants.i:52: Error: Unknown SWIG preprocessor directive: marker (if this is a block of target language code, delimit it with %{ and %})

Full build log:
https://reproducible.debian.net/rb-pkg/unstable/amd64/python-enable.html

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



More information about the Python-modules-team mailing list