From owner-freebsd-current Wed Aug 21 19:20:12 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id TAA02645 for current-outgoing; Wed, 21 Aug 1996 19:20:12 -0700 (PDT) Received: from silvia.HIP.Berkeley.EDU (silvia.HIP.Berkeley.EDU [136.152.64.181]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id TAA02561; Wed, 21 Aug 1996 19:20:04 -0700 (PDT) Received: (from asami@localhost) by silvia.HIP.Berkeley.EDU (8.7.5/8.6.9) id TAA18117; Wed, 21 Aug 1996 19:20:01 -0700 (PDT) Date: Wed, 21 Aug 1996 19:20:01 -0700 (PDT) Message-Id: <199608220220.TAA18117@silvia.HIP.Berkeley.EDU> To: jkh@freebsd.org CC: current@freebsd.org Subject: hylafax package problem From: asami@freebsd.org (Satoshi Asami) Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I tried to compile the hylafax package, but the final packaging stage gets stuck like this: === ## make package Checksums OK. ===> Building package for hylafax-3.0.1 Creating package /usr/ports/packages/All/hylafax-3.0.1.tgz Registering depends: bash-1.14.6 ghostscript-2.6.2. === (sits here forever). So I did a ps from another screen: === ## ps gxlww | grep pkg_create 0 29248 29239 213 10 0 480 220 wait I+ p4 0:00.01 /bin/sh -ec if [ -e /ccd/ports/comms/hylafax/pkg/PLIST ]; then echo "===> Building package for hylafax-3.0.1"; if [ -d /usr/ports/packages ]; then if [ ! -d /usr/ports/packages/All ]; then if ! /bin/mkdir -p /usr/ports/packages/All; then echo ">> Can't create directory /usr/ports/packages/All."; exit 1; fi; fi; fi; if /usr/sbin/pkg_create -v -c /ccd/ports/comms/hylafax/pkg/COMMENT -d /ccd/ports/comms/hylafax/pkg/DESCR -f /ccd/ports/comms/hylafax/pkg/PLIST -p /usr/local -P "`make package-depends|sort|uniq`" -m /etc/mtree/BSD.local.dist /usr/ports/packages/All/hylafax-3.0.1.tgz; then if [ -d /usr/ports/packages ]; then make package-links; fi; else make delete-package; exit 1; fi; fi 0 29292 29248 163 2 0 220 372 fifo I+ p4 0:00.41 /usr/ports/packages/All/hylafax-3.0.1 (pkg_create) === There is no "tar" or "gzip" command running at this time. The package doesn't exist in /usr/ports/packages/All. However, if I kill the make package: === Registering depends: bash-1.14.6 ghostscript-2.6.2. ^C## Creating gzip'd tar ball in '/usr/ports/packages/All/hylafax-3.0.1.tgz' === Note the "Creating gzip'd..." message arrives after the prompt. And I'll have a partial package file in packages/All (size ranges from 200K to 1M+, although it's never complete). In addition, the ^C causes it to splat the package files all over the current directory: === ## lg /usr/ports/comms/hylafax/ total 25 1 -rw-r--r-- 1 root wheel 43 Aug 21 19:14 +COMMENT 9 -rw-r--r-- 1 root wheel 9139 Aug 21 19:14 +CONTENTS 1 -rw-r--r-- 1 root wheel 664 Aug 21 19:14 +DESC 2 -r--r--r-- 1 root wheel 2019 Aug 3 07:50 +MTREE_DIRS 1 drwxr-xr-x 7 asami2 wheel 512 Aug 21 19:14 ./ 1 drwxr-xr-x 11 asami2 wheel 512 Aug 20 20:14 ../ 1 drwxr-xr-x 2 asami2 wheel 512 Aug 10 00:35 CVS/ 5 -rw-r--r-- 1 asami2 wheel 5031 Mar 6 00:19 Makefile 1 drwxr-xr-x 3 asami2 wheel 512 Aug 10 00:35 files/ 1 drwxr-xr-x 3 asami2 wheel 512 Aug 10 00:35 patches/ 1 drwxr-xr-x 3 asami2 wheel 512 Aug 10 00:35 pkg/ 1 drwxr-xr-x 3 root wheel 512 Aug 21 19:05 work/ === This is a -current system compiled just before the great tcpdump commit. It only happens on hylafax, I've compiled hundreds of packages on this machine in the last few days and this is the only one that fails. And it's perfectly reproducible. Any ideas? Satoshi