portupgrade avr-libc error

Steve Pauly rczero at mail.com
Sun Feb 19 21:42:58 PST 2006


Kris,

/usr/local/share/doc/avr-libc is a good directory. Should the 
parameter to install be files or directories?

Do you think I should pkg_delete avr-libc ?

Also, avr-libc was built from ports as part of avr-gcc, not that long 
ago. The whole install is but a few weeks old.

Thanks.
> ----- Original Message -----
> From: "Kris Kennaway" <kris at obsecurity.org>
> To: "Steve Pauly" <rczero at mail.com>
> Subject: Re: portupgrade avr-libc error
> Date: Mon, 20 Feb 2006 00:31:57 -0500
> 
> 
> On Mon, Feb 20, 2006 at 12:27:49AM -0500, Steve Pauly wrote:
> > Kris,
> > I added TRYBROKEN=      yes
> > in the Makefile and ran portupgrade avr-libc (getting further 
> > than before) with the following results:
> >
> > install  -o root -g wheel -m 444  
> > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/LICENSE  
> > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/AUTHORS  
> > /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 
> > /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 
> > 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  
> > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/LICENSE  
> > /usr/ports/devel/avr-libc/work/avr-libc-1.4.3/AUTHORS  
> > /usr/local/share/doc/avr-libc
> > I notice that that the first two file parameters specify files, 
> > while the last one specifies a directory. Is that the issue? Just 
> > guessing, newbie here. The other parameters seem okay I guess.
> >
> > 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
> << 2.dat >>

>


-- 
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/



More information about the freebsd-questions mailing list