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

[package] cpython/3.10.0: build fails if SQLite3 is disabled #9890

Closed
erikogenvik opened this issue Mar 23, 2022 · 1 comment · Fixed by #21387
Closed

[package] cpython/3.10.0: build fails if SQLite3 is disabled #9890

erikogenvik opened this issue Mar 23, 2022 · 1 comment · Fixed by #21387
Labels
bug Something isn't working

Comments

@erikogenvik
Copy link

Package and Environment Details (include every applicable attribute)

  • Package Name/Version: cpython/3.10.0

Steps to reproduce (Include if Applicable)

If you try to build "cpython" with SQLite3 disabled you'll get a build error from Conan, as it tries to access the "self.options['sqlite3']" structure which only exists if SQLite3 is enabled.

It's a simple fix, PR incoming.

Logs (Include/Attach if Applicable)

Click to expand log
ERROR: cpython/3.10.0: Error in build() method, line 427
	autotools = self._configure_autotools()
while calling '_configure_autotools', line 234
	"--enable-loadable-sqlite-extensions={}".format(yes_no(not self.options["sqlite3"].omit_load_extension)),
	ConanException: option 'omit_load_extension' doesn't exist
@erikogenvik erikogenvik added the bug Something isn't working label Mar 23, 2022
@uilianries
Copy link
Member

Thank you for reporting and providing a quick fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants