From owner-freebsd-ports Fri Nov 10 22:19:16 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id WAA02599 for ports-outgoing; Fri, 10 Nov 1995 22:19:16 -0800 Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id WAA02590 for ; Fri, 10 Nov 1995 22:19:11 -0800 Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.6.12/8.6.9) id WAA21135; Fri, 10 Nov 1995 22:18:58 -0800 Date: Fri, 10 Nov 1995 22:18:58 -0800 Message-Id: <199511110618.WAA21135@silvia.HIP.Berkeley.EDU> To: jkh@time.cdrom.com CC: ports@freebsd.org In-reply-to: <233.816063269@time.cdrom.com> (jkh@time.cdrom.com) Subject: Re: Rogue's Gallery of packages that don't add From: asami@cs.berkeley.edu (Satoshi Asami) Sender: owner-ports@freebsd.org Precedence: bulk * Just so everyone knows what I'm doing: Every time it comes time to do * the disc2 (all one time so far :-) I chroot to what's essentially * a complete system extracted into a directory. Then I mount the * packages collection into the chrooted area and do a: * * for i in *.tgz; do pkg_add $i; done * * To add each and every package, giving you a /usr/local and /usr/X11R6 * from hell on the second CD with everything that can be extracted, * extracted. Jordan, you reported the same thing last time, and I said the same thing: "these packages are not broken". ;) 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). * 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) I also committed a fix to the ports tree, if you can do a "cvs update" on x11/fvwm, it's most appreciated. If you can't, no big deal, as this file is not used unless someone wants to build a package (and I think nobody would try that if they already have a CD full of packages :).... * chmod: bin/fvwm: No such file or directory * chmod: bin/xpmroot: No such file or directory * Couldn't change modes of 'bin/fvwm bin/xpmroot ' to '755'. * chown: bin/fvwm: No such file or directory * ... These are bogus though, the files were there. >> tar tvzf fvwm-1.24r.tgz | grep bin/fvwm -rwxr-xr-x root/sys 122880 Oct 6 16:56 1995 bin/fvwm * gmp-1.3.2.tgz: * ranlib: lib/libgmp.a: No such file or directory * Command 'ranlib lib/libgmp.a' failed. * ranlib: lib/libmp.a: No such file or directory * ... >> tar tvzf gmp-1.3.2.tgz | grep lib/lib -r--r--r-- root/bin 263602 Oct 7 20:17 1995 lib/libgmp.a -r--r--r-- root/bin 111206 Oct 7 20:17 1995 lib/libmp.a -r--r--r-- root/bin 259301 Oct 7 20:17 1995 lib/libgmp.so.1.3 -r--r--r-- root/bin 111097 Oct 7 20:17 1995 lib/libmp.so.1.3 * My only guess is that the machine was already ill before you started doing this.... ;) Satoshi