NetBSD Problem Report #43951

From www@NetBSD.org  Thu Oct  7 13:48:01 2010
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 3905F63B90E
	for <gnats-bugs@gnats.NetBSD.org>; Thu,  7 Oct 2010 13:48:01 +0000 (UTC)
Message-Id: <20101007134800.05D8663B90A@www.NetBSD.org>
Date: Thu,  7 Oct 2010 13:48:00 +0000 (UTC)
From: stefan.palm@pdmc.net
Reply-To: stefan.palm@pdmc.net
To: gnats-bugs@NetBSD.org
Subject: devel/scmgit-base won't install with install-sh
X-Send-Pr-Version: www-1.0

>Number:         43951
>Category:       pkg
>Synopsis:       devel/scmgit-base won't install with install-sh
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 07 13:50:00 +0000 2010
>Closed-Date:    Mon Oct 11 04:31:07 +0000 2010
>Last-Modified:  Mon Oct 11 04:31:07 +0000 2010
>Originator:     Stefan Palm
>Release:        pkgsrc-current
>Organization:
>Environment:
SunOS adebld1z 5.10 Generic_141444-09 sun4u sparc SUNW,Ultra-80
>Description:
When invoking a "bmake install" the installation process will fail following message:

[...]
/usr/pkg/bin/install-sh -d -m 755 '/usr/pkg/bin'
/usr/pkg/bin/install-sh -d -m 755 '/usr/pkg/libexec/git-core'
/usr/pkg/bin/install-sh   git-fast-import git-imap-send git-shell git-show-index git-upload-pack git-http-backend git-remote-http git-remote-https git-remote-ftp git-remote-ftps git-http-fetch git-http-push git-daemon git-am git-bisect git-difftool--helper git-filter-branch git-lost-found git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-mergetool--lib git-notes git-parse-remote git-pull git-quiltimport git-rebase--interactive git-rebase git-repack git-request-pull git-sh-setup git-stash git-submodule git-web--browse git-add--interactive git-difftool git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email git-svn  git-instaweb '/usr/pkg/libexec/git-core'
/usr/pkg/bin/install-sh git git-upload-pack git-receive-pack git-upload-archive git-shell git-cvsserver '/usr/pkg/bin'
install:  git-upload-pack does not exist
gmake: *** [install] Error 1

Looks like 'install-sh' deletes/looses the "git-upload-pack"

>How-To-Repeat:

>Fix:
Using "/usr/ucb/install" instead of "/usr/pkg/bin/install-sh" ("mk.conf"  ==> TOOLS_PLATFORM.install?= /usr/ucb/install) will solve the problem.

