Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 1995 22:37:15 -0800
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        asami@cs.berkeley.edu (Satoshi Asami)
Cc:        ports@freebsd.org
Subject:   Re: Rogue's Gallery of packages that don't add 
Message-ID:  <793.816071835@time.cdrom.com>
In-Reply-To: Your message of "Fri, 10 Nov 1995 22:18:58 PST." <199511110618.WAA21135@silvia.HIP.Berkeley.EDU> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Jordan, you reported the same thing last time, and I said the same
> thing: "these packages are not broken". ;)

OK, well hang on here..  If these packages aren't broken then we need
to figure out what IS broken.

What I'm doing here isn't exactly rocket science either, and it's
certainly not something you'd expect to fail.  Any one of you can
(and are in fact strongly encouraged to!) do what I'm doing right now:

cd /some/spot/with/space
for <all 2.1 distributions> extract dists.

Now at this point you have the equivalent of a freshly installed system
in /some/spot/with/space.  I also extracted all the X11R6 distribution
files, which you might want to do as well.

NOW.  Mount into your chrooted are a complete packages collection.
Do the `for i in *.tgz; do pkg_add $i; done' thing and see what falls
over.  If something does, you can hardly blame the setup - it's about
as VANILLA as it's possible to get!

> I don't know what's wrong with your chrooted environment, but these
> errors you are getting are completely bogus.  Maybe they got corrupted 
> when you copied over?  I did a pkg_add of bcc and chimera on thud,
> they both installed fine without a word (the Unix way).

I strongly doubt corruption.  The gzip or tar checksums would blow up.

> 
>  * Naturally, we rarely run such tests so the "bad packages" get pointed
>  * up pretty quickly.
> 
> I'd also like to point out that it's impossible for bad packages (at
> least those that have the "No such file or directory" error) to slip
> past me -- bsd.port.mk deletes the package if there is an error from
> pkg_create.  (Yes I added that test.)  So I can't build a package with 
> an error like that even if I wanted! ;)
> 
>  * ImageMagick-3.6.2.tgz:
>  * 
>  * tar: can't add file /usr/X11R6/lib/libMagick.a : No such file or directory
>  * tar:  not found in archive
>  * tar: can't add file /usr/X11R6/include/X11/magick/magick.h : No such file 
or directory
>  * ...
> 
> >> hostname
> wcarchive.cdrom.com
> >> pwd
> /archive/.3/FreeBSD/packages-2.1/All
> >> tar tvzf ImageMagick-3.6.2.tgz | grep libMagick
> -rw-r--r-- root/sys     571638 Oct  7 20:05 1995 usr/X11R6/lib/libMagick.so.3
.6
> -rw-r--r-- root/sys     580502 Oct  7 20:06 1995 usr/X11R6/lib/libMagick.a
> 
>  * bcc-95.3.12.tgz:
>  * chmod: bin/as86: No such file or directory
>  * chmod: bin/ld86: No such file or directory
>  * chmod: bin/bcc: No such file or directory
>  * ...
> 
> >> tar tvzf bcc-95.3.12.tgz 
>  :
> -r-xr-xr-x bin/bin       57344 Oct  6 15:17 1995 bin/as86
> -r-xr-xr-x bin/bin       24576 Oct  6 15:17 1995 bin/ld86
> -r-xr-xr-x bin/bin       16384 Oct  6 15:17 1995 bin/bcc
>  :
> 
>  * chimera-1.65.tgz:
>  * chmod: lib/cacheinfo: No such file or directory
>  * chmod: lib/convert: No such file or directory
>  * chmod: lib/help.html: No such file or directory
>  * ...
> 
> >> tar tvzf chimera-1.65.tgz | grep cache
> -r--r--r-- root/sys        113 Oct  6 16:16 1995 lib/cacheinfo
> 
>  * dvi2xx-0.51a9.tgz:
>  * chmod: man/man1/dvi2xx.1: No such file or directory
>  * Couldn't change modes of 'man/man1/dvi2xx.1 ' to '644'.
>  * chown: man/man1/dvi2xx.1: No such file or directory
>  * Couldn't change owner of 'man/man1/dvi2xx.1 ' to 'bin'.
> 
> >> tar tvzf dvi2xx-0.51a9.tgz | grep man
> -rwxr-xr-x root/bin       9527 Oct  8 21:31 1995 man/man1/dvi2xx.1
> 
>  * fvwm-1.24r.tgz:
>  * Two sets of errors:
>  * 
>  * Warning:  xpm package is not installed.  You should install the xpm-3.4e
>  * package as well before attempting to use this fvwm distribution.
> 
> Oh my goodness.  The old pkg/REQ script (pre-LIB_DEPENDS) is still
> there.  I created a new package and put it in packages-2.1 on
> wcarchive, can you please take it?  Sorry... (x_x)

Taken.  You might also update your work area on thud in case I need
to go back and regenerate something from scratch.

> My only guess is that the machine was already ill before you started
> doing this.... ;)

That was the machine I was logging in *from* that crashed.  I somehow
doubt it spread its ills down the xterm session to the machine on
which I was actually adding these packages.. :-)

I think it's time for someone to try and reproduce my results.
Satoshi is plainly skeptical and I'm sitting here nonetheless with a
series of inexplicable pkg_add failures.  It's time for someone
else to verify this one way or another.

					Jordan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?793.816071835>