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

* Re: [Buildroot] [PATCH] package/x11r7/xserver_xorg-server: fix automake-1.18 command not found
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2026-08-20 15:51 UTC (permalink / raw)
  To: Thomas Devoogdt; +Cc: buildroot, Thomas Devoogdt

>>>>> "Thomas" == Thomas Devoogdt <thomas@devoogdt.com> writes:

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

Given the version number I take it this is 2025.02.15 or 2025.02.16?

I cannot reproduce it here. Such automake invocations normally happen if
the Makefile.am is newer than Makefile.in, which is not the case for
21.1.23:

stat xserver_xorg-server-21.1.23/hw/xfree86/drivers/modesetting/Makefil*
  File: xserver_xorg-server-21.1.23/hw/xfree86/drivers/modesetting/Makefile.am
  Size: 2349            Blocks: 8          IO Block: 4096   regular file
Device: 253,1   Inode: 9050823     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/    peko)   Gid: ( 1000/    peko)
Access: 2026-08-20 17:32:36.099831959 +0200
Modify: 2026-06-02 02:10:30.000000000 +0200
Change: 2026-08-20 17:32:26.035472398 +0200
 Birth: 2026-08-20 17:32:25.903467683 +0200
  File: xserver_xorg-server-21.1.23/hw/xfree86/drivers/modesetting/Makefile.in
  Size: 36861           Blocks: 72         IO Block: 4096   regular file
Device: 253,1   Inode: 9050824     Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/    peko)   Gid: ( 1000/    peko)
Access: 2026-08-20 17:32:36.099831959 +0200
Modify: 2026-06-02 02:10:40.000000000 +0200
Change: 2026-08-20 17:32:26.035472398 +0200
 Birth: 2026-08-20 17:32:25.903467683 +0200

Do you have any local patches modifying
hw/xfree86/drivers/modesetting/Makefile.am without also patching the
Makefile.in?

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[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