Red Hat Bugzilla – Bug 435694
xelatex produces no output
Last modified: 2013-07-02 19:27:37 EDT
Description of problem:
At the end of what looks like normal processing, I see this:
sh: xdvipdfmx: command not found
no output file is produced.
But at the end it says 'output written to test.pdf', which is a lie.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Are you sure you have dvipdfmx package installed? texlive-xetex should have
btw. dvipdfmx is now to be packaged separately. Please have a look at bug
#433225 for more information.
xdvipdfmx is not the same as dvipdfmx.
I put a version here:
Thanks for packaging xdvipdfmx!
Before you file a review request a few points:
xdvipdfmx.src: E: invalid-spec-name xdvipdfmx-0.3.spec
Please do not version the spec file, name it simply xdvipdfmx.spec
xdvipdfmx.src:14: W: hardcoded-packager-tag Jonathan
AFAIK this tag became obsolete
xdvipdfmx.src:36: W: setup-not-quiet
Please use %setup -q to calm down verbose setup
xdvipdfmx.src:43: W: rpm-buildroot-usage %build rm -rf $RPM_BUILD_ROOT
This belongs to %install phase.
xdvipdfmx.src: E: no-cleaning-of-buildroot %install
As the above.
xdvipdfmx.src: E: no-cleaning-of-buildroot %clean
xdvipdfmx.src: W: no-%clean-section
Here also has to be rm -rf $RPM_BUILD_ROOT in %clean section that has to exist.
xdvipdfmx.src: W: non-standard-group Productivity/Publishing/TeX/Base
Please use Applications/Publishing here instead.
xdvipdfmx.src: W: invalid-license GPL
Valid license tag seems to be GPLv2+
xdvipdfmx.src: W: strange-permission xdvipdfmx-0.3.spec 0600
Better to have 0664 here.
I have an updated version:
I'm stuck on 1 thing:
xdvipdfmx.x86_64: E: explicit-lib-dependency libpng
I have no idea what's causing this. It looks to me that other libs (e.g.,
zlib) are used exactly the same way as libpng. Is it just because the
requires is called 'lib<something>'? That's the package that provides it:
rpm -q --whatprovides libpng
RPM will add the requires automatically via the find-requires script after build
that analyzes every executable in buildroot and add needed Requires. So you
don't need to specify neither libpng nor libz Requires but rather BuildRequire them.
If you want to include xdvipdfmx to Fedora, please follow:
There is needed a review request bug, where we can go on with the review.
I think xelatex works fine with the latest texlive. If not, please reopen.