After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 757086 - Dist using automake 1.11 not compatible with python 3.2+
Dist using automake 1.11 not compatible with python 3.2+
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: general
Git master
Other Linux
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-25 11:09 UTC by Christoph Reiter (lazka)
Modified: 2015-11-01 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Bump automake version to 1.12.6 (5.89 KB, patch)
2015-10-25 11:10 UTC, Christoph Reiter (lazka)
committed Details | Review

Description Christoph Reiter (lazka) 2015-10-25 11:09:10 UTC
The 3.18.1 release had to be redone as it was distchecked with automake 1.11. This resulted in a py-compile getting shipped which doesn't support python 3.2+.
While there is a custom py-compile in /m4, updating it doesn't help as it doesn't get used by automake here (neither 1.11 nor 1.15). Any ideas/documentation on how automake scripts are supposed to be overridden by local versions?

If anyone wants to try older automake:

AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 ./autogen.sh

A solution is to bump the automake version to 1.12.6 and remove the custom py-compile.
Comment 1 Christoph Reiter (lazka) 2015-10-25 11:10:10 UTC
Created attachment 314055 [details] [review]
Bump automake version to 1.12.6

Required to a get a new enough py-compile which supports
the __pycache__ directories for newer Python 3 versions.
See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=8847

Also remove m4/py-compile which doesn't seem to get used in
either 1.11 or 1.15 here (the automake shipped version
gets copied in in all cases here..??)
Comment 2 Simon Feltman 2015-11-01 05:53:21 UTC
Review of attachment 314055 [details] [review]:

I don't see any issue with this. It looks like automake 1.12.6 was released almost 3 years ago [1]

Please remove the question from the latter part of the commit message and push.

Thanks.

[1] https://lists.gnu.org/archive/html/autotools-announce/2012-12/msg00000.html
Comment 3 Simon Feltman 2015-11-01 05:53:24 UTC
Review of attachment 314055 [details] [review]:

I don't see any issue with this. It looks like automake 1.12.6 was released almost 3 years ago [1]

Please remove the question from the latter part of the commit message and push.

Thanks.

[1] https://lists.gnu.org/archive/html/autotools-announce/2012-12/msg00000.html