Damien Carbery wrote:
>> 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)
>  

it seems that my problem is different, because when i look into

/var/tmp/pkgbuild-devel1/SFEtix-8.4.3-build/usr/, there is no share directory, 
and bin is empty. In fact, playing with "make -n install" to see what files 
will be installed, i notice that Tix will install everything in 
/usr/lib/Tix8.4.3 and there are no man, and no share dirs. I have to understand 
how to write the %files section.

Thanks for your reply,


-- 
Gerard HENRY



Reply via email to