Subject: pkg/9010: package lang/ghc doesn't build
To: None <gnats-bugs@gnats.netbsd.org>
From: Lennart Augustsson <augustss@augustsson.net>
List: netbsd-bugs
Date: 12/16/1999 14:09:39
>Number: 9010
>Category: pkg
>Synopsis: package lang/ghc doesn't build
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 16 14:09:00 1999
>Last-Modified:
>Originator: Lennart Augustsson
>Organization:
Department of Computing Science, Chalmers University
>Release: NetBSD-current 1999-12-16
>Environment:
System: NetBSD opus 1.4P NetBSD 1.4P (OPUS) #132: Mon Nov 29 22:14:03 CET 1999 augustss@opus:/extra/NetBSD/src/sys/arch/i386/compile/OPUS i386
>Description:
The lang/ghc package doesn't configure.
>How-To-Repeat:
cd pkgsrc/lang/ghc; make
===> Configuring for ghc-4.04
( lnl=/usr/src/pkg/lang/ghc/work/longandlow; /bin/echo 'int main(){exit(0);}' > $lnl.c && cc $lnl.c -o $lnl && file $lnl | ( /usr/bin/egrep '[^a-zA-Z][Ee][Ll][Ff][^a-zA-Z]' && /bin/echo ELF || /bin/echo a.out ) ) > /usr/src/pkg/lang/ghc/work/obj_fmt
/usr/bin/sed < /usr/src/pkg/lang/ghc/work/fptools/ghc/driver/ghc.lprl > /usr/src/pkg/lang/ghc/work/fptools/ghc/driver/ghc.lprl.hacked '/push(@SysLibrary, "-libGmp")/s%^%push(@SysLibrary, "-L'/usr/pkg/lib'");%' && /bin/mv -f /usr/src/pkg/lang/ghc/work/fptools/ghc/driver/ghc.lprl.hacked /usr/src/pkg/lang/ghc/work/fptools/ghc/driver/ghc.lprl
env: ELF: No such file or directory
*** Error code 127
>Fix:
None provided
>Audit-Trail:
>Unformatted: