Subject: build problems?
To: None <current-users@netbsd.org>
From: Malcolm Herbert <mjch@mjch.net>
List: current-users
Date: 12/24/2006 09:09:06
I've tried refreshing my sources several times and keep running into 
problems building -current.  It seems also that the latest releng
distribution build which was successful was 200612080000Z ... is anyone
else experiencing problems when compiling -current?

|#   compile  libpthread_dbg/pthread_dbg.ln
|CC=/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/i386--netbsdelf-gcc
|/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/i386--netbsdelf-lint -chapbxzFS -d
|/usr/src/obj.i386/destdir.i386/usr/include  -I/usr/src/lib/libpthread_dbg/../libpthread/arch/i386
|-I/usr/src/lib/libpthread_dbg/../libpthread -I/usr/src/lib/libpthread_dbg    -i
|/usr/src/lib/libpthread_dbg/pthread_dbg.c
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(280): _PT_STATE_BLOCKED_SYS undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(289): PT_STATE_RUNNABLE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(289): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(292): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(295): PT_STATE_BLOCKED_QUEUE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(295): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(298): PT_STATE_SUSPENDED undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(298): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(308): undefined struct/union member: pt_type [101]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(313): PT_THREAD_NORMAL undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(313): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(316): PT_THREAD_UPCALL undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(316): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(317): PT_THREAD_IDLE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(317): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(408): _PT_STATE_BLOCKED_SYS undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(424): PT_STATE_RUNNABLE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(424): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(425): PT_STATE_SUSPENDED undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(425): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(426): PT_STATE_BLOCKED_QUEUE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(426): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(472): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(497): _PT_STATE_BLOCKED_SYS undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(513): PT_STATE_RUNNABLE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(513): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(514): PT_STATE_SUSPENDED undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(514): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(515): PT_STATE_BLOCKED_QUEUE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(515): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(567): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1090): undefined struct/union member: pt_type [101]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1095): PT_THREAD_NORMAL undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1108): _PT_STATE_BLOCKED_SYS undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1211): PT_STATE_RUNNABLE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1211): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1215): PT_STATE_BLOCKED_QUEUE undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1215): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1222): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1235): PT_STATE_SUSPENDED undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1235): non-constant case expression [197]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1247): PT_STATE_SUSPENDED undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1291): _PT_STATE_BLOCKED_SYS undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1297): PT_STATE_SUSPENDED undefined [99]
|/usr/src/lib/libpthread_dbg/pthread_dbg.c(1300): PT_STATE_RUNNABLE undefined [99]
|
|*** Failed target:  pthread_dbg.ln
|*** Failed command: CC=/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/i386--netbsdelf-gcc
|/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/i386--netbsdelf-lint -chapbxzFS -d
|/usr/src/obj.i386/destdir.i386/usr/include -I/usr/src/lib/libpthread_dbg/../libpthread/arch/i386
|-I/usr/src/lib/libpthread_dbg/../libpthread -I/usr/src/lib/libpthread_dbg -i
|/usr/src/lib/libpthread_dbg/pthread_dbg.c
|*** Error code 1
|
|Stop.
|nbmake: stopped in /usr/src/lib/libpthread_dbg
|
|*** Failed target:  dependall
|*** Failed command: cd /usr/src/lib/libpthread_dbg; /usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/nbmake
|realall
|*** Error code 1
|
|Stop.
|nbmake: stopped in /usr/src/lib/libpthread_dbg
|
|*** Failed target:  dependall-libpthread_dbg
|*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*)
|this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/";
|real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd
|"${real}" && /usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; };
|_makedirtarget libpthread_dbg dependall
|*** Error code 1
|
|Stop.
|nbmake: stopped in /usr/src/lib
|
|*** Failed target:  do-lib
|*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*)
|this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;;
|esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
|/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget
|lib dependall
|*** Error code 1
|
|Stop.
|nbmake: stopped in /usr/src
|
|*** Failed target:  build
|*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*)
|this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;;
|esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
|/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget .
|do-lib
|*** Error code 1
|
|Stop.
|nbmake: stopped in /usr/src
|
|*** Failed target:  distribution
|*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*)
|this="${dir}/"; real="${dir}" ;; .) this=""; real="/usr/src" ;; *) this="${dir}/"; real="/usr/src/${dir}" ;;
|esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" &&
|/usr/src/obj.i386/tooldir.NetBSD-3.0-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget .
|build NOPOSTINSTALL=1
|*** Error code 1
|
|Stop.
|nbmake: stopped in /usr/src
|
|ERROR: Failed to make distribution
|*** BUILD ABORTED ***

... what's odd is that this file seems to have been modified some time ago, so I'm
surprised it would still be giving errors if it were in fact the culprit:

|mamers# ident /usr/src/lib/libpthread_dbg/pthread_dbg.c
|/usr/src/lib/libpthread_dbg/pthread_dbg.c:
|     $NetBSD: pthread_dbg.c,v 1.31 2006/05/14 02:16:36 christos Exp $
|     $NetBSD: pthread_dbg.c,v 1.31 2006/05/14 02:16:36 christos Exp $
|mamers# md5 /usr/src/lib/libpthread_dbg/pthread_dbg.c
|MD5 (/usr/src/lib/libpthread_dbg/pthread_dbg.c) = 7bab563126597d42aac571fe43882172
|mamers# 

-- 
Malcolm Herbert                                This brain intentionally
mjch@mjch.net                                                left blank