[...]
/usr/ucb/install -d -m 755 '/usr/pkg/bin'
/usr/ucb/install -d -m 755 '/usr/pkg/git-core'
/usr/ucb/install   git-fast-import git-imap-send git-shell git-show-index git-upload-pack git-http-backend git-remote-http git-remote-https git-remote-ftp git-remote-ftps git-http-fetch git-http-push git-daemon git-am git-bisect git-difftool--helper git-filter-branch git-lost-found git-merge-octopus git-merge-one-file git-merge-resolve git-mergetool git-mergetool--lib git-notes git-parse-remote git-pull git-quiltimport git-rebase--interactive git-rebase git-repack git-request-pull git-sh-setup git-stash git-submodule git-web--browse git-add--interactive git-difftool git-archimport git-cvsexportcommit git-cvsimport git-cvsserver git-relink git-send-email git-svn  git-instaweb '/usr/pkg/libexec/git-core'
/usr/ucb/install git git-upload-pack git-receive-pack git-upload-archive git-shell git-cvsserver '/usr/pkg/bin'
gmake -j4 -C templates DESTDIR='' install
gmake[1]: Entering directory `/usr/share/src/pkgsrc/devel/scmgit-base/work/git-1.7.0.5/templates'
/usr/ucb/install -d -o root -g root -m 755 '/usr/pkg/share/examples/scmgit/templates'
[...]


>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: gls@NetBSD.org
Responsible-Changed-When: Thu, 07 Oct 2010 20:46:36 +0000
Responsible-Changed-Why:
Another Solaris issue.


From: Tim Zingelman <zingelman@gmail.com>
To: gnats-bugs@netbsd.org
Cc: solaris-pkg-people@netbsd.org, pkg-manager@netbsd.org, 
	pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org, gls@netbsd.org, 
	stefan.palm@pdmc.net
Subject: Re: pkg/43951 (devel/scmgit-base won't install with install-sh)
Date: Thu, 7 Oct 2010 16:28:09 -0500

 On Thu, Oct 7, 2010 at 3:46 PM,  <gls@netbsd.org> wrote:
 > Synopsis: devel/scmgit-base won't install with install-sh
 >
 > Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
 > Responsible-Changed-By: gls@NetBSD.org
 > Responsible-Changed-When: Thu, 07 Oct 2010 20:46:36 +0000
 > Responsible-Changed-Why:
 > Another Solaris issue.

 Is there a way to mark this as a duplicate of http://gnats.netbsd.org/42976
 the correct fix (repairing install-sh) is noted there with patch...
 waiting on the freeze to commit.

From: Steven Drake <sbd@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43951: devel/scmgit-base won't install with install-sh
Date: Fri, 8 Oct 2010 10:42:15 +1300 (NZDT)

 On Thu, 7 Oct 2010, stefan.palm@pdmc.net wrote:
 > Looks like 'install-sh' deletes/looses the "git-upload-pack"

 I could suggest the following patch to install-sh, it forces the -c option
 on.

 -- 
 Steven

 RCS file: /srv/NetBSD-cvs/pkgsrc/sysutils/install-sh/files/install-sh.in,v
 retrieving revision 1.4
 diff -u -p -r1.4 install-sh.in
 --- install-sh.in       12 Jul 2007 18:32:50 -0000      1.4
 +++ install-sh.in       7 Oct 2010 21:38:48 -0000
 @@ -44,7 +44,7 @@ stripprog="${STRIPPROG-strip}"
  rmprog="${RMPROG-rm}"
  mkdirprog="${MKDIRPROG-mkdir}"

 -instcmd="$mvprog"
 +instcmd="$cpprog"
  pathcompchmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@"
  chmodcmd="$chmodprog @DEFAULT_INSTALL_MODE@"
  chowncmd=""

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/43951 (devel/scmgit-base won't install with install-sh)
Date: Sat, 9 Oct 2010 21:31:53 +0000

 On Thu, Oct 07, 2010 at 09:30:05PM +0000, Tim Zingelman wrote:
  >  > Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
  >  > Responsible-Changed-By: gls@NetBSD.org
  >  > Responsible-Changed-When: Thu, 07 Oct 2010 20:46:36 +0000
  >  > Responsible-Changed-Why:
  >  > Another Solaris issue.
  >  
  >  Is there a way to mark this as a duplicate of http://gnats.netbsd.org/42976
  >  the correct fix (repairing install-sh) is noted there with patch...
  >  waiting on the freeze to commit.

 No. gnats is dumb.

 I guess the best approach is to either close this one and say
 something like "this is caused by 49276 (q.v.), which is going to get
 fixed as soon as the freeze is over"... or to leave both open until
 the fix is committed.

 Both of these approaches have disadvantages.

 -- 
 David A. Holland
 dholland@netbsd.org

From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43951: devel/scmgit-base won't install with install-sh
Date: Mon, 11 Oct 2010 03:05:37 +0000

 From: Tim Zingelman <tez@netbsd.org>
 To: pkgsrc-changes@NetBSD.org
 Subject: CVS commit: pkgsrc/sysutils/install-sh
 Date: Fri, 8 Oct 2010 19:57:05 +0000

 Module Name:	pkgsrc
 Committed By:	tez
 Date:		Fri Oct  8 19:57:05 UTC 2010

 Modified Files:
 	pkgsrc/sysutils/install-sh: Makefile
 	pkgsrc/sysutils/install-sh/files: install-sh.in

 Log Message:
 Make -c (copy) the default operation (vs. move) to come in line with other
 install tools this is built to emulate.  This should fix at least:
 pkg/42976
 pkg/43951


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/install-sh/Makefile
 cvs rdiff -u -r1.4 -r1.5 pkgsrc/sysutils/install-sh/files/install-sh.in

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

State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 11 Oct 2010 04:31:07 +0000
State-Changed-Why:
fixed


>Unformatted:

NetBSD Home
NetBSD PR Database Search

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