Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8585
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ben Finney <ben+debian@benfinney.id.au> |
| Newsgroups | linux.debian.maint.python |
| Subject | Build fails: Architecture: all, no ‘python3-dev’, but ‘setup.py’ expects it |
| Date | Sat, 11 Jun 2016 05:10:01 +0200 |
| Message-ID | <rIHt7-63L-1@gated-at.bofh.it> (permalink) |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sat Jun 11 03:04:36 2016 |
| Old-Return-Path | <debian-python@m.gmane.org> |
| X-Amavis-Spam-Status | No, score=-8.237 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.001, LDO_WHITELIST=-5, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-1.426, SARE_HEAD_8BIT_SPAM=0.888] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -6.1 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| Lines | 46 |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Gmane-NNTP-Posting-Host | jigong.madmonks.org |
| X-Public-Key-ID | 0xAC128405 |
| X-Public-Key-Fingerprint | 517C F14B B2F3 98B0 CB35 4855 B8B2 4C06 AC12 8405 |
| X-Public-Key-URL | http://www.benfinney.id.au/contact/bfinney-pubkey.asc |
| X-Post-From | Ben Finney <bignose+hates-spam@benfinney.id.au> |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
| Cancel-Lock | sha1:51x2rRWycelUG/JZxgh5LpaDo1U= |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13916 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/85bn38zasg.fsf@benfinney.id.au |
| Approved | robomod@news.nic.it |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sat, 11 Jun 2016 13:03:59 +1000 |
| X-Original-Message-ID | <85bn38zasg.fsf@benfinney.id.au> |
| X-Original-X-Complaints-To | usenet@ger.gmane.org |
| Xref | csiph.com linux.debian.maint.python:8585 |
Show key headers only | View raw
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
Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread
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
csiph-web