Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Nov 1995 08:46:15 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        jkh@time.cdrom.com (Jordan K. Hubbard)
Cc:        ports@freebsd.org
Subject:   Re: Rogue's Gallery of packages that don't add
Message-ID:  <199511110746.IAA10977@uriah.heep.sax.de>
In-Reply-To: <233.816063269@time.cdrom.com> from "Jordan K. Hubbard" at Nov 10, 95 08:14:29 pm

next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)



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