Subject: /usr/pkgsrc/mk/compiler.mk broken on i386
To: None <current-users@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: current-users
Date: 09/25/2003 08:32:30
I notice that compiler.mk was updated today.  I ran pkg_chk -i which
now fails as below.  The "-q: not found" message suggests a syntax error
near line 61 I would guess?

libart2-2.3.15nb1: version mismatch - libart2-2.3.15
-q: not found
make: "../../mk/../../mk/compiler.mk" line 61: warning: Couldn't read shell's output for "if cc -v 2>&1 |  -q 'gcc version'; then  echo `cc -v 2>&1 | 
'gcc version'`;  fi"
make: "../../mk/../../mk/compiler.mk" line 105: Malformed conditional (defined(USE_GCC2) && empty(PKGPATH:Mlang/gcc) && empty(_PKGSRC_DEPS:Mgcc-2*))
make: "../../mk/../../mk/compiler.mk" line 105: Missing dependency operator
not-defined: not found
make: "../../mk/../../mk/compiler.mk" line 117: warning: "if [ -x /gcc-2.95.3/bin/gcc ]; then                            dirname `/gcc-2.95.3/bin/gcc 
--print-libgcc-file-name`;         else                                                             not-defined;                                   fi" 
returned non-zero status
make: "../../mk/../../mk/compiler.mk" line 142: Malformed conditional (defined(USE_GCC3) && empty(PKGPATH:Mlang/gcc3) && empty(_PKGSRC_DEPS:Mgcc-3*))
make: "../../mk/../../mk/compiler.mk" line 142: Missing dependency operator
not-defined: not found
make: "../../mk/../lang/gcc3/../../mk/../lang/gcc3/buildlink2.mk" line 28: warning: "if [ -x /gcc-3.3/bin/gcc ]; then                            dirname 
`/gcc-3.3/bin/gcc --print-libgcc-file-name`;    else                                                             not-defined; 
       fi" returned non-zero status
: permission denied
make: "../../mk/../../mk/compiler.mk" line 195: warning: "if /gcc-3.3/bin/gcc -dumpversion > /dev/null 2>&1; then   `/gcc-3.3/bin/gcc -dumpversion`;  else 
   "";  fi" returned non-zero status
make: "../../mk/../../mk/compiler.mk" line 209: if-less endif
make: "../../mk/../../mk/compiler.mk" line 209: Need an operator
make: Fatal errors encountered -- cannot continue
eval:  make: stopped in /usr/local/mnt/pkgsrc/audio/libogg: not found

BTW my gcc is now actually 3.3.1 as of today.  Good work!