Re: [Setup-tool-hackers] rpm -tb error out



(see comments below)

On Wed, Jun 20, 2001 at 10:16:05PM -0500, Charles R. Tersteeg wrote:
> I'm getting a dependeny error or something on my rh7.1 workstation:
> 
> make[1]: Leaving directory
> `/home/wulvyrn/rpm/BUILD/ximian-setup-tools-0.6.0/po'
> make[1]: Entering directory
> `/home/wulvyrn/rpm/BUILD/ximian-setup-tools-0.6.0'
> make[2]: Entering directory
> `/home/wulvyrn/rpm/BUILD/ximian-setup-tools-0.6.0'
> make[2]: Nothing to be done for `install-exec-am'.
> make[2]: Nothing to be done for `install-data-am'.
> make[2]: Leaving directory
> `/home/wulvyrn/rpm/BUILD/ximian-setup-tools-0.6.0'
> make[1]: Leaving directory
> `/home/wulvyrn/rpm/BUILD/ximian-setup-tools-0.6.0'
> + /usr/lib/rpm/brp-compress
> + /usr/lib/rpm/brp-strip
> + /usr/lib/rpm/brp-strip-comment-note
> Processing files: ximian-setup-tools-0.6.0-1
> error: File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/etc/pam.d/*
> error: File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/etc/security/console.apps/*
> error: File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/sbin/*
> error: File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/share/hcm/glade/*.glade
> Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.81621
> + umask 022
> + cd /home/wulvyrn/rpm/BUILD
> + cd ximian-setup-tools-0.6.0
> +
> DOCDIR=/var/tmp/ximian-setup-tools-0.6.0-root/usr/doc/ximian-setup-tools-0.6.0
> + export DOCDIR
> + rm -rf
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/doc/ximian-setup-tools-0.6.0
> + /bin/mkdir -p
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/doc/ximian-setup-tools-0.6.0
> + cp -pr README AUTHORS COPYING HACKING NEWS ChangeLog doc
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/doc/ximian-setup-tools-0.6.0
> + exit 0
> Requires: gnome-libs >= 1.0.50 ORBit >= 0.5.0 gdk-pixbuf >= 0.7.0 wvdial
> 
> 
> RPM build errors:
>     File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/etc/pam.d/*
>     File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/etc/security/console.apps/*
>     File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/sbin/*
>     File not found by glob:
> /var/tmp/ximian-setup-tools-0.6.0-root/usr/share/hcm/glade/*.glade
> 
> 
> I seem to have all the required programs
> 
> $rpm -q gnome-libs
> gnome-libs-1.2.13-ximian.10
> $ rpm -q ORBit
> ORBit-0.5.8-ximian.2
> $ rpm -q gdk-pixbuf
> gdk-pixbuf-0.11.0-ximian.2
> $ rpm -q wvdial
> wvdial-1.41-12
> $

This is not (as far as I can tell) a build/dependency error.
Rather, RPM is very picky about the files listed in the
%files
section of the .spec (in this case, ximian-setup-tools.spec) file.
If one of the files listed there is missing, -or- if a wildcard is
listed and no files meet the pattern, then RPM refuses to build. I got
this earlier when trying to build an RPM.
The ximian-setup-tools.spec{,.in} file is often out of date/inaccurate.
There was some discussion about removing them from CVS and having the
GNOME Packaging Project deal with it, but I don't know what became of
that.
In the meantime, just edit
ximian-setup-tools.spec
and
ximian-setup-tools.spec.in
and in the %files section, comment out the lines
%config %{sysconfdir}/pam.d/*
%config %{sysconfdir}/security/console.apps/*
%{_prefix}/sbin/*
%{_prefix}/share/hcm/glade/*.glade
(comment them out by prefixing a
#
)

-- 
  -nils

_______________________________________________
setup-tool-hackers maillist  -  setup-tool-hackers@ximian.com
http://lists.ximian.com/mailman/listinfo/setup-tool-hackers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]