Hi, Gavin,

On Thu, Aug 15, 2024 at 8:49 PM Gavin Smith <gavinsmith0...@gmail.com> wrote:
>
> There is a possibility that the XS modules were disabled and then
> after this commit, they started being run, revealing the error.
> Did "TEXINFO_XS=required texi2any ..." work before that commit?

Yes, it works just fine.  I have had commits e665d4eaba and prior
installed on my machine for some time now and have used them without
any problems.

> Anyway, your command line is whack:
>
>    ... top_srcdir="$(top_srcdir)" top_builddir="$(top_builddir)" ...
>
> $(...) does not interpolate a the value of a shell variable.  It in fact
> interpolates the output of a shell command - same as `...` (except maybe
> on some old shells).  You may be getting confused with Makefile syntax.
>
> I don't even know how this is running with $(PERL) at the front of it.
> What shell is this?

Sorry for the confusing bug report.  Of course -- everything is ran by
make and the variables are interpolated as usual.  I simply
``reverted'' the interpolation so as to not litter the report with
useless paths.

> I'm guessing that this is actually running from a Makefile, not from
> the command line, in spite of the $ prompt in your output.  How
> exactly did you get this output?

See above.

> The output here is strange:
>
> >     dyld[99271]: dyld_image_path_containing_address(0x10d5c7000) =>
> > '$(top_builddir)/tp/Texinfo/XS/.libs/XSParagraph.so'
>
> I suspect "$(top_builddir)" should be the actual path to top_builddir.

See above.

> 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:

    checking /path/to/texinfo-src/tp/Texinfo/XS/Parsetexi.la
    found /path/to/texinfo-src/tp/Texinfo/XS/Parsetexi.la
    /path/to/texinfo-src/tp/Texinfo/XS/.libs/Parsetexi.so loaded
    looking for boot_Texinfo__Parser
    trying to call boot_Texinfo__Parser...
      ...succeeded
    checking /path/to/texinfo-src/tp/Texinfo/XS/DocumentXS.la
    found /path/to/texinfo-src/tp/Texinfo/XS/DocumentXS.la
    /path/to/texinfo-src/tp/Texinfo/XS/.libs/DocumentXS.so loaded
    looking for boot_Texinfo__DocumentXS
    trying to call boot_Texinfo__DocumentXS...
      ...succeeded
    checking /path/to/texinfo-src/tp/Texinfo/XS/MiscXS.la
    found /path/to/texinfo-src/tp/Texinfo/XS/MiscXS.la
    /path/to/texinfo-src/tp/Texinfo/XS/.libs/MiscXS.so loaded
    looking for boot_Texinfo__MiscXS
    trying to call boot_Texinfo__MiscXS...
      ...succeeded
    attempting to override Texinfo::Convert::Unicode::unicode_text
with Texinfo::MiscXS::unicode_text...
      ...succeeded
    checking /path/to/texinfo-src/tp/Texinfo/XS/StructuringTransfoXS.la
    found /path/to/texinfo-src/tp/Texinfo/XS/StructuringTransfoXS.la
    /path/to/texinfo-src/tp/Texinfo/XS/.libs/StructuringTransfoXS.so loaded
    looking for boot_Texinfo__StructTransfXS
    trying to call boot_Texinfo__StructTransfXS...
      ...succeeded
    attempting to override
Texinfo::ManipulateTree::protect_comma_in_tree with
Texinfo::StructTransfXS::protect_comma_in_tree...
      ...succeeded
    attempting to override Texinfo::ManipulateTree::copy_tree with
Texinfo::StructTransfXS::copy_tree...
      ...succeeded
    attempting to override
Texinfo::ManipulateTree::move_index_entries_after_items_in_tree with
Texinfo::StructTransfXS::move_index_entries_after_items_in_tree...
      ...succeeded
    attempting to override
Texinfo::ManipulateTree::protect_node_after_label_in_tree with
Texinfo::StructTransfXS::protect_node_after_label_in_tree...
      ...succeeded
    attempting to override
Texinfo::ManipulateTree::protect_colon_in_tree with
Texinfo::StructTransfXS::protect_colon_in_tree...
      ...succeeded
    attempting to override
Texinfo::ManipulateTree::relate_index_entries_to_table_items_in_tree
with Texinfo::StructTransfXS::relate_index_entries_to_table_items_in_tree...
      ...succeeded
    attempting to override Texinfo::Translations::_XS_configure with
Texinfo::DocumentXS::configure_output_strings_translations...
      ...succeeded
    attempting to override Texinfo::Document::rebuild_tree with
Texinfo::DocumentXS::rebuild_tree...
      ...succeeded
    attempting to override
Texinfo::Document::internal_references_information with
Texinfo::DocumentXS::document_internal_references_information...
      ...succeeded
    attempting to override Texinfo::Document::get_conf with
Texinfo::DocumentXS::document_get_conf...
      ...succeeded
    attempting to override Texinfo::Document::tree with
Texinfo::DocumentXS::document_tree...
      ...succeeded
    attempting to override Texinfo::Document::global_information with
Texinfo::DocumentXS::document_global_information...
      ...succeeded
    attempting to override Texinfo::Document::indices_sort_strings
with Texinfo::DocumentXS::indices_sort_strings...
      ...succeeded
    attempting to override Texinfo::Document::indices_information with
Texinfo::DocumentXS::document_indices_information...
      ...succeeded
    attempting to override Texinfo::Document::labels_list with
Texinfo::DocumentXS::document_labels_list...
      ...succeeded
    attempting to override Texinfo::Document::sections_list with
Texinfo::DocumentXS::document_sections_list...
      ...succeeded
    attempting to override Texinfo::Document::nodes_list with
Texinfo::DocumentXS::document_nodes_list...
      ...succeeded
    attempting to override Texinfo::Document::errors with
Texinfo::DocumentXS::document_errors...
      ...succeeded
    attempting to override Texinfo::Document::remove_document with
Texinfo::DocumentXS::remove_document...
      ...succeeded
    attempting to override
Texinfo::Document::global_commands_information with
Texinfo::DocumentXS::document_global_commands_information...
      ...succeeded
    attempting to override
Texinfo::Document::setup_indices_sort_strings with
Texinfo::DocumentXS::setup_indices_sort_strings...
      ...succeeded
    attempting to override
Texinfo::Document::register_document_options with
Texinfo::DocumentXS::register_document_options...
      ...succeeded
    attempting to override Texinfo::Document::floats_information with
Texinfo::DocumentXS::document_floats_information...
      ...succeeded
    attempting to override Texinfo::Document::labels_information with
Texinfo::DocumentXS::document_labels_information...
      ...succeeded
    attempting to override
Texinfo::Document::_XS_set_document_global_info with
Texinfo::DocumentXS::set_document_global_info...
      ...succeeded
    attempting to override
Texinfo::Structuring::complete_node_tree_with_menus with
Texinfo::StructTransfXS::complete_node_tree_with_menus...
      ...succeeded
    attempting to override Texinfo::Structuring::sectioning_structure
with Texinfo::StructTransfXS::sectioning_structure...
      ...succeeded
    attempting to override Texinfo::Structuring::warn_non_empty_parts
with Texinfo::StructTransfXS::warn_non_empty_parts...
      ...succeeded
    attempting to override
Texinfo::Structuring::set_menus_node_directions with
Texinfo::StructTransfXS::set_menus_node_directions...
      ...succeeded
    attempting to override Texinfo::Structuring::number_floats with
Texinfo::StructTransfXS::number_floats...
      ...succeeded
    attempting to override
Texinfo::Structuring::check_nodes_are_referenced with
Texinfo::StructTransfXS::check_nodes_are_referenced...
      ...succeeded
    attempting to override
Texinfo::Structuring::associate_internal_references with
Texinfo::StructTransfXS::associate_internal_references...
      ...succeeded
    attempting to override Texinfo::Structuring::nodes_tree with
Texinfo::StructTransfXS::nodes_tree...
      ...succeeded
    attempting to override
Texinfo::Transformations::regenerate_master_menu with
Texinfo::StructTransfXS::regenerate_master_menu...
      ...succeeded
    attempting to override
Texinfo::Transformations::complete_tree_nodes_missing_menu with
Texinfo::StructTransfXS::complete_tree_nodes_missing_menu...
      ...succeeded
    attempting to override
Texinfo::Transformations::insert_nodes_for_sectioning_commands with
Texinfo::StructTransfXS::insert_nodes_for_sectioning_commands...
      ...succeeded
    attempting to override
Texinfo::Transformations::protect_first_parenthesis_in_targets with
Texinfo::StructTransfXS::protect_first_parenthesis_in_targets...
      ...succeeded
    attempting to override
Texinfo::Transformations::fill_gaps_in_sectioning with
Texinfo::StructTransfXS::fill_gaps_in_sectioning...
      ...succeeded
    attempting to override
Texinfo::Transformations::protect_hashchar_at_line_beginning with
Texinfo::StructTransfXS::protect_hashchar_at_line_beginning...
      ...succeeded
    attempting to override
Texinfo::Transformations::reference_to_arg_in_tree with
Texinfo::StructTransfXS::reference_to_arg_in_tree...
      ...succeeded
    attempting to override
Texinfo::Transformations::complete_tree_nodes_menus with
Texinfo::StructTransfXS::complete_tree_nodes_menus...
      ...succeeded
    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

Best regards,
Dario

Reply via email to