Subject: pkg/23691: pkgsrc openldap fails to build under Solaris2.8
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <rquinn@sec.sprint.net>
List: netbsd-bugs
Date: 12/08/2003 13:20:02
>Number:         23691
>Category:       pkg
>Synopsis:       pkgsrc openldap fails to build under Solaris2.8
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 08 13:21:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Rob Quinn
>Release:        pkgsrc-current
>Organization:
>Environment:
SunOS crn-sen 5.8 Generic_108528-19 sun4u sparc SUNW,Netra-T4

>Description:
openldap fails to build under Solaris2.8 due to an 'error' in work/.buildlink/bin/.fake-la.

>How-To-Repeat:
crn-sen:/usr/pkgsrc/databases/openldap #bmake
===> Checking for vulnerabilities in openldap-2.1.22nb3
=> Checksum OK for openldap-2.1.22.tgz.
work -> /usr/obj/pkg/databases/openldap/work
===> Extracting for openldap-2.1.22nb3
[....]
===> Buildlinking for openldap-2.1.22nb3
/usr/obj/pkg/databases/openldap/work/.buildlink/bin/.fake-la: syntax error at line 58: `current=$' unexpected
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/databases/openldap
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/databases/openldap

>Fix:
Change the first line of work/.buildlink/bin/.fake-la to /bin/ksh instead of /bin/sh.

>Release-Note:
>Audit-Trail:
>Unformatted: