Package: ksh Version: 93s+20080202-1 Severity: important While testing if #522693 could be fixed with a rebuild against the most recent libc0.1-dev (2.9-8) as it did for bash (see #522686), I had to notice that ksh FTBFS on a current kfreebsd-i386 Sid installation.
The last lines of output are:
[...]
+ test '' = fun/pushd
+ /usr/bin/cmp -s
/home/abe/debian/rebuild/ksh-93s+20080202/src/cmd/ksh93/fun/pushd
/home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/pushd
+ 2> /dev/null
+ /bin/mv /home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/pushd
/home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/pushd.old
+ 2> /dev/null
+ true
+ /bin/cp /home/abe/debian/rebuild/ksh-93s+20080202/src/cmd/ksh93/fun/pushd
/home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/pushd
+ chmod ugo+x /home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/pushd
mamake: *** exit code 1 making cmd/ksh93
package: make done at Wed Apr 29 17:12:58 CEST 2009 in
/home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386
touch build-stamp
fakeroot debian/rules binary
dh_testdir
dh_testroot
dh_installdirs
install -p -o root -g root -m 755 -s arch/gnu.i386/bin/ksh
debian/ksh/bin/ksh93
install: cannot stat `arch/gnu.i386/bin/ksh': No such file or directory
make: *** [install] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error exit status
2
debuild: fatal error at line 1324:
dpkg-buildpackage -rfakeroot -D -us -uc failed
The return code of "debuild -uc -us" was 29.
The command "chmod ugo+x
/home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/pushd"
was successful though:
$ ls -alF /home/abe/debian/rebuild/ksh-93s+20080202/arch/gnu.i386/fun/
total 16
drwxr-xr-x 2 abe abe 512 2009-04-29 17:12 ./
drwxr-xr-x 8 abe abe 512 2009-04-29 16:18 ../
-rwxr-xr-x 1 abe abe 2259 2009-04-29 17:12 dirs*
-rwxr-xr-x 1 abe abe 2508 2009-04-29 17:12 popd*
-rwxr-xr-x 1 abe abe 2508 2009-04-29 17:12 pushd*
$
The command also returns zero if called from the commandline directly.
But mamake argued about several bad return codes during the run, so I
expect the FTBFS is the result of an earlier, not completely catched
error. I attached a complete build log. It's about half a megabyte
uncompressed.
Since ksh is installed on this system, it once obviously did build on
kfreebsd.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (110, 'experimental')
Architecture: kfreebsd-i386 (i686)
Kernel: kFreeBSD 7.1-1-686-smp
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ksh depends on:
ii libc0.1 2.9-8 GNU C Library: Shared libraries
ksh recommends no packages.
ksh suggests no packages.
-- no debconf information
Regards, Axel
--
Axel Beckert - [email protected], [email protected] - http://noone.org/abe/
ksh-93s+20080202-kfreebsd-build.log.gz
Description: Binary data

