Bug 1085424

Summary: texlive provides perl(PDF::Reuse)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: texliveAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 20CC: novyjindrich, pertusus, than
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: texlive-2013-12.20140512_r33995.fc21 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-02 13:41:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Petr Pisar 2014-04-08 14:52:27 UTC
texlive provides `perl(PDF::Reuse)' wrongly which prevents from building perl-Catalyst-View-PDF-Reuse-0.04-8.fc21 which needs the Perl module.

$ repoquery --repoid=rawhide --whatprovides 'perl(PDF::Reuse)' --source
texlive-2013-3.20131021_r31961.fc20.src.rpm
perl-PDF-Reuse-0.35-13.fc20.src.rpm

The same problem is in F20.

$ repoquery --list texlive-xetex-3:svn29847.0.9999-3.fc20.noarch |grep Reuse
/usr/share/texlive/texmf-dist/scripts/xetex/perl/lib/PDF/Reuse.pm
/usr/share/texlive/texmf-dist/scripts/xetex/perl/lib/PDF/Reuse/Util.pm

Do you bundle PDF-Reuse <https://admin.fedoraproject.org/pkgdb/acls/name/perl-PDF-Reuse>?

Comment 1 Petr Pisar 2014-05-16 07:19:36 UTC
This was caused by commit:

commit f9db42644abdc781c7c894fe83ee5f58963f74a7
Author: Jindrich Novy <novyjindrich>
Date:   Thu Dec 26 16:40:33 2013 +0100

    Christmas update

 %changelog
+* Thu Dec 26 2013 Jindrich Novy <novyjindrich> - 2013-4-20131226
+- sync with upstream + add BR: libpaper-devel, potrace-devel
+- remove generated files upon update to avoid 'I'm stymified', etc.
+- update co_source - upstream SVN checkout script
+- disable Perl dependencies generation for F19 and older (#1023876)
+- fixes #921805, #952080, #1020941, #1025679, #1045794
+- Merry Christmas!

I've just committed a change into texlive that disables generating perl Provides and Requires on those Provides in F20 and newer.

I just want to note that I edited both texlive.spec and texlive.spec.template because the spec file generator complained on missing files and was not able to generate the spec file.

Comment 2 Petr Pisar 2014-05-16 09:36:21 UTC
The texlive does not build in F21 due to xdvik's configure failing with:

configure:16572: checking for XawInitializeWidgetSet in -lXaw
configure:16597: gcc -o conftest -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -fno-strict-aliasing -Werror=format-security   conftest.c -lXaw -lXmu -lXt  -lSM -lICE -lXi -lXext  -lX11   -lm  >&5
/bin/ld: cannot find -lXi

Comment 3 Petr Pisar 2014-05-16 09:43:34 UTC
The problem is that configure checks for <X11/extensions/XI2.h> and then adds -lXi into LDFLAGS without checking the library is on the system.

The header and the library are provided by to different packages (xorg-x11-proto-devel and libXi-devel).

Comment 4 Fedora Update System 2014-05-16 12:43:31 UTC
texlive-2013-5.20131226_r32488.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/texlive-2013-5.20131226_r32488.fc20

Comment 5 Fedora Update System 2014-05-21 23:25:38 UTC
texlive-2013-5.20131226_r32488.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.