NetBSD Problem Report #44379

From www@NetBSD.org  Wed Jan 12 23:00:19 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id D660663B8C3
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 12 Jan 2011 23:00:19 +0000 (UTC)
Message-Id: <20110112230018.F235B63B8B5@www.NetBSD.org>
Date: Wed, 12 Jan 2011 23:00:18 +0000 (UTC)
From: jan.guttek@tekian.eu
Reply-To: jan.guttek@tekian.eu
To: gnats-bugs@NetBSD.org
Subject: archivers/star broken on sun4v
X-Send-Pr-Version: www-1.0

>Number:         44379
>Category:       pkg
>Synopsis:       archivers/star broken on sun4v
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    uebayasi
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 12 23:05:00 +0000 2011
>Last-Modified:  Thu Jan 13 09:37:22 +0000 2011
>Originator:     Jan Guttek
>Release:        Solaris 10, pkgsrc-current
>Organization:
>Environment:
SunOS global 5.10 Generic_142909-17 sun4v sparc SUNW,SPARC-Enterprise-T1000

>Description:
Package pkgsrc/archivers/star is broken for sun4v platform in the configure/build phase:

---
=> Applying pkgsrc patches for star-1.4.3nb4
===> Creating toolchain wrappers for star-1.4.3nb4
===> Configuring for star-1.4.3nb4
===> Building for star-1.4.3nb4
set -e;  cd /pkg/src/archivers/star/work/star-1.4.3/RULES && for i in arm mipsel x86_64 sparc64; do      /usr/bin/ln -s i386-netbsd-cc.rul "$i"-netbsd-cc.rul; done
cd /pkg/src/archivers/star/work/star-1.4.3/RULES &&  /usr/bin/ln -s os-freebsd.id os-dragonfly.id
RULES/rules1.top:213: incs/Dcc.sparc-sunos5: No such file or directory
RULES/rules.top:39: RULES/sun4v-sunos5-cc.rul: No such file or directory
gmake: *** No rule to make target `RULES/sun4v-sunos5-cc.rul'.  Stop.
*** Error code 2

Stop.
bmake: stopped in /pkg/src/archivers/star
*** Error code 1

Stop.
bmake: stopped in /pkg/src/archivers/star
---

..as sun4v RULES file is missing in work/star*/RULES:

---
ls work/star-1.4.3/RULES/sun4*
work/star-1.4.3/RULES/sun4-sunos4-cc.rul     work/star-1.4.3/RULES/sun4d-sunos5-cc.rul@
work/star-1.4.3/RULES/sun4-sunos4-gcc.rul    work/star-1.4.3/RULES/sun4d-sunos5-gcc.rul@
work/star-1.4.3/RULES/sun4-sunos5-cc.rul     work/star-1.4.3/RULES/sun4e-sunos5-cc.rul@
work/star-1.4.3/RULES/sun4-sunos5-gcc.rul    work/star-1.4.3/RULES/sun4e-sunos5-gcc.rul@
work/star-1.4.3/RULES/sun4L-sunos5-cc.rul@   work/star-1.4.3/RULES/sun4m-sunos4-cc.rul@
work/star-1.4.3/RULES/sun4L-sunos5-gcc.rul@  work/star-1.4.3/RULES/sun4m-sunos4-gcc.rul@
work/star-1.4.3/RULES/sun4c-sunos4-cc.rul@   work/star-1.4.3/RULES/sun4m-sunos5-cc.rul@
work/star-1.4.3/RULES/sun4c-sunos4-gcc.rul@  work/star-1.4.3/RULES/sun4m-sunos5-gcc.rul@
work/star-1.4.3/RULES/sun4c-sunos5-cc.rul@   work/star-1.4.3/RULES/sun4u-sunos5-cc.rul@
work/star-1.4.3/RULES/sun4c-sunos5-gcc.rul@  work/star-1.4.3/RULES/sun4u-sunos5-gcc.rul@
---

Either the star should be marked unavailable for sun4v or patched for RULES to include sun4v.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->uebayasi
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 13 Jan 2011 09:37:22 +0000
Responsible-Changed-Why:
Over to maintainer.
(if you can't handle this platform, please assign to solaris-pkg-people, thanks)


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