pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/39738: bootstrap fails under Solaris, libnbcompat broken



>Number:         39738
>Category:       pkg
>Synopsis:       bootstrap fails under Solaris, libnbcompat broken
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 13 11:40:00 +0000 2008
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS spare4200 5.10 Generic_120012-14 i86pc i386 i86pc
>Description:
Trying to bootstrap pkgsrc from CVS results under Solaris in

$ ./bootstrap --unprivileged --prefix=/tmp/pkgsrc
===> bootstrap command: ./bootstrap --unprivileged --prefix=/tmp/pkgsrc
===> bootstrap started: Mon Oct 13 13:26:16 CEST 2008
Working directory is: 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/bootstrap/work
===> running: /usr/xpg4/bin/sed -e 's|@DEFAULT_INSTALL_MODE@|'0755'|' 
/software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/sysutils/install-sh/files/install-sh.in
 > /software/local/pkgsrc/source/pkgsrc-cvs/pkgsrc/bootstrap/work/bin/install-sh
...
...
configure: updating cache config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nbcompat/config.h
make: Fatal error in reader: Makefile, line 68: Unexpected end of line seen
===> exited with status 1
aborted.


The problem is a BSD-make specific instruction in work/libnbcompat/Makefile 
which /usr/ccs/bin/make doesn't like:

.if ${WITH_DB} == "yes"
.  include "${.CURDIR}/db/Makefile.inc"
.endif

>How-To-Repeat:

>Fix:
rewrite the problematic section of the Makefile



Home | Main Index | Thread Index | Old Index