Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Dec 2007 18:29:02 +0100
From:      Jens Schweikhardt <schweikh@schweikhardt.net>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        multimedia@FreeBSD.org
Subject:   Re: [PATCH] for multimedia/linux-realplayer (extract with rpm2cpio.pl fails)
Message-ID:  <20071231172902.GB1275@schweikhardt.net>
In-Reply-To: <20555208@bb.ipt.ru>
References:  <20071231121804.GA1275@schweikhardt.net> <20555208@bb.ipt.ru>

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



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