Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 17:59:52 +0200
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Christoph Moench-Tegeder <cmt@burggraben.net>
Cc:        ports@FreeBSD.org
Subject:   Re: breakage via Templates/config.sub
Message-ID:  <20130604155952.GC94820@ithaqua.etoilebsd.net>
In-Reply-To: <20130604155635.GA2064@elch.exwg.net>
References:  <20130604155635.GA2064@elch.exwg.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--96YOpH+ONegL0A3E
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 04, 2013 at 05:56:36PM +0200, Christoph Moench-Tegeder wrote:
> Hi,
>=20
> autoconf/automake-configure using ports fail to build on amd64 (not on
> i386), as witnessed with the current pcre-8.33 port (and more, if you test
> for it).
> "make configure" (ultimatively, ./configure) bails out with
>=20
> checking build system type... Invalid configuration `amd64-portbld-freebs=
d9.1': machine `amd64-portbld' not recognized
> configure: error: /bin/sh ./config.sub amd64-portbld-freebsd9.1 failed
> =3D=3D=3D>  Script "configure" failed unexpectedly.
>=20
>=20
> Comparing an "original" config.sub (e.g. from pcre again) to the one
> supplied in ports/Templates/config.sub, one cannot really miss the diff:
>=20
> --- /usr/ports/Templates/config.sub	2013-06-04 17:35:53.000000000 +0200
> +++ pcre-8.33/config.sub	2013-05-27 17:56:00.000000000 +0200
> @@ -473,6 +473,12 @@
>  		basic_machine=3Da29k-none
>  		os=3D-bsd
>  		;;
> +	amd64)
> +		basic_machine=3Dx86_64-pc
> +		;;
> +	amd64-*)
> +		basic_machine=3Dx86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
> +		;;
>  	amdahl)
>  		basic_machine=3D580-amdahl
>  		os=3D-sysv
>=20
> which quite obviously explains the trouble...
>=20
> Bapt, you were the last committer on that file, could you please add the
> evaporated lines back again?
>=20
> Regards,
> Christoph
>=20
> --=20
> Spare Space

You might have an old version of the ports tree, I did this commit in:
r318882 and reverted it in r318911 because of this mistake, than I now have
committed the right one has r319866

Can you confirm that upgrading the ports tree works for you?

regards,
Bapt

--96YOpH+ONegL0A3E
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlGuDvgACgkQ8kTtMUmk6Ez+WACeP7UTYjf/1cNWEFeoyMy8Zh6G
XLAAoKgWXdHqiAwVR0wUlJgy9Th4f1BE
=Iv3k
-----END PGP SIGNATURE-----

--96YOpH+ONegL0A3E--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130604155952.GC94820>