RPM annoyance
Bill Campbell
bill
Mon May 17 11:30:06 PDT 2004
On Thu, Apr 18, 2002 at 12:50:31PM -0400, Net Llama! wrote:
...
>hrmmm...i had an older version of tcsh installed. Just upgraded to the
>version that comes with RH-7.2. Tried to build xfce from the SRPM again,
>and once again it bombed right at the end:
>
>+ /usr/local/lib/rpm/find-lang.sh /var/tmp/xfce-root xfce
>+ /usr/local/lib/rpm/brp-compress
>+ /usr/local/lib/rpm/brp-strip
>+ /usr/local/lib/rpm/brp-strip-comment-note
>Processing files: xfce-3.8.16-1
>File not found by glob: /var/tmp/xfce-root/usr/local/bin/*
>File not found by glob: /var/tmp/xfce-root/usr/local/share/xfce/*
>Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.45810
That's much more basic than a glob'ing problem. The program's not
installing anything in the /var/tmp/xfce-root/usr/local/bin/ or
/var/tmp/xfce-root/usr/local/share/xfce/ directories. This is usually an
inconsistency in the various macros like %{_prefix} (which I have as /usr
on Linux, and /usr/local on most other systems). The xfce.spec file makes
pretty heavy use of %defines, and there are lots of ways to get this out of
sync in different parts of the SPEC file. This is one reason I make heavy
use of Caldera's %{mkLists} macro to build the lists of files to be
installed. I basically take the /usr/lib/rpm-3.0.6 directory from the
Caldera RPM package, copy the macros.OL to /etc/rpm/macros, then tweak for
local systems, to implement this on Red Hat other non-Caldera systems.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/
"A man full of faith is simply one who has lost (or never had) the capacity
for clear and realistic thought. He is not a mere ass; he is actually ill.
Worse, he is incurable."
H.L. Mencken
More information about the Linux-users
mailing list