Subject: pkgsrc on fedora seems to need /bin/(ba)sh replaced by /bin/(k)sh
To: None <pkgsrc-users@netbsd.org>
From: George Michaelson <ggm@apnic.net>
List: pkgsrc-users
Date: 12/01/2006 09:32:37
On a Fedora box, /bin/sh is bash. pkgsrc is having a lot of problems
building, with complaints about embedded `...` execution instances
inside case ... logic, inherited down from configure stuff.

its also dying on sort +2n instances.

is this a well known gotcha for pkgsrc on some annoying distros?

I've got over the sh stuff by doing a replace of ksh for sh, but I
haven't yet worked out what tickles the sort problem.

-G


# bash --version
GNU bash, version 3.1.17(1)-release (i686-redhat-linux-gnu)
Copyright (C) 2005 Free Software Foundation, Inc.
# uname -a
Linux mirin.apnic.net 2.6.18-1.2239.fc5smp #1 SMP Fri Nov 10 13:22:44 EST 2006 i686
# sort --version
sort (GNU coreutils) 5.97
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Mike Haertel and Paul Eggert.
#