> in logs, i got these errors:
> pkgbuild:  Install README.txt
> /var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/lib/Tix8.4.3/README.txt
> pkgbuild: + exit 0
> pkgbuild: pkgbuild: File not found by glob:
> /var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/bin/*
> pkgbuild: pkgbuild: File not found by glob:
> /var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/share
> pkgbuild: pkgbuild: File not found by glob:
> /var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/share/man
> pkgbuild: pkgbuild: File not found by glob:
> /var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/share/man/*
> pkgbuild: pkgbuild: File not found by glob:
> /var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/share/man/*/*

In the %files section of your spec file you have lines like:
%{_bindir}/*
%{_datadir}
%{_mandir}
%{_mandir}/*
%{_mandir}/*/*

They tell the build tools to include files that are installed to those 
locations (they are installed to a temp area called $RPM_BUILD_ROOT, generally 
under /var/tmp/pkgbuild-username).

Remove those lines and rebuild. Repeat until you stop getting those errors.

You may get errors about unpackaged files e.g.
   pkgbuild: error: Installed (but unpackaged) file(s) found:
   pkgbuild:         /usr/lib/python2.4/vendor-packages/gstoption.so
   pkgbuild:         /usr/lib/python2.4/vendor-packages/gstoption.la

This is where files are copied to $RPM_BUILD_ROOT but not listed in %files
In the above example I added the following line to %files:
   %{_libdir}/python2.4/vendor-packages/*
(My actual line was slightly different but I'm keeping the answer here simple)
 
 
This message posted from opensolaris.org

Reply via email to