Bug 435694

Summary: xelatex produces no output
Product: [Fedora] Fedora Reporter: Neal Becker <ndbecker2>
Component: texliveAssignee: Jindrich Novy <jnovy>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pertusus, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-07 06:49:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Neal Becker 2008-03-03 12:15:35 UTC
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):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jindrich Novy 2008-03-04 15:54:52 UTC
Are you sure you have dvipdfmx package installed? texlive-xetex should have
required it.

Comment 2 Jindrich Novy 2008-03-04 15:55:43 UTC
btw. dvipdfmx is now to be packaged separately. Please have a look at bug
#433225 for more information.

Comment 3 Neal Becker 2008-03-04 16:57:50 UTC
xdvipdfmx is not the same as dvipdfmx.

I put a version here:
http://nbecker.dyndns.org:8080/RPM/xdvipdfmx-0.3-1.src.rpm

Comment 4 Jindrich Novy 2008-03-05 13:08:35 UTC
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.


Comment 5 Neal Becker 2008-03-05 13:41:05 UTC
I have an updated version:
http://nbecker.dyndns.org:8080/RPM/xdvipdfmx-0.4-1.src.rpm

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
libpng-1.2.22-1.fc8.x86_64
libpng-1.2.22-1.fc8.i386

Comment 6 Jindrich Novy 2008-03-05 14:01:46 UTC
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.

Comment 7 Jindrich Novy 2008-03-05 14:07:56 UTC
If you want to include xdvipdfmx to Fedora, please follow:

http://fedoraproject.org/wiki/PackageMaintainers/NewPackageProcess

There is needed a review request bug, where we can go on with the review.

Comment 8 Jindrich Novy 2008-03-07 06:49:20 UTC
I think xelatex works fine with the latest texlive. If not, please reopen.