crazywhalecc / static-php-cli

Build standalone PHP binary on Linux, macOS, FreeBSD, Windows, with PHP project together, with popular extensions included.
https://static-php.dev
MIT License
1.26k stars 215 forks source link

postgresql: Failed to get pkg-config information #430

Closed dunglas closed 4 months ago

dunglas commented 4 months ago

The FrankenPHP CI is red since yesterday because of a linking issue:

https://github.com/dunglas/frankenphp/actions/runs/8866392111/job/24343786038

#27 731.9 [08:59:17] [ERRO] Uncaught SPC\exception\RuntimeException: Failed to get pkg-config information! at /go/src/app/dist/static-php-cli/src/SPC/builder/unix/library/postgresql.php(64)
#27 731.9 [08:59:17] [ERRO] #0 /go/src/app/dist/static-php-cli/src/SPC/builder/LibraryBase.php(144): SPC\builder\linux\library\postgresql->build()
crazywhalecc commented 4 months ago

Seems caused by #431 . Temporary solution is downloading old version of ncurses (6.4).

The possible reason may be that the ncurses.pc file not correctly output after version 6.5.

crazywhalecc commented 4 months ago

For compilation problems caused by such daily updates, I have added a matrix test of commonly used extensions every week. This may allow us to quickly rule out what extension or dependency is causing the problem.

I'm temporarily using an older version of ncurses and I'll focus on fixing all of them once my vacation is over.

dunglas commented 4 months ago

Thank you, enjoy your vacation!