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

gobject-introspection: migrate to Conan v2 #18624

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

Conversation

valgur
Copy link
Contributor

@valgur valgur commented Jul 18, 2023

TODO

  • ../src/gir/meson.build:442:10: ERROR: File does not exist.
  • Package with 'shared=False' option did not contain any static artifact on gcc

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur valgur force-pushed the migrate/gobject-introspection branch from 698776c to 33ddb1e Compare August 1, 2023 22:02
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@valgur valgur marked this pull request as ready for review September 11, 2023 16:40
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@stale
Copy link

stale bot commented Oct 15, 2023

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 15, 2023
@stale stale bot removed the stale label Oct 23, 2023
@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

@conan-center-bot

This comment has been minimized.

Copy link
Contributor

Hooks produced the following warnings for commit 097725e
gobject-introspection/1.78.1@#4418972f08f0d70bce79150cc64e0a42
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libgirepository-1.0.1.dylib, libgirepository-1.0.dylib
gobject-introspection/1.72.0@#3c0b4942158dc99afee73ccfefe6e4ce
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libgirepository-1.0.1.dylib, libgirepository-1.0.dylib

"1.69.0":
url: "https://download.gnome.org/sources/gobject-introspection/1.69/gobject-introspection-1.69.0.tar.xz"
sha256: "c668cbe4a3aad7539e2cf669ab576ce7fbadac6890472f4095ca215dbbebee99"
"1.68.0":
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version 1.68.0 is still used by other packages in master branch:

  • gst-libav
  • gst-plugins-bad
  • gst-plugins-good

The gst-plugins-base uses 1.70.0

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's easier to bump these than add support for older versions of gobject-introspection, though. I dropped them due to issues on Windows, if I remember correctly.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, please, update those packages first, then we can update it here.

Copy link
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label May 18, 2024
@valgur valgur force-pushed the migrate/gobject-introspection branch from 097725e to 4753a4f Compare May 26, 2024 11:54
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 1 (4753a4f72fc554b54f801b5d37192aff82270ae4):

  • gobject-introspection/1.78.1:
    All packages built successfully! (All logs)

  • gobject-introspection/1.72.0:
    All packages built successfully! (All logs)


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 1 (4753a4f72fc554b54f801b5d37192aff82270ae4):

  • gobject-introspection/1.78.1:
    Didn't run or was cancelled before finishing

  • gobject-introspection/1.72.0:
    CI failed to create some packages (All logs)

    Logs for packageID f8501f06e7e0121e8f9e8d630303e9115ecab9c5:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=True
    
    [...]
    -- Conan: Component target declared 'glib::gthread-2.0'
    -- Conan: Component target declared 'glib::gio-2.0'
    -- Conan: Component target declared 'glib::gresource'
    -- Conan: Component target declared 'glib::gio-unix-2.0'
    -- Conan: Target declared 'glib::glib'
    -- Conan: Target declared 'libffi::libffi'
    -- Conan: Target declared 'libelf::libelf'
    -- Conan: Component target declared 'libmount::libblkid'
    -- Conan: Component target declared 'libmount::libmount'
    -- Conan: Component target declared 'libselinux::sepol'
    -- Conan: Component target declared 'libselinux::selinux'
    -- Conan: Target declared 'libselinux::libselinux'
    -- Conan: Component target declared 'PCRE2::8BIT'
    -- Conan: Component target declared 'PCRE2::POSIX'
    -- Conan: Component target declared 'PCRE2::16BIT'
    -- Conan: Component target declared 'PCRE2::32BIT'
    -- Conan: Target declared 'pcre2::pcre2'
    -- Conan: Target declared 'ZLIB::ZLIB'
    -- Conan: Target declared 'BZip2::BZip2'
    -- Conan: Including build module from '/home/conan/workspace/prod-v2/bsr/43422/adddc/p/bzip2d6a4ddc21ef98/p/lib/cmake/conan-official-bzip2-variables.cmake'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/workspace/prod-v2/bsr/cci-7d2f3054/recipes/gobject-introspection/all/test_package/build/gcc-11-x86_64-17-release
    
    gobject-introspection/1.72.0 (test package): Running CMake.build()
    gobject-introspection/1.72.0 (test package): RUN: cmake --build "/home/conan/workspace/prod-v2/bsr/cci-7d2f3054/recipes/gobject-introspection/all/test_package/build/gcc-11-x86_64-17-release" -- -j3
    Scanning dependencies of target test_girepository
    Scanning dependencies of target test_basic
    [ 25%] Building C object CMakeFiles/test_girepository.dir/test_girepository.c.o
    [ 50%] Building C object CMakeFiles/test_basic.dir/test_basic.c.o
    [ 75%] Linking C executable test_basic
    [100%] Linking C executable test_girepository
    [100%] Built target test_basic
    [100%] Built target test_girepository
    
    
    ======== Testing the package: Executing test ========
    gobject-introspection/1.72.0 (test package): Running test()
    gobject-introspection/1.72.0 (test package): RUN: ./test_basic
    gobject introspection version 1.72.0
    
    gobject-introspection/1.72.0 (test package): RUN: ./test_girepository
    
    ** (process:2475): ERROR **: 12:05:20.908: ERROR: Typelib file for namespace 'GLib', version '2.0' not found
    
    Trace/breakpoint trap
    
    ERROR: gobject-introspection/1.72.0 (test package): Error in test() method, line 50
    	self.run(bin_path, env="conanrun")
    	ConanException: Error 133 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.

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