Bug 2213635

Summary: can't build libgccjit docs in gcc-toolset-13-gcc.el8
Product: Red Hat Enterprise Linux 8 Reporter: Marek Polacek <mpolacek>
Component: gccAssignee: Marek Polacek <mpolacek>
gcc sub component: gcc-toolset-13 QA Contact: Václav Kadlčík <vkadlcik>
Status: CLOSED ERRATA Docs Contact:
Severity: unspecified    
Priority: unspecified CC: dmalcolm, vkadlcik
Version: 8.9Keywords: Bugfix, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: gcc-toolset-13-gcc-13.1.1-4.1.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-14 15:35:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Marek Polacek 2023-06-08 19:43:49 UTC
+ cp -a gcc/libgccjit.so gcc/libgccjit.so.0 gcc/libgccjit.so.0.0.1 ../gcc/
+ cd ../gcc/
+ ln -sf xgcc x86_64-redhat-linux-gcc-13
+ cp -a Makefile Makefile.orig
+ sed -i -e '/^CHECK_TARGETS/s/$/ check-jit/' Makefile
+ touch -r Makefile.orig Makefile
+ rm Makefile.orig
+ make jit.sphinx.html
/bin/sh ../../gcc/../mkinstalldirs jit/sphinx-build
mkdir -p -- jit/sphinx-build
(cd ../../gcc/jit/docs && \
  make html BUILDDIR=/root/rpmbuild/BUILD/gcc-13.1.1-20230426/obj-x86_64-redhat-linux/gcc/jit/sphinx-build )
make[1]: Entering directory '/root/rpmbuild/BUILD/gcc-13.1.1-20230426/gcc/jit/docs'
sphinx-build -b html -d /root/rpmbuild/BUILD/gcc-13.1.1-20230426/obj-x86_64-redhat-linux/gcc/jit/sphinx-build/doctrees   . /root/rpmbuild/BUILD/gcc-13.1.1-20230426/obj-x86_64-redhat-linux/gcc/jit/sphinx-build/html
Running Sphinx v1.7.6

Sphinx version error:
This project needs at least Sphinx v3.0 and therefore cannot be built with this version.

# rpm -q python3-sphinx
python3-sphinx-1.7.6-3.el8.noarch


This was possible in gcc-toolset-12.

Comment 1 Marek Polacek 2023-06-21 18:19:31 UTC
I've disabled libgccjit-docs.  The users can look up the upstream documentation.

Comment 5 errata-xmlrpc 2023-11-14 15:35:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (gcc-toolset-13-gcc bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:7014