breakage via Templates/config.sub

2013-06-04 Thread Christoph Moench-Tegeder
Hi,

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

checking build system type... Invalid configuration `amd64-portbld-freebsd9.1': 
machine `amd64-portbld' not recognized
configure: error: /bin/sh ./config.sub amd64-portbld-freebsd9.1 failed
===  Script configure failed unexpectedly.


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:

--- /usr/ports/Templates/config.sub 2013-06-04 17:35:53.0 +0200
+++ pcre-8.33/config.sub2013-05-27 17:56:00.0 +0200
@@ -473,6 +473,12 @@
basic_machine=a29k-none
os=-bsd
;;
+   amd64)
+   basic_machine=x86_64-pc
+   ;;
+   amd64-*)
+   basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
+   ;;
amdahl)
basic_machine=580-amdahl
os=-sysv

which quite obviously explains the trouble...

Bapt, you were the last committer on that file, could you please add the
evaporated lines back again?

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: breakage via Templates/config.sub

2013-06-04 Thread Baptiste Daroussin
On Tue, Jun 04, 2013 at 05:56:36PM +0200, Christoph Moench-Tegeder wrote:
 Hi,
 
 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
 
 checking build system type... Invalid configuration 
 `amd64-portbld-freebsd9.1': machine `amd64-portbld' not recognized
 configure: error: /bin/sh ./config.sub amd64-portbld-freebsd9.1 failed
 ===  Script configure failed unexpectedly.
 
 
 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:
 
 --- /usr/ports/Templates/config.sub   2013-06-04 17:35:53.0 +0200
 +++ pcre-8.33/config.sub  2013-05-27 17:56:00.0 +0200
 @@ -473,6 +473,12 @@
   basic_machine=a29k-none
   os=-bsd
   ;;
 + amd64)
 + basic_machine=x86_64-pc
 + ;;
 + amd64-*)
 + basic_machine=x86_64-`echo $basic_machine | sed 's/^[^-]*-//'`
 + ;;
   amdahl)
   basic_machine=580-amdahl
   os=-sysv
 
 which quite obviously explains the trouble...
 
 Bapt, you were the last committer on that file, could you please add the
 evaporated lines back again?
 
 Regards,
 Christoph
 
 -- 
 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


pgpLRZIcPP3ZY.pgp
Description: PGP signature


Re: breakage via Templates/config.sub

2013-06-04 Thread Christoph Moench-Tegeder
## Baptiste Daroussin (b...@freebsd.org):

 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?

Negative.  See
http://svnweb.freebsd.org/ports/head/Templates/config.sub?revision=319866view=markupsortby=date
line 476 - that should be amd64 and amd64-* between am29k and amdahl,
but there isn't.

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: breakage via Templates/config.sub

2013-06-04 Thread Christoph Moench-Tegeder
## Baptiste Daroussin (b...@freebsd.org):

 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

Digging deeper: r318882 does work for me, as that revision hat the amd64
cases - that's exactly the pristine config.sub as found in other
projects.
Test for yourself:
/bin/sh ./config.sub amd64-portbld-freebsd9.1
with whatever config.sub you have around.

Regards,
Christoph

-- 
Spare Space
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: breakage via Templates/config.sub

2013-06-04 Thread Baptiste Daroussin
On Tue, Jun 04, 2013 at 06:07:22PM +0200, Christoph Moench-Tegeder wrote:
 ## Baptiste Daroussin (b...@freebsd.org):
 
  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?
 
 Negative.  See
 http://svnweb.freebsd.org/ports/head/Templates/config.sub?revision=319866view=markupsortby=date
 line 476 - that should be amd64 and amd64-* between am29k and amdahl,
 but there isn't.

Crap I messed up with different config.sub I had on my system. Sorry about that.

Thanks for report and fix.

regards,
Bapt


pgpV9z4AzRSf5.pgp
Description: PGP signature


Re: breakage via Templates/config.sub

2013-06-04 Thread Baptiste Daroussin
On Tue, Jun 04, 2013 at 06:11:51PM +0200, Christoph Moench-Tegeder wrote:
 ## Baptiste Daroussin (b...@freebsd.org):
 
  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
 
 Digging deeper: r318882 does work for me, as that revision hat the amd64
 cases - that's exactly the pristine config.sub as found in other
 projects.
 Test for yourself:
 /bin/sh ./config.sub amd64-portbld-freebsd9.1
 with whatever config.sub you have around.
 

YEs config.sub in r318882 was ok, the problem was in config.guess :)

regards,
Bapt


pgppcSNiFiWgr.pgp
Description: PGP signature