model-writtenrun 3193 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dave Page opened the thread with widespread Windows dependency-detection failures under PostgreSQL's Meson build, providing reproducible dependency builds and contrasting them with successful builds using the older MSVC system #1.
- Dave argued for locating libraries through explicit paths, while Andres Freund preferred dependency metadata to preserve compiler flags and transitive dependencies, accepting hardcoded fallbacks where metadata was unavailable #3 #4 #5.
- Andres expanded Windows CI testing, identified differing CMake dependency names, and uncovered Kerberos test failures, static gettext linking problems, DLL performance costs, and a compiler crash in psql completion; he temporarily disabled Kerberos in CI #6.
- Dave questioned removal of the old MSVC build system, but Robert Haas urged fixing Meson and Dave accepted that direction; Andrew Dunstan later clarified that restoring buildfarm coverage would itself be straightforward #7 #9 #10 #16.
- Dave demonstrated that manually supplied pkg-config files largely solved detection, except for libintl, while Tristan Partin proposed fallback detection and Meson subprojects; Dave supported fallbacks but considered subprojects impractical for the dependencies' varied toolchains #8 #11 #17.
- Andres and Wolfgang Walther discussed static linking for performance and fully static environments, with Andres considering most external dependency support already available but opposing a backend without dynamically loaded extensions #12 #14 #15.
- Andres explained that Dave's slower Meson test runs exercised substantially more tests than vcregress check, while their dependency discussion remained divided over how much compatibility knowledge PostgreSQL should embed; Dave reiterated metadata-first detection with fallbacks #18 #19 #21 #22 #23 #24 #25.
- Andres submitted ten patches combining GSSAPI and OSSP UUID library fallbacks, alternative CMake dependency names, GSSAPI header checks, gettext/iconv support, and provisional completion, OpenSSL, linker-noise, and Tcl fixes, alongside work on Dave's dependency-building project #26.
- Tristan reviewed the series, corrected a wording error, suggested multiple-name support in find_library(), and supplied Reviewed-by; Andres then proposed committing the first patches and considered backpatching them to PostgreSQL 16 #27 #28.
- The GSSAPI fallback from #26 landed as a850701c7d, retaining the existing extension-header checks and adding an error when explicitly requested GSSAPI could not be found.
- The OSSP UUID fallback from #26 landed unchanged as 1213875b3a, while the CMake-name fallbacks landed as 9ac6995d6b with additional handling for unavailable ICU; Andres announced pushes to PostgreSQL 16 through HEAD #29.
- Dave subsequently added ICU pkg-config metadata to winpgbuild but still needed a workaround for the GSSAPI/OpenSSL X509_NAME conflict, whose proper fix was being discussed separately #30.
- The thread ended with Wolfgang explaining unresolved requirements for disabling shared-library builds and controlling internal static linking; the three candidate dependency fixes had landed, but the thread did not establish completion of the remaining provisional patches #31 #26.