NetBSD Problem Report #32296

From www@netbsd.org  Tue Dec 13 18:11:31 2005
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
	id F1F4C63B88D; Tue, 13 Dec 2005 18:11:30 +0000 (UTC)
Message-Id: <20051213181130.F1F4C63B88D@narn.netbsd.org>
Date: Tue, 13 Dec 2005 18:11:30 +0000 (UTC)
From: Jake Kupersmith <jakerosoft@gmail.com>
Reply-To: Jake Kupersmith <jakerosoft@gmail.com>
To: gnats-bugs@netbsd.org
Subject: x11/wmweather install error Solaris 10
X-Send-Pr-Version: www-1.0

>Number:         32296
>Category:       pkg
>Synopsis:       x11/wmweather install error Solaris 10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Dec 13 18:15:00 +0000 2005
>Closed-Date:    Thu Jun 23 18:25:27 +0000 2016
>Last-Modified:  Thu Jun 23 18:25:27 +0000 2016
>Originator:     Jake Kupersmith
>Release:        pkgsrc
>Organization:
>Environment:
SunOS 5.10 Generic sun4u sparc SUNW,Sun-Blade-100
>Description:
/usr/ucb/install is called incorrectly.
>How-To-Repeat:
# bmake install
...
=> Unwrapping files-to-be-installed.
===> do-su-install [wmweather-2.4.2nb4, windowmaker-desktop-1.2] ===> Installing for wmweather-2.4.2nb4
/usr/ucb/install -c -o root -g root -d /usr/pkg/bin /usr/pkg/man/man1 /usr/pkg/etc
usage: install [-cs] [-g group] [-m mode] [-o owner] file ...  destination
       install  -d   [-g group] [-m mode] [-o owner] dir
gmake: *** [install] Error 1
*** Error code 2
>Fix:
> diff patches/patch-aa.orig patches/patch-aa
1d0
< $NetBSD: patch-aa,v 1.4 2003/11/08 06:21:14 xtraeme Exp $
4,6c3,11
< +++ Makefile.in       2003-11-08 07:11:54.000000000 +0100
< @@ -29,9 +29,10 @@
<       ${INSTALL} -d ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man1 ${DESTDIR}${sysconfdir}
---
> +++ Makefile.in
> @@ -26,12 +26,15 @@
>  wmgeneral.o: wmgeneral.c wmgeneral.h
>  
>  install: wmweather wmweather.1
> -     ${INSTALL} -d ${DESTDIR}${bindir} ${DESTDIR}${mandir}/man1 ${DESTDIR}${sysconfdir}
> +     ${INSTALL} -d ${DESTDIR}${bindir}
> +     ${INSTALL} -d ${DESTDIR}${mandir}/man1
> +     ${INSTALL} -d ${DESTDIR}${sysconfdir}
Exit 1

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->rh
Responsible-Changed-By: cube@netbsd.org
Responsible-Changed-When: Mon, 19 Dec 2005 11:33:01 +0000
Responsible-Changed-Why:
rh is the maintainer.


State-Changed-From-To: open->analyzed
State-Changed-By: cube@netbsd.org
State-Changed-When: Mon, 19 Dec 2005 11:33:01 +0000
State-Changed-Why:
wmweather should be patched to use BSD_INSTALL_*.


Responsible-Changed-From-To: rh->solaris-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 23 Dec 2013 11:33:31 +0000
Responsible-Changed-Why:
resigned, back to role account


From: "David A. Holland" <dholland@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/32296 CVS commit: pkgsrc/x11/wmweather
Date: Thu, 23 Jun 2016 18:24:08 +0000

 Module Name:	pkgsrc
 Committed By:	dholland
 Date:		Thu Jun 23 18:24:08 UTC 2016

 Modified Files:
 	pkgsrc/x11/wmweather: Makefile distinfo
 	pkgsrc/x11/wmweather/patches: patch-aa
 Added Files:
 	pkgsrc/x11/wmweather/patches: patch-wmweather.c

 Log Message:
 Use BSD_INSTALL_* as suggested by cube to work around install problems on
 old Solaris. Fixes PR 32296 Jake Kupersmith.

 While here, add patch comment and use <ctype.h> correctly.


 To generate a diff of this commit:
 cvs rdiff -u -r1.44 -r1.45 pkgsrc/x11/wmweather/Makefile
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/wmweather/distinfo
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/x11/wmweather/patches/patch-aa
 cvs rdiff -u -r0 -r1.1 pkgsrc/x11/wmweather/patches/patch-wmweather.c

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

State-Changed-From-To: analyzed->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 23 Jun 2016 18:25:27 +0000
State-Changed-Why:
suggested fix committed ,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.