Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/x11r7/xserver_xorg-server: fix automake-1.18 command not found
@ 2026-08-20 11:54 Thomas Devoogdt
  2026-08-20 15:51 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas Devoogdt @ 2026-08-20 11:54 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Devoogdt

The tarball published on
https://xorg.freedesktop.org/archive/individual/xserver/ ships a
pre-generated build system produced with automake 1.18. Buildroot only
provides automake 1.16, so the shipped Makefile.in files are unusable and
the build fails when they are regenerated:

```
 cd ../../../.. && /bin/bash /home/thomas/buildroot/output/build/xserver_xorg-server-21.1.23/missing automake-1.18 --foreign hw/xfree86/drivers/modesetting/Makefile
/home/thomas/buildroot/output/build/xserver_xorg-server-21.1.23/missing: line 85: automake-1.18: command not found
WARNING: 'automake-1.18' is missing on your system.
```

Enable AUTORECONF so the build system is regenerated with the automake
version available in Buildroot.

Regenerating the build system additionally requires the font-util
autoconf macros, hence the extra dependency:

```
configure.ac:52: error: must install font-util 1.1 or later before running autoconf/autogen
```

This commit can be reverted once Buildroot bumps automake to >= 1.18.

Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
---
 package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
index cecbb821aea..efb849a9b02 100644
--- a/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
+++ b/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk
@@ -41,6 +41,10 @@ XSERVER_XORG_SERVER_DEPENDENCIES = \
 	mcookie \
 	host-pkgconf
 
+# automake-1.18: command not found, font-util needed for autoconf/autogen
+XSERVER_XORG_SERVER_AUTORECONF = YES
+XSERVER_XORG_SERVER_DEPENDENCIES += xfont_font-util
+
 # We force -O2 regardless of the optimization level chosen by the
 # user, as the X.org server is known to trigger some compiler bugs at
 # -Os on several architectures.
-- 
2.43.0

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

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

end of thread, other threads:[~2026-08-20 15:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-20 11:54 [Buildroot] [PATCH] package/x11r7/xserver_xorg-server: fix automake-1.18 command not found Thomas Devoogdt
2026-08-20 15:51 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox