Subject: pkg/36960: [Darwin] package parallel/pvm3 fails build
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <scole@sdf.lonestar.org>
List: pkgsrc-bugs
Date: 09/10/2007 07:50:01
>Number:         36960
>Category:       pkg
>Synopsis:       [Darwin] package parallel/pvm3 fails build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 10 07:50:01 +0000 2007
>Originator:     s
>Release:        pkgsrc-2007Q2
>Organization:
-
>Environment:
Darwin pluto 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC  Power Macintosh powerpc
>Description:
pvm-3.4.5nb3 fails build on darwin
>How-To-Repeat:
cd .../pkgsrc/parallel/pvm3 && bmake install

...
=> Modifying libtool scripts to use pkgsrc libtool
===> Building for pvm-3.4.5nb3
./lib/aimk -here -f ./conf/`./lib/pvmtmparch`.def -f ./Makefile.aimk all
making in . for DARWIN
building in src
cd src; ../lib/aimk CC="gcc" F77="f77" CFLOPTS="-pipe -O2 -I/usr/netbsd/pkg/include" FFLOPTS="-O" install
making in DARWIN/ for DARWIN
mkdir ../../lib/DARWIN
libtool  --mode=compile gcc -pipe -O2 -I/usr/netbsd/pkg/include -DCLUMP_ALLOC -DSTATISTICS -DTIMESTAMPLOG -DSANITY -I../../include -DARCHCLASS=\"DARWIN\" -DIMA_DARWIN -DSOCKADHASLEN -DNOREXEC -DRSHCOMMAND=\"/usr/bin/ssh" -DHASSTDLIB -DNEEDMENDIAN -DHASERRORVARS -I/usr/include/malloc -DSYSERRISCONST -c ../../src/ddpro.c
/bin/sh: -c: line 1: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 2: syntax error: unexpected end of file
make[2]: *** [ddpro.o] Error 2
make[1]: *** [s] Error 2
gnumake: *** [all] Error 2
*** Error code 2

>Fix:
add closing quotation marks to parallel/pvm3/work/pvm3/conf/DARWIN.def

change line
   -DRSHCOMMAND=\"${SSH}" \
to
   -DRSHCOMMAND=\"${SSH}\" \