From owner-freebsd-ports Fri Nov 10 23:51:36 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id XAA06067 for ports-outgoing; Fri, 10 Nov 1995 23:51:36 -0800 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id XAA06057 for ; Fri, 10 Nov 1995 23:51:31 -0800 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id IAA11098; Sat, 11 Nov 1995 08:51:27 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id IAA23179; Sat, 11 Nov 1995 08:51:27 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id IAA10977; Sat, 11 Nov 1995 08:46:16 +0100 From: J Wunsch Message-Id: <199511110746.IAA10977@uriah.heep.sax.de> Subject: Re: Rogue's Gallery of packages that don't add To: jkh@time.cdrom.com (Jordan K. Hubbard) Date: Sat, 11 Nov 1995 08:46:15 +0100 (MET) Cc: ports@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <233.816063269@time.cdrom.com> from "Jordan K. Hubbard" at Nov 10, 95 08:14:29 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 3094 Sender: owner-ports@freebsd.org Precedence: bulk As Jordan K. Hubbard wrote: > > Naturally, we rarely run such tests so the "bad packages" get pointed > up pretty quickly. Here are my results. If you see a package of > yours in this list, please check your packing list! ... > > Rogus's Gallery: ... > 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 > ... I've got absolutely no idea *what* is going wrong here. I've been building the port in my chrooted release area for reference, essentially a fully-populated chroot tree with a pre-2.1 release built three days before. (The ``chroot:'' is the shell prompt, in case anybody is wondering.) chroot: pkg_add -v bcc-95.3.12.tgz Requested space: 368448 bytes, free space: 41368576 bytes in /var/tmp/instmp.010884 extract: Package name is bcc-95.3.12 extract: CWD to /usr/local extract: /usr/local/bin/as86 extract: /usr/local/bin/ld86 extract: /usr/local/bin/bcc extract: /usr/local/lib/bcc/bcc-cc1 chmod: bin/as86: No such file or directory chmod: bin/ld86: No such file or directory chmod: bin/bcc: No such file or directory Couldn't change modes of 'bin/as86 bin/ld86 bin/bcc ' to '555'. chown: bin/as86: No such file or directory chown: bin/ld86: No such file or directory chown: bin/bcc: No such file or directory Couldn't change owner/group of 'bin/as86 bin/ld86 bin/bcc ' to 'bin.bin'. extract: /usr/local/man/man1/as86.1.gz extract: /usr/local/man/man1/bcc.1.gz extract: /usr/local/man/man1/bcc-cc1.1.gz extract: /usr/local/man/man1/ld86.1.gz extract: CWD to . Running mtree for bcc-95.3.12.. mtree -U -f +MTREE_DIRS -d -e -p /usr/local Attempting to record package into /var/db/pkg/bcc-95.3.12.. Package bcc-95.3.12 registered in /var/db/pkg/bcc-95.3.12 Looking at the above, it looks like the entire package installation were totally hosed. But: chroot: ls -lR /usr/local/{bin,lib,man/man1} /usr/local/bin: total 96 -r-xr-xr-x 1 bin bin - 57344 Nov 11 07:33 as86 -r-xr-xr-x 1 bin bin - 16384 Nov 11 07:33 bcc -r-xr-xr-x 1 bin bin - 24576 Nov 11 07:33 ld86 /usr/local/lib: total 1 drwxr-xr-x 2 bin bin - 512 Nov 11 07:34 bcc /usr/local/lib/bcc: total 96 -r-xr-xr-x 1 bin bin - 98304 Nov 11 07:33 bcc-cc1 /usr/local/man/man1: total 8 -r--r--r-- 1 bin bin - 1581 Nov 11 07:33 as86.1.gz -r--r--r-- 1 bin bin - 1108 Nov 11 07:33 bcc-cc1.1.gz -r--r--r-- 1 bin bin - 1704 Nov 11 07:33 bcc.1.gz -r--r--r-- 1 bin bin - 1025 Nov 11 07:33 ld86.1.gz Everything is there, right owner, right permissions! (And yes!, i've been cleaning the above files before.) Here's the PLIST, i can't find something wrong in it (except that bcc-cc1 could better go to /usr/local/libexec/): chroot: cat pkg/PLIST @cd /usr/local @mode 555 @owner bin @group bin bin/as86 bin/ld86 bin/bcc lib/bcc/bcc-cc1 @mode 444 man/man1/as86.1.gz man/man1/bcc.1.gz man/man1/bcc-cc1.1.gz man/man1/ld86.1.gz @dirrm lib/bcc -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)