On Thu, Aug 15, 2024 at 11:51:10PM +0200, Dario Gjorgjevski wrote: > > You say that TEXINFO_XS=debug does not show anything useful but it would > > still be helpful to see exactly how far it got successfully before failing. > > Here is the output:
Is there something missing from this, as in a previous message you had more lines beginning "dyld" like > dyld[99271]: dlsym(0x7ff918400670, "boot_Texinfo__Convert__Paragraph") > dyld[99271]: dlsym("boot_Texinfo__Convert__Paragraph") => 0x10d5c9e50 but in the output below you only have one dyld line: > ... > attempting to override Texinfo::OutputUnits::_XS_unsplit with > Texinfo::StructTransfXS::unsplit... > ...succeeded > attempting to override Texinfo::OutputUnits::rebuild_output_units > with Texinfo::StructTransfXS::rebuild_output_units... > ...succeeded > checking /path/to/texinfo-src/tp/Texinfo/XS/XSParagraph.la > found /path/to/texinfo-src/tp/Texinfo/XS/XSParagraph.la > /path/to/texinfo-src/tp/Texinfo/XS/.libs/XSParagraph.so loaded > looking for boot_Texinfo__Convert__Paragraph > trying to call boot_Texinfo__Convert__Paragraph... > ...succeeded > attempting to override > Texinfo::Convert::Plaintext::_process_text_internal with > Texinfo::MiscXS::process_text... > ...succeeded > dyld[51775]: missing symbol called I tried to investigate by checking out the first failing commit c294d771337 (2024-05-17) (by the way I got the commit reference incorrect in my previous email). texi2any_internals.info was built without error by running "make". $ rm texi2any_internals.info $ make texi2any_internals.info restore=: && backupdir=".am$$" && \ rm -rf $backupdir && mkdir $backupdir && \ if (/usr/bin/perl -I ../../tp/ -I ../../tp/ ../../tp/texi2any.pl --version) >/dev/null 2>&1; then \ for f in texi2any_internals.info texi2any_internals.info-[0-9] texi2any_internals.info-[0-9][0-9] texi2any_internals.i[0-9] texi2any_internals.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ if /usr/bin/perl -I ../../tp/ -I ../../tp/ ../../tp/texi2any.pl -c INFO_SPECIAL_CHARS_WARNING=0 -c TREE_TRANSFORMATIONS=complete_tree_nodes_menus -I . \ -o texi2any_internals.info `test -f 'texi2any_internals.texi' || echo './'`texi2any_internals.texi; \ then \ rc=0; \ else \ rc=$?; \ $restore $backupdir/* `echo "./texi2any_internals.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc $ Howeer, running the command that you had seems to reveal some bugs: $ TEXINFO_DEV_SOURCE=1 top_srcdir=../.. top_buildddir=../.. /usr/bin/perl ../../tp/texi2any.pl -o texi2any_internals.info texi2any_internals.texi What makes the difference is the lack of the "-c INFO_SPECIAL_CHARS_WARNING=0" option. This produces thousands of lines of errors. Here is just the first few lines: Texinfo-Convert-Plaintext.texi:1: warning: node next for `Texinfo@asis{::}Convert@asis{::}Plaintext' is `Index' in sectioning but not in menu texi2any_internals.texi:374: warning: node prev for `Index' is `Texinfo@asis{::}Convert@asis{::}Plaintext' in sectioning but not in menu texi2any_internals.texi:374: warning: node up for `Index' is `Top' in sectioning but not in menu texi2any_internals.texi:15: warning: node `Top' lacks menu item for `Index' despite being its Up target BUG: format_line_message: error_location_info undef at ../../tp/../tp/Texinfo/Report.pm line 86. Texinfo::Report::format_line_message("warning", "menu entry node name should not contain `:'", undef, undef, 0) called at ../../tp/../tp/Texinfo/Convert/Converter.pm line 489 Texinfo::Convert::Converter::converter_line_warn(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), "menu entry node name should not contain `:'", undef) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 972 Texinfo::Convert::Plaintext::plaintext_line_warn(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), "menu entry node name should not contain `:'", undef) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 3847 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d7099190)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 4065 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6f36130)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 4286 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6d5d190)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 636 Texinfo::Convert::Plaintext::convert_output_unit(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6c131a8)) called at ../../tp/../tp/Texinfo/Convert/Info.pm line 254 Texinfo::Convert::Info::output(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), Texinfo::Document=HASH(0x55c4d61a8070)) called at ../../tp/texi2any.pl line 1768 BUG: format_line_message: error_location_info undef at ../../tp/../tp/Texinfo/Report.pm line 86. Texinfo::Report::format_line_message("warning", "menu entry node name should not contain `:'", undef, undef, 0) called at ../../tp/../tp/Texinfo/Convert/Converter.pm line 489 Texinfo::Convert::Converter::converter_line_warn(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), "menu entry node name should not contain `:'", undef) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 972 Texinfo::Convert::Plaintext::plaintext_line_warn(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), "menu entry node name should not contain `:'", undef) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 3847 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d71e01d0)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 4065 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6f36130)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 4286 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6d5d190)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 636 Texinfo::Convert::Plaintext::convert_output_unit(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6c131a8)) called at ../../tp/../tp/Texinfo/Convert/Info.pm line 254 Texinfo::Convert::Info::output(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), Texinfo::Document=HASH(0x55c4d61a8070)) called at ../../tp/texi2any.pl line 1768 BUG: format_line_message: error_location_info undef at ../../tp/../tp/Texinfo/Report.pm line 86. Texinfo::Report::format_line_message("warning", "menu entry node name should not contain `:'", undef, undef, 0) called at ../../tp/../tp/Texinfo/Convert/Converter.pm line 489 Texinfo::Convert::Converter::converter_line_warn(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), "menu entry node name should not contain `:'", undef) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 972 Texinfo::Convert::Plaintext::plaintext_line_warn(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), "menu entry node name should not contain `:'", undef) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 3847 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d71f5bc0)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 4065 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6f36130)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 4286 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6d5d190)) called at ../../tp/../tp/Texinfo/Convert/Plaintext.pm line 636 Texinfo::Convert::Plaintext::convert_output_unit(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), HASH(0x55c4d6c131a8)) called at ../../tp/../tp/Texinfo/Convert/Info.pm line 254 Texinfo::Convert::Info::output(Texinfo::Convert::Info=HASH(0x55c4d6b18fb8), Texinfo::Document=HASH(0x55c4d61a8070)) called at ../../tp/texi2any.pl line 1768 I tried the same with "master" (commit 525653d38aaa, 2024-08-16) and there are still errors like these. $ TEXINFO_DEV_SOURCE=1 top_srcdir=../.. top_builddir=../.. /usr/bin/perl ../../tp/texi2any.pl -o texi2any_internals.info texi2any_internals.texi 2>log $ head log Texinfo-Convert-Plaintext.texi:1: warning: node next for `Texinfo@asis{::}Convert@asis{::}Plaintext' is `Index' in sectioning but not in menu texi2any_internals.texi:379: warning: node prev for `Index' is `Texinfo@asis{::}Convert@asis{::}Plaintext' in sectioning but not in menu texi2any_internals.texi:379: warning: node up for `Index' is `Top' in sectioning but not in menu texi2any_internals.texi:20: warning: node `Top' lacks menu item for `Index' despite being its Up target BUG: format_line_message: error_location_info undef at ../../tp/Texinfo/Report.pm line 93. Texinfo::Report::format_line_message("warning", "menu entry node name should not contain `:'", undef, undef, 0) called at ../../tp/Texinfo/Convert/Converter.pm line 489 Texinfo::Convert::Converter::converter_line_warn(Texinfo::Convert::Info=HASH(0x55e175614f68), "menu entry node name should not contain `:'", undef) called at ../../tp/Texinfo/Convert/Plaintext.pm line 972 Texinfo::Convert::Plaintext::plaintext_line_warn(Texinfo::Convert::Info=HASH(0x55e175614f68), Texinfo::Convert::Info=HASH(0x55e175614f68), "menu entry node name should not contain `:'", undef) called at ../../tp/Texinfo/Convert/Plaintext.pm line 3847 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55e175614f68), HASH(0x55e175b773c0)) called at ../../tp/Texinfo/Convert/Plaintext.pm line 4065 Texinfo::Convert::Plaintext::_convert(Texinfo::Convert::Info=HASH(0x55e175614f68), HASH(0x55e175a11858)) called at ../../tp/Texinfo/Convert/Plaintext.pm line 4286 $ It is the same without setting the environment variables, which shouldn't be necessary anyway, at least in an in-source build. So I don't know if this is the cause of the problem you found, but it is least somewhere to start.