RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2213654 - can't build libgccjit docs in gcc-toolset-13-gcc.el9
Summary: can't build libgccjit docs in gcc-toolset-13-gcc.el9
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gcc
Version: 9.3
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 21:26 UTC by Marek Polacek
Modified: 2023-11-07 09:56 UTC (History)
2 users (show)

Fixed In Version: gcc-toolset-13-gcc-13.1.1-4.1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-07 08:34:40 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-159347 0 None None None 2023-06-08 21:33:17 UTC
Red Hat Product Errata RHEA-2023:6479 0 None None None 2023-11-07 08:34:47 UTC

Description Marek Polacek 2023-06-08 21:26:36 UTC
Similar to bug 2213635 but different.

+ 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=/builddir/build/BUILD/gcc-13.1.1-20230426/obj-x86_64-redhat-linux/gcc/jit/sphinx-build )
make[1]: Entering directory '/builddir/build/BUILD/gcc-13.1.1-20230426/gcc/jit/docs'
sphinx-build -b html -d /builddir/build/BUILD/gcc-13.1.1-20230426/obj-x86_64-redhat-linux/gcc/jit/sphinx-build/doctrees   . /builddir/build/BUILD/gcc-13.1.1-20230426/obj-x86_64-redhat-linux/gcc/jit/sphinx-build/html
Running Sphinx v3.4.3
making output directory... done
WARNING: html_static_path entry '_static' does not exist
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 35 source files that are out of date
updating environment: [new config] 35 added, 0 changed, 0 removed
reading sources... [  2%] cp/index
reading sources... [  5%] cp/intro/index
reading sources... [  8%] cp/intro/tutorial01
reading sources... [ 11%] cp/intro/tutorial02
reading sources... [ 14%] cp/intro/tutorial03
reading sources... [ 17%] cp/intro/tutorial04
reading sources... [ 20%] cp/topics/asm
reading sources... [ 22%] cp/topics/compilation
reading sources... [ 25%] cp/topics/contexts
reading sources... [ 28%] cp/topics/expressions
reading sources... [ 31%] cp/topics/functions
reading sources... [ 34%] cp/topics/index
reading sources... [ 37%] cp/topics/locations
reading sources... [ 40%] cp/topics/objects
reading sources... [ 42%] cp/topics/types
reading sources... [ 45%] index
reading sources... [ 48%] internals/index
reading sources... [ 51%] intro/index
reading sources... [ 54%] intro/tutorial01
reading sources... [ 57%] intro/tutorial02
reading sources... [ 60%] intro/tutorial03
reading sources... [ 62%] intro/tutorial04
reading sources... [ 65%] intro/tutorial05
reading sources... [ 68%] topics/asm
reading sources... [ 71%] topics/compatibility
reading sources... [ 74%] topics/compilation
reading sources... [ 77%] topics/contexts
reading sources... [ 80%] topics/expressions
reading sources... [ 82%] topics/function-pointers
reading sources... [ 85%] topics/functions
reading sources... [ 88%] topics/index
reading sources... [ 91%] topics/locations
reading sources... [ 94%] topics/objects
reading sources... [ 97%] topics/performance
reading sources... [100%] topics/types
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [  2%] cp/index
writing output... [  5%] cp/intro/index
writing output... [  8%] cp/intro/tutorial01
writing output... [ 11%] cp/intro/tutorial02
writing output... [ 14%] cp/intro/tutorial03
writing output... [ 17%] cp/intro/tutorial04
writing output... [ 20%] cp/topics/asm
Exception occurred:
  File "/usr/lib/python3.9/site-packages/sphinx/domains/c.py", line 2021, in direct_lookup
    for name, id_ in key.data:
ValueError: too many values to unpack (expected 2)
The full traceback has been saved in /tmp/sphinx-err-b9nhml6d.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
make[1]: Leaving directory '/builddir/build/BUILD/gcc-13.1.1-20230426/gcc/jit/docs'
make[1]: *** [Makefile:45: html] Error 2
make: *** [../../gcc/jit/Make-lang.in:306: jit.sphinx.html] Error 2

Full log: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=2307762

This worked in gcc-toolset-12-gcc.  I haven't checked yet how the libgccjit docs have changed.

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

Comment 7 errata-xmlrpc 2023-11-07 08:34:40 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/RHEA-2023:6479


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