-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Tools/build/generate_sbom.py fails if expat
and _decimal/libmpdec/**
are configured to come from the system
#115663
Comments
cc @sethmlarson |
For the record, we do:
Which is likely the reason for this to fail. |
befeleme
added a commit
to fedora-python/cpython
that referenced
this issue
Feb 22, 2024
The script and make target, modified in Python 3.13.0a4, assumes the presence of expat and _decimal/libmpdec libraries, resulting in an error and failed build when not found. Reported upstream: python#115663
hugovk
pushed a commit
that referenced
this issue
Feb 22, 2024
sethmlarson
added a commit
to sethmlarson/cpython
that referenced
this issue
Feb 22, 2024
…et (pythonGH-115790) (cherry picked from commit c6a47de) Co-authored-by: Seth Michael Larson <[email protected]>
hugovk
pushed a commit
that referenced
this issue
Feb 22, 2024
Merged and backported to 3.12! Anything left to do here? |
I think we are good. Thanks! |
woodruffw
pushed a commit
to woodruffw-forks/cpython
that referenced
this issue
Mar 4, 2024
diegorusso
pushed a commit
to diegorusso/cpython
that referenced
this issue
Apr 17, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
I try to build Python 3.13.0a4 for Fedora Linux, but unsuccessfully.
expat
and_decimal/libmpdec
are removed from our version of Python. We configure it with the options--with-system-expat
and--with-system-libmpdec
.The traceback:
paths
for the removed Modules resolves to an empty list, this is passed to the subprocess invoking git which ends with return code 128, hence assertion error visible above.generate_sbom, if really has to be a part of
regen all
, should not require the presence of those libraries if Python is configured without them.CPython versions tested on:
3.13
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: