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

arrow/10.0.0: link re2 to libparquet and libarrow #15420

Merged
merged 2 commits into from
Feb 5, 2023

Conversation

dvirtz
Copy link
Contributor

@dvirtz dvirtz commented Jan 23, 2023

fixes #15413

Specify library name and version: arrow/10.0.0


Comment on lines 640 to 641
for comp in ["libgandiva", "libparquet", "libarrow"]:
self.cpp_info.components[comp].requires.append("re2::re2")
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems wrong when gandiva or parquet options are False.

@conan-center-bot

This comment has been minimized.

@github-actions
Copy link
Contributor

Hooks produced the following warnings for commit ba1fc7a
arrow/10.0.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libarrow.1000.0.0.dylib, libarrow.dylib, libarrow.1000.dylib
arrow/8.0.1
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libarrow.800.1.0.dylib, libarrow.800.dylib, libarrow.dylib
arrow/1.0.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libarrow.100.0.0.dylib, libarrow.100.dylib, libarrow.dylib
arrow/7.0.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libarrow.700.0.0.dylib, libarrow.dylib, libarrow.700.dylib
arrow/2.0.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libarrow.200.dylib, libarrow.200.0.0.dylib, libarrow.dylib
arrow/8.0.0
post_package(): WARN: [APPLE RELOCATABLE SHARED LIBS (KB-H077)] install_name dir of these shared libs is not @rpath: libarrow.800.0.0.dylib, libarrow.800.dylib, libarrow.dylib

@dvirtz dvirtz marked this pull request as ready for review January 23, 2023 19:44
@ghost
Copy link

ghost commented Jan 23, 2023

I detected other pull requests that are modifying arrow/all recipe:

This message is automatically generated by https://github.com/ericLemanissier/conan-center-conflicting-prs so don't hesitate to report issues/improvements there.

@@ -637,7 +637,11 @@ def package_info(self):
if self.options.with_mimalloc:
self.cpp_info.components["libarrow"].requires.append("mimalloc::mimalloc")
if self._with_re2():
self.cpp_info.components["libgandiva"].requires.append("re2::re2")
if self.options.gandiva:
Copy link
Contributor

Choose a reason for hiding this comment

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

@kou could you please confirm - does this change make sense?

Copy link
Contributor

@kou kou Jan 28, 2023

Choose a reason for hiding this comment

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

Yes. It makes sense.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks you taking the time to answer!

Copy link
Member

@uilianries uilianries left a comment

Choose a reason for hiding this comment

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

LGTM

@conan-center-bot

This comment has been minimized.

@ghost ghost mentioned this pull request Feb 3, 2023
3 tasks
@dvirtz dvirtz closed this Feb 3, 2023
@dvirtz dvirtz reopened this Feb 5, 2023
@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ✔️

All green in build 4 (ba1fc7ad67803d95247d13612b4fea3c8415d578):

  • arrow/8.0.1@:
    All packages built successfully! (All logs)

  • arrow/10.0.0@:
    All packages built successfully! (All logs)

  • arrow/1.0.0@:
    All packages built successfully! (All logs)

  • arrow/7.0.0@:
    All packages built successfully! (All logs)

  • arrow/8.0.0@:
    All packages built successfully! (All logs)

  • arrow/2.0.0@:
    All packages built successfully! (All logs)

  • arrow/10.0.1@:
    All packages built successfully! (All logs)


Conan v2 pipeline (informative, not required for merge) ❌

Note: Conan v2 builds are informative and they are not required for the PR to be merged.

The v2 pipeline failed. Please, review the errors and note this will be required for pull requests to be merged in the near future.

See details:

