Skip to contentSkip to conversation

Revert "package/pkg-autotools: force cross compiling"

PATCH In review Fabrice Fontaine 2 participants 2 messages Mar 8, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "package/pkg-autotools: force cross compiling"

This reverts commit 83e06196ab2193b73b4d7c1decc12bdd654a91e1 which raises the following build failure with thttpd or wipe:

configure: warning: cross_compiling=yes: invalid host type loading site script /dev/null
creating cache ./config.cache
configure: error: can only configure for one host and one target at a time

Fixes:
- http://autobuild.buildroot.org/results/e2156c3747b37d0ec2559a67f2f468ad42a20dbc
- http://autobuild.buildroot.org/results/a356dd0cd1fb4c9a1b9d6a4cbad4ae2a34dbb562

---
 package/pkg-autotools.mk | 2 --
 1 file changed, 2 deletions(-)
package/pkg-autotools.mk +0 -2
index aac80369e0..717ff81593 100644
@@ -195,7 +195,6 @@ define $(2)_CONFIGURE_CMDS
 		--disable-documentation \
 		--with-xmlto=no \
 		--with-fop=no \
-		cross_compiling=yes \
 		$$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \
 		--enable-ipv6 \
 		$$(NLS_OPTS) \
@@ -230,7 +229,6 @@ define $(2)_CONFIGURE_CMDS
 		--with-xmlto=no \
 		--with-fop=no \
 		--disable-nls \
-		cross_compiling=no \
 		$$(if $$($$(PKG)_OVERRIDE_SRCDIR),,--disable-dependency-tracking) \
 		$$(QUIET) $$($$(PKG)_CONF_OPTS) \
 	)
Signature · 6 lines
2.39.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Fabrice" == Fabrice Fontaine <[email protected]> writes:

Hi,

Quoted 8 lines

This reverts commit 83e06196ab2193b73b4d7c1decc12bdd654a91e1 which raises the following build failure with thttpd or wipe:

configure: warning: cross_compiling=yes: invalid host type loading site script /dev/null
creating cache ./config.cache
configure: error: can only configure for one host and one target at a time

Quoted 5 lines

Fixes:
- http://autobuild.buildroot.org/results/e2156c3747b37d0ec2559a67f2f468ad42a20dbc
- http://autobuild.buildroot.org/results/a356dd0cd1fb4c9a1b9d6a4cbad4ae2a34dbb562

I was afraid of this. I guess it is because thttpd and wipe use really old autotools versions:

output/build/thttpd-2.29/configure --version
configure generated by autoconf version 2.13

output/build/wipe-2.3.1/configure --version
configure generated by autoconf version 2.13

I guess a safer approach is to only pass it for the packages known to be affected by the issue. Daniel, care to send a patch for that?

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot