Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.python > #8589
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Steve Langasek <vorlon@debian.org> |
| Newsgroups | linux.debian.maint.python |
| Subject | Re: Build fails: Architecture: all, no ‘python3-dev’, but ‘setup.py’ expects it |
| Date | Sun, 12 Jun 2016 12:00:01 +0200 |
| Message-ID | <rJalr-715-5@gated-at.bofh.it> (permalink) |
| References | <rIHt7-63L-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-python-request@lists.debian.org Sun Jun 12 09:55:45 2016 |
| Old-Return-Path | <vorlon@debian.org> |
| X-Amavis-Spam-Status | No, score=-9.569 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DATE_IN_PAST_06_12=1.543, LDO_WHITELIST=-5, PGPSIGNATURE=-5, SARE_HEAD_8BIT_SPAM=0.888] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -5 |
| X-Greylist | delayed 501 seconds by postgrey-1.35 at bendel; Sun, 12 Jun 2016 09:55:32 UTC |
| Mail-Followup-To | Steve Langasek <vorlon@debian.org>, Ben Finney <ben+debian@benfinney.id.au>, debian-python@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.24 (2015-08-30) |
| X-Mailing-List | <debian-python@lists.debian.org> archive/latest/13920 |
| List-ID | <debian-python.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-python/> |
| List-Archive | https://lists.debian.org/msgid-search/20160612021746.GA13601@virgil.dodds.net |
| Approved | robomod@news.nic.it |
| Lines | 84 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | debian-python@lists.debian.org |
| X-Original-Date | Sun, 12 Jun 2016 05:17:46 +0300 |
| X-Original-Message-ID | <20160612021746.GA13601@virgil.dodds.net> |
| X-Original-References | <85bn38zasg.fsf@benfinney.id.au> |
| Xref | csiph.com linux.debian.maint.python:8589 |
Show key headers only | View raw
[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
Back to linux.debian.maint.python | Previous | Next — Previous 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