NetBSD Problem Report #32833

From www@netbsd.org  Tue Feb 14 12:25:47 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id 2285663B879; Tue, 14 Feb 2006 12:25:47 +0000 (UTC)
Message-Id: <20060214122547.2285663B879@narn.netbsd.org>
Date: Tue, 14 Feb 2006 12:25:47 +0000 (UTC)
From: stuart@zeus.com
Reply-To: stuart@zeus.com
To: gnats-bugs@netbsd.org
Subject: ast-ksh (prequired for pksrc scripts such as pkg_chk) fails to build on IRIX: files missing
X-Send-Pr-Version: www-1.0

>Number:         32833
>Category:       pkg
>Synopsis:       ast-ksh (prequired for pksrc scripts such as pkg_chk) fails to build on IRIX: files missing
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    irix-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 14 12:30:01 +0000 2006
>Last-Modified:  Wed Feb 15 07:31:55 +0000 2006
>Originator:     Stuart Shelton
>Release:        n/a
>Organization:
>Environment:
IRIX64 octane 6.5 07010238 IP30
>Description:

ast-ksh fails with:

mamake: *** exit code 1 making cmd/ksh93
package: make: errors making /usr/bsd/var/tmp/shells/ast-ksh/work/arch/sgi.mips3/bin/ksh
package: make done  at Tue Feb 14 12:17:34 GMT 2006 in /usr/bsd/var/tmp/shells/ast-ksh/work/arch/sgi.mips3
*** Error code 1

Looking back through the build output, the error is:

+ cc -D_PIC_ -O -I. -I/usr/bsd/var/tmp/shells/ast-ksh/work/src/lib/libdll -I/u
sr/bsd/var/tmp/shells/ast-ksh/work/arch/sgi.mips3/include/ast -D_BLD_dll -D_PA
CKAGE_ast -c /usr/bsd/var/tmp/shells/ast-ksh/work/src/lib/libdll/dlfcn.c
cc-1005 cc: ERROR File = /usr/bsd/var/tmp/shells/ast-ksh/work/arch/sgi.mips3/i
nclude/ast/prototyped.h, Line = 1
  The source file "../prototyped.h" is unavailable.

  #include <../prototyped.h>
                            ^

1 catastrophic error detected in the compilation of "/usr/bsd/var/tmp/shells/a
st-ksh/work/src/lib/libdll/dlfcn.c".
Compilation terminated.
mamake [lib/libdll]: *** exit code 2 making dlfcn.o

... repeated about 80 times for different files.

The problem is that there is no file named "prototyped.h" anywhere in the source tree.  Is pkgsrc unpacking the ksh distribution incorrectly, or is this an upsteam problem?

NB: the ast-ksh build also totally ignores all of my environment compiler flags - I don't think that's a problem now, but if the required file(s) did exist then it might mean that ksh is built o32 rather than n32.
>How-To-Repeat:

cd shells/ast-ksh ; bmake
>Fix:

Unknown - package pdksh?

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Wed, 15 Feb 2006 07:31:55 +0000
Responsible-Changed-Why:
IRIX problem


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.