Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8585 > unrolled thread
| Started by | Ben Finney <ben+debian@benfinney.id.au> |
|---|---|
| First post | 2016-06-11 05:10 +0200 |
| Last post | 2016-06-12 12:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.maint.python
Build fails: Architecture: all, no ‘python3-dev’, but ‘setup.py’ expects it Ben Finney <ben+debian@benfinney.id.au> - 2016-06-11 05:10 +0200
Re: Build fails: Architecture: all, no ‘python3-dev’, but ‘setup.py’ expects it Steve Langasek <vorlon@debian.org> - 2016-06-12 12:00 +0200
| From | Ben Finney <ben+debian@benfinney.id.au> |
|---|---|
| Date | 2016-06-11 05:10 +0200 |
| Subject | Build fails: Architecture: all, no ‘python3-dev’, but ‘setup.py’ expects it |
| Message-ID | <rIHt7-63L-1@gated-at.bofh.it> |
Howdy all,
I am experiencing a build failure on a Python 3 package [0].
The package has “Architecture: all”, and should not need any
architecture-specific build tools. The package builds no Python
extensions.
I assume (and Lintian agrees) that such a package should not have
“Build-Depends: python3-dev”.
Yet when I try to build the package using a clean up-to-date Sid chroot,
it fails:
=====
dh binary --with bash-completion,python3 --buildsystem=pybuild
dh_testroot -O--buildsystem=pybuild
dh_prep -O--buildsystem=pybuild
dh_auto_install -O--buildsystem=pybuild
I: pybuild base:184: /usr/bin/python3 setup.py install --root /build/xkcdpass-1.6.3/debian/xkcdpass
running install
error: invalid Python installation: unable to open /usr/lib/python3.5/config-3.5m-x86_64-linux-gnu/Makefile (No such file or directory)
E: pybuild pybuild:274: install: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py install --root /build/xkcdpass-1.6.3/debian/xkcdpass
dh_auto_install: pybuild --install -i python{version} -p 3.5 --dest-dir /build/xkcdpass-1.6.3/debian/xkcdpass returned exit code 13
debian/rules:35: recipe for target 'binary' failed
make: *** [binary] Error 25
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
=====
Why is that architecture-specific build tool being specified for an
“Architecture: all” build system?
When I amend the package and specify “Build-Depends: python3-dev”, the
build succeeds but Lintian (correctly) reports
“build-depends-on-python-dev-with-no-arch-any”.
What is broken here? How can I find out?
[0] ‘xkcdpass’, I am packaging upstream version “1.6.3”.
--
\ “Faith is the determination to remain ignorant in the face of |
`\ all evidence that you are ignorant.” —Shaun Mason |
_o__) |
Ben Finney
[toc] | [next] | [standalone]
| From | Steve Langasek <vorlon@debian.org> |
|---|---|
| Date | 2016-06-12 12:00 +0200 |
| Message-ID | <rJalr-715-5@gated-at.bofh.it> |
| In reply to | #8585 |
[Multipart message — attachments visible in raw view] — view raw
On Sat, Jun 11, 2016 at 01:03:59PM +1000, Ben Finney wrote:
> Howdy all,
> I am experiencing a build failure on a Python 3 package [0].
> The package has “Architecture: all”, and should not need any
> architecture-specific build tools. The package builds no Python
> extensions.
> I assume (and Lintian agrees) that such a package should not have
> “Build-Depends: python3-dev”.
> Yet when I try to build the package using a clean up-to-date Sid chroot,
> it fails:
> =====
> dh binary --with bash-completion,python3 --buildsystem=pybuild
> dh_testroot -O--buildsystem=pybuild
> dh_prep -O--buildsystem=pybuild
> dh_auto_install -O--buildsystem=pybuild
> I: pybuild base:184: /usr/bin/python3 setup.py install --root /build/xkcdpass-1.6.3/debian/xkcdpass
> running install
> error: invalid Python installation: unable to open /usr/lib/python3.5/config-3.5m-x86_64-linux-gnu/Makefile (No such file or directory)
> E: pybuild pybuild:274: install: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py install --root /build/xkcdpass-1.6.3/debian/xkcdpass
> dh_auto_install: pybuild --install -i python{version} -p 3.5 --dest-dir /build/xkcdpass-1.6.3/debian/xkcdpass returned exit code 13
> debian/rules:35: recipe for target 'binary' failed
> make: *** [binary] Error 25
> dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
> =====
> Why is that architecture-specific build tool being specified for an
> “Architecture: all” build system?
> When I amend the package and specify “Build-Depends: python3-dev”, the
> build succeeds but Lintian (correctly) reports
> “build-depends-on-python-dev-with-no-arch-any”.
> What is broken here? How can I find out?
I believe this is a regression in python3.5 3.5.1-15. Similar build
failures were seen with this version in Ubuntu.
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
slangasek@ubuntu.com vorlon@debian.org
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.maint.python
csiph-web