Skip to content
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 v8.10.0 and onwards fail during 'configuring' stage (linux, macos) #198

Open
Muqsit opened this issue Nov 12, 2024 · 1 comment
Open

Comments

@Muqsit
Copy link
Member

Muqsit commented Nov 12, 2024

Relevant GitHub Actions workflow logs:

PM5 / Linux:

Run # Used "set -ex" instead of hashbang since script isn't executed with hashbang
+ trap 'exit 1' ERR
+ ./compile.sh -t linux64 -j 4 -g -P 5 -c ./download_cache -D
[PocketMine] PHP compiler for Linux, MacOS and Android
[INFO] Checking dependencies
[opt] Set target to linux64
[opt] Set make threads to 4
[opt] Will enable GD2
[opt] Caching downloaded files in /home/runner/work/PHP-Binaries/PHP-Binaries/download_cache and reusing if available
[opt] Compiling with separated debugging symbols, but leaving optimizations enabled
[opt] Compiling with configuration for PocketMine-MP 5
[INFO] Compiling for Linux x86_64
[PHP 8.2.25] downloading... done!
[zlib 1.3.1] downloading... configuring... compiling... installing... done!
[gmp 6.3.0] downloading... configuring... compiling... installing... done!
[openssl 3.4.0] downloading... configuring... compiling... installing... done!
++ exit 1
[curl curl-8_11_0] downloading... configuring...
Error: Process completed with exit code 1.

PM5 / MacOS arm64:

Run export PATH="/usr/local/opt/bison/bin:$PATH"
+ trap 'exit 1' ERR
+ ./compile.sh -t mac-arm64 -j4 -g -P 5 -c ./download_cache -D
[PocketMine] PHP compiler for Linux, MacOS and Android
[INFO] Checking dependencies
[opt] Set target to mac-arm64
[opt] Set make threads to 4
[opt] Will enable GD2
[opt] Caching downloaded files in /Users/runner/work/PHP-Binaries/PHP-Binaries/download_cache and reusing if available
[opt] Compiling with separated debugging symbols, but leaving optimizations enabled
[opt] Compiling with configuration for PocketMine-MP 5
[INFO] Compiling for MacOS M1
[PHP 8.2.25] downloading... done!
[zlib 1.3.1] downloading... configuring... compiling... installing... done!
[gmp 6.3.0] downloading... configuring... compiling... installing... done!
[openssl 3.4.0] downloading... configuring... compiling... installing... done!
++ exit 1
[curl curl-8_11_0] downloading... configuring...
Error: Process completed with exit code 1.
@Muqsit
Copy link
Member Author

Muqsit commented Nov 29, 2024

Upon further discussion, this failure arises from the new libpsl requirement starting with cURL v8.10.0 (install.log):

checking for libpsl options with pkg-config... no
checking for psl_builtin in -lpsl... no
configure: error: libpsl libs and/or directories were not found where specified!

Building cURL with --without-libpsl solves the issue.

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

No branches or pull requests

1 participant