NetBSD Problem Report #42039

From kre@munnari.OZ.AU  Thu Sep 10 12:25:53 2009
Return-Path: <kre@munnari.OZ.AU>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id E539963BC1D
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 10 Sep 2009 12:25:53 +0000 (UTC)
Message-Id: <200909101225.n8ACPkLP016768@jade.coe.psu.ac.th>
Date: Thu, 10 Sep 2009 19:25:46 +0700 (ICT)
From: kre@munnari.OZ.AU
To: gnats-bugs@gnats.NetBSD.org
Subject: security/tct apparently does not support NetBSD 4.0 (but pkg is not marked)
X-Send-Pr-Version: 3.95

>Number:         42039
>Category:       pkg
>Synopsis:       security/tct apparently does not support NetBSD 4.0 (but pkg is not marked)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          suspended
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 10 12:30:00 +0000 2009
>Closed-Date:    
>Last-Modified:  Mon Oct 17 19:35:01 +0000 2011
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc current (2009-09-09)
>Organization:
	Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE (JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 kre@jade.coe.psu.ac.th:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
	When configuring itself, security/tct (tct-1.09nb3) claims
	that NetBSD 4.0 is not a supported system - but the package
	is not marked that way via a
		ONLY_FOR_PLATFORM
	or
		NOT_FOR_PLATFORM
	pkgsrc directive.

>How-To-Repeat:
	I use pkg_comp woth netBSD 4.0 binary sets (except the x* sets)
	and libkver installed, to obtain a fairly pure (and fully
	repeatable) stable environment in which to build binary packages.

	In that environment, attempting to build security/tct
	resuts in ...

===> Building for tct-1.09nb3
checking to make sure all the target(s) are here...
Ok, trying to find perl5 now... hang on a bit...

Perl5 is in /usr/pkg/bin/perl

changing the source in: bin/mactime bin/grave-robber lazarus/lazarus bin/strip_tct_home extras/bdf extras/ils2mac extras/realpath 

So far so good...
Looking for all the commands now...

Hmmm... can't find acctcom... moving on...

Hmmm... can't find devinfo... moving on...

Hmmm... can't find eeprom... moving on...

Hmmm... can't find format... moving on...

Hmmm... can't find lsof... moving on...

Hmmm... can't find lsmod... moving on...

Hmmm... can't find modinfo... moving on...

Hmmm... can't find pkginfo... moving on...

Hmmm... can't find rpm... moving on...

Hmmm... can't find showrev... moving on...

Hmmm... can't find swap... moving on...

Hmmm... can't find xhost... moving on...

Hmmm... can't find xauth... moving on...

Ok, now doing substitutions on the shell scripts...
Changing paths in conf/paths.pl...
Putting in $TCT_HOME into lazarus/lazarus
Putting in $TCT_HOME into conf/coroner.cf
Putting in $TCT_HOME into conf/grave-robber.cf
Putting in $TCT_HOME into bin/grave-robber
Putting in $TCT_HOME into bin/mactime
Putting in $TCT_HOME into extras/bdf
Putting in $TCT_HOME into extras/ils2mac
Putting in $TCT_HOME into extras/realpath
chmod 700 .
cd src/aux; make "CC=gcc" MAKELEVEL=
unsupported system: NetBSD.4.0
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/security/tct/4x/tct-1.09/src/aux
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/security/tct/4x/tct-1.09
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/tct
*** Error code 1

Stop.

>Fix:
	If NetBSD 4.0 really isn't intended to work here, then
	add a NOT_FOR_PLATFORM to say so (or ONLY_FOR if that
	is easier).   Otherwise, find why the script believes
	it is unsupported, and fix it...

>Release-Note:

>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/42039: security/tct apparently does not support NetBSD 4.0
 (but pkg is not marked)
Date: Wed, 16 Sep 2009 11:50:36 +0900

 On Thu, 10 Sep 2009 21:30:00 +0900, <kre@munnari.oz.au> wrote:

 >> Fix:
 > 	If NetBSD 4.0 really isn't intended to work here, then
 > 	add a NOT_FOR_PLATFORM to say so (or ONLY_FOR if that
 > 	is easier).   Otherwise, find why the script believes
 > 	it is unsupported, and fix it...


 This package contains patches to support NetBSD-[123].*.
 Originally, contains patches for NetBSD-[12].*, and modified to
 handle NetBSD-3.* the same as NetBSD-2.*.
 And, it seems that those patches is not sent to upstream.

State-Changed-From-To: open->suspended
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Mon, 17 Oct 2011 19:33:15 +0000
State-Changed-Why:
Marked as NOT_FOR_PLATFORM.  TCT is superseded by Sleuthkit, btw.


From: "Sergey Svishchev" <shattered@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/42039 CVS commit: pkgsrc/security/tct
Date: Mon, 17 Oct 2011 19:32:24 +0000

 Module Name:	pkgsrc
 Committed By:	shattered
 Date:		Mon Oct 17 19:32:24 UTC 2011

 Modified Files:
 	pkgsrc/security/tct: Makefile PLIST

 Log Message:
 PR/42039 -- not available for NetBSD 4 and up.


 To generate a diff of this commit:
 cvs rdiff -u -r1.23 -r1.24 pkgsrc/security/tct/Makefile
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/security/tct/PLIST

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>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.