All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bastian Germann <bastiangermann@fishpost.de>
To: linux-xfs@vger.kernel.org
Cc: Bastian Germann <bastiangermann@fishpost.de>,
	Steve Langasek <steve.langasek@ubuntu.com>
Subject: [PATCH v2 1/2] debian: Regenerate config.guess using debhelper
Date: Sun, 21 Feb 2021 10:39:45 +0100	[thread overview]
Message-ID: <20210221093946.3473-2-bastiangermann@fishpost.de> (raw)
In-Reply-To: <20210221093946.3473-1-bastiangermann@fishpost.de>

This is a change introduced in 5.10.0-2ubuntu2 with the changelog:

> xfsprogs upstream has regressed config.guess, so use
> dh_update_autotools_config.

The 5.10.0 tarball has a config.guess that breaks builds on RISC-V:
...
UNAME_MACHINE = riscv64
UNAME_RELEASE = 5.0.0+
UNAME_SYSTEM  = Linux
UNAME_VERSION = #2 SMP Sat Mar 9 22:34:53 UTC 2019
configure: error: cannot guess build type; you must specify one
make[1]: *** [Makefile:131: include/builddefs] Error 1
...

Reported-by: Steve Langasek <steve.langasek@ubuntu.com>
Signed-off-by: Bastian Germann <bastiangermann@fishpost.de>
---
 debian/changelog | 7 +++++++
 debian/rules     | 1 +
 2 files changed, 8 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 5421aed6..679fbf03 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+xfsprogs (5.11.0-rc0-1) experimental; urgency=medium
+
+  [ Steve Langasek ]
+  * Regenerate config.guess using debhelper
+
+ -- Bastian Germann <bastiangermann@fishpost.de>  Sat, 20 Feb 2021 11:57:31 +0100
+
 xfsprogs (5.10.0-3) unstable; urgency=medium
 
   * Drop unused dh-python from Build-Depends (Closes: #981361)
diff --git a/debian/rules b/debian/rules
index c6ca5491..fe9a1c3a 100755
--- a/debian/rules
+++ b/debian/rules
@@ -43,6 +43,7 @@ config: .census
 	@echo "== dpkg-buildpackage: configure" 1>&2
 	$(checkdir)
 	AUTOHEADER=/bin/true dh_autoreconf
+	dh_update_autotools_config
 	$(options) $(MAKE) $(PMAKEFLAGS) include/platform_defs.h
 	touch .census
 
-- 
2.30.1


  reply	other threads:[~2021-02-21  9:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-21  9:39 [PATCH v2 0/2] debian: Fix problems introduced with 5.10.0 Bastian Germann
2021-02-21  9:39 ` Bastian Germann [this message]
2021-02-22 19:43   ` [PATCH v2 1/2] debian: Regenerate config.guess using debhelper Darrick J. Wong
2021-02-21  9:39 ` [PATCH v2 2/2] debian: Build-depend on libinih-dev with udeb package Bastian Germann
2021-02-22 18:39   ` Darrick J. Wong
2021-03-07 12:07 ` [PATCH v2 0/2] debian: Fix problems introduced with 5.10.0 Bastian Germann

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=20210221093946.3473-2-bastiangermann@fishpost.de \
    --to=bastiangermann@fishpost.de \
    --cc=linux-xfs@vger.kernel.org \
    --cc=steve.langasek@ubuntu.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 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.