Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Devoogdt <thomas@devoogdt.com>
To: buildroot@buildroot.org
Cc: Thomas Devoogdt <thomas.devoogdt@barco.com>
Subject: [Buildroot] [PATCH] package/x11r7/xserver_xorg-server: fix automake-1.18 command not found
Date: Thu, 20 Aug 2026 13:54:08 +0200	[thread overview]
Message-ID: <20260820115408.3943622-1-thomas.devoogdt@barco.com> (raw)

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

             reply	other threads:[~2026-08-20 11:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-20 11:54 Thomas Devoogdt [this message]
2026-08-20 15:51 ` [Buildroot] [PATCH] package/x11r7/xserver_xorg-server: fix automake-1.18 command not found Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260820115408.3943622-1-thomas.devoogdt@barco.com \
    --to=thomas@devoogdt.com \
    --cc=buildroot@buildroot.org \
    --cc=thomas.devoogdt@barco.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox