Bug 1808111 - coq fails to build with Python 3.9: 'caml_young_ptr' undeclared
Summary: coq fails to build with Python 3.9: 'caml_young_ptr' undeclared
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: coq
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alan Dunn
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-02-27 20:15 UTC by Miro Hrončok
Modified: 2020-04-05 00:16 UTC (History)
5 users (show)

Fixed In Version: coq-8.11.0-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-05 00:16:22 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-02-27 20:15:12 UTC
coq fails to build with Python 3.9.0a4.

In file included from coq_interp.c:22:
coq_interp.c: In function 'coq_interprete':
coq_gc.h:49:3: error: 'caml_young_ptr' undeclared (first use in this function); did you mean 'young_ptr'?
   49 |   caml_young_ptr -= Bhsize_wosize (wosize);                             \
      |   ^~~~~~~~~~~~~~
coq_interp.c:559:11: note: in expansion of macro 'Alloc_small'
  559 |           Alloc_small(accu, num_args + 2, Closure_tag);
      |           ^~~~~~~~~~~
coq_gc.h:49:3: note: each undeclared identifier is reported only once for each function it appears in
   49 |   caml_young_ptr -= Bhsize_wosize (wosize);                             \
      |   ^~~~~~~~~~~~~~
coq_interp.c:559:11: note: in expansion of macro 'Alloc_small'
  559 |           Alloc_small(accu, num_args + 2, Closure_tag);
      |           ^~~~~~~~~~~
coq_gc.h:50:24: error: 'caml_young_limit' undeclared (first use in this function); did you mean 'young_limit'?
   50 |   if (caml_young_ptr < caml_young_limit){                               \
      |                        ^~~~~~~~~~~~~~~~
coq_interp.c:559:11: note: in expansion of macro 'Alloc_small'
  559 |           Alloc_small(accu, num_args + 2, Closure_tag);
      |           ^~~~~~~~~~~
make[1]: *** [Makefile.build:334: kernel/byterun/coq_interp.o] Error 2


This doesn't seem Python related :/


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01255011-coq/

For all our attempts to build coq with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/coq/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Fedora Update System 2020-03-27 23:59:37 UTC
FEDORA-2020-bc649d3429 has been submitted as an update to Fedora 32. https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc649d3429

Comment 2 Fedora Update System 2020-03-28 14:59:48 UTC
FEDORA-2020-bc649d3429 has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-bc649d3429`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-bc649d3429

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2020-04-05 00:16:22 UTC
FEDORA-2020-bc649d3429 has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


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