From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 31 17:33:22 2007 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCFAF16A417 for ; Mon, 31 Dec 2007 17:33:22 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs1.shuttle.de (rs1.shuttle.de [194.95.249.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7218E13C43E for ; Mon, 31 Dec 2007 17:33:22 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: by rs1.shuttle.de (Postfix, from userid 10) id 331992C009; Mon, 31 Dec 2007 18:33:19 +0100 (CET) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.2/8.14.2) with ESMTP id lBVHT2in080036; Mon, 31 Dec 2007 18:29:02 +0100 (CET) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.2/8.14.2/Submit) id lBVHT2EA080035; Mon, 31 Dec 2007 18:29:02 +0100 (CET) (envelope-from schweikh) Date: Mon, 31 Dec 2007 18:29:02 +0100 From: Jens Schweikhardt To: Boris Samorodov Message-ID: <20071231172902.GB1275@schweikhardt.net> References: <20071231121804.GA1275@schweikhardt.net> <20555208@bb.ipt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20555208@bb.ipt.ru> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: multimedia@FreeBSD.org Subject: Re: [PATCH] for multimedia/linux-realplayer (extract with rpm2cpio.pl fails) X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2007 17:33:23 -0000 On Mon, Dec 31, 2007 at 05:18:47PM +0300, Boris Samorodov wrote: # On Mon, 31 Dec 2007 13:18:05 +0100 Jens Schweikhardt wrote: # # > I tried installing the latest mplayer with optional RealPlayer support. # > This failed during extraction phase where rpm2cpio.pl is used and not # > found; it appears this perl script has been replaced by a binary named # > rpm2cpio which should be used in the Makefile. # # I'm not sure what did you mean. The port archivers/rpm2cpio hadn't # been touched for a year and it surely installs rpm2cpio.pl (look at # the port's Makefile): Hmm. Then something else looks fishy. What I did was 1. cvsup the ports tree 2. portupgrade mplayer-0.99.11 (to mplayer-0.99.11_1) 3. In the options menu chose WITH_REALPLAYER=true The portupgrade failed because somewhere rpm2cpio.pl was called but not found at this place in the build ... ===> Patching for rpm2cpio-1.2_2 ===> rpm2cpio-1.2_2 depends on file: /usr/local/bin/perl5.8.8 - found ===> rpm2cpio-1.2_2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Configuring for rpm2cpio-1.2_2 ===> Installing for rpm2cpio-1.2_2 ===> rpm2cpio-1.2_2 depends on file: /usr/local/bin/perl5.8.8 - found ===> Generating temporary packing list ===> Checking if archivers/rpm2cpio already installed install -o root -g wheel -m 555 /usr/ports/archivers/rpm2cpio/work/rpm2cpio /usr/local/bin/rpm2cpio.pl ===> Registering installation for rpm2cpio-1.2_2 ===> Returning to build of linux-realplayer-10.0.8.805.20060718_2 + cd /usr/ports/multimedia/linux-realplayer/work + rpm2cpio.pl+ /usr/bin/cpio -idm --quiet /usr/ports/distfiles/RealPlayer-10.0.8.805-20060718.i586.rpm + cd /usr/ports/multimedia/linux-realplayer/work + + /usr/bin/cpio -idm --quiet rpm2cpio.pl /usr/ports/distfiles/mplayer-codecs-linux-real-20040626-1.i386.rpm I then looked in /usr/local/bin and only found rpm2cpio but no rpm2cpio.pl which made me think (erroneously?) that the name changed. The file system with /usr/local is a gvinum partition with lots of space, so running out of disk space was not the issue. I've tried to reproduce it now, but can't. After deleting mplayer and linux-realplayer and reinstalling them, I now have a /usr/local/bin/rpm2cpio.pl. This is a mystery to me... Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)