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

Add new recipe Ocilib/4.7.6 #23954

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

inPhraZ
Copy link

@inPhraZ inPhraZ commented May 10, 2024

ocilib/4.7.6

This PR will address issue #23867


@conan-center-bot

This comment has been minimized.

@RubenRBS RubenRBS self-assigned this May 12, 2024
@RubenRBS
Copy link
Member

Hi @inPhraZ thanksd a lot for taking the time to create the PR, we really appreciate it

I've pushed some cleanup and I've added a missing reference to the dl system lib, let's see if the recipe now builds in the CI :)

@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 3 (903cc4f97068f0214ffd54eaee1b511c434062ed):

  • ocilib/4.7.6:
    CI failed to create some packages (All logs)

    Logs for packageID 7fe407e39d404ce1b6ed35cba44c781b41593178:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    [options]
    ocilib:shared=False
    
    [...]
    libtool: link: ar cru .libs/libocilib.a  libocilib_la-agent.o libocilib_la-array.o libocilib_la-bind.o libocilib_la-callback.o libocilib_la-collection.o libocilib_la-column.o libocilib_la-connection.o libocilib_la-date.o libocilib_la-database.o libocilib_la-define.o libocilib_la-dequeue.o libocilib_la-dirpath.o libocilib_la-element.o libocilib_la-enqueue.o libocilib_la-environment.o libocilib_la-error.o libocilib_la-event.o libocilib_la-exception.o libocilib_la-file.o libocilib_la-format.o libocilib_la-handle.o libocilib_la-hash.o libocilib_la-helpers.o libocilib_la-interval.o libocilib_la-iterator.o libocilib_la-list.o libocilib_la-lob.o libocilib_la-long.o libocilib_la-memory.o libocilib_la-message.o libocilib_la-mutex.o libocilib_la-number.o libocilib_la-object.o libocilib_la-ocilib.o libocilib_la-pool.o libocilib_la-queue.o libocilib_la-reference.o libocilib_la-resultset.o libocilib_la-statement.o libocilib_la-stringutils.o libocilib_la-subscription.o libocilib_la-thread.o libocilib_la-threadkey.o libocilib_la-timestamp.o libocilib_la-transaction.o libocilib_la-typeinfo.o
    libtool: link: ranlib .libs/libocilib.a
    libtool: link: ( cd ".libs" && rm -f "libocilib.la" && ln -s "../libocilib.la" "libocilib.la" )
    make[2]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/src'
    Making all in demo
    make[2]: Entering directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/demo'
    Making all in .
    make[3]: Entering directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/demo'
    make[3]: Nothing to be done for 'all-am'.
    make[3]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/demo'
    make[2]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/demo'
    Making all in tests
    make[2]: Entering directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/tests'
    Making all in .
    make[3]: Entering directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/tests'
    make[3]: Nothing to be done for 'all-am'.
    make[3]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/tests'
    make[2]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178/tests'
    make[2]: Entering directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178'
    make[2]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178'
    make[1]: Leaving directory '/home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178'
    ocilib/4.7.6: Package '7fe407e39d404ce1b6ed35cba44c781b41593178' built
    ocilib/4.7.6: Build folder /home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/build/7fe407e39d404ce1b6ed35cba44c781b41593178
    ocilib/4.7.6: Generated conaninfo.txt
    ocilib/4.7.6: Generated conanbuildinfo.txt
    ocilib/4.7.6: Generating the package
    ocilib/4.7.6: Package folder /home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/package/7fe407e39d404ce1b6ed35cba44c781b41593178
    ocilib/4.7.6: Calling package()
    ocilib/4.7.6: Copied 6 '.h' files
    ocilib/4.7.6: Copied 60 '.hpp' files
    ocilib/4.7.6: Copied 1 '.a' file: libocilib.a
    [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(): [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
    [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
    ar: `u' modifier ignored since `D' is the default (see `U')
    WARN: *** Conan 1 is legacy and on a deprecation path ***
    WARN: *** Please upgrade to Conan 2 ***
    ocilib/4.7.6: 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: [PACKAGE LICENSE (KB-H012)] No 'licenses' folder found in package: /home/conan/workspace/prod-v1/bsr/42020/bedbe/.conan/data/ocilib/4.7.6/_/_/package/7fe407e39d404ce1b6ed35cba44c781b41593178  (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H012-PACKAGE-LICENSE) 
    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 ❌

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.

See details:

Failure in build 3 (903cc4f97068f0214ffd54eaee1b511c434062ed):

  • ocilib/4.7.6:
    CI failed to create some packages (All logs)

    Logs for packageID 94013accaed407494dd21ac1a4e571cf1e69adb7:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    ocilib/4.7.6 (test package): Writing generators to /home/conan/workspace/prod-v2/bsr/cci-2558cd49/recipes/ocilib/all/test_package/build/gcc-11-x86_64-17-release/generators
    ocilib/4.7.6 (test package): Generator 'CMakeDeps' calling 'generate()'
    ocilib/4.7.6 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(ocilib)
        target_link_libraries(... ocilib::ocilib)
    ocilib/4.7.6 (test package): Generator 'CMakeToolchain' calling 'generate()'
    ocilib/4.7.6 (test package): CMakeToolchain generated: conan_toolchain.cmake
    ocilib/4.7.6 (test package): CMakeToolchain generated: CMakePresets.json
    ocilib/4.7.6 (test package): CMakeToolchain generated: ../../../CMakeUserPresets.json
    ocilib/4.7.6 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    ocilib/4.7.6 (test package): Generating aggregated env files
    ocilib/4.7.6 (test package): Generated aggregated env files: ['conanrun.sh', 'conanbuild.sh']
    
    ======== Testing the package: Building ========
    ocilib/4.7.6 (test package): Calling build()
    ocilib/4.7.6 (test package): Running CMake.configure()
    ocilib/4.7.6 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v2/bsr/cci-2558cd49/recipes/ocilib/all/test_package/build/gcc-11-x86_64-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v2/bsr/cci-2558cd49/recipes/ocilib/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v2/bsr/cci-2558cd49/recipes/ocilib/all/test_package"
    -- Using Conan toolchain: /home/conan/workspace/prod-v2/bsr/cci-2558cd49/recipes/ocilib/all/test_package/build/gcc-11-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The C compiler identification is GNU 11.4.0
    -- Check for working C compiler: /usr/local/bin/cc
    -- Check for working C compiler: /usr/local/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- The CXX compiler identification is GNU 11.4.0
    -- Check for working CXX compiler: /usr/local/bin/c++
    -- Check for working CXX compiler: /usr/local/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: Target declared 'ocilib::ocilib'
    CMake Error at build/gcc-11-x86_64-17-release/generators/cmakedeps_macros.cmake:67 (message):
      Library 'ocilib' not found in package.  If 'ocilib' is a system library,
      declare it with 'cpp_info.system_libs' property
    Call Stack (most recent call first):
      build/gcc-11-x86_64-17-release/generators/ocilib-Target-release.cmake:23 (conan_package_library_targets)
      build/gcc-11-x86_64-17-release/generators/ocilibTargets.cmake:24 (include)
      build/gcc-11-x86_64-17-release/generators/ocilib-config.cmake:16 (include)
      CMakeLists.txt:5 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/home/conan/workspace/prod-v2/bsr/cci-2558cd49/recipes/ocilib/all/test_package/build/gcc-11-x86_64-17-release/CMakeFiles/CMakeOutput.log".
    
    ERROR: ocilib/4.7.6 (test package): Error in build() method, line 21
    	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.

@inPhraZ inPhraZ changed the title Add new recipes Ocilib/4.7.6 Add new recipe Ocilib/4.7.6 May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants