Hello, I am building glibc 2.23 with a toolchain that includes texinfo 7.1 (on Ubuntu 24.04).
The build process fails during install target with a segmentation fault and the following message: texi2any (XS parser): bug: parent hv not already set I was able to create a minimal example to reproduce the issue outside of the glibc build process itself: diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8e26d60 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +all: + makeinfo header.texi diff --git a/header.texi b/header.texi new file mode 100644 index 0000000..556aa36 --- /dev/null +++ b/header.texi @@ -0,0 +1,8 @@ +@node Summary +@table @code +@comment just a comment +@include summary.texi +@end table +@iftex +@textfonts @rm +@end iftex diff --git a/summary.texi b/summary.texi new file mode 100644 index 0000000..55cc2d6 --- /dev/null +++ b/summary.texi @@ -0,0 +1,3 @@ +@c just a comment +@comment FOO +@item FOO I have confirmed that the issue only occurs with texinfo 7.1+ and is not present in earlier versions. The latest development version of 7.1 (1fdf0183654700f2d72f706ab96b0b8456cf58fc) has the same issue, but there is a little bit more information in the error message shown, which might be helpful to debug: texi2any (XS parser): bug: parent 0x56d882087aa0 hv not set in @include[A1] <- @iftex '@include summary.texi Let me know if you need more information. Christoph