Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 832408

Summary: [Prefix] app-text/texlive-core-2021-r1 installs incorrect symlinks
Product: Gentoo/Alt Reporter: Steven Trogdon <strogdon>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal CC: aballier, sam, strogdon, tex
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: texlive-common-respect-EPREFIX.patch

Description Steven Trogdon 2022-01-31 02:24:17 UTC
The above ebuild installs symlinks that point to files on the host. From the image + EPREFIX folder the ebuild installs

./usr/share/texmf-dist/dvipdfmx/dvipdfmx.cfg -> /etc/texmf/dvipdfmx.d/dvipdfmx.cfg
./usr/share/texmf-dist/web2c/fmtutil-hdr.cnf -> /etc/texmf/web2c.d/fmtutil-hdr.cnf
./usr/share/texmf-dist/web2c/updmap-hdr.cfg -> /etc/texmf/web2c.d/updmap-hdr.cfg

There is either a missing EPREFIX in the links or the links should be made relative. I'm not quite sure from the ebuild exactly where these links are created.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-31 02:33:35 UTC
Created attachment 764015 [details, diff]
texlive-common-respect-EPREFIX.patch

Does this patch to texlive-common.eclass help?
Comment 2 Steven Trogdon 2022-01-31 05:21:24 UTC
(In reply to Sam James from comment #1)
> Created attachment 764015 [details, diff] [details, diff]
> texlive-common-respect-EPREFIX.patch
> 
> Does this patch to texlive-common.eclass help?

Ahh, the eclass. Yes, the patch resolved the issue. Thanks.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-31 05:44:35 UTC

*** This bug has been marked as a duplicate of bug 752189 ***
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-31 05:44:41 UTC
(In reply to Steven Trogdon from comment #2)
> (In reply to Sam James from comment #1)
> > Created attachment 764015 [details, diff] [details, diff] [details, diff]
> > texlive-common-respect-EPREFIX.patch
> > 
> > Does this patch to texlive-common.eclass help?
> 
> Ahh, the eclass. Yes, the patch resolved the issue. Thanks.

Thanks!
Comment 5 Larry the Git Cow gentoo-dev 2022-02-01 00:00:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d673238b37622d80ea52de2aa512c6c50e7fa16

commit 9d673238b37622d80ea52de2aa512c6c50e7fa16
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-31 05:33:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-31 23:59:58 +0000

    texlive-common.eclass: respect EPREFIX in symlink creation
    
    Closes: https://bugs.gentoo.org/832408
    Signed-off-by: Sam James <sam@gentoo.org>

 eclass/texlive-common.eclass | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-02-01 00:02:20 UTC
*** Bug 752189 has been marked as a duplicate of this bug. ***