-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
curl 8.1.1 configure hangs for multilib build #11179
Labels
Comments
Can you figure out why it hangs? The script it runs is very simple... |
The script
|
Is it missing a quote? Let me test... |
This patch would add quotes: diff --git a/configure.ac b/configure.ac
index 75a882b12..1f822d16f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -191,11 +191,11 @@ dnl Generates a shell script to run the compiler with LD_LIBRARY_PATH set to
dnl the value used right now. This lets CURL_RUN_IFELSE set LD_LIBRARY_PATH to
dnl something different but only have that affect the execution of the results
dnl of the compile, not change the libraries for the compiler itself.
dnl
compilersh="run-compiler"
-echo "CC=$CC" > $compilersh
+echo "CC=\"$CC\"" > $compilersh
echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH" >> $compilersh
echo 'exec $CC $@' >> $compilersh
dnl **********************************************************************
dnl See which TLS backend(s) that are requested. Just do all the |
eworm-de
added a commit
to eworm-de/curl
that referenced
this issue
May 23, 2023
Building for multilib failed, as the compiler command contains an extra argument. That needs quoting. Fixes curl#11179 Fixes b78ca50
Yes, my patch looks the same. 😉 |
bagder
changed the title
configure hangs for multilib build
curl 8.1.1 configure hangs for multilib build
May 23, 2023
bch
pushed a commit
to bch/curl
that referenced
this issue
Jul 19, 2023
Building for multilib failed, as the compiler command contains an extra argument. That needs quoting. Regression from b78ca50 Fixes curl#11179 Closes curl#11180
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I did this
I was packaging
curl 8.1.1
for Arch Linux. Building the regularcurl
package (x86-64
) succeeds, buildinglib32-curl
package (multilib) fails, it hangs in configure:The command that is running:
Looks like the offending commit is b78ca50... Reverting that makes the build succeed.
I expected the following
The package should succeed to build.
curl/libcurl version
Fails to build... So no output. 😝
operating system
The text was updated successfully, but these errors were encountered: