https://bugzilla.novell.com/show_bug.cgi?id=750679
https://bugzilla.novell.com/show_bug.cgi?id=750679#c5
Johannes Meixner changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
Summary|ps2pdf xenapi.ps xenapi.pdf |"ps2pdf xenapi.ps
|fails in Factory |xenapi.pdf" fails for user
| |abuild in Factory build
| |system
--- Comment #5 from Johannes Meixner 2012-03-07 14:51:42 UTC ---
In comment #4 "my local workstation" is SLED11-SP1 i586.
Works also on my openSUSE 11.4 x86_64 workstation
with ghostscript-9.04 and ghostscript-9.05.
Works also as root on bax on the command line:
-------------------------------------------------------------------------
bax:/> type -a ps2pdf
ps2pdf is /usr/bin/ps2pdf
bax:/tmp> rpm -qf /usr/bin/ps2pdf
ghostscript-mini-9.04-17.1.x86_64
bax:/tmp> cp -p xenapi.ps xenapi.bnc750679.ps
bax:/tmp> ps2pdf xenapi.bnc750679.ps xenapi.bnc750679.gs-mini-9.04.pdf
bax:/tmp> ls -l xenapi*pdf
.. root root 845981 ... xenapi.bnc750679.gs-mini-9.04.pdf
-------------------------------------------------------------------------
But does not work as user abuild on bax on the command line:
-------------------------------------------------------------------------
bax:/> su - abuild
bax:~> pwd
/home/abuild
bax:~> cd rpmbuild/BUILD/xen-4.1.2-testing/docs/xen-api
bax:~/.../xen-api> cp -p xenapi.ps xenapi.bnc750679.ps
bax:~/.../xen-api> ps2pdf xenapi.bnc750679.ps \
xenapi.bnc750679.gs-mini-9.04.pdf
Error: /syntaxerror in -file-
..
bax:~/.../xen-api> ls -l xenapi.bnc750679.gs-mini-9.04.pdf
.. abuild abuild 5954 ... xenapi.bnc750679.gs-mini-9.04.pdf
-------------------------------------------------------------------------
On my workstations it works as normal user.
But it works as user abuild on bax for other PS files:
-------------------------------------------------------------------------
bax:~/.../xen-api> ps2pdf \
/usr/share/ghostscript/9.04/examples/colorcir.ps colorcir.pdf
bax:~/.../xen-api> ps2pdf \
/usr/share/ghostscript/9.04/examples/tiger.eps tiger.pdf
bax:~/.../xen-api>
-------------------------------------------------------------------------
I.e. there is something special in the build system and
in xenapi.ps that lets it fail in this particular case.
Currently I have no idea how to further debug it.
From my current point of view the root cause it not
in Ghostscript but more likely in whatever special
restrictions in the build system and in whatever
special stuff in xenapi.ps.
At least for now I close the issue as "worksforme" which means
that it works in general - except the special case here.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.