Failure in build 3 (ba1fc7ad67803d95247d13612b4fea3c8415d578):

  • arrow/10.0.0@:
    Error running command conan graph info --requires arrow/10.0.0@#1139049dd333883dd8d1cc6482924381 -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/7ccac635-44d4-4ba4-8b24-775932a6c53a/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/7ccac635-44d4-4ba4-8b24-775932a6c53a/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    xsimd/9.0.1: Not found in local cache, looking in remotes...
    xsimd/9.0.1: Checking remote: conan-center-v2
    xsimd/9.0.1: Trying with 'conan-center-v2'...
    Downloading conan_export.tgz
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    xsimd/9.0.1: Downloaded recipe revision abfe68559a5d922a67bcf90b372d69df
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conan_export.tgz
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/10.0.0#1139049dd333883dd8d1cc6482924381 - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
        xsimd/9.0.1#abfe68559a5d922a67bcf90b372d69df - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/10.0.0: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    
  • arrow/10.0.1@:
    Error running command conan graph info --requires arrow/10.0.1@#4f334e7ccadd1bdcee0d814423af114d -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/10222d3d-e0c1-4a9b-b0dc-360d9f38e2c8/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/10222d3d-e0c1-4a9b-b0dc-360d9f38e2c8/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    xsimd/9.0.1: Not found in local cache, looking in remotes...
    xsimd/9.0.1: Checking remote: conan-center-v2
    xsimd/9.0.1: Trying with 'conan-center-v2'...
    Downloading conan_export.tgz
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    xsimd/9.0.1: Downloaded recipe revision abfe68559a5d922a67bcf90b372d69df
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Downloading conanfile.py
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/10.0.1#4f334e7ccadd1bdcee0d814423af114d - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
        xsimd/9.0.1#abfe68559a5d922a67bcf90b372d69df - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/10.0.1: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    
  • arrow/8.0.0@:
    Error running command conan graph info --requires arrow/8.0.0@#5d6e5821fec7a3c0d66bfea42b357ddb -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/80d8feff-b420-4318-ae01-ef8f139d9bcf/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/80d8feff-b420-4318-ae01-ef8f139d9bcf/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    xsimd/9.0.1: Not found in local cache, looking in remotes...
    xsimd/9.0.1: Checking remote: conan-center-v2
    xsimd/9.0.1: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    xsimd/9.0.1: Downloaded recipe revision abfe68559a5d922a67bcf90b372d69df
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conan_export.tgz
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/8.0.0#5d6e5821fec7a3c0d66bfea42b357ddb - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
        xsimd/9.0.1#abfe68559a5d922a67bcf90b372d69df - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/8.0.0: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    
  • arrow/7.0.0@:
    Error running command conan graph info --requires arrow/7.0.0@#d4a5a5b7a4f69b860a31c78e9b4e36b1 -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/d666c38a-2ee6-40f1-8838-ee2f099c94cb/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/d666c38a-2ee6-40f1-8838-ee2f099c94cb/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    xsimd/9.0.1: Not found in local cache, looking in remotes...
    xsimd/9.0.1: Checking remote: conan-center-v2
    xsimd/9.0.1: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    xsimd/9.0.1: Downloaded recipe revision abfe68559a5d922a67bcf90b372d69df
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Downloading conanfile.py
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/7.0.0#d4a5a5b7a4f69b860a31c78e9b4e36b1 - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
        xsimd/9.0.1#abfe68559a5d922a67bcf90b372d69df - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/7.0.0: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    
  • arrow/8.0.1@:
    Error running command conan graph info --requires arrow/8.0.1@#d8de9107f065ef46233c9149ed587c10 -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/78ca56f9-33ee-4f1a-994b-bf40eb270ce1/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/78ca56f9-33ee-4f1a-994b-bf40eb270ce1/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    xsimd/9.0.1: Not found in local cache, looking in remotes...
    xsimd/9.0.1: Checking remote: conan-center-v2
    xsimd/9.0.1: Trying with 'conan-center-v2'...
    Downloading conan_export.tgz
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Decompressing conan_export.tgz
    xsimd/9.0.1: Downloaded recipe revision abfe68559a5d922a67bcf90b372d69df
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/8.0.1#d8de9107f065ef46233c9149ed587c10 - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
        xsimd/9.0.1#abfe68559a5d922a67bcf90b372d69df - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/8.0.1: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    
  • arrow/2.0.0@:
    Error running command conan graph info --requires arrow/2.0.0@#0aca3400d1495fac4f9e8e64ce2a0dea -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/27738e88-cf11-47c1-bb2c-f635b81e8d85/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/27738e88-cf11-47c1-bb2c-f635b81e8d85/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    xsimd/9.0.1: Not found in local cache, looking in remotes...
    xsimd/9.0.1: Checking remote: conan-center-v2
    xsimd/9.0.1: Trying with 'conan-center-v2'...
    Downloading conanmanifest.txt
    Downloading conanfile.py
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    xsimd/9.0.1: Downloaded recipe revision abfe68559a5d922a67bcf90b372d69df
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Downloading conan_export.tgz
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/2.0.0#0aca3400d1495fac4f9e8e64ce2a0dea - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
        xsimd/9.0.1#abfe68559a5d922a67bcf90b372d69df - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/2.0.0: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    
  • arrow/1.0.0@:
    Error running command conan graph info --requires arrow/1.0.0@#5b70dde60f250f295ebcef64a856c72e -f json -pr:h /home/conan/w/prod-v2_cci_PR-15420/3/8111865f-aebb-4f39-9283-d3c76979c109/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt -pr:b /home/conan/w/prod-v2_cci_PR-15420/3/8111865f-aebb-4f39-9283-d3c76979c109/profile_linux_11_libstdcpp11_gcc_release_64.-shared-False.txt:

    -------- Input profiles --------
    Profile host:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    Profile build:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    
    -------- Computing dependency graph --------
    re2/20220601: Not found in local cache, looking in remotes...
    re2/20220601: Checking remote: conan-center-v2
    re2/20220601: Trying with 'conan-center-v2'...
    Downloading conan_export.tgz
    Downloading conanfile.py
    Downloading conanmanifest.txt
    Decompressing conan_export.tgz
    re2/20220601: Downloaded recipe revision db3aaeba7a8f4a156b49cdb059adb663
    Graph root
        virtual
    Requirements
        arrow/1.0.0#5b70dde60f250f295ebcef64a856c72e - Cache
        re2/20220601#db3aaeba7a8f4a156b49cdb059adb663 - Downloaded (conan-center-v2)
    
    -------- Computing necessary packages --------
    ERROR: arrow/1.0.0: Error in package_id() method, line 545
    	self.info.options.with_gflags = self._with_gflags()
    while calling '_with_gflags', line 260
    	if required or self.options.with_gflags == "auto":
    	ConanException: 'self.options' access in 'package_id()' method is forbidden
    

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 conan-center-bot merged commit b9d591e into conan-io:master Feb 5, 2023
sabelka pushed a commit to sabelka/conan-center-index that referenced this pull request Feb 12, 2023
* link re2 to `libparquet` and `libarrow`

fixes conan-io#15413

* require re2 only from enabled components
@raulcd raulcd mentioned this pull request May 18, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[package] arrow/10.0.0: undefined references to re2
7 participants