NetBSD Problem Report #44306

From root@magickgarden.dyndns-server.com  Sat Jan  1 18:33:08 2011
Return-Path: <root@magickgarden.dyndns-server.com>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 69B7F63B87A
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  1 Jan 2011 18:33:08 +0000 (UTC)
Message-Id: <20110101171010.CDCBD3AF00A@magickgarden.dyndns-server.com>
Date: Sat,  1 Jan 2011 17:10:10 +0000 (GMT)
From: basia_i_tomek@magickgarden.dyndns-server.com
Reply-To: butterfly_tm666@yahoo.com
To: gnats-bugs@gnats.NetBSD.org
Subject: current NetBSD sources do not build
X-Send-Pr-Version: 3.95

>Number:         44306
>Category:       port-i386
>Synopsis:       Current sources are not buildable
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 01 18:35:01 +0000 2011
>Closed-Date:    Sat Jan 01 22:55:39 +0000 2011
>Last-Modified:  Sat Jan 01 22:55:39 +0000 2011
>Originator:     butterfly_tm666@yahoo.com
>Release:        NetBSD 5.99.36
>Organization:

>Environment:
irrelevant

System: NetBSD magickgarden.dyndns-server.com 5.99.36 NetBSD 5.99.36 (BASIENKA) #3: Sat Jul 10 18:01:40 BST 2010 root@verdandi.homeunix.org:/mnt/modlishka/srcs/sys/arch/i386/compile/obj/BASIENKA i386
Architecture: i386
Machine: i386
>Description:
There's something wrong with the current sources around the 
.../external/ibm-public/postfix/lib/dns. Neither cleandir nor objs (NOCLEANDIR=yes  ) targets work.

Error transcript:
nbmake: "/mnt/modlishka/srcs/external/ibm-public/postfix/lib/dns/obj/.depend" line 2: Need an operator
nbmake: Fatal errors encountered -- cannot continue

nbmake: stopped in /mnt/modlishka/srcs/external/ibm-public/postfix/lib/dns

*** Failed target:  obj-dns
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="external/ibm-public/postfix/lib/"; real="/mnt/modlishka/srcs/external/ibm-public/postfix/lib" ;; *) this="external/ibm-public/postfix/lib/${dir}/"; real="/mnt/modlishka/srcs/external/ibm-public/postfix/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /mnt/modlishka/srcs/obj/tooldir.NetBSD-5.99.36-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget dns obj
*** Error code 1

	<preciSe description of the problem (multiple lines)>
>How-To-Repeat:
	Remove all sources. Then fetch their clean copy. build.sh tools; build.sh kernel=GENERIC build.sh build
>Fix:
working on it... hopefully shall have a work-around soon - but cannot promise

>Release-Note:

>Audit-Trail:
From: David Laight <david@l8s.co.uk>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,
	netbsd-bugs@netbsd.org
Subject: Re: port-i386/44306: current NetBSD sources do not build
Date: Sat, 1 Jan 2011 19:11:38 +0000

 On Sat, Jan 01, 2011 at 06:35:01PM +0000, basia_i_tomek@magickgarden.dyndns-server.com wrote:
 > >Number:         44306
 > >Category:       port-i386
 > >Synopsis:       Current sources are not buildable
 ...
 > .../external/ibm-public/postfix/lib/dns. Neither cleandir nor objs (NOCLEANDIR=yes  ) targets work.
 > 
 > Error transcript:
 > nbmake: "/mnt/modlishka/srcs/external/ibm-public/postfix/lib/dns/obj/.depend" line 2: Need an operator
 > nbmake: Fatal errors encountered -- cannot continue

 You need to look at what is wrong in the .depend file (generated from *.d by
 make depend). Without knowing the contents (especially line 2) we can't
 say what is wrong.

 Neither of the 'clean' options you specified will remove the *.d or .depend
 files.

 As a matter of practice it is better to build with all the object files
 in a completely separate direcory tree - rather than in subdirectories
 of each directory. Typically you need to front build.sh with something
 like:

 base=`(cd ..;/bin/pwd)`
 machine=i386

 destdir=$base/dest_$machine
 objdir=$base/obj_$machine
 releasedir=$base/release

 [ -d $objdir ] || mkdir $objdir || exit 1
 [ -d $destdir ] || mkdir $destdir || exit 1
 [ -d $releasedir ] || mkdir $releasedir || exit 1

 exec ./build.sh -u -U -D $destdir -O $objdir -R $releasedir "$@"

 Then is is very easy to tidy up by just deleting the object tree completely.

 	David

 -- 
 David Laight: david@l8s.co.uk

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Sat, 01 Jan 2011 22:55:39 +0000
State-Changed-Why:
Mail to submitter is refused by yahoo.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.