Bug 988978
| Summary: | texdoctk is a bad link and texlive-texdoc-bin should require texlive-texdoc to ensure the target files are installed for texdoc and texdoctk symlinks | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Garrett Mitchener <garrett.mitchener> |
| Component: | texlive | Assignee: | Jindrich Novy <novyjindrich> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | novyjindrich, pertusus, sanjay.ankur, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | texlive-2013-3.20131021_r31961.fc20 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-11-10 08:02:50 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
Garrett Mitchener
2013-07-26 20:22:06 UTC
It doesn't appear to install anything at all really: [asinha@ankur ~]$ rpm -ql texlive-texdoc-bin /usr/bin/texdoc /usr/bin/texdoctk /usr/share/doc/texlive-texdoc-bin-svn29741.0 /usr/share/doc/texlive-texdoc-bin-svn29741.0/gpl.txt [asinha@ankur ~]$ lash /usr/bin/texdoc* 0 lrwxrwxrwx. 1 root root 55 Sep 2 11:27 /usr/bin/texdoc -> /usr/share/texlive/texmf-dist/scripts/texdoc/texdoc.tlu 0 lrwxrwxrwx. 1 root root 57 Sep 2 11:27 /usr/bin/texdoctk -> /usr/share/texlive/texmf-dist/scripts/texlive/texdoctk.pl [asinha@ankur ~]$ ls /usr/share/texlive/texmf-dist/scripts/texd texdef/ texdirflatten/ texdoc/ texdoctk/ [asinha@ankur ~]$ ls /usr/share/texlive/texmf-dist/scripts/texdoc/ [asinha@ankur ~]$ ls -lash /usr/share/texlive/texmf-dist/scripts/texdoc/ total 8.0K 4.0K drwxr-xr-x. 2 root root 4.0K Jun 13 03:21 . 4.0K drwxr-xr-x. 93 root root 4.0K Aug 17 13:40 .. [asinha@ankur ~]$ [asinha@ankur ~]$ ls -lash /usr/share/texlive/texmf-dist/scripts/texdoctk/ total 8.0K 4.0K drwxr-xr-x. 2 root root 4.0K Jun 13 03:21 . 4.0K drwxr-xr-x. 93 root root 4.0K Aug 17 13:40 .. [asinha@ankur ~]$ The links point to non existent files. Is this package missing a requires? The texlive-texdoc-bin package needs to require the texlive-texdoc package. This package provides the files that the symlinks point to: [asinha@ankur ~]$ rpm -ql texlive-texdoc /usr/share/doc/texlive-texdoc-svn29764.0 /usr/share/doc/texlive-texdoc-svn29764.0/gpl.txt /usr/share/man/man1/texdoc.1.gz /usr/share/man/man1/texdoctk.1.gz /usr/share/texlive/texmf-dist/scripts/texdoc/Data.meta.lua /usr/share/texlive/texmf-dist/scripts/texdoc/Data.tlpdb.lua /usr/share/texlive/texmf-dist/scripts/texdoc/alias.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/config.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/constants.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/functions.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/main.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/score.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/search.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/texdoc.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/texdoclib.tlu /usr/share/texlive/texmf-dist/scripts/texdoc/view.tlu /usr/share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl /usr/share/texlive/texmf-dist/texdoc/texdoc.cnf /usr/share/texlive/texmf-dist/texdoctk/texdocrc.defaults /usr/share/texlive/texmf-dist/texdoctk/texdoctk.dat [asinha@ankur ~]$ [asinha@ankur ~]$ ls -lash /usr/bin/texdoc* 0 lrwxrwxrwx. 1 root root 55 Sep 2 11:27 /usr/bin/texdoc -> /usr/share/texlive/texmf-dist/scripts/texdoc/texdoc.tlu 0 lrwxrwxrwx. 1 root root 57 Sep 2 11:27 /usr/bin/texdoctk -> /usr/share/texlive/texmf-dist/scripts/texlive/texdoctk.pl [asinha@ankur ~]$ I looked at the spec: texlive-texdoc requires texlive-texdoc-bin, so making texlive-texdoc-bin require texlive-texdoc will cause a cyclic dependency. http://pkgs.fedoraproject.org/cgit/texlive.git/tree/texlive.spec#n51821 Not sure how to resolve this. Drop the 'bin' subpackage? Thanks, Ankur (In reply to Garrett Mitchener from comment #0) > Description of problem: > > texdoctk is a symbolic link to a non-existant perl script. I think the > correct path is /usr/share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl > > Version-Release number of selected component (if applicable): > > texlive-texdoc-bin-svn29741.0-0.1.20130608_r30832.fc19.noarch > texlive-texdoc-doc-svn29764.0-0.1.fc19.noarch Yikes! I missed texdoctk completely. This link is bad and should indeed point to /usr/share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl Updated summary to cover both issues. Another missing requires: The perl script requires perl-Tk to be installed: [asinha@ankur report(master *)]$ /usr/share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl beamer Can't locate Tk.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl line 15. BEGIN failed--compilation aborted at /usr/share/texlive/texmf-dist/scripts/texdoctk/texdoctk.pl line 15. sudo yum install perl-Tk fixes it. Sorry for the sudden flood of comments. Didn't expect to run into successive issues this quickly. Warm regards, Ankur texlive-2013-1.20131014_r31898.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/texlive-2013-1.20131014_r31898.fc20 texlive-2013-1.20131014_r31898.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/texlive-2013-1.20131014_r31898.fc19 Package texlive-2013-1.20131014_r31898.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing texlive-2013-1.20131014_r31898.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-19153/texlive-2013-1.20131014_r31898.fc20 then log in and leave karma (feedback). Still a bad symlink? [asinha@ankur-laptop ~]$ ls -lash /usr/bin/texdoc* 0 lrwxrwxrwx. 1 root root 55 Oct 19 15:50 /usr/bin/texdoc -> /usr/share/texlive/texmf-dist/scripts/texdoc/texdoc.tlu 0 lrwxrwxrwx. 1 root root 57 Oct 19 15:50 /usr/bin/texdoctk -> /usr/share/texlive/texmf-dist/scripts/texlive/texdoctk.pl [asinha@ankur-laptop ~]$ ls /usr/share/texlive/texmf-dist/scripts/texlive allcm.sh dvi2fax.sh fmtutil.sh kpsetool.sh lua test-tlpdb.tlu texconfig.sh texconf.tlu updmap.pl var allneeded.sh dvired.sh fmtutil-sys.sh kpsewhere.sh rungs.tlu texconfig-dialog.sh texconfig-sys.sh texlinks.sh updmap-sys.sh [asinha@ankur-laptop ~]$ Perl requires corrected though. texlive-2013-3.20131021_r31961.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. |