From owner-freebsd-questions@FreeBSD.ORG Fri Jul 13 19:12:14 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AE72216A400 for ; Fri, 13 Jul 2007 19:12:14 +0000 (UTC) (envelope-from anthony@hypem.com) Received: from el-out-1112.google.com (el-out-1112.google.com [209.85.162.178]) by mx1.freebsd.org (Postfix) with ESMTP id 775A713C442 for ; Fri, 13 Jul 2007 19:12:14 +0000 (UTC) (envelope-from anthony@hypem.com) Received: by el-out-1112.google.com with SMTP id v27so9320ele for ; Fri, 13 Jul 2007 12:12:13 -0700 (PDT) Received: by 10.142.212.19 with SMTP id k19mr151564wfg.1184352353736; Fri, 13 Jul 2007 11:45:53 -0700 (PDT) Received: by 10.142.104.6 with HTTP; Fri, 13 Jul 2007 11:45:53 -0700 (PDT) Message-ID: <4e8f45730707131145t7a15ff7cpc4926907d624c76e@mail.gmail.com> Date: Fri, 13 Jul 2007 14:45:53 -0400 From: "Anthony Volodkin" Sender: anthony@hypem.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Google-Sender-Auth: b2f38b053ed94e47 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Creating and Copying bsdpan packages across machines X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jul 2007 19:12:14 -0000 Hi, I have a few servers where packages are managed via a central package build system, and the remaining machines are set to only fetch packages from there, so they don't try to build them. This works great and saves lots of time. The only issue I still have here is with bsdpan- packages which are created by Perl CPAN modules not in the ports system. There are just a few of them, but they are important. What I've tried is: 1. Install module EVDB::API using: perl -MCPAN -e "install EVDB::API" command on the package build server 2. Generate a package out of the installed port via: pkg_create -b bsdpan-EVDB-API-0.99 3. Copy the resulting bsdpan-EVDB-API-0.99.tbz on another machine, and try installing it with: pkg_add bsdpan-EVDB-API-0.99.tbz What happens here is: #> pkg_add -v bsdpan-EVDB-API-0.99.tbz Requested space: 36140 bytes, free space: 15849822208 bytes in /var/tmp/instmp.AEIbBN extract: Package name is bsdpan-EVDB-API-0.99 extract: CWD to / extract: ///usr/local/lib/perl5/5.8.8/man/man3/EVDB::API.3 extract: ///usr/local/lib/perl5/5.8.8/man/man3/EVDB::API::JSON.3 tar: /usr/local/lib/perl5/5.8.8/man/man3/EVDB::API.3: Cannot stat: No such file or directory tar: Error opening archive: Empty input file: Inappropriate file type or format pkg_add: extract_plist: can not invoke 101 byte tar pipeline: /usr/bin/tar cf - /usr/local/lib/perl5/5.8.8/man/man3/EVDB\:\:API.3|/usr/bin/tar --unlink -xpf - -C / I haven't been able to debug it further. What's going on here? What else can I do to resolve this? Thanks for your help. -- Anthony Volodkin