* [Patch] Build fail: "No rule to make target 'doc/binutils/index.html', needed by 'html-local'. Stop."
@ 2021-12-01 9:06 Tobias Burnus
2021-12-01 21:01 ` [PATCH/committed] binutils: add missing prefix for binutils/index.html rule Mike Frysinger
2021-12-02 9:38 ` "libctf: merge doc subdir up a level" – caused fail: "error: cannot find input file: `doc/Makefile.in'" Tobias Burnus
0 siblings, 2 replies; 3+ messages in thread
From: Tobias Burnus @ 2021-12-01 9:06 UTC (permalink / raw)
To: Mike Frysinger, binutils
[-- Attachment #1: Type: text/plain, Size: 913 bytes --]
Hi Mike,
I get
MAKEINFO doc/binutils.html
make[3]: *** No rule to make target 'doc/binutils/index.html', needed by 'html-local'. Stop.
And I think that's caused by your patch:
commit 45c06bb712699e94533d16ac79efca189723294d
Date: Thu Nov 25 23:13:37 2021 -0500
binutils: merge doc subdir up a level
If I look into the patch, I see:
+html-local: doc/binutils/index.html
+binutils/index.html: doc/binutils.texi $(binutils_TEXINFOS)
Shouldn't there be a 'doc/' prefix in the second line?
At least the following patch fixes the build for me.
Can you check & then commit the patch?
Thanks,
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
[-- Attachment #2: patch.diff --]
[-- Type: text/x-patch, Size: 566 bytes --]
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index f49da1afe17..ce1fdfcac49 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -2129,7 +2129,7 @@ doc/$(DEMANGLER_NAME).1: doc/cxxfilt.man Makefile doc/$(am__dirstamp)
> doc/$(DEMANGLER_NAME).1
html-local: doc/binutils/index.html
-binutils/index.html: doc/binutils.texi $(binutils_TEXINFOS)
+doc/binutils/index.html: doc/binutils.texi $(binutils_TEXINFOS)
$(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
--split=node -I$(srcdir) $(srcdir)/doc/binutils.texi
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH/committed] binutils: add missing prefix for binutils/index.html rule
2021-12-01 9:06 [Patch] Build fail: "No rule to make target 'doc/binutils/index.html', needed by 'html-local'. Stop." Tobias Burnus
@ 2021-12-01 21:01 ` Mike Frysinger
2021-12-02 9:38 ` "libctf: merge doc subdir up a level" – caused fail: "error: cannot find input file: `doc/Makefile.in'" Tobias Burnus
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2021-12-01 21:01 UTC (permalink / raw)
To: binutils
---
binutils/Makefile.in | 2 +-
binutils/doc/local.mk | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/binutils/Makefile.in b/binutils/Makefile.in
index f49da1afe17b..ce1fdfcac499 100644
--- a/binutils/Makefile.in
+++ b/binutils/Makefile.in
@@ -2129,7 +2129,7 @@ doc/$(DEMANGLER_NAME).1: doc/cxxfilt.man Makefile doc/$(am__dirstamp)
> doc/$(DEMANGLER_NAME).1
html-local: doc/binutils/index.html
-binutils/index.html: doc/binutils.texi $(binutils_TEXINFOS)
+doc/binutils/index.html: doc/binutils.texi $(binutils_TEXINFOS)
$(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
--split=node -I$(srcdir) $(srcdir)/doc/binutils.texi
diff --git a/binutils/doc/local.mk b/binutils/doc/local.mk
index c4980963f4b4..dac28f20b16f 100644
--- a/binutils/doc/local.mk
+++ b/binutils/doc/local.mk
@@ -174,7 +174,7 @@ MAINTAINERCLEANFILES += $(man_MANS) %D%/binutils.info %D%/cxxfilt.man
> %D%/$(DEMANGLER_NAME).1
html-local: %D%/binutils/index.html
-binutils/index.html: %D%/binutils.texi $(binutils_TEXINFOS)
+%D%/binutils/index.html: %D%/binutils.texi $(binutils_TEXINFOS)
$(AM_V_GEN)$(MAKEINFOHTML) $(AM_MAKEINFOHTMLFLAGS) $(MAKEINFOFLAGS) \
--split=node -I$(srcdir) $(srcdir)/%D%/binutils.texi
--
2.33.0
^ permalink raw reply [flat|nested] 3+ messages in thread
* "libctf: merge doc subdir up a level" – caused fail: "error: cannot find input file: `doc/Makefile.in'"
2021-12-01 9:06 [Patch] Build fail: "No rule to make target 'doc/binutils/index.html', needed by 'html-local'. Stop." Tobias Burnus
2021-12-01 21:01 ` [PATCH/committed] binutils: add missing prefix for binutils/index.html rule Mike Frysinger
@ 2021-12-02 9:38 ` Tobias Burnus
1 sibling, 0 replies; 3+ messages in thread
From: Tobias Burnus @ 2021-12-02 9:38 UTC (permalink / raw)
To: Mike Frysinger, binutils
Hi Mike,
first, thanks for fixing the 'doc/binutils/index.html' makefile issue.
Short version: Can you regenerate the 'configure' files?
Long version: I now get
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: `doc/Makefile.in'
make[1]: *** [Makefile:12154: configure-libctf] Error 1
The issue seems to be your patch:
commit 1eaa86a6d5bc8b79e1783582f5b58e4fa5675e03
Date: Mon Nov 29 20:44:07 2021 -0500
libctf: merge doc subdir up a level
which removes libctf/doc/Makefile.in and has
--- a/libctf/configure.ac
+++ b/libctf/configure.ac
@@ -293 +293 @@ AC_SUBST(VERSION_FLAGS_NOBFD)
-AC_CONFIG_FILES(Makefile doc/Makefile)
+AC_CONFIG_FILES(Makefile)
However, 'libctf/configure' was not regenerated and still contains:
ac_config_files="$ac_config_files Makefile doc/Makefile"
Thanks,
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-12-02 9:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-01 9:06 [Patch] Build fail: "No rule to make target 'doc/binutils/index.html', needed by 'html-local'. Stop." Tobias Burnus
2021-12-01 21:01 ` [PATCH/committed] binutils: add missing prefix for binutils/index.html rule Mike Frysinger
2021-12-02 9:38 ` "libctf: merge doc subdir up a level" – caused fail: "error: cannot find input file: `doc/Makefile.in'" Tobias Burnus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).