Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2, 1/1] package/pkg-autotools: fix runtime path
@ 2022-07-29 15:46 Fabrice Fontaine
  2022-07-29 19:58 ` Thomas Petazzoni via buildroot
  2022-08-01 16:54 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 12+ messages in thread
From: Fabrice Fontaine @ 2022-07-29 15:46 UTC (permalink / raw)
  To: buildroot; +Cc: Fabrice Fontaine, Thomas Petazzoni

Commit 505b5a6cdd337c2fd5965aa875a1a53419d62ed1 wrongly stated that "a
configure script bundled with a package may be generated with an older
version of Autotools, that may not yet support the --runstatedir option.
This will give an "Unsupported arguments" warning and the option will be
ignored.". Indeed, this will raise the following build failure with
attr, libtirpc, readline, etc.:

configure: error: unrecognized option: `--runstatedir=/run'

So to support configure scripts using older version, the variable is set
directly instead of using the --runstatedir argument.

Fixes:
 - http://autobuild.buildroot.org/results/c853f14773d875be30e32ae24daf80e181fef34e
 - http://autobuild.buildroot.org/results/045211cd66cf78c3d89d2d8ac41ec4edf0b0ee58
 - http://autobuild.buildroot.org/results/8c5160eef99de2f1f72f33d5e5ea94d417855b2c

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
 - Remove revert sentence

 package/pkg-autotools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 548f69cbb8..b6224b349d 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -187,7 +187,7 @@ define $(2)_CONFIGURE_CMDS
 		--exec-prefix=/usr \
 		--sysconfdir=/etc \
 		--localstatedir=/var \
-		--runstatedir=/run \
+		runstatedir=/run \
 		--program-prefix="" \
 		--disable-gtk-doc \
 		--disable-gtk-doc-html \
-- 
2.35.1

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

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

end of thread, other threads:[~2022-09-07 15:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-29 15:46 [Buildroot] [PATCH v2, 1/1] package/pkg-autotools: fix runtime path Fabrice Fontaine
2022-07-29 19:58 ` Thomas Petazzoni via buildroot
2022-08-01 16:54 ` Thomas Petazzoni via buildroot
2022-08-02  7:55   ` Norbert Lange
2022-08-02  8:40     ` Thomas Petazzoni via buildroot
2022-08-02  8:49       ` Norbert Lange
2022-08-02  9:39         ` Thomas Petazzoni via buildroot
2022-08-02 10:45           ` Norbert Lange
2022-08-02 21:18             ` Thomas Petazzoni via buildroot
2022-09-07 15:55       ` Peter Korsgaard
2022-08-11 20:37   ` Thomas Petazzoni via buildroot
2022-08-11 20:44     ` Fabrice Fontaine

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