From owner-freebsd-questions@FreeBSD.ORG Mon Feb 20 05:31:59 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4470E16A420 for ; Mon, 20 Feb 2006 05:31:59 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id F244643D46 for ; Mon, 20 Feb 2006 05:31:58 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D25251A3C20; Sun, 19 Feb 2006 21:31:58 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id CEA605429A; Mon, 20 Feb 2006 00:31:57 -0500 (EST) Date: Mon, 20 Feb 2006 00:31:57 -0500 From: Kris Kennaway To: Steve Pauly Message-ID: <20060220053157.GA83670@xor.obsecurity.org> References: <20060220052749.3BE2783C0A@ws1-1.us4.outblaze.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <20060220052749.3BE2783C0A@ws1-1.us4.outblaze.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org, kris@obsecurity.org Subject: Re: portupgrade avr-libc error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2006 05:31:59 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 20, 2006 at 12:27:49AM -0500, Steve Pauly wrote: > Kris, > I added TRYBROKEN=3D yes > in the Makefile and ran portupgrade avr-libc (getting further than=20 > before) with the following results: >=20 > install -o root -g wheel -m 444 =20 > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/LICENSE =20 > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/AUTHORS =20 > /usr/local/share/doc/avr-libc > install: wrong number or types of arguments > usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 file2 > install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] > [-o owner] file1 ... fileN directory > install -d [-v] [-g group] [-m mode] [-o owner] directory ... > *** Error code 64 >=20 > Stop in /usr/ports/devel/avr-libc. > *** Error code 1 >=20 > Stop in /usr/ports/devel/avr-libc. > ** Command failed [exit code 1]: /usr/bin/script -qa=20 > /tmp/portupgrade4660.0 make reinstall > egrep: /var/db/pkg/avr-libc-1.2.5,1/+CONTENTS: No such file or directory > ---> Restoring the old version > ** Fix the installation problem and try again. > [Updating the pkgdb in /var/db/pkg ... - 172=20 > packages found (-0 +1) . done] > ** Listing the failed packages (*:skipped / !:failed) > ! devel/avr-libc (avr-libc-1.2.5,1) (install error) > ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed >=20 > As expected pkg_version shows the old libc still there. >=20 > Looking at this line: install -o root -g wheel -m 444 =20 > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/LICENSE =20 > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/AUTHORS =20 > /usr/local/share/doc/avr-libc > I notice that that the first two file parameters specify files, while=20 > the last one specifies a directory. Is that the issue? Just guessing,=20 > newbie here. The other parameters seem okay I guess. >=20 > What am I doing wrong? Dunno, the port builds fine on a clean system. Is /usr/local/share/doc/avr-libc not a directory on your system? Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD+VRNWry0BWjoQKURAjOpAKDL1JV78kGgQNK4XXJxByVt0bKXbQCfaEeB bd5fjyYLLMCtAY6gbK1Wpsk= =dM2+ -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--