package/x11r7/xserver_xorg-server: fix automake-1.18 command not found
PATCH 1/1 package/x11r7/xserver_xorg-server: fix automake-1.18 command not found
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.
--- package/x11r7/xserver_xorg-server/xserver_xorg-server.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/x11r7/xserver_xorg-server/xserver_xorg-server.mk +4 -0
@@ -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.
Signature · 6 lines
2.43.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Devoogdt <[email protected]> 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:
Quoted 4 lines
```
cd ../../../.. &&/bin/bash/home/thomas/buildroot/output/build/xserver_xorg-server-21.1.23/missingautomake-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?
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hi Peter,
You are right, I had a local patch that touched Makefile.am, but not Makefile.in. I've changed it, and know this whole reconfigure step is not necessary anymore. So this patch can be dropped. Thx.
Kr,
Thomas
Op do 20 aug 2026 om 17:51 schreef Peter Korsgaard <[email protected]>:
Quoted 44 lines
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Thomas" == Thomas Devoogdt <[email protected]> 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 unusableand
Quoted 4 lines
the build fails when they are regenerated:
```
cd ../../../.. &&/bin/bash
/home/thomas/buildroot/output/build/xserver_xorg-server-21.1.23/missingautomake-1.18 --foreign hw/xfree86/drivers/modesetting/MakefileQuoted 1 line
/home/thomas/buildroot/output/build/xserver_xorg-server-21.1.23/missing:
line 85: automake-1.18: command not foundQuoted 1 line
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
Quoted 8 lines
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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot