Subject: pkg/28965: perl58 uncompilable on 1.6.2 with -current pkgsrc
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <dolecek@nsvy.infos.cz>
List: pkgsrc-bugs
Date: 01/14/2005 18:45:00
>Number: 28965
>Category: pkg
>Synopsis: perl58 uncompilable on 1.6.2 with -current pkgsrc
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 14 18:45:00 +0000 2005
>Originator: Jaromir Dolecek
>Release: NetBSD 1.6.2_STABLE
>Organization:
>Environment:
System: NetBSD nsvy.infos.cz 1.6.2_STABLE NetBSD 1.6.2_STABLE (INFOS_VY) #1: Thu May 6 15:40:04 UTC 2004 dolecek@s102-n054.tele2.cz:/root/src/sys/arch/i386/compile/INFOS_VY i386
Architecture: i386
Machine: i386
>Description:
The compilation fails with make errors. At least some of them
are due to using undefined variables in conditions. I have not
tracked why ${PWD_CMD} ends up empty.
I have not checked other packages, but I expect that perl package
would not be the only one affected.
/etc/mk.conf is empty besides SU_CMD setting, I'm compiling
the package as common user using /bin/ksh.
>How-To-Repeat:
cd /usr/pkgsrc
cvs up
cd lang/perl58
make
>Fix:
N/A
I'm ready to test patches.
Full log of the make output:
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.prefs.mk" line 322: Malformed conditional (empty(_OPSYS_HAS_INET6:M[nN][oO]) && !defined(USE_SOCKS))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.prefs.mk" line 489: warning: Couldn't read shell's output for "cd /usr/pkgsrc/lang/perl58/../.. && "
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.prefs.mk" line 509: warning: Couldn't read shell's output for "cd /usr/pkgsrc/lang/perl58 && "
/usr/lib/libdl.*: not found
: permission denied
/lib/libdl.*: not found
: permission denied
no: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/dlopen.builtin.mk" line 2: warning: "if "` /usr/lib/libdl.*`" != "/usr/lib/libdl.*"; then "yes"; elif "` /lib/libdl.*`" != "/lib/libdl.*"; then "yes"; else "no"; fi" returned non-zero status
/usr/lib/libpthread.*: not found
: permission denied
/lib/libpthread.*: not found
: permission denied
no: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 2: warning: "if "` /usr/lib/libpthread.*`" != "/usr/lib/libpthread.*"; then "yes"; elif "` /lib/libpthread.*`" != "/lib/libpthread.*"; then "yes"; else "no"; fi" returned non-zero status
/usr/lib/libc_r.*: not found
: permission denied
/lib/libc_r.*: not found
: permission denied
no: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 2: warning: "if "` /usr/lib/libc_r.*`" != "/usr/lib/libc_r.*"; then "yes"; elif "` /lib/libc_r.*`" != "/lib/libc_r.*"; then "yes"; else "no"; fi" returned non-zero status
/usr/lib/librt.*: not found
: permission denied
/lib/librt.*: not found
: permission denied
no: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 2: warning: "if "` /usr/lib/librt.*`" != "/usr/lib/librt.*"; then "yes"; elif "` /lib/librt.*`" != "/lib/librt.*"; then "yes"; else "no"; fi" returned non-zero status
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 30: Malformed conditional (!empty(PREFER_NATIVE_PTHREADS:M[yY][eE][sS]))
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 32: if-less else
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 32: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 34: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/pthread.builtin.mk" line 34: Need an operator
0: not found
make: "/usr/pkgsrc/lang/perl58/../../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: "/usr/pkgsrc/lang/perl58/../../mk/compiler/gcc.mk" line 2: warning: "if PKG_DBDIR= /pkg_admin pmatch 'gcc>=2.8.0' gcc-2.8.0 2>/dev/null; then "YES"; else "NO"; fi" returned non-zero status
YES: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/compiler/gcc.mk" line 260: warning: "if PKG_DBDIR= /pkg_admin pmatch 'gcc3-c>=none' gcc3-c-3.4.3 2>/dev/null; then "NO"; else "YES"; fi" returned non-zero status
/pkg_info: not found
_GCC_SUBPREFIX_not_found/: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/compiler/gcc.mk" line 308: warning: "if PKG_DBDIR= /pkg_info -qe gcc3-c; then PKG_DBDIR= /pkg_info -f gcc3-c | "File:.*bin/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: "/usr/pkgsrc/lang/perl58/../../mk/compiler/gcc.mk" line 315: warning: "if [ -x /usr/pkg/bin/gcc ]; then `/usr/pkg/bin/gcc -print-libgcc-file-name 2>/dev/null`; else "_GCC_ARCHDIR_not_found"; fi" returned non-zero status
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 41: Malformed conditional (empty(PKGSRC_SHOW_BUILD_DEFS:M[yY][eE][sS]))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 41: Missing dependency operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 43: if-less elif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 68: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 68: Need an operator
NO: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2: 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/lang/perl58/patches/patch-aa: permission denied
YES: not found
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 494: warning: "if [ -d /usr/pkgsrc/lang/perl58/patches ]; then if [ "` /usr/pkgsrc/lang/perl58/patches/patch-*`" != "/usr/pkgsrc/lang/perl58/patches/patch-*" ]; then YES; else NO; fi else NO; fi" returned non-zero status
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 568: Malformed conditional (empty(PKGSRC_SHOW_PATCH_ERRORMSG:M[yY][eE][sS]))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 568: Missing dependency operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 570: if-less else
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 570: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 580: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 580: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 827: Malformed conditional (!empty(PKGSRC_RUN_TEST:M[yY][eE][sS]))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 829: if-less else
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 829: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 831: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 831: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1088: Malformed conditional ((${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once"))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1088: Missing dependency operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1095: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1095: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1152: Malformed conditional (!empty(PKG_SYSCONFBASE:M${PREFIX}) || !empty(PKG_SYSCONFBASE:M${PREFIX}/*))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1162: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1162: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1205: Could not find ../../mk/wrapper/bsd.wrapper.mk
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1895: Malformed conditional (${PKGSRC_LOCKTYPE} == "none")
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1895: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1898: if-less else
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1898: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1931: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1931: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1935: Malformed conditional (${PKGSRC_LOCKTYPE} == "sleep" || ${PKGSRC_LOCKTYPE} == "once")
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1935: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1940: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1940: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2720: Malformed conditional (${_DO_SHLIB_CHECKS} == "yes")
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2720: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2725: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2725: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2731: Malformed conditional (!empty(PKGSRC_MESSAGE_RECIPIENTS))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2739: warning: duplicate script for target "." ignored
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1937: warning: using previous script for "." defined here
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2739: warning: duplicate script for target "if" ignored
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 1937: warning: using previous script for "if" defined here
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2741: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 2741: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 3048: Malformed conditional (${_OPSYS_SHLIB_TYPE} == "ELF/a.out")
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 4667: Malformed conditional (!empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]))
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 4692: if-less else
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 4692: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 4694: if-less endif
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 4694: Need an operator
make: "/usr/pkgsrc/lang/perl58/../../mk/bsd.pkg.mk" line 5142: Malformed conditional (empty(LIBTOOLIZE_PLIST:M[yY][eE][sS]))
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/pkgsrc/lang/perl58