Bug 2074197
Summary: | Branch request: texlive-extension for EPEL9 | ||
---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Leon Fauster <leonfauster> |
Component: | texlive-extension | Assignee: | Than Ngo <than> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | epel9 | CC: | adam.winberg, orion, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | texlive-extension-20200406-29.el9 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-09-22 00:38:13 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: | |||
Bug Depends On: | |||
Bug Blocks: | 2041315 |
Description
Leon Fauster
2022-04-11 18:27:53 UTC
(In reply to Leon Fauster from comment #0) > Description of problem: > > Please consider adding texlive-extension to EPEL9. Thank you! > > It helped greatly in EL8! sure, it is on my plan. Please let me know what you want to include in texlive-extension! Thanks Thanks for taking care of it. In particular it would be great having a seamless transition from el8 to el9. So having the equal composition as in el8 would provide such experience. https://src.fedoraproject.org/rpms/texlive-extension/blob/epel8/f/texlive-extension.spec#_71 At least the "German language support", ps2eps, lacheck, chktex and ucharcat would help making some docs. Thanks! I haven't tested the el9 workstation setup right now but I am preparing one. Some "new" missing deps could appear because the distro is stripped more and more. So, upcoming tests could reveal more missing dependencies ... While testing I noticed that texlive-dehyph-9:svn48599-45.fc35.noarch texlive-hyphen-german-9:svn58652-45.fc35.noarch were missing. As the package names imply i used fc35 noarch rpms as workaround. Therefore, if possible, the integration of these hyphenation packages into texlive-extension would be great! Thanks. For python-matplotlib we need: 'tex(chemformula.sty)' and 'tex(sfmath.sty)'. Thanks! FEDORA-EPEL-2022-ea453cf219 has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-ea453cf219 Thanks but I can not find it in the repos. Is it still on the way? # LANG=C yum --enablerepo=epel-testing --enablerepo=epel-next-testing install texlive-chktex Last metadata expiration check: 0:00:11 ago on Thu Jun 9 19:50:17 2022. No match for argument: texlive-chktex Error: Unable to find a match: texlive-chktex It is still on it's way. Next step is "pushed to testing", then you will see it in epel-testing. FEDORA-EPEL-2022-ea453cf219 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-ea453cf219 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. I am taking a first view on it and the first issue might be https://src.fedoraproject.org/rpms/texlive-extension/blob/epel8/f/texlive-extension.spec#_8 versus https://src.fedoraproject.org/rpms/texlive-extension/blob/epel9/f/texlive-extension.spec#_6 so everything is landing in /usr/share/texlive-extension/texmf-dist/ instead /usr/share/texlive/texmf-dist/ ?? Further more https://src.fedoraproject.org/rpms/texlive-extension/blob/epel9/f/texlive-extension.spec#_1060 is a link now. So, every sed in-place substitution in the post section replaces it to a regular file again and the language.dat in the /etc namespace is not updated. --follow-symlinks helps like: sed --follow-symlinks -i '/german.*/d' %{_texdir}/texmf-dist/tex/generic/config/language.dat Following packages texlive-dehyph texlive-hyph-utf8 texlive-hyphen-base texlive-ifplatform texlive-translator texlive-ucharcat They seems to be already in the distribution (repo: appstream). One of them was requested by me. Sorry, for the confusion. Just for a general verification i installed the provided packages (without the overlapping ones) as follows: First added a symlink (as said just to verify): # LANG=C ls -la /usr/share/texlive-extension lrwxrwxrwx. 1 root root 18 Jun 12 16:55 /usr/share/texlive-extension -> /usr/share/texlive and then the package installation via repo=epel-testing. Some test documents compile successfully now. So, to sum up the issues: 1. %{_texdir} wrong 2. language.dat handling as link (provided by the distro package texlive-hyphen-base and seems to be a general issue (post scripts)) 3. exclude packages that are already in EL9 (In reply to Leon Fauster from comment #12) > Just for a general verification i installed the provided packages (without > the overlapping ones) as follows: > > First added a symlink (as said just to verify): > > # LANG=C ls -la /usr/share/texlive-extension > lrwxrwxrwx. 1 root root 18 Jun 12 16:55 /usr/share/texlive-extension -> > /usr/share/texlive > > and then the package installation via repo=epel-testing. > > Some test documents compile successfully now. > > So, to sum up the issues: > > 1. %{_texdir} wrong > 2. language.dat handling as link (provided by the distro package > texlive-hyphen-base and seems to be a general issue (post scripts)) > 3. exclude packages that are already in EL9 Hi Leon, there is new build texlive-extension-20200406-27.el9 which should fix the above issues. Thanks so much for your report *** Bug 2099739 has been marked as a duplicate of this bug. *** FEDORA-EPEL-2022-ea453cf219 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-ea453cf219 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. The new build looks good. The local output of processing documents looks great. About the language.dat handling I see following problem: The texlive-hyphen-base package coming from the distro provides pushd %{buildroot}%{_texdir}/texmf-dist/tex/generic/config/ ln -s ../../../../../../..%{_sysconfdir}/texlive/tex/generic/config/language.dat language.dat and %config(noreplace) %{_sysconfdir}/texlive/tex/generic/config/language.dat so every texlive-hyphen-${LANGUAGE} package with and sed script line will destroy the above linkage. After installation of texlive-hyphen-german (post script with sed): $ diff /usr/share/texlive/texmf-dist/tex/generic/config/language.dat /etc/texlive/tex/generic/config/language.dat 59,61d58 < german loadhyph-de-1901.tex < ngerman loadhyph-de-1996.tex < swissgerman loadhyph-de-ch-1901.tex furthermore the config adaption coming from post scripts and landing in the /usr/share/texlive/ namespace (speak all adaption) will be overwritten if someone for example do a yum reinstall texlive-hyphen-base because only the %{_sysconfdir}/texlive/tex/generic/config/language.dat is tagged has %config(noreplace). A quick look into fedora shows round about 106 of such post scripts lines (so a general problem). A solution could be the usage of "sed --follow-symlinks" or the usage of the path in the %{_sysconfdir} namespace esperanto example: sed --follow-symlinks -i '/esperanto.*/d' %{_texdir}/texmf-dist/tex/generic/config/language.dat or sed -i '/esperanto.*/d' %{_sysconfdir}/texlive/tex/generic/config/language.dat for reproduction - following commands series (output not included): yum reinstall texlive-hyphen-base-20200406-25.el9.noarch ls -la /usr/share/texlive/texmf-dist/tex/generic/config/language.dat /etc/texlive/tex/generic/config/language.dat diff /usr/share/texlive/texmf-dist/tex/generic/config/language.dat /etc/texlive/tex/generic/config/language.dat yum install texlive-hyphen-german --enablerepo=epel-testing ls -la /usr/share/texlive/texmf-dist/tex/generic/config/language.dat /etc/texlive/tex/generic/config/language.dat diff /usr/share/texlive/texmf-dist/tex/generic/config/language.dat /etc/texlive/tex/generic/config/language.dat FEDORA-EPEL-2022-63e9709ca3 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-63e9709ca3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Commet 16: Upstreamed https://bugzilla.redhat.com/show_bug.cgi?id=2126535 FEDORA-EPEL-2022-63e9709ca3 has been pushed to the Fedora EPEL 9 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2022-63e9709ca3 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-EPEL-2022-63e9709ca3 has been pushed to the Fedora EPEL 9 stable repository. If problem still persists, please make note of it in this bug report. |