Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1907326 - petsc4py: FTBFS in Fedora rawhide
Summary: petsc4py: FTBFS in Fedora rawhide
Alias: None
Product: Fedora
Classification: Fedora
Component: petsc4py
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Antonio T. sagitter
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: F34FTBFS PYTHON3.10
TreeView+ depends on / blocked
Reported: 2020-12-14 08:57 UTC by Tomáš Hrnčiar
Modified: 2020-12-14 15:36 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-12-14 15:36:41 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomáš Hrnčiar 2020-12-14 08:57:19 UTC
Description of problem:
Package petsc4py fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):

Steps to Reproduce:
koji build --scratch f34 petsc4py-3.14.0-2.fc34.src.rpm

Additional info:
In file included from src/PETSc.c:4:
src/petsc4py.PETSc.c: In function ‘__pyx_pymod_exec_PETSc’:
src/petsc4py.PETSc.c:330930:43: error: ‘MATDAAD’ undeclared (first use in this function)
330930 |   __pyx_t_7 = __pyx_f_8petsc4py_5PETSc_S_(MATDAAD); if (unlikely(!__pyx_t_7)) __PYX_ERR(38, 49, __pyx_L1_error)
       |                                           ^~~~~~~
src/petsc4py.PETSc.c:330930:43: note: each undeclared identifier is reported only once for each function it appears in
error: command '/usr/lib64/openmpi/bin/mpicc' failed with exit code 1
error: Bad exit status from /var/tmp/rpm-tmp.rCtuo6 (%build)
    Bad exit status from /var/tmp/rpm-tmp.rCtuo6 (%build)

Comment 1 Antonio T. sagitter 2020-12-14 15:36:41 UTC
petsc4py, as stand-alone rpm, has been retired on Rawhide branch.
It's now provided by PETSc:

Note You need to log in before you can comment on or make changes to this bug.