Package Details: ksh 2014.06.25beta-1

Git Clone URL: (read-only)
Package Base: ksh
Description: AT&T's Korn shell ksh93 nmake from ast-base
Upstream URL:
Licenses: EPL, CPL
Conflicts: pdksh
Submitter: None
Maintainer: severach
Last Packager: severach
Votes: 46
Popularity: 0.056970
First Submitted: 2007-11-14 01:11
Last Updated: 2017-12-01 00:51

Latest Comments

HoaS commented on 2017-12-21 21:51

I have a package for the new Meson Build version:

pouar commented on 2017-12-07 01:43

master now only contains ksh, and they seemed to have switched to meson for that, development in ksh seems to be picking up

1CatchMe1 commented on 2017-12-01 00:19

Getting error with new glibc

./ast_stdio.h:82:15: error: conflicting types for '_sfio_FILE'
#define FILE _sfio_FILE
./ast_stdio.h:80:24: note: previous declaration of '_sfio_FILE' was here
typedef struct _sfio_s _sfio_FILE;

severach commented on 2016-01-19 17:06

Looks like the AT&T download and list servers are down. I put in some alternate sources with matching SHA sums.

The authors have verified that the AT&T servers are down some time before 2015-12-31. The new software location is

fastgar commented on 2016-01-18 08:43

Package server is not available. Since a longer time.
Failed to connect to port 80: Keine Route zum Zielrechner

severach commented on 2015-10-18 16:45

This won't build with yaourt. Download, amend PKGBUILD.local as instructed, and make with makepkg.

anpieber commented on 2015-10-18 05:53

I als get the an authentication error

==> Retrieving sources...
-> Downloading INIT.2014-12-24.tgz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 401 Authorization Required
==> ERROR: Failure while downloading INIT.2014-12-24.tgz

severach commented on 2015-09-22 22:56

That should work better.

sputnick commented on 2015-09-22 20:50

The PKGBUILD failed on : 'curl: (22) The requested URL returned error: 401 Authorization Required'

severach commented on 2015-07-09 00:52

Comment by severach 2015-06-11 08:49

packer does it's own work without makepkg. I fixed the PKGBUILD so it doesn't error out. Packer doesn't give you access to edit the PKGBUILD before building so I don't think this 2 step build will work with packer.

I used to use yaourt but switched to cower. Downloading the files is the difficult part so that's the only thing I want done for me. I always makepkg manually.

With only one comment in the last 2 years I though this would be an unpopular package. Looks like everyone saw there was no hope and just gave up.

severach commented on 2015-07-09 00:51

Comment by Airblader 2015-06-11 05:46
With packer I only get an error:

/tmp/packertmp-1000/ksh.PKGBUILD: line 166: SOURCEONLY: unbound variable

With yaourt, I'm prompted for the license stuff.

severach commented on 2015-07-09 00:50

Comment by severach 2015-06-10 05:29
The build is improved so the error and how to fix steps are more obvious.

severach commented on 2015-07-09 00:50

Comment by haawda 2015-06-09 21:54
that is by design, read the PKGBUILD.

severach commented on 2015-07-09 00:49

