conan-center-index icon indicating copy to clipboard operation
conan-center-index copied to clipboard

libpq: add v17.0 using the new Meson build system

Open valgur opened this issue 1 year ago • 6 comments

Summary

Changes to recipe: libpq/17.0

Motivation

Switching to the new Meson-based build system to hopefully get rid of the maintenance overhead of the large number of complex patches and additional installation steps required in the Autotools-based recipe.

See the original commit in the repo for more context: https://github.com/postgres/postgres/commit/e6927270cd18d535b77cbe79c55c6584351524be

Details

Added nearly all supported external dependencies as options. Some of them are only used by the server executable, which is out of scope for the recipe, but I decided to keep them since the building of executables cannot be disabled, so might as well keep the server and other executables in the package as an option.

These PRs are required for optional dependencies:

  • #25434
  • #25455

valgur avatar Sep 29 '24 20:09 valgur

Conan v1 pipeline :x:

Failure in build 1 (95170756f352878dd672ed7a7ff1a916062b9e0a):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 92fd4665c00d74f7687471ac2790e2b35c640695:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=7
    os=Linux
    [options]
    libpq:shared=False
    
    [...]
    libpq/17.0: 
    [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK
    [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK
    [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK
    libpq/17.0: Copying sources to build folder
    libpq/17.0: Building your package in /home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695
    libpq/17.0: Generator txt created conanbuildinfo.txt
    libpq/17.0: Calling generate()
    libpq/17.0: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    libpq/17.0: Calling build()
    libpq/17.0: Apply patch (conan): Strictly require enabled dependencies is meson.build
    libpq/17.0: Meson configure cmd: meson setup --native-file "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release/conan/conan_meson_native.ini" "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release" "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/src" --prefix=/
    
    ----Running------
    > . "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release/conan/conanbuild.sh" && meson setup --native-file "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release/conan/conan_meson_native.ini" "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release" "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/src" --prefix=/
    -----------------
    DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config"
    The Meson build system
    Version: 1.5.1
    Source dir: /home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/src
    Build dir: /home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release
    Build type: native build
    Project name: postgresql
    Project version: 17.0
    C compiler for the host machine: gcc (gcc 7.5.0 "gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")
    C linker for the host machine: gcc ld.bfd 2.30
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Run-time dependency threads found: YES
    Program perl found: YES (/usr/bin/perl)
    Program python3 found: YES (/opt/pyenv/versions/3.7.17/bin/python3)
    Program flex win_flex found: NO
    
    ../src/meson.build:327:7: ERROR: Program 'flex win_flex' not found or not executable
    
    A full log can be found at /home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release/meson-logs/meson-log.txt
    libpq/17.0: 
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by libpq/17.0 to zlib/1.3.1 
    libpq/17.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libpq/17.0: ERROR: Package '92fd4665c00d74f7687471ac2790e2b35c640695' build failed
    libpq/17.0: WARN: Build folder /home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release
    ERROR: libpq/17.0: Error in build() method, line 197
    	meson.configure()
    	ConanException: Error 1 while executing meson setup --native-file "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release/conan/conan_meson_native.ini" "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/build-release" "/home/conan/workspace/prod-v1/bsr/104145/aadbd/.conan/data/libpq/17.0/_/_/build/92fd4665c00d74f7687471ac2790e2b35c640695/src" --prefix=/
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 1 (95170756f352878dd672ed7a7ff1a916062b9e0a):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID a0f3abf9fd97ed3f270ab888273eeedfb4dc191c:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    openssl/3.3.2: Retrieving package ba0c965640dfc9185194d683d05bfbe6419b47a3 from remote 'conan-center' 
    openssl/3.3.2: Package installed ba0c965640dfc9185194d683d05bfbe6419b47a3
    openssl/3.3.2: Downloaded package revision 760594d9ffd75bbc5d7930b108bcf782
    pkgconf/2.2.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
    meson/1.5.1: Calling finalize()
    meson/1.5.1: Finalized folder /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/mesond4911b2b20acb/f
    libpq/17.0: Calling source() in /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/libpq689e62bc1b7b3/s/src
    libpq/17.0: WARN: File https://ftp.postgresql.org/pub/source/v17.0/postgresql-17.0.tar.bz2 not found in https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    libpq/17.0: Downloading 21.4MB 7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
    libpq/17.0: Unzipping postgresql-17.0.tar.bz2 to .
    
    -------- Installing package libpq/17.0 (7 of 7) --------
    libpq/17.0: Building from source
    libpq/17.0: Package libpq/17.0:a0f3abf9fd97ed3f270ab888273eeedfb4dc191c
    libpq/17.0: Copying sources to build folder
    libpq/17.0: Building your package in /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b
    libpq/17.0: Calling generate()
    libpq/17.0: Generators folder: /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release/conan
    libpq/17.0: Generating aggregated env files
    libpq/17.0: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
    libpq/17.0: Calling build()
    libpq/17.0: Apply patch (conan): Strictly require enabled dependencies is meson.build
    libpq/17.0: Meson configure cmd: meson setup --native-file "/home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release/conan/conan_meson_native.ini" "/home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release" "/home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/src" --prefix=/
    libpq/17.0: RUN: meson setup --native-file "/home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release/conan/conan_meson_native.ini" "/home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release" "/home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/src" --prefix=/
    The Meson build system
    Version: 1.5.1
    Source dir: /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/src
    Build dir: /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release
    Build type: native build
    Project name: postgresql
    Project version: 17.0
    C compiler for the host machine: gcc (gcc 11.4.0 "gcc (GCC) 11.4.0")
    C linker for the host machine: gcc ld.bfd 2.37
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Run-time dependency threads found: YES
    Program perl found: YES (/usr/bin/perl)
    Program python3 found: YES (/opt/pyenv/versions/3.7.17/bin/python3)
    Program flex win_flex found: NO
    
    ../src/meson.build:327:7: ERROR: Program 'flex win_flex' not found or not executable
    
    A full log can be found at /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release/meson-logs/meson-log.txt
    
    libpq/17.0: ERROR: 
    Package 'a0f3abf9fd97ed3f270ab888273eeedfb4dc191c' build failed
    libpq/17.0: WARN: Build folder /home/conan/workspace/prod-v2/bsr/92850/aeadf/p/b/libpq8b9689a763529/b/build-release
    ERROR: libpq/17.0: Error in build() method, line 197
    	meson.configure()
    	ConanException: Error 1 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Sep 29 '24 20:09 conan-center-bot

Conan v1 pipeline :x:

Failure in build 2 (a0ff08c44012f25b8993068a849486ec2772aa51):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 3a09425b7eb6884e7edd62ffdd43ff6277091e08:
    [settings]
    arch=armv8
    build_type=Debug
    compiler=apple-clang
    compiler.libcxx=libc++
    compiler.version=13.0
    os=Macos
    [options]
    libpq:shared=False
    
    [...]
    duplicate symbol '_pg_prng_uint64_range' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int64_range' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_fseed' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_seed' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_uint64' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int64' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_uint32' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int32' in:
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v1/bsr/104212/bbdce/.conan/data/libpq/17.0/_/_/package/3a09425b7eb6884e7edd62ffdd43ff6277091e08/lib/libpgcommon_shlib.a(pg_prng.c.o)
    ld: 14 duplicate symbols for architecture arm64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [bin/test_package] Error 1
    make[1]: *** [test_package/CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by libpq/17.0 to zlib/1.3.1 
    libpq/17.0 (test package): WARN: 
         ************************************************
         The 'cmake' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    libpq/17.0 (test package): WARN: 
         ************************************************
         The 'cmake_find_package' generator is deprecated.
         Please update your code and remove it.
         *************************************************
    
    libpq/17.0 (test package): WARN: **** The 'from conans import CMake' helper is deprecated. Please update your code and remove it. ****
    ERROR: libpq/17.0 (test package): Error in build() method, line 13
    	cmake.build()
    	ConanException: Error 2 while executing cmake --build '/Users/jenkins/workspace/prod-v1/bsr/cci-db94ec42/recipes/libpq/meson/test_v1_package/build/af0c419910323d87844fbd11ca9c29ec01ff4ebc' '--' '-j8'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 2 (a0ff08c44012f25b8993068a849486ec2772aa51):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 1e502d56af8994f4a6ae8d39b939404b381a4f89:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int32p' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_bool' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_double_normal' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_seed_check' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_double' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_uint64_range' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int64_range' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_fseed' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_seed' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_uint64' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int64' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_uint32' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    duplicate symbol '_pg_prng_int32' in:
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon.a(pg_prng.c.o)
        /Users/jenkins/workspace/prod-v2/bsr/93051/ebcbc/p/b/libpq2995a9e4a7cf2/p/lib/libpgcommon_shlib.a(pg_prng.c.o)
    ld: 14 duplicate symbols for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [test_package] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    
    ERROR: libpq/17.0 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Sep 30 '24 06:09 conan-center-bot

Conan v1 pipeline :x:

Failure in build 3 (2414f023c740043cb3a0b7db462f83ee6a2970f8):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 2118294b5c5872d782e841ffcc08156240662b08:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    libpq:shared=False
    
    [...]
    libpq/17.0: Building your package in C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08
    libpq/17.0: Generator txt created conanbuildinfo.txt
    libpq/17.0: Calling generate()
    libpq/17.0: Aggregating env generators
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found
    [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK
    libpq/17.0: Calling build()
    libpq/17.0: Apply patch (conan): Strictly require enabled dependencies is meson.build
    libpq/17.0: Meson configure cmd: meson setup --native-file "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug\conan\conan_meson_native.ini" "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug" "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src" --prefix=/
    
    ----Running------
    > "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug\conan\conanbuild.bat" && meson setup --native-file "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug\conan\conan_meson_native.ini" "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug" "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src" --prefix=/
    -----------------
    **********************************************************************
    ** Visual Studio 2019 Developer Command Prompt v16.11.26
    ** Copyright (c) 2021 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    DEPRECATION: "pkgconfig" entry is deprecated and should be replaced by "pkg-config"
    The Meson build system
    Version: 1.5.1
    Source dir: C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src
    Build dir: C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug
    Build type: native build
    Project name: postgresql
    Project version: 17.0
    C compiler for the host machine: cl (msvc 19.29.30148 "Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64")
    C linker for the host machine: link link 14.29.30148.0
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Run-time dependency threads found: YES
    Library ws2_32 found: YES
    Library secur32 found: YES
    Program perl found: NO
    
    ..\src\meson.build:325:7: ERROR: Program 'perl' not found or not executable
    
    A full log can be found at C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug\meson-logs\meson-log.txt
    libpq/17.0: 
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by libpq/17.0 to zlib/1.3.1 
    libpq/17.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    libpq/17.0: ERROR: Package '2118294b5c5872d782e841ffcc08156240662b08' build failed
    libpq/17.0: WARN: Build folder C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug
    ERROR: libpq/17.0: Error in build() method, line 206
    	meson.configure()
    	ConanException: Error 1 while executing meson setup --native-file "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug\conan\conan_meson_native.ini" "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\build-debug" "C:\J\workspace\prod-v1\bsr\104247\ceede\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src" --prefix=/
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 3 (2414f023c740043cb3a0b7db462f83ee6a2970f8):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 6d37ddfc149d7e722308f0c8d396c45aae5e1da6:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=14
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    [options]
    */*:shared=False
    
    [...]
    winflexbison/2.5.24: Setting YACC environment variable: C:/J/workspace/prod-v2/bsr/93059/dcbef/p/winfle15db8e5f2bb5/p/bin/win_bison -y
    pkgconf/2.2.0: WARN: The use of 'unix_path_legacy_compat' is deprecated in Conan 2.0 and does not perform path conversions. This is retained for compatibility with Conan 1.x and will be removed in a future version.
    meson/1.5.1: Calling finalize()
    meson/1.5.1: Finalized folder C:\J\workspace\prod-v2\bsr\93059\dcbef\p\mesond4911b2b20acb\f
    libpq/17.0: Calling source() in C:\J\workspace\prod-v2\bsr\93059\dcbef\p\libpq1bf7bd11e0278\s\src
    libpq/17.0: Downloading 21.4MB 7e276131c0fdd6b62588dbad9b3bb24b8c3498d5009328dba59af16e819109de
    libpq/17.0: Sources for https://ftp.postgresql.org/pub/source/v17.0/postgresql-17.0.tar.bz2 found in remote backup https://c3i.jfrog.io/artifactory/conan-center-backup-sources/
    libpq/17.0: Unzipping postgresql-17.0.tar.bz2 to .
    
    -------- Installing package libpq/17.0 (8 of 8) --------
    libpq/17.0: Building from source
    libpq/17.0: Package libpq/17.0:6d37ddfc149d7e722308f0c8d396c45aae5e1da6
    libpq/17.0: Copying sources to build folder
    libpq/17.0: Building your package in C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b
    libpq/17.0: Calling generate()
    libpq/17.0: Generators folder: C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release\conan
    libpq/17.0: Generating aggregated env files
    libpq/17.0: Generated aggregated env files: ['conanbuild.bat', 'conanrun.bat']
    libpq/17.0: Calling build()
    libpq/17.0: Apply patch (conan): Strictly require enabled dependencies is meson.build
    libpq/17.0: Meson configure cmd: meson setup --native-file "C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release\conan\conan_meson_native.ini" "C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release" "C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\src" --prefix=/
    libpq/17.0: RUN: meson setup --native-file "C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release\conan\conan_meson_native.ini" "C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release" "C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\src" --prefix=/
    conanvcvars.bat: Activating environment Visual Studio 16 - amd64 - winsdk_version=None - vcvars_ver=14.2
    [vcvarsall.bat] Environment initialized for: 'x64'
    The Meson build system
    Version: 1.5.1
    Source dir: C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\src
    Build dir: C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release
    Build type: native build
    Project name: postgresql
    Project version: 17.0
    C compiler for the host machine: cl (msvc 19.29.30148 "Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30148 for x64")
    C linker for the host machine: link link 14.29.30148.0
    Host machine cpu family: x86_64
    Host machine cpu: x86_64
    Run-time dependency threads found: YES
    Library ws2_32 found: YES
    Library secur32 found: YES
    Program perl found: NO
    
    ..\src\meson.build:325:7: ERROR: Program 'perl' not found or not executable
    
    A full log can be found at C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release\meson-logs\meson-log.txt
    
    libpq/17.0: ERROR: 
    Package '6d37ddfc149d7e722308f0c8d396c45aae5e1da6' build failed
    libpq/17.0: WARN: Build folder C:\J\workspace\prod-v2\bsr\93059\dcbef\p\b\libpqe91d4f4785c1e\b\build-release
    ERROR: libpq/17.0: Error in build() method, line 206
    	meson.configure()
    	ConanException: Error 1 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Sep 30 '24 12:09 conan-center-bot

Conan v1 pipeline :x:

Failure in build 4 (70854d1be9d427b99120aee4c2718c099ca3a454):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID d7fae555ecd93b3e2cd191cb83ba3655ff927485:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=Visual Studio
    compiler.runtime=MD
    compiler.version=16
    os=Windows
    [options]
    libpq:shared=False
    
    [...]
    [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
    [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK
    [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK
    **********************************************************************
    ** Visual Studio 2019 Developer Command Prompt v16.11.26
    ** Copyright (c) 2021 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK
    [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK
    libpq/17.0 package(): Packaged 40 '.exe' files
    libpq/17.0 package(): Packaged 975 '.h' files
    libpq/17.0 package(): Packaged 9 '.a' files
    libpq/17.0 package(): Packaged 6 '.lib' files
    libpq/17.0 package(): Packaged 75 '.dll' files
    libpq/17.0 package(): Packaged 603 files
    libpq/17.0 package(): Packaged 1 '.global' file: Makefile.global
    libpq/17.0 package(): Packaged 1 '.port' file: Makefile.port
    libpq/17.0 package(): Packaged 1 '.shlib' file: Makefile.shlib
    libpq/17.0 package(): Packaged 2 '.mk' files: nls-global.mk, pgxs.mk
    libpq/17.0 package(): Packaged 6 '.pm' files
    libpq/17.0 package(): Packaged 12 '.txt' files
    libpq/17.0 package(): Packaged 156 '.sql' files
    libpq/17.0 package(): Packaged 5 '.sample' files
    libpq/17.0 package(): Packaged 1 '.bki' file: postgres.bki
    libpq/17.0 package(): Packaged 43 '.control' files
    libpq/17.0 package(): Packaged 15 '.stop' files
    libpq/17.0 package(): Packaged 4 '.affix' files: hunspell_sample.affix, hunspell_sample_long.affix, hunspell_sample_num.affix, ispell_sample.affix
    libpq/17.0 package(): Packaged 3 '.dict' files: hunspell_sample_long.dict, hunspell_sample_num.dict, ispell_sample.dict
    libpq/17.0 package(): Packaged 1 '.syn' file: synonym_sample.syn
    libpq/17.0 package(): Packaged 1 '.ths' file: thesaurus_sample.ths
    libpq/17.0 package(): Packaged 2 '.rules' files: unaccent.rules, xsyn_sample.rules
    libpq/17.0: Package 'd7fae555ecd93b3e2cd191cb83ba3655ff927485' created
    libpq/17.0: Created package revision 2b92e3764bc7c831800c3205874c96e4
    [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK
    [HOOK - conan-center.py] post_package_info(): [INCLUDE PATH DOES NOT EXIST (KB-H071)] OK
    
    Generating targets:   0%|          | 0/399 eta ?
    Generating targets:   3%|3         | 13/399 eta 00:03
    Generating targets:   6%|6         | 25/399 eta 00:03
    Generating targets:   9%|8         | 35/399 eta 00:04
    Generating targets:  14%|#4        | 57/399 eta 00:09
    Generating targets:  16%|#5        | 63/399 eta 00:09
    Generating targets:  19%|#9        | 76/399 eta 00:06
    Generating targets:  22%|##2       | 89/399 eta 00:05
    Generating targets:  25%|##5       | 101/399 eta 00:04
    Generating targets:  28%|##7       | 111/399 eta 00:03
    Generating targets:  32%|###1      | 127/399 eta 00:02
    Generating targets:  38%|###7      | 150/399 eta 00:02
    Generating targets:  41%|####1     | 164/399 eta 00:01
    Generating targets:  45%|####4     | 178/399 eta 00:01
    Generating targets:  48%|####7     | 191/399 eta 00:01
    Generating targets:  52%|#####1    | 206/399 eta 00:01
    Generating targets:  55%|#####5    | 221/399 eta 00:01
    Generating targets:  59%|#####8    | 235/399 eta 00:01
    Generating targets:  62%|######2   | 249/399 eta 00:01
    Generating targets:  68%|######8   | 272/399 eta 00:00
    Generating targets:  74%|#######4  | 296/399 eta 00:00
    Generating targets:  80%|########  | 320/399 eta 00:00
    Generating targets:  86%|########6 | 344/399 eta 00:00
    Generating targets:  92%|#########2| 368/399 eta 00:00
    Generating targets:  99%|#########9| 396/399 eta 00:00
    
    
    Writing build.ninja:   0%|          | 0/2341 eta ?
    Writing build.ninja:  13%|#2        | 298/2341 eta 00:00
    Writing build.ninja:  25%|##5       | 595/2341 eta 00:00
    Writing build.ninja:  37%|###6      | 855/2341 eta 00:00
    Writing build.ninja:  47%|####6     | 1098/2341 eta 00:00
    Writing build.ninja:  57%|#####7    | 1346/2341 eta 00:00
    Writing build.ninja:  69%|######8   | 1613/2341 eta 00:00
    Writing build.ninja:  80%|########  | 1880/2341 eta 00:00
    Writing build.ninja:  93%|#########3| 2186/2341 eta 00:00
    
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by libpq/17.0 to zlib/1.3.1 
    libpq/17.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    [HOOK - conan-center.py] post_package_info(): ERROR: [LIBRARY DOES NOT EXIST (KB-H054)] Component libpq::_common library 'libpgfeutils' is listed in the recipe, but not found installed at self.cpp_info.libdirs. Make sure you compiled the library correctly. If so, then the library name should probably be fixed. Otherwise, then the component should be removed. (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H054-LIBRARY-DOES-NOT-EXIST) 
    [HOOK - conan-center.py] post_package_info(): ERROR: [LIBRARY DOES NOT EXIST (KB-H054)] Component libpq::_common library 'libpgcommon_shlib' is listed in the recipe, but not found installed at self.cpp_info.libdirs. Make sure you compiled the library correctly. If so, then the library name should probably be fixed. Otherwise, then the component should be removed. (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H054-LIBRARY-DOES-NOT-EXIST) 
    [HOOK - conan-center.py] post_package_info(): ERROR: [LIBRARY DOES NOT EXIST (KB-H054)] Component libpq::_common library 'libpgport_shlib' is listed in the recipe, but not found installed at self.cpp_info.libdirs. Make sure you compiled the library correctly. If so, then the library name should probably be fixed. Otherwise, then the component should be removed. (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H054-LIBRARY-DOES-NOT-EXIST) 
    ERROR: 
    	ConanException: [HOOK - conan-center.py] post_package_info(): Some checks failed running the hook, check the output
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :x:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 4 (70854d1be9d427b99120aee4c2718c099ca3a454):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 6d37ddfc149d7e722308f0c8d396c45aae5e1da6:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=msvc
    compiler.cppstd=14
    compiler.runtime=dynamic
    compiler.runtime_type=Release
    compiler.version=192
    os=Windows
    [options]
    */*:shared=False
    
    [...]
    libpq/17.0 (test package): Generator 'CMakeDeps' calling 'generate()'
    libpq/17.0 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(PostgreSQL)
        target_link_libraries(... libpq::libpq)
    libpq/17.0 (test package): Generator 'CMakeToolchain' calling 'generate()'
    libpq/17.0 (test package): CMakeToolchain generated: conan_toolchain.cmake
    libpq/17.0 (test package): CMakeToolchain generated: C:\J\workspace\prod-v2\bsr\cci-4eb0fcef\recipes\libpq\meson\test_package\build\msvc-192-x86_64-14-release\generators\CMakePresets.json
    libpq/17.0 (test package): CMakeToolchain generated: C:\J\workspace\prod-v2\bsr\cci-4eb0fcef\recipes\libpq\meson\test_package\CMakeUserPresets.json
    libpq/17.0 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    libpq/17.0 (test package): Generating aggregated env files
    libpq/17.0 (test package): Generated aggregated env files: ['conanrun.bat', 'conanbuild.bat']
    
    ======== Testing the package: Building ========
    libpq/17.0 (test package): Calling build()
    libpq/17.0 (test package): Running CMake.configure()
    libpq/17.0 (test package): RUN: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v2/bsr/cci-4eb0fcef/recipes/libpq/meson/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:/J/workspace/prod-v2/bsr/cci-4eb0fcef/recipes/libpq/meson/test_package"
    -- Using Conan toolchain: C:/J/workspace/prod-v2/bsr/cci-4eb0fcef/recipes/libpq/meson/test_package/build/msvc-192-x86_64-14-release/generators/conan_toolchain.cmake
    -- Conan toolchain: CMAKE_GENERATOR_TOOLSET=v142
    -- Conan toolchain: Setting CMAKE_MSVC_RUNTIME_LIBRARY=$<$<CONFIG:Release>:MultiThreadedDLL>
    -- Conan toolchain: C++ Standard 14 with extensions OFF
    -- The C compiler identification is MSVC 19.29.30148.0
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Conan: Component target declared 'libpq::_common'
    -- Conan: Component target declared 'libpq::_modules'
    -- Conan: Component target declared 'libpq::_tools'
    -- Conan: Component target declared 'PostgreSQL::PostgreSQL'
    -- Conan: Component target declared 'libpq::pgtypes'
    -- Conan: Component target declared 'libpq::ecpg'
    -- Conan: Component target declared 'libpq::ecpg_compat'
    -- Conan: Target declared 'libpq::libpq'
    CMake Error at build/msvc-192-x86_64-14-release/generators/cmakedeps_macros.cmake:67 (message):
      Library 'libpgfeutils' not found in package.  If 'libpgfeutils' is a system
      library, declare it with 'cpp_info.system_libs' property
    Call Stack (most recent call first):
      build/msvc-192-x86_64-14-release/generators/PostgreSQL-Target-release.cmake:23 (conan_package_library_targets)
      build/msvc-192-x86_64-14-release/generators/PostgreSQLTargets.cmake:24 (include)
      build/msvc-192-x86_64-14-release/generators/PostgreSQLConfig.cmake:16 (include)
      CMakeLists.txt:3 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "C:/J/workspace/prod-v2/bsr/cci-4eb0fcef/recipes/libpq/meson/test_package/build/msvc-192-x86_64-14-release/CMakeFiles/CMakeOutput.log".
    
    ERROR: libpq/17.0 (test package): Error in build() method, line 20
    	cmake.configure()
    	ConanException: Error 1 while executing
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

conan-center-bot avatar Sep 30 '24 13:09 conan-center-bot

Conan v1 pipeline :x:

[!WARNING] Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

Failure in build 5 (7af4e4582989126e7802cb876986be8af20bc11c):

  • libpq/17.0: CI failed to create some packages (All logs)

    Logs for packageID 2118294b5c5872d782e841ffcc08156240662b08:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=Visual Studio
    compiler.runtime=MDd
    compiler.version=16
    os=Windows
    [options]
    libpq:shared=False
    
    [...]
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\sslinfo\sslinfo--1.0--1.1.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\sslinfo\sslinfo--1.1--1.2.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\sslinfo\sslinfo--1.2.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\sslinfo\sslinfo.control to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tablefunc\tablefunc--1.0.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tablefunc\tablefunc.control to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tcn\tcn--1.0.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tcn\tcn.control to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tsm_system_rows\tsm_system_rows--1.0.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tsm_system_rows\tsm_system_rows.control to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tsm_system_time\tsm_system_time--1.0.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\tsm_system_time\tsm_system_time.control to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\unaccent\unaccent--1.0--1.1.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\unaccent\unaccent--1.1.sql to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\unaccent\unaccent.control to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/extension
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\contrib\unaccent\unaccent.rules to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\share/postgresql/tsearch_data
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\src/test\perl\PostgreSQL/Version.pm to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\lib/postgresql/pgxs/src/test/perl/PostgreSQL
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\src/test\perl\PostgreSQL/Test/Utils.pm to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\lib/postgresql/pgxs/src/test/perl/PostgreSQL/Test
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\src/test\perl\PostgreSQL/Test/SimpleTee.pm to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\lib/postgresql/pgxs/src/test/perl/PostgreSQL/Test
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\src/test\perl\PostgreSQL/Test/RecursiveCopy.pm to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\lib/postgresql/pgxs/src/test/perl/PostgreSQL/Test
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\src/test\perl\PostgreSQL/Test/Cluster.pm to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\lib/postgresql/pgxs/src/test/perl/PostgreSQL/Test
    Installing C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\build\2118294b5c5872d782e841ffcc08156240662b08\src\src/test\perl\PostgreSQL/Test/BackgroundPsql.pm to C:\J\workspace\prod-v1\bsr\104989\bebdd\.conan\data\libpq\17.0\_\_\package\2118294b5c5872d782e841ffcc08156240662b08\lib/postgresql/pgxs/src/test/perl/PostgreSQL/Test
    libpq/17.0: Copied 80 '.h' files
    [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK
    [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK
    [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK
    [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK
    [HOOK - conan-center.py] post_package(): [STATIC ARTIFACTS (KB-H074)] OK
    [HOOK - conan-center.py] post_package(): [EITHER STATIC OR SHARED OF EACH LIB (KB-H076)] OK
    [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK
    [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK
    [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK
    [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK
    [HOOK - conan-center.py] post_package(): [SHORT_PATHS USAGE (KB-H066)] OK
    **********************************************************************
    ** Visual Studio 2019 Developer Command Prompt v16.11.26
    ** Copyright (c) 2021 Microsoft Corporation
    **********************************************************************
    [vcvarsall.bat] Environment initialized for: 'x64'
    [HOOK - conan-center.py] post_package(): [MISSING SYSTEM LIBS (KB-H043)] OK
    [HOOK - conan-center.py] post_package(): [APPLE RELOCATABLE SHARED LIBS (KB-H077)] OK
    
    Generating targets:   0%|          | 0/399 eta ?
    Generating targets:   3%|3         | 13/399 eta 00:03
    Generating targets:   6%|6         | 25/399 eta 00:04
    Generating targets:   9%|8         | 35/399 eta 00:04
    Generating targets:  13%|#2        | 51/399 eta 00:03
    Generating targets:  16%|#5        | 62/399 eta 00:12
    Generating targets:  19%|#8        | 74/399 eta 00:09
    Generating targets:  22%|##1       | 87/399 eta 00:06
    Generating targets:  25%|##5       | 100/399 eta 00:05
    Generating targets:  28%|##7       | 111/399 eta 00:04
    Generating targets:  31%|###1      | 125/399 eta 00:03
    Generating targets:  36%|###5      | 143/399 eta 00:02
    Generating targets:  40%|####      | 160/399 eta 00:02
    Generating targets:  44%|####3     | 174/399 eta 00:01
    Generating targets:  47%|####7     | 188/399 eta 00:01
    Generating targets:  50%|#####     | 201/399 eta 00:01
    Generating targets:  54%|#####4    | 217/399 eta 00:01
    Generating targets:  58%|#####7    | 231/399 eta 00:01
    Generating targets:  61%|######1   | 245/399 eta 00:01
    Generating targets:  67%|######7   | 268/399 eta 00:00
    Generating targets:  73%|#######2  | 290/399 eta 00:00
    Generating targets:  78%|#######8  | 312/399 eta 00:00
    Generating targets:  84%|########4 | 336/399 eta 00:00
    Generating targets:  91%|######### | 362/399 eta 00:00
    Generating targets:  97%|#########7| 388/399 eta 00:00
    
    
    Writing build.ninja:   0%|          | 0/2341 eta ?
    Writing build.ninja:  13%|#3        | 312/2341 eta 00:00
    Writing build.ninja:  27%|##6       | 622/2341 eta 00:00
    Writing build.ninja:  37%|###7      | 871/2341 eta 00:00
    Writing build.ninja:  47%|####7     | 1103/2341 eta 00:00
    Writing build.ninja:  57%|#####7    | 1342/2341 eta 00:00
    Writing build.ninja:  68%|######8   | 1594/2341 eta 00:00
    Writing build.ninja:  79%|#######9  | 1861/2341 eta 00:00
    Writing build.ninja:  91%|#########1| 2139/2341 eta 00:00
    
    WARN: **************************************************
    WARN: *** Conan 1 is legacy and on a deprecation path **
    WARN: *********** Please upgrade to Conan 2 ************
    WARN: **************************************************
    WARN: openssl/3.3.2: requirement zlib/[>=1.2.11 <2] overridden by libpq/17.0 to zlib/1.3.1 
    libpq/17.0: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    [HOOK - conan-center.py] post_package(): ERROR: [PDB FILES NOT ALLOWED (KB-H017)] The conan-center repository doesn't allow PDB files (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H017-PDB-FILES-NOT-ALLOWED) 
    [HOOK - conan-center.py] post_package(): ERROR: [PDB FILES NOT ALLOWED (KB-H017)] Found files: ./lib/postgresql/_int.pdb; ./lib/postgresql/amcheck.pdb; ./lib/postgresql/auth_delay.pdb; ./lib/postgresql/auto_explain.pdb; ./lib/postgresql/autoinc.pdb; ./lib/postgresql/basebackup_to_shell.pdb; ./lib/postgresql/basic_archive.pdb; ./lib/postgresql/bloom.pdb; ./lib/postgresql/btree_gin.pdb; ./lib/postgresql/btree_gist.pdb; ./lib/postgresql/citext.pdb; ./lib/postgresql/cube.pdb; ./lib/postgresql/cyrillic_and_mic.pdb; ./lib/postgresql/dblink.pdb; ./lib/postgresql/dict_int.pdb; ./lib/postgresql/dict_snowball.pdb; ./lib/postgresql/dict_xsyn.pdb; ./lib/postgresql/earthdistance.pdb; ./lib/postgresql/euc2004_sjis2004.pdb; ./lib/postgresql/euc_cn_and_mic.pdb; ./lib/postgresql/euc_jp_and_sjis.pdb; ./lib/postgresql/euc_kr_and_mic.pdb; ./lib/postgresql/euc_tw_and_big5.pdb; ./lib/postgresql/file_fdw.pdb; ./lib/postgresql/fuzzystrmatch.pdb; ./lib/postgresql/hstore.pdb; ./lib/postgresql/insert_username.pdb; ./lib/postgresql/isn.pdb; ./lib/postgresql/latin2_and_win1250.pdb; ./lib/postgresql/latin_and_mic.pdb; ./lib/postgresql/libpqwalreceiver.pdb; ./lib/postgresql/lo.pdb; ./lib/postgresql/ltree.pdb; ./lib/postgresql/moddatetime.pdb; ./lib/postgresql/pageinspect.pdb; ./lib/postgresql/passwordcheck.pdb; ./lib/postgresql/pg_buffercache.pdb; ./lib/postgresql/pg_freespacemap.pdb; ./lib/postgresql/pg_prewarm.pdb; ./lib/postgresql/pg_stat_statements.pdb; ./lib/postgresql/pg_surgery.pdb; ./lib/postgresql/pg_trgm.pdb; ./lib/postgresql/pg_visibility.pdb; ./lib/postgresql/pg_walinspect.pdb; ./lib/postgresql/pgcrypto.pdb; ./lib/postgresql/pgoutput.pdb; ./lib/postgresql/pgrowlocks.pdb; ./lib/postgresql/pgstattuple.pdb; ./lib/postgresql/pgxs/src/test/isolation/isolationtester.pdb; ./lib/postgresql/pgxs/src/test/isolation/pg_isolation_regress.pdb; ./lib/postgresql/pgxs/src/test/regress/pg_regress.pdb; ./lib/postgresql/plpgsql.pdb; ./lib/postgresql/postgres_fdw.pdb; ./lib/postgresql/refint.pdb; ./lib/postgresql/seg.pdb; ./lib/postgresql/sslinfo.pdb; ./lib/postgresql/tablefunc.pdb; ./lib/postgresql/tcn.pdb; ./lib/postgresql/test_decoding.pdb; ./lib/postgresql/tsm_system_rows.pdb; ./lib/postgresql/tsm_system_time.pdb; ./lib/postgresql/unaccent.pdb; ./lib/postgresql/utf8_and_big5.pdb; ./lib/postgresql/utf8_and_cyrillic.pdb; ./lib/postgresql/utf8_and_euc2004.pdb; ./lib/postgresql/utf8_and_euc_cn.pdb; ./lib/postgresql/utf8_and_euc_jp.pdb; ./lib/postgresql/utf8_and_euc_kr.pdb; ./lib/postgresql/utf8_and_euc_tw.pdb; ./lib/postgresql/utf8_and_gb18030.pdb; ./lib/postgresql/utf8_and_gbk.pdb; ./lib/postgresql/utf8_and_iso8859.pdb; ./lib/postgresql/utf8_and_iso8859_1.pdb; ./lib/postgresql/utf8_and_johab.pdb; ./lib/postgresql/utf8_and_sjis.pdb; ./lib/postgresql/utf8_and_sjis2004.pdb; ./lib/postgresql/utf8_and_uhc.pdb; ./lib/postgresql/utf8_and_win.pdb (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H017-PDB-FILES-NOT-ALLOWED) 
    ERROR: [HOOK - conan-center.py] post_package(): Some checks failed running the hook, check the output
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 5 (7af4e4582989126e7802cb876986be8af20bc11c):

  • libpq/17.0: All packages built successfully! (All logs)

conan-center-bot avatar Oct 02 '24 08:10 conan-center-bot

Conan v1 pipeline :heavy_check_mark:

[!WARNING] Conan Center will stop receiving updates for Conan 1.x packages soon - please see announcement.

All green in build 8 (afd7254ceeac5b28d6c811bc60d209042c7da563):

  • libpq/17.0: Built 20 packages out of 22 (All logs)

Conan v2 pipeline :heavy_check_mark:

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

All green in build 8 (afd7254ceeac5b28d6c811bc60d209042c7da563):

  • libpq/17.0: All packages built successfully! (All logs)

conan-center-bot avatar Oct 02 '24 12:10 conan-center-bot

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Martin Valgur seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Mar 09 '25 08:03 CLAassistant