Date: Mon, 20 Feb 2006 00:27:49 -0500 From: "Steve Pauly" <rczero@mail.com> To: freebsd-questions@freebsd.org Cc: kris@obsecurity.org Subject: Re: portupgrade avr-libc error Message-ID: <20060220052749.3BE2783C0A@ws1-1.us4.outblaze.com>
next in thread | raw e-mail | index | archive | help
Kris, I added TRYBROKEN=3D yes in the Makefile and ran portupgrade avr-libc (getting further than=20 before) with the following results: install -o root -g wheel -m 444=20=20 /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/LICENSE=20=20 /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/AUTHORS=20=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 Stop in /usr/ports/devel/avr-libc. *** Error code 1 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 <format:bdb1_btree> 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 As expected pkg_version shows the old libc still there. Looking at this line: install -o root -g wheel -m 444=20=20 /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/LICENSE=20=20 /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/AUTHORS=20=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. What am I doing wrong? Thanks. Steve. > ----- Original Message ----- > From: "Kris Kennaway" <kris@obsecurity.org> > To: "David Kelly" <dkelly@HiWAAY.net> > Subject: Re: portupgrade avr-libc error > Date: Sun, 19 Feb 2006 23:44:12 -0500 >=20 >=20 > On Sun, Feb 19, 2006 at 10:38:15PM -0600, David Kelly wrote: > > > > On Feb 19, 2006, at 9:13 PM, Steve Pauly wrote: > > > > >pkg_version -v shows: > > >avr-libc-1.2.5,1 < needs updating (port=20 > has >1.4.3,1) > > >Note: all other ports show current except kde related items. > > > > > >So, I updated my port collection: > > >/usr/local/bin/cvsup -L 2 ~/ports-supfile > > >pkgdb -vF > > > > > >Next, I try to upgrade the port: > > >portupgrade avr-libc > > > > > >I get: > > >** Port marked as IGNORE: devel/avr-libc: > > > is marked as broken: Incomplete pkg-plist > > > > > >Opening the /usr/ports/devel/avr-libc/Makefile, I see this line: > > >BROKEN=3D Incomplete pkg-plist > > > > > > > > > > > >What should I do to fix this error? > > > > does pkg_version -v still say the same thing as it did before=20 > > your cvsup? There is not a BROKEN line in the 1.4.3,1 version I=20 > > have. It built just now with a simple (so as not to disturb my=20 > > installed version): >=20 > I added it a little while ago. If the OP doesn't care about stale > files being left behind by the port, he can build with TRYBROKEN set. >=20 > Kris > << 2.dat >> >=20 --=20 ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060220052749.3BE2783C0A>