Comment by tm4ig 2015-06-09 19:03
==> Making package: ksh 2014.06.25beta-1 (Tue Jun 9 22:03:31 MSK 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found INIT.2014-12-24.tgz
-> Found ast-base.2014-06-25.tgz
-> Found ksh_93u+20120801-1_amd64.deb
==> Validating source files with sha256sums...
INIT.2014-12-24.tgz ... Passed
ast-base.2014-06-25.tgz ... Passed
ksh_93u+20120801-1_amd64.deb ... Passed
==> Extracting sources...
-> Extracting INIT.2014-12-24.tgz with bsdtar
-> Extracting ast-base.2014-06-25.tgz with bsdtar
-> Extracting ksh_93u+20120801-1_amd64.deb with bsdtar
==> Starting prepare()...
_EPLUSER and _EPLPASS must be filled in.
Please retieve these from the EPL License page.
Read the PKGBUILD for instructions.
==> ERROR: A failure occurred in prepare().

severach commented on 2015-06-22 22:31

On BSD I'm waiting for comment from David Korn and crew. If the BSD license doesn't apply to the parts we take then we wouldn't include the BSD license.

There's a lot of changes needed to switch over to /usr/bin/shell. As an example the zsh ArchWiki page references /bin/zsh.

Jristz commented on 2015-06-22 20:30

BSD licences are concidered custom by arch therefor "TODO: Do we need to include BSD licenses?" yes. also if year is wrong is because is Custom licence.

Jristz commented on 2015-06-22 20:22

I think we should use /usr/bin/ksh but the other except zsh shells show /bin

you are right, the shells in etc/shells are supposed to be /usr/bin/shell, the request are on demmand and if not break compatbility -Allan McRae on the bug repport that I filled once.

wil93 commented on 2015-05-28 02:13

I get the exact same error as sputnick. I'm not using yaourt, just makepkg.

haawda commented on 2013-10-19 22:51

Builds fine here. sputnick, did you try without using yaourt?

sputnick commented on 2013-10-19 19:37

The package() part is in error :

==> Starting build()...
package: initialize the /tmp/yaourt-tmp-sputnick/aur-ksh/src/ksh-93u+20120801/arch/linux.i386-64 view
package: update /tmp/yaourt-tmp-sputnick/aur-ksh/src/ksh-93u+20120801/arch/linux.i386-64/lib/probe/C/make/probe
package: make with mamake
package: make output captured in /tmp/yaourt-tmp-sputnick/aur-ksh/src/ksh-93u+20120801/arch/linux.i386-64/lib/package/gen/make.out
package: make start at Sat Oct 19 21:33:08 CEST 2013 in /tmp/yaourt-tmp-sputnick/aur-ksh/src/ksh-93u+20120801/arch/linux.i386-64
bin/package: line 3955: mamake: command not found
package: make done at Sat Oct 19 21:33:08 CEST 2013 in /tmp/yaourt-tmp-sputnick/aur-ksh/src/ksh-93u+20120801/arch/linux.i386-64
==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat 'linux.*/bin/ksh': No such file or directory
==> ERROR: A failure occurred in package().
==> ERROR: Makepkg was unable to build ksh.

chneukirchen commented on 2013-06-03 17:42

/bin links are removed for binmove.

chneukirchen commented on 2013-05-14 11:44

Moved ksh to /usr/bin, installed links from /bin like in the bash package (will remove these when usrmove is done).

Updating /etc/shells now, too.

Jristz commented on 2013-05-13 23:21

nstall -Dm755 linux.*/bin/ksh "$pkgdir/bin/ksh"
need to change to $pkgdir/usr/bin/ksh

because bin migration are in TODO, this mean in This month or next, please update to prevent future headaches

and you can make /etc/shells update whit install or remove this package?

chneukirchen commented on 2013-04-18 14:10


haawda commented on 2013-04-18 07:43

The package is orphaned, feel free to do so.

chneukirchen commented on 2013-04-17 23:37

A cheap way out would be to use the Debian provided tarballs, e.g. with this PKGBUILD:

haawda commented on 2013-03-21 22:54


Jristz commented on 2013-03-21 22:49

wait a darn minute, If not supposed that EPL is OSI approved, why this Package not use a DLAGENT for sircunvent the Passwd and user request if I want install this I Agree all about the liceness an all
as same way that jdk use DLAGENTS

Jristz commented on 2012-09-08 09:06

the INIT not requiere any manual intervention, you can probide a download for INIT?
obvious tath ksh not, but wath aboutinit??

ShyPixie commented on 2012-08-29 20:02

I had not read before. I'm really stupid, sorry.

falconindy commented on 2012-08-29 19:50

The error (and size of the AUR tarball) imply that there is, in fact, no source tarball included on the AUR.

I'm not allowed, by the license of this package, to indirectly distribute the source code. You'll need to get it yourself. Because of that, there's no sense in using a URL in the source array. Follow the instructions in the PKGBUILD itself.

ShyPixie commented on 2012-08-29 19:28

==> Retrieving Sources...
==> ERROR: INIT.2012-08-01.tgz was not found in the build directory and is not a URL.

Upload sources to aur is not a good practice...

kgunders commented on 2012-05-19 15:13

Perhaps you could script the license acceptance part (e.g. FreeBSD ports) to make the build more seamless. Otherwise thanks for making this available as ksh is a fine shell. My use of KSH predates the existence of Bash and sometimes I wax nostalgic and enjoy kicking it old school. Too bad AT&T took so long to get a cluebat otherwise Ithink would be far more widespread use in FOSS community.

Thanks again. Much appreciated.

Anonymous comment on 2011-11-21 22:33

To build in on a 32bit architecture one must edit the package build:
in package() the line
- install -Dm644 "$srcdir/arch/linux.i386-64/man/man1/sh.1" "$pkgdir/usr/share/man/man1/ksh.1"
should be
- install -Dm644 "$srcdir/arch/linux.i386/man/man1/sh.1" "$pkgdir/usr/share/man/man1/ksh.1"

falconindy commented on 2011-02-22 16:32

This package has a few issues in addition to being out of date:

- no license file is installed
- an extra level of man directories is created (/usr/share/man/man/manX)
- the man pages in section 3 are related to INIT, not ksh and shouldn't be installed (those headers/sharedlibs aren't included)
- man1's sh.1 should be renamed to ksh.1 for clarity (section 1p has a non-conflicting sh.1p.gz owned by man-pages)

With some extra cleanup, the adjusted PKGBUILD is posted below:

Ravenman commented on 2011-01-16 21:33

I can't compile it:

==> Making package: ksh 2009.05.05-2 (Sun Jan 16 16:31:16 COT 2011)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> ERROR: INIT.2009-05-05.tgz was not found in the build directory and is not a URL.
==> ERROR: Makepkg was unable to build ksh.
==> Restart building ksh ? [y/N]
==> ----------------------------