All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/e2fsprogs: Don't build docs for host
@ 2025-04-09  0:03 Charlie Jenkins
  2025-04-19 21:30 ` Thomas Petazzoni via buildroot
  2025-05-17 20:51 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Charlie Jenkins @ 2025-04-09  0:03 UTC (permalink / raw)
  To: buildroot; +Cc: Charlie Jenkins

texinfo isn't provided for the host in buildroot, but e2fsprogs always
attempts to build the documentation. The error that gets printed is as
follows:

/usr/bin/install: cannot stat 'libext2fs.info*': No such file or directory
make[3]: [Makefile:363: install-doc-libs] Error 1 (ignored)

This error is ignored but it is unnecessary.

Signed-off-by: Charlie Jenkins <charlie@rivosinc.com>
---
 package/e2fsprogs/e2fsprogs.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/e2fsprogs/e2fsprogs.mk b/package/e2fsprogs/e2fsprogs.mk
index 7f33b256c2626430a4578a9d8ffd8258df364a43..ad65d5189e75808af011ec87f0bee9d252f53767 100644
--- a/package/e2fsprogs/e2fsprogs.mk
+++ b/package/e2fsprogs/e2fsprogs.mk
@@ -56,6 +56,12 @@ E2FSPROGS_CONF_OPTS = \
 	--disable-rpath \
 	--enable-symlink-install
 
+# docs will fail to build for the host because buildroot doesn't provide texinfo
+define HOST_E2FSPROGS_REMOVE_DOCS
+	rm -rf $(@D)/doc
+endef
+HOST_E2FSPROGS_PRE_INSTALL_HOOKS += HOST_E2FSPROGS_REMOVE_DOCS
+
 ifeq ($(BR2_PACKAGE_E2FSPROGS_FUSE2FS),y)
 E2FSPROGS_CONF_OPTS += --enable-fuse2fs
 E2FSPROGS_DEPENDENCIES += libfuse

---
base-commit: af094ed137d6967afb6270b69c516a22eb9d8091
change-id: 20250407-fix_e2fsprogs-68470f22d8cd
-- 
- Charlie

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-05-17 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09  0:03 [Buildroot] [PATCH] package/e2fsprogs: Don't build docs for host Charlie Jenkins
2025-04-19 21:30 ` Thomas Petazzoni via buildroot
2025-05-17 20:51 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.