Bug 2224868
| Summary: | F39FailsToInstall: python3-giacpy | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
| Component: | python-giacpy | Assignee: | Antonio T. sagitter <trpost> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | frederic.han, trpost |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-08-01 17:39:14 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2168845, 2226201 | ||
|
Description
Fedora Fails To Install
2023-07-23 18:15:27 UTC
The rebuild generates this error with Cython-3.0.0:
+ /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' --enable-qcas '--executable=/usr/bin/python3 -s'
/usr/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/giacpy-0.7.1/giacpy/giacpy.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
warning: giacpy/giacpy.pyx:5843:5: Only extern functions can throw C++ exceptions.
warning: giacpy/giacpy.pyx:5880:6: Only extern functions can throw C++ exceptions.
warning: giacpy/giacpy.pyx:5903:6: Only extern functions can throw C++ exceptions.
warning: giacpy/giacpy.pyx:5928:6: Only extern functions can throw C++ exceptions.
Compiling giacpy/giacpy.pyx because it changed.
[1/1] Cythonizing giacpy/giacpy.pyx
/usr/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /builddir/build/BUILD/giacpy-0.7.1/giacpy/giacpy2qcas.pxd
tree = Parsing.p_module(s, pxd, full_module_name)
Error compiling Cython file:
------------------------------------------------------------
...
cimport giacpy2qcas
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:1:8: 'giacpy2qcas.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
cimport giacpy2qcas
from giacpy cimport Pygen
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:6:0: 'giacpy/Pygen.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from giacpy cimport Pygen
from giacpy cimport context_ptr
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:7:0: 'giacpy/context_ptr.pxd' not found
Error compiling Cython file:
------------------------------------------------------------
...
from giacpy cimport Pygen
from giacpy cimport context_ptr
cdef cqcas(Pygen g,s=None):
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:10:11: 'Pygen' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
except:
raise RuntimeError
def toqcas(Pygen g,s=None):
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:29:11: 'Pygen' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
if (s==None):
try:
QCAS_qcas((<Pygen>g).gptr[0],context_ptr)
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:16:23: 'Pygen' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
if (s==None):
try:
QCAS_qcas((<Pygen>g).gptr[0],context_ptr)
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:16:40: 'context_ptr' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
if (s==None):
try:
QCAS_qcas((<Pygen>g).gptr[0],context_ptr)
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:16:36: Cannot convert Python object to 'gen'
Error compiling Cython file:
------------------------------------------------------------
...
if (s==None):
try:
QCAS_qcas((<Pygen>g).gptr[0],context_ptr)
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:16:40: Cannot convert Python object to 'context *'
Error compiling Cython file:
------------------------------------------------------------
...
return
except:
raise RuntimeError
else:
try:
QCAS_interactiveqcas((<Pygen>g).gptr[0],context_ptr,<string>s.encode())
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:22:34: 'Pygen' is not a type identifier
Error compiling Cython file:
------------------------------------------------------------
...
return
except:
raise RuntimeError
else:
try:
QCAS_interactiveqcas((<Pygen>g).gptr[0],context_ptr,<string>s.encode())
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:22:51: 'context_ptr' is not a constant, variable or function identifier
Error compiling Cython file:
------------------------------------------------------------
...
return
except:
raise RuntimeError
else:
try:
QCAS_interactiveqcas((<Pygen>g).gptr[0],context_ptr,<string>s.encode())
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:22:47: Cannot convert Python object to 'gen'
Error compiling Cython file:
------------------------------------------------------------
...
return
except:
raise RuntimeError
else:
try:
QCAS_interactiveqcas((<Pygen>g).gptr[0],context_ptr,<string>s.encode())
^
------------------------------------------------------------
giacpy/giacpy2qcas.pyx:22:51: Cannot convert Python object to 'context *'
Compiling giacpy/giacpy2qcas.pyx because it changed.
[1/1] Cythonizing giacpy/giacpy2qcas.pyx
Traceback (most recent call last):
File "/builddir/build/BUILD/giacpy-0.7.1/setup.py", line 140, in <module>
ext_modules+=cythonize([Extension(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1134, in cythonize
cythonize_one(*args)
File "/usr/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1301, in cythonize_one
raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: giacpy/giacpy2qcas.pyx
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug. I have updated giacpy in the upstream git repository: https://gitlab.math.univ-paris-diderot.fr/han/giacpy there was more problems detected by the test suite due to cython >3.0.0 mock-chroot> sh-5.2# python3 Python 3.12.0b4 (main, Jul 21 2023, 00:00:00) [GCC 13.1.1 20230614 (Red Hat 13.1.1-4)] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from giacpy import giac >>> a=giac('a') ; 1+a # gave an error with giacpy 0.7.1 and cython3 1+a I was able to build and run giacpy 0.7.2 on rawhide. could you try to update the package? (In reply to Frederic Han from comment #3) > I have updated giacpy in the upstream git repository: > https://gitlab.math.univ-paris-diderot.fr/han/giacpy > > there was more problems detected by the test suite due to cython >3.0.0 > > > mock-chroot> sh-5.2# python3 > Python 3.12.0b4 (main, Jul 21 2023, 00:00:00) [GCC 13.1.1 20230614 (Red Hat > 13.1.1-4)] on linux > Type "help", "copyright", "credits" or "license" for more information. > >>> from giacpy import giac > >>> a=giac('a') ; 1+a # gave an error with giacpy 0.7.1 and cython3 > 1+a > > > I was able to build and run giacpy 0.7.2 on rawhide. > could you try to update the package? Successfull build log: https://kojipkgs.fedoraproject.org//work/tasks/2660/104222660/build.log Thank you Frederic |