[cups.general] espgs-8.15.4 rpmbuild fails

Till Kamppeter till.kamppeter at gmail.com
Wed May 9 07:52:48 PDT 2007


The ESP Ghostscript development is discontinued and all extra 
functionality is merged int GPL Ghostscript, the main (upstream) 
Ghostscript development:

http://www.cups.org/espgs/index.php

Please check whether the problem persists with the test branch of the 
merged Ghostscript by following the instructions to install from source 
here:

http://www.openprinting.org/download/printing/esp-gpl-ghostscript-merge/README

You will perhaps need to install the "svn" or "subversion" package of 
your distribution to be able to download this version of Ghostscript.

If the problem persists, report a bug on

http://bugs.ghostscript.com/

For discussions and questions about Ghostscript please post on the 
mailing lists of

http://www.ghostscript.com/

    Till

Tom Astle wrote:
> There is an error in the spec file:
> 
> 
> Change the make line in the %install section to be:
> 
> make prefix=$RPM_BUILD_ROOT%{_prefix} install_prefix=$RPM_BUILD_ROOT/ bindir=$RPM_BUILD_ROOT%{_bindir} datadir=$RPM_BUILD_ROOT%{_datadir} mandir=$RPM_BUILD_ROOT%{_mandir} install
> 
> 
>> I'm trying to build espgs-8.15.4 rpms using the spec file included in
>> the tarball from the cups website but it fails thus:
>>
>> mkdir -p /var/tmp/ghostscript-root/`cups-config --serverbin`/filter
>> ./src/instcopy -c -m 755 pstoraster/pstoraster
>> /var/tmp/ghostscript-root/`cups-config --serverbin`/filter
>> ./src/instcopy -c -m 755 pstoraster/pstopxl
>> /var/tmp/ghostscript-root/`cups-config --serverbin`/filter
>> mkdir -p /var/tmp/ghostscript-root/`cups-config --serverroot`
>> ./src/instcopy -c -m 644 pstoraster/pstoraster.convs
>> /var/tmp/ghostscript-root/`cups-config --serverroot`
>> mkdir -p /var/tmp/ghostscript-root/`cups-config --datadir`/model
>> ./src/instcopy -c -m 644 pstoraster/pxlcolor.ppd
>> /var/tmp/ghostscript-root/`cups-config --datadir`/model
>> ./src/instcopy -c -m 644 pstoraster/pxlmono.ppd
>> /var/tmp/ghostscript-root/`cups-config --datadir`/model
>> + /usr/lib/rpm/find-debuginfo.sh /usr/src/redhat/BUILD/espgs-8.15.4
>> 0 blocks
>> + /usr/lib/rpm/redhat/brp-compress
>> + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip
>> + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
>> + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip
>> /usr/bin/objdump
>> Processing files: ghostscript-8.15.4-0
>> error: File not found by glob: /var/tmp/ghostscript-root/usr/bin/*
>> Processing files: ghostscript-cups-8.15.4-0
>> Requires(interp): /bin/sh
>> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
>> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>> Requires(post): /bin/sh
>> Requires: /bin/sh cups ghostscript
>> Processing files: ghostscript-debuginfo-8.15.4-0
>> Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1
>> rpmlib(PayloadFilesHavePrefix) <= 4.0-1
>>
>>
>> RPM build errors:
>>     File not found by glob: /var/tmp/ghostscript-root/usr/bin/*
>>
>> Sure enough, the gs binary was not placed in the tmp directory for
>> rpmbuild to package. It is built, and can be found in the
>> /usr/src/redhat/BUILD/espgs-8.15.4/bin/ directory:
>>
>> $ ls -l /usr/src/redhat/BUILD/espgs-8.15.4/bin/
>> total 14680
>> -rwxr-xr-x  1 root root 15028297 Mar 15 13:15 gs
>>
>> I don't know enough about spec file editing to know what has to be
>> changed to make it work. Can anybody help?
>>
> 
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
> 





More information about the cups mailing list