[Python-checkins] commit of r41907 - python/trunk/Makefile.pre.in

Barry Warsaw barry at python.org
Wed Jan 4 21:26:50 CET 2006


On Thu, 2006-01-05 at 02:38 +1100, Anthony Baxter wrote:
> On Wednesday 04 January 2006 20:29, Sjoerd Mullender wrote:
> > Neal Norwitz wrote:
> > > This change broke on Solaris 10.
> > >
> > > http://www.python.org/dev/buildbot/sparc%20solaris10%20gcc%20trun
> > >k/builds/48/step-compile/0
> > >
> > > make: Fatal error: Command failed for target `buildno'
> >
> > The program "type" is not portable: it's a bash-ism.
> 
> /usr/bin/type exists, at least on Solaris 9.
> 
> It seems to work the way the Makefile expects.

I actually tested this on Solaris 9 (and Gentoo and MacOS 10.4) before
checking it in, and it worked for me.  Verifying just now, I realized
that's because I used GNU make instead of /usr/ccs/bin/make to do my
test.  If I use the latter, it breaks.  GNU make works fine.

Unfortunately, /usr/bin/type doesn't seem to accept the -t flag for me
on Solaris 9.  Okay, so what's the best (read: portable) way to do this?
Maybe it's reasonable just to say that if you have a Subversion checkout
of the tree, you better have svnversion on your $PATH?

The SF bug in question is #1395926.

-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-checkins/attachments/20060104/9b6094c4/attachment.pgp 


More information about the Python-checkins mailing list