Bug#728085: Pyfftw does not build
Ghislain Vaillant
ghisvail at gmail.com
Thu Feb 13 10:37:25 UTC 2014
On Thu, 2014-02-13 at 10:02 +0100, Andreas Tille wrote:
>
> I admit if I would have had a quick clue I would have provided it
> immediately. Despite I'm using pbuilder basically all the time I never
> experienced this problem ... most probably since I never added any *-dbg
> package to the Build-Dependencies which is IMHO totally void. Do you
> have any reason for this?
>
Aren't these debug packages required to build the extension debug
symbols. I assumed this from an example I picked from another package in
the archive (but fail to remember which). If they aren't required, I am
happy to use your patch to drop them.
> So I would recommend:
>
> $ git diff
> diff --git a/debian/control b/debian/control
> index b272bae..dfc2428 100644
> --- a/debian/control
> +++ b/debian/control
> @@ -6,18 +6,13 @@ Priority: optional
> Build-Depends: cython,
> cython-dbg,
> cython3,
> - cython3-dbg,
> debhelper (>= 9),
> libfftw3-dev (>= 3.3),
> libjs-jquery,
> - python-all-dbg,
> python-all-dev,
> python-numpy,
> - python-numpy-dbg,
> - python3-all-dbg,
> python3-all-dev,
> python3-numpy,
> - python3-numpy-dbg,
> quilt
> Standards-Version: 3.9.5
> Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/pyfftw.git
>
> in any case.
>
> When speaking about Build-Depends: Please also remove quilt from
> Build-Depends *and* from debian/rules (--with ...,quilt). This is
> redundant when using debian/source/format 3.0 (quilt).
>
> After applying the patch above the package does not yet build since it
> runs into:
>
>
> 'build/scripts-2.7' does not exist -- can't clean it
> pybuild --clean -i python{version} -p 3.3 --dir .
> I: pybuild base:170: python3.3 setup.py clean
> Traceback (most recent call last):
> File "setup.py", line 25, in <module>
> import numpy
> ImportError: No module named 'numpy'
> E: pybuild pybuild:256: clean: plugin distutils failed with: exit code=1: python3.3 setup.py clean
>
>
> if on the building machine the packages python-numpy *and* python3-numpy
> are missing. I have no idea how autobuild machines are dealing with
> this but I'd recommend asking for advise at the
> debian-python at lists.debian.org mailing list how to sensibly tweak your
> clean target to only clean "if necessary" and prevent setup.py from
> doing useless things.
>
> Kind regards
>
> Andreas.
>
More information about the debian-science-maintainers
mailing list