You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "stefan-novak-brt (via GitHub)" <gi...@apache.org> on 2023/07/20 05:02:58 UTC

[GitHub] [arrow] stefan-novak-brt opened a new issue, #36781: Installing Arrow via Conan 2.0.9 fails due to "calling self.options in package_id() is forbidden"

stefan-novak-brt opened a new issue, #36781:
URL: https://github.com/apache/arrow/issues/36781

   ### Describe the bug, including details regarding any error messages, version, and platform.
   
   Attempting to install 
   
   ```
   ERROR: arrow/12.0.0: Error in package_id() method, line 330
   	self.info.options.with_gflags = self._with_gflags()
   while calling '_with_gflags', line 212
   	if required or self.options.with_gflags == "auto":
   	ConanException: 'self.options' access in 'package_id()' method is forbidden
   ```
   
   [Calling `self.options`](https://github.com/apache/arrow/blob/b9a647023de40a670ec8d9c32ff6e205debfaa8d/ci/conan/all/conanfile.py#L298) in [`package_id()`](https://github.com/apache/arrow/blob/b9a647023de40a670ec8d9c32ff6e205debfaa8d/ci/conan/all/conanfile.py#L605) is forbidden.
   
   It appears that `self.options` is being called in a variety of `with_*()`methods within `package_id()`.
   
   Is anyone familiar with another approach for computing the `package_id` without accessing options?
   
   Thank you!
   
   ### Component(s)
   
   C++, Packaging


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] kou commented on issue #36781: Installing Arrow via Conan 2.0.9 fails due to "calling self.options in package_id() is forbidden"

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #36781:
URL: https://github.com/apache/arrow/issues/36781#issuecomment-1643259950

   https://github.com/conan-io/conan-center-index/tree/master/recipes/arrow is the upstream. Let's go to conan-io/conan-center-index.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] stefan-novak-brt commented on issue #36781: Installing Arrow via Conan 2.0.9 fails due to "calling self.options in package_id() is forbidden"

Posted by "stefan-novak-brt (via GitHub)" <gi...@apache.org>.
stefan-novak-brt commented on issue #36781:
URL: https://github.com/apache/arrow/issues/36781#issuecomment-1643420403

   Ah, here's an existing upstream issue: https://github.com/conan-io/conan-center-index/issues/16953
   
   Thanks for pointing me in the right direction. Cheers!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] kou closed issue #36781: Installing Arrow via Conan 2.0.9 fails due to "calling self.options in package_id() is forbidden"

Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #36781: Installing Arrow via Conan 2.0.9 fails due to "calling self.options in package_id() is forbidden"
URL: https://github.com/apache/arrow/issues/36781


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow] stefan-novak-brt commented on issue #36781: Installing Arrow via Conan 2.0.9 fails due to "calling self.options in package_id() is forbidden"

Posted by "stefan-novak-brt (via GitHub)" <gi...@apache.org>.
stefan-novak-brt commented on issue #36781:
URL: https://github.com/apache/arrow/issues/36781#issuecomment-1643195818

   @jaimesalvador also came across this issue: https://github.com/conan-io/conan/issues/13984#issuecomment-1567200992


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org