Debian Bug report logs -
#824420
python-phply: Building with DEB_BUILD_OPTIONS="nocheck" causes parsetab.py not to be included
Reported by: Cara <ceridwen.debian.bugs+debianbugs@gmail.com>
Date: Sun, 15 May 2016 18:36:01 UTC
Severity: important
Found in version python-phply/0.9.1-3
Fixed in version python-phply/1.0.0-1
Done: Gianfranco Costamagna <locutusofborg@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, ceridwen.debian.bugs+debianbugs@gmail.com, reproducible-builds@lists.alioth.debian.org, Gianfranco Costamagna <locutusofborg@debian.org>:
Bug#824420; Package python-phply.
(Sun, 15 May 2016 18:36:05 GMT) (full text, mbox, link).
Acknowledgement sent
to Cara <ceridwen.debian.bugs+debianbugs@gmail.com>:
New Bug report received and forwarded. Copy sent to ceridwen.debian.bugs+debianbugs@gmail.com, reproducible-builds@lists.alioth.debian.org, Gianfranco Costamagna <locutusofborg@debian.org>.
(Sun, 15 May 2016 18:36:05 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: python-phply
Version: 0.9.1-3
Severity: minor
User: reproducible-builds@lists.alioth.debian.org
Usertags: randomness
Dear Maintainer,
While checking this package with the reproducible builds[1] tool
chain, I noticed that building the package with
DEB_BUILD_OPTIONS="nocheck" set causes the file parsetab.py not to be
included in the final .deb, because the tests are what cause
parsetab.py to be generated. Another PLY-based package,
pycparser, has a specific file _build_tables.py[2] that's called by
setup.py and by the debian version's rules[3] to build the parse
tables during installation, so a similar solution would probably work
for python-phply.
[1]: https://wiki.debian.org/ReproducibleBuilds
[2]:
https://github.com/eliben/pycparser/blob/master/pycparser/_build_tables.py
[3]: https://anonscm.debian.org/viewvc/python-modules/packages/pycparser/trunk/debian/rules?revision=34279&view=markup
-- System Information:
Debian Release: jessie/sid
APT prefers wily-updates
APT policy: (500, 'wily-updates'), (500, 'wily-security'), (500, 'wily'), (100, 'wily-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.2.0-35-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#824420; Package python-phply.
(Mon, 16 May 2016 09:12:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Gianfranco Costamagna <locutusofborg@debian.org>:
Extra info received and forwarded to list.
(Mon, 16 May 2016 09:12:04 GMT) (full text, mbox, link).
Message #10 received at 824420@bugs.debian.org (full text, mbox, reply):
control: severity -1 important
Hi Cara,
>
>While checking this package with the reproducible builds[1] tool
>chain, I noticed that building the package with
>DEB_BUILD_OPTIONS="nocheck" set causes the file parsetab.py not to be
>included in the final .deb, because the tests are what cause
>parsetab.py to be generated. Another PLY-based package,
>pycparser, has a specific file _build_tables.py[2] that's called by
>setup.py and by the debian version's rules[3] to build the parse
>tables during installation, so a similar solution would probably work
>for python-phply.
thanks a lot for the nice and useful bug report!
can you please share a patch for this issue?
I think I can grab a file, but I'm not sure I have your knowledge in doing that,
and I'm failing to apply the patch on python-phply.
e.g. there is some .py files and .cfg that aren't available here, and I'm still not
sure the issue is completely on phply and not on the ply dependency or somewhere else.
Furthermore such changes should be acked by upstream, I don't want to diverge from them
with new files such as a custom generator.
What do you think?
thanks a lot!
Gianfranco
Severity set to 'important' from 'minor'
Request was from Gianfranco Costamagna <locutusofborg@debian.org>
to 824420-submit@bugs.debian.org.
(Mon, 16 May 2016 09:12:05 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org:
Bug#824420; Package python-phply.
(Mon, 23 Jan 2017 08:39:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Gianfranco Costamagna <locutusofborg@debian.org>:
Extra info received and forwarded to list.
(Mon, 23 Jan 2017 08:39:03 GMT) (full text, mbox, link).
Message #17 received at 824420@bugs.debian.org (full text, mbox, reply):
[Message part 1 (text/plain, inline)]
Control: fixed -1 1.0.0-1
Control: close -1
Seems fixed/addressed in 1.0.0
G.
[signature.asc (application/pgp-signature, attachment)]
Marked as fixed in versions python-phply/1.0.0-1.
Request was from Gianfranco Costamagna <locutusofborg@debian.org>
to 824420-submit@bugs.debian.org.
(Mon, 23 Jan 2017 08:39:03 GMT) (full text, mbox, link).
Marked Bug as done
Request was from Gianfranco Costamagna <locutusofborg@debian.org>
to 824420-submit@bugs.debian.org.
(Mon, 23 Jan 2017 08:39:04 GMT) (full text, mbox, link).
Notification sent
to Cara <ceridwen.debian.bugs+debianbugs@gmail.com>:
Bug acknowledged by developer.
(Mon, 23 Jan 2017 08:39:05 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 02 Mar 2017 07:26:47 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Wed May 17 13:44:10 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.