8000 Cannot change autoconf binary being used!!!! · Issue #880 · libffi/libffi · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cannot change autoconf binary being used!!!! #880

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

Closed
kyrylb13 opened this issue Feb 5, 2025 · 1 comment
Closed

Cannot change autoconf binary being used!!!! #880

kyrylb13 opened this issue Feb 5, 2025 · 1 comment

Comments

@kyrylb13
Copy link
kyrylb13 commented Feb 5, 2025

I am trying to build a micropython binary using open source code. I am also including libffi repo as a dependency for micropython. During the build of libffi submodule (which can be triggered from micropython ports/unix/Makefile libffi "deplibs" target) "autoconf" and "autoreconf" utilities are run.

At my company, we are currently using version 2.69 but 2.71 is required at part of libffi toolchain. We cannot upgrade our build machines to autoconf 2.71 because there are still too many dependencies on 2.69. So what our Jenkins server AMI person did was adding version 2.71 as autoconf271 binary to the same location as regular autoconf which is still 2.69.

My devbox version is 2.71 so my local built works, but on our Jenkins servers I get an error that it's still 2.69 because it's autoconf that is being called not autoconf271. So, my question is if it's possible to set libffi to use autoconf271 not autoconf? I tried the following steps,

From micropython/lib/libffi directory:

config AUTOCONF=autoconf271
export AUTOCONF=autoconf271
autoreconf -i
autoupdate

It seems like at the autoreconf -i step it actually complained that there is no autoconf271 on my devbox. So, I ran "ln -sf /usr/bin/autoconf /usr/bin/autoconf271" command, successfully ran the autoreconf -i, and autoupdate as suggested by autoreconf output. Next, I deleted the autoconf271 symlink above and was expecting the get an error during the build. But instead it runs to completion because it is still using autoconf instead of autoconf271

@atgreen
Copy link
Member
atgreen commented Feb 8, 2025

The tar.gz files on the release pages include all of the autoconf/make generated files. You shouldn't need to use those tools.
See, for instance, https://github.com/libffi/libffi/releases/download/v3.4.7/libffi-3.4.7.tar.gz.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants
0