Subject: pkgsrc broken ?
To: None <tech-pkg@netbsd.org>
From: None <Florence.Henry@obspm.fr>
List: tech-pkg
Date: 10/18/2004 09:37:18
hello,

I've juste upgraded my pkgsrc with a cvs update (today, 09h00 CET), in
order to upgrade the tiff package, which was declared unsafe.

Since this update, any "make" gives me that :

make: "../../mk/../../mk/bsd.prefs.mk" line 301: Malformed conditional
(empty(_OPSYS_HAS_INET6:M[nN]
[oO]) && !defined(USE_SOCKS))
make: "../../mk/../../mk/bsd.prefs.mk" line 468: warning: Couldn't read
shell's output for "cd /usr/
pkgsrc/devel/libtool/../.. && "
make: "../../mk/../../mk/bsd.prefs.mk" line 488: warning: Couldn't read
shell's output for "cd /usr/
pkgsrc/devel/libtool && "
make: "../../mk/../../mk/bsd.pkg.mk" line 41: Malformed conditional
(empty(PKGSRC_SHOW_BUILD_DEFS:M[
yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 41: Missing dependency operator
make: "../../mk/../../mk/bsd.pkg.mk" line 43: if-less elif
make: "../../mk/../../mk/bsd.pkg.mk" line 68: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 68: Need an operator
NO: not found
make: "../../mk/../../mk/bsd.pkg.mk" line 284: warning: "if PKG_DBDIR=
/pkg_admin  pmatch 'perl>=5.0
' perl-5.0 2>/dev/null; then   "YES";
else
 "NO";                                           fi" returned non-zero
status
/usr/pkgsrc/devel/libtool/../libtool/patches/patch-aa: permission denied
YES: not found
make: "../../mk/../../mk/bsd.pkg.mk" line 497: warning: "if [ -d
/usr/pkgsrc/devel/libtool/../libtoo
l/patches ]; then  if [ "`
/usr/pkgsrc/devel/libtool/../libtool/patches/patch-*`" != "/usr/pkgsrc/de
vel/libtool/../libtool/patches/patch-*" ]; then   YES;  else   NO;  fi
else   NO;  fi" returned non
-zero status
make: "../../mk/../../mk/bsd.pkg.mk" line 571: Malformed conditional
(empty(PKGSRC_SHOW_PATCH_ERRORM
SG:M[yY][eE][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 571: Missing dependency operator
make: "../../mk/../../mk/bsd.pkg.mk" line 573: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 573: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 583: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 583: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 830: Malformed conditional
(!empty(PKGSRC_RUN_TEST:M[yY][e
E][sS]))
make: "../../mk/../../mk/bsd.pkg.mk" line 832: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 832: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 834: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 834: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1086: Malformed conditional
((${PKGSRC_LOCKTYPE} == "sleep
" || ${PKGSRC_LOCKTYPE} == "once"))
make: "../../mk/../../mk/bsd.pkg.mk" line 1086: Missing dependency
operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1093: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1093: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1149: Malformed conditional
(!empty(PKG_SYSCONFBASE:M${PRE
FIX}) ||  !empty(PKG_SYSCONFBASE:M${PREFIX}/*))
make: "../../mk/../../mk/bsd.pkg.mk" line 1155: warning: extra else
make: "../../mk/../../mk/bsd.pkg.mk" line 1159: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1159: Need an operator
0: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 43: warning: "(
/usr/bin/cc -v 2>&1 |  'gcc
version' ) 2>/dev/null ||  0" returned non-zero status
NO: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 88: warning: "if
PKG_DBDIR= /pkg_admin  pmat
ch 'gcc>=2.8.0' gcc-2.8.0 2>/dev/null; then   "YES";
els
e                                                                 "NO";
fi" returned non-zero status
YES: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 260: warning: "if
PKG_DBDIR= /pkg_admin  pma
tch 'gcc3-c>=none' gcc3-c-3.4.2 2>/dev/null; then   "NO";
else                                                              "YES";
fi" returned non-zero status
/pkg_info: not found
_GCC_SUBPREFIX_not_found/: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 308: warning: "if
PKG_DBDIR= /pkg_info  -qe
gcc3-c; then                     PKG_DBDIR= /pkg_info  -f gcc3-c |
"File:.*bi
n/gcc" |                                  -e "s/.*File:
*//;s/bin\/gcc.*//;q";           else
case /usr/bin/cc in
/usr/pkg/*)
subprefix="/usr";  case "${subprefix}" in
"")     "${subprefix}" ;;
*)       "${subprefix}/" ;;              esac;
;;
*)
"_GCC_SUBPREFIX_not_found/";           ;;
esac;                                                    fi" returned
non-zero status
_GCC_ARCHDIR_not_found: not found
make: "../../mk/compiler/../../mk/compiler/gcc.mk" line 315: warning: "if
[ -x /usr/pkg/bin/gcc ]; t
hen                               `/usr/pkg/bin/gcc
-print-libgcc-file-name 2>/dev/null`;  else
 "_GCC_ARCHDIR_not_found";                       fi" returned non-zero
status
make: "../../mk/../../mk/reduce-depends.mk" line 63: warning: Couldn't
read shell's output for "cd .
./libtool-base && "
make: "../../mk/../../mk/reduce-depends.mk" line 63: warning: Couldn't
read shell's output for "cd .
./libtool-info && "
make: "../../mk/../../mk/bsd.pkg.mk" line 1853: Malformed conditional
(${PKGSRC_LOCKTYPE} == "none")
make: "../../mk/../../mk/bsd.pkg.mk" line 1853: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1856: if-less else
make: "../../mk/../../mk/bsd.pkg.mk" line 1856: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1889: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1889: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1893: Malformed conditional
(${PKGSRC_LOCKTYPE} == "sleep"
 || ${PKGSRC_LOCKTYPE} == "once")
make: "../../mk/../../mk/bsd.pkg.mk" line 1893: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 1898: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 1898: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 2631: Malformed conditional
(${_DO_SHLIB_CHECKS} == "yes")
make: "../../mk/../../mk/bsd.pkg.mk" line 2631: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 2636: if-less endif
make: "../../mk/../../mk/bsd.pkg.mk" line 2636: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 2956: Malformed conditional
(${_OPSYS_SHLIB_TYPE} == "ELF/
a.out")
make: "../../mk/../../mk/bsd.pkg.mk" line 2956: Need an operator
make: "../../mk/../../mk/bsd.pkg.mk" line 2973: warning: duplicate script
for target "." ignored
make: "../../mk/../../mk/bsd.pkg.mk" line 1895: warning: using previous
script for "." defined here
make: "../../mk/../../mk/bsd.pkg.mk" line 2973: warning: duplicate script
for target "==" ignored
make: "../../mk/../../mk/bsd.pkg.mk" line 1895: warning: using previous
script for "==" defined here
make: Fatal errors encountered -- cannot continue

Is this bug known ? How to make the pkgsrc working again ?

Thanks a lot !

----
Florence HENRY
florence.henry@obspm.fr