-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regenerating the configure script fails even if dependencies are satisfied #88201
Comments
I have installed autoconf-archive and autoconf 2.69 and tried to regenerate the configure script and it fails: $ ls /share/aclocal/ax_* | wc -l
572
$ autoconf --version
autoconf (GNU Autoconf) 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+/Autoconf: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>, <http://gnu.org/licenses/exceptions.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Written by David J. MacKenzie and Akim Demaille. $ autoreconf -v -f -i
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /opt/bb/bin/autoconf --force
autoreconf: running: /opt/bb/bin/autoheader --force
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
$ ./configure
configure: error: Please install autoconf-archive package and re-run autoreconf |
Reverting 5d6e8c1 works |
Also: grep -r AX_C_FLOAT_WORDS_BIGENDIAN /share/aclocal/ |
Dpes /opt/bb/bin/autoconf pick up the files in /share/aclocal? Both are rather unusual file locations. |
Yep, I am also setting ACLOCAL_PATH to make sure it picks it up. To be honest I think this has to be something about the weird setup in this machine but I think more people may run into this so it may be worth to include this in the News entry and close the issue once I figure it out |
I got you covered: $ podman run -v.:/src:Z tiran/cpython_autoconf
$ docker run -v.:/src tiran/cpython_autoconf |
Container image definition is at https://github.com/tiran/cpython_autoconf I propose to test this a bit, get feedback, and then move the code and image to python infrastructure. I chose Alpine because it's the least controversial one. |
Pablo, could you please give the container a try? |
Seems to work like a charm: ❯ docker run -v |
For me it took @tiran are you okay if we document your image and how to run it at https://devguide.python.org/setup/?highlight=autoconf#regenerate-configure ? |
PS: You have to use the "269" tag to get the correct container image. The "latest" image was outdated and I removed it.
|
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: