Subject: pkg/32296: x11/wmweather install error Solaris 10
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Jake Kupersmith <jakerosoft@gmail.com>
List: pkgsrc-bugs
Date: 12/13/2005 18:15:00
>Number: 32296
>Category: pkg
>Synopsis: x11/wmweather install error Solaris 10
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Dec 13 18:15:00 +0000 2005
>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