NetBSD Problem Report #30223
From www@netbsd.org Fri May 13 13:49:34 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id ACE7263B116; Fri, 13 May 2005 13:49:34 +0000 (UTC)
Message-Id: <20050513134934.ACE7263B116@narn.netbsd.org>
Date: Fri, 13 May 2005 13:49:34 +0000 (UTC)
From: rquinn@sec.sprint.net
Reply-To: rquinn@sec.sprint.net
To: gnats-bugs@netbsd.org
Subject: pkgsrc cpuflags fails using wrong install under Solaris
X-Send-Pr-Version: www-1.0
>Number: 30223
>Category: pkg
>Synopsis: pkgsrc cpuflags fails using wrong install under Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: abs
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri May 13 13:50:01 +0000 2005
>Closed-Date: Sat Sep 17 20:13:38 +0000 2005
>Last-Modified: Sat Sep 17 20:13:38 +0000 2005
>Originator: Rob Quinn
>Release: pkgsrc current, Solaris2.8 and 2.9
>Organization:
>Environment:
>Description:
Can't install cpuflags-0.87 on Solaris2.8 or 2.9.
>How-To-Repeat:
ccrn-sen:/usr/obj/pkg/devel/cpuflags/work/cpuflags-0.87 #grep -i install /etc/mk.conf
INSTALL=/usr/ucb/install
rn-sen:/usr/pkgsrc/devel/cpuflags #bmake
===> Checking for vulnerabilities in cpuflags-0.87
work -> /usr/obj/pkg/devel/cpuflags/work
===> Extracting for cpuflags-0.87
===> Required installed package gcc3-c>=3.3.5: gcc3-c-3.3.5 found
/usr/bin/mkdir -p /usr/obj/pkg/devel/cpuflags/work/cpuflags-0.87
/usr/bin/cp /usr/pkgsrc/devel/cpuflags/files/Makefile /usr/pkgsrc/devel/cpuflags/files/*.* /usr/obj/pkg/devel/cpuflags/work/cpuflags-0.87
===> Patching for cpuflags-0.87
===> Overriding tools for cpuflags-0.87
===> Creating toolchain wrappers for cpuflags-0.87
===> Building for cpuflags-0.87
sed -e 's|@PREFIX@|/usr/pkg|g' cpuflags.1 > cpuflags.1.out
sed -e 's|@PREFIX@|/usr/pkg|g' cpuflags.mk > cpuflags.mk.out
=> Unwrapping files-to-be-installed.
crn-sen:/usr/pkgsrc/devel/cpuflags #bmake package
===> Checking for vulnerabilities in cpuflags-0.87
===> Installing for cpuflags-0.87
mkdir -p /usr/pkg/bin /usr/pkg/man/man1 /usr/pkg/share/mk
install cpuflags.SunOS /usr/pkg/bin/cpuflags
find: cannot open /usr/pkg/bin/cpuflags: No such file or directory
find: cannot follow symbolic link /lib/locale/fr_CA.ISO8859-1/LC_MESSAGES: No such file or directory
find: cannot follow symbolic link /usr/lib/locale/fr_CA.ISO8859-1/LC_MESSAGES: No such file or directory
install: cpuflags.SunOS was not found anywhere!
*** Error code 2
Stop.
bmake: stopped in /usr/obj/pkg/devel/cpuflags/work/cpuflags-0.87
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/cpuflags
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/cpuflags
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/cpuflags
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/devel/cpuflags
>Fix:
Revert to old cpuflags.
I think the wrong install is being called, despite the INSTALL setting in my mk.conf.
crn-sen:/usr/obj/pkg/devel/cpuflags/work/cpuflags-0.87 #/usr/ucb/install cpuflags.SunOS /usr/pkg/bin/cpuflags
crn-sen:/usr/obj/pkg/devel/cpuflags/work/cpuflags-0.87 #/usr/sbin/install cpuflags.SunOS /usr/pkg/bin/cpuflags
find: cannot follow symbolic link /lib/locale/fr_CA.ISO8859-1/LC_MESSAGES: No such file or directory
find: cannot follow symbolic link /usr/lib/locale/fr_CA.ISO8859-1/LC_MESSAGES: No such file or directory
install: cpuflags.SunOS was not found anywhere!
>Release-Note:
>Audit-Trail:
From: Robert Quinn <rquinn@sec.sprint.net>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/30223: pkgsrc cpuflags fails using wrong install under Solaris
Date: Fri, 13 May 2005 10:19:41 -0400
Changing the install target of files/Makefile to use "${INSTALL}" instead of
"install" fixes this for me.
Responsible-Changed-From-To: pkg-manager->abs
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Mon, 16 May 2005 20:18:05 +0000
Responsible-Changed-Why:
Over to cpuflags maintainer.
From: David Brownlee <abs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30223 CVS commit: pkgsrc/devel/cpuflags
Date: Thu, 21 Jul 2005 08:33:13 +0000 (UTC)
Module Name: pkgsrc
Committed By: abs
Date: Thu Jul 21 08:33:13 UTC 2005
Modified Files:
pkgsrc/devel/cpuflags: Makefile
pkgsrc/devel/cpuflags/files: Makefile
Log Message:
Update cpuflags to 0.89
Use SED and INSTALL - should fix PR30223 (using wrong install under Solaris)
To generate a diff of this commit:
cvs rdiff -r1.91 -r1.92 pkgsrc/devel/cpuflags/Makefile
cvs rdiff -r1.2 -r1.3 pkgsrc/devel/cpuflags/files/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: David Brownlee <abs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30223 CVS commit: pkgsrc/doc
Date: Thu, 21 Jul 2005 08:33:39 +0000 (UTC)
Module Name: pkgsrc
Committed By: abs
Date: Thu Jul 21 08:33:39 UTC 2005
Modified Files:
pkgsrc/doc: CHANGES
Log Message:
Update cpuflags to 0.89
Use SED and INSTALL - should fix PR30223 (using wrong install under Solaris)
To generate a diff of this commit:
cvs rdiff -r1.10644 -r1.10645 pkgsrc/doc/CHANGES
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: abs@netbsd.org
State-Changed-When: Thu, 21 Jul 2005 08:52:57 +0000
State-Changed-Why:
cpuflags 0.89 should fix this - can you test? thanks
State-Changed-From-To: feedback->closed
State-Changed-By: wiz@netbsd.org
State-Changed-When: Sat, 17 Sep 2005 20:13:38 +0000
State-Changed-Why:
Feedback timeout.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.