Bug 2213635 - can't build libgccjit docs in gcc-toolset-13-gcc.el8
Summary: can't build libgccjit docs in gcc-toolset-13-gcc.el8
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: gcc
Version: 8.9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marek Polacek
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-08 19:43 UTC by Marek Polacek
Modified: 2023-07-11 04:48 UTC (History)
2 users (show)

Fixed In Version: gcc-toolset-13-gcc-13.1.1-4.1.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159340 0 None None None 2023-06-08 19:46:44 UTC

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.


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