Subject: recent oss changes broke solaris build
To: None <tech-pkg@netbsd.org, jlam@netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: tech-pkg
Date: 03/13/2006 22:51:31
Since the recent oss support changes, packages that include oss.buildlink3.mk 
fail to build  on Solaris.  eg SDL does:

===> Extracting for SDL-1.2.9nb2
===> Required installed package XFree86-libs>=4.4.0nb7: XFree86-libs-4.4.0nb7 
found
===> Required installed package glu>=6.4.1nb1: glu-6.4.2 found
===> Required installed package MesaLib>=6.4.1nb1: MesaLib-6.4.2nb1 found
===> Required installed package aalib>=1.4.0.5nb2: aalib-1.4.0.5nb2 found
===> Required installed package fontconfig>=2.3.2nb2: fontconfig-2.3.2nb2 
found
===> Required installed package libiconv>=1.9.1nb4: libiconv-1.10nb3 found
===> Required installed package zlib>=1.2.3: zlib-1.2.3 found
===> Required installed package freetype2>=2.1.10nb1: freetype2-2.1.10nb2 
found
===> Required installed package expat>=2.0.0nb1: expat-2.0.0nb1 found
===> Required installed package gcc3-c>=3.3.5nb1: gcc3-c-3.3.5nb1 found
===> Required installed package gcc3-c++>=3.3.5: gcc3-c++-3.3.5nb1 found
===> Required installed package gcc3-c++>=3.3.5nb1: gcc3-c++-3.3.5nb1 found
===> Required installed package libtool-base>=1.5.18nb5: 
libtool-base-1.5.22nb2 found
===> Required installed package gmake>=3.78: gmake-3.80nb4 found
===> Patching for SDL-1.2.9nb2
===> Applying pkgsrc patches for SDL-1.2.9nb2
===> Overriding tools for SDL-1.2.9nb2
pkg_info: missing package name(s)
usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVv] [-e package] [-K pkg_dbdir] [-l 
prefix]
                pkg-name [...]
       pkg_info [-a | -u] [flags]
       pkg_info -Q variable pkg-name [pkg-name ...]
bmake: 
"../../mk/wrapper/../../mk/buildlink3/../../mk/wrapper/../../mk/buildlink3/bsd.buildlink3.mk" 
line 48: warning: Couldn't read shell's output for "/usr/pkg/sbin/pkg_info 
-K . -qp  | /usr/pkg/bin/nbsed  -e "s,^[^/]*,,;q""
===> Creating toolchain wrappers for SDL-1.2.9nb2
/bin/sh: syntax error at line 1: `*not_found' unexpected
*** Error code 2


similar problems with arts.

Johnny, anyone: Suggestions on how to fix?

cheers
mark