Re: [Regression] Build fail: 'doc/bfd/index.html' ($(build)/bfd/bfd.texi - no such file) – probably due to: "bfd: Properly install library and header files"

Tobias Burnus tobias@codesourcery.com
Mon Jan 24 15:01:05 GMT 2022


Hi H.J.,

On 24.01.22 14:21, H.J. Lu wrote:
> Works for me. Please do "git clone" again and do a clean build.

Still fails. I wonder why it goes wrong. I think something like:

--- a/bfd/Makefile.in
+++ b/bfd/Makefile.in
@@ -2526,7 +2526,7 @@ doc/bfdver.texi: $(srcdir)/Makefile.in
  html-local: doc/bfd/index.html
  doc/bfd/index.html: doc/bfd.texi $(bfd_TEXINFOS) doc/$(am__dirstamp)
         $(AM_V_at)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
-         --split=node -I$(srcdir) -o doc/bfd $(srcdir)/bfd.texi
+         --split=node -I$(srcdir) -o doc/bfd $(srcdir)/doc/bfd.texi


is needed - but I did not check why that went wrong in this generated file.
And why it now is wrong - but seemingly did work on Friday.


I build here with:

   .../configure --prefix=... \
    --build=x86_64-linux-gnu --target=x86_64-none-linux-gnu --host=x86_64-linux-gnu \
    --with-static-standard-libraries --disable-gdb --disable-libdecnumber --disable-readline \
    --disable-sim --disable-gdbserver --disable-nls \
    --with-sysroot=... --enable-plugins

   make prefix=... libdir=... htmldir=... install-html

which fails with:
makeinfo --split-size=5000000 --html --no-split  \
   --split=node ...
could not open  ...srdir.../bfd/bfd.texi: No such file or directory
make: *** [Makefile:2528: doc/bfd/index.html] Error 1


Tobias

-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955


More information about the Binutils mailing list