Bug 19486

Summary: 6_r0: e2pall mkluatexfontdb pst2pdf splitindex dangling links
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: bruno, joequant, marja11, unruh
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: texlive-texmf-20160523-3.mga6.src.rpm CVE:
Status comment:

Description Bit Twister 2016-09-29 12:48:36 CEST
Description of problem:

The following are the dangling links: 
/usr/bin/e2pall -> ../../usr/share/texmf-dist/scripts/tetex/e2pall.pl 
/usr/bin/mkluatexfontdb -> ../../usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua 
/usr/bin/pst2pdf -> ../../usr/share/texmf-dist/scripts/pst2pdf/pst2pdf 
/usr/bin/splitindex -> ../../usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
7. click up a terminal
8. su - root
9. urpmi symlinks
10. apply all updates, then run
11. symlinks -r / | grep dangling
Comment 1 Bruno Cornec 2016-09-30 09:34:53 CEST
Fixed with latest texlive and texline-texmf update (20160523)

Status: NEW => RESOLVED
CC: (none) => bruno
Resolution: (none) => FIXED

Comment 2 Bit Twister 2016-09-30 11:29:38 CEST
Guessing it needs fixing again.

dangling: 

/usr/bin/mkluatexfontdb -> ../../usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua

/usr/bin/pst2pdf -> ../../usr/share/texmf-dist/scripts/pst2pdf/pst2pdf

/usr/bin/splitindex -> ../../usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl

/usr/bin/e2pall -> ../../usr/share/texmf-dist/scripts/tetex/e2pall.pl

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Source RPM: texlive-texmf-20160523-2.mga6.src.rpm => texlive-texmf-20160523-3.mga6.src.rpm

Comment 3 Thierry Vignaud 2016-09-30 12:50:30 CEST
*** Bug 18730 has been marked as a duplicate of this bug. ***
Comment 4 Marja Van Waes 2016-09-30 17:47:19 CEST
(In reply to Bit Twister from comment #2)
> Guessing it needs fixing again.

confirming for texlive-texmf-20160523-3.mga6.

> 
> dangling: 
> 
> /usr/bin/mkluatexfontdb ->
> ../../usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua

mkluatexfontdb.lua does not exist anywhere here in /usr/share/

> 
> /usr/bin/pst2pdf -> ../../usr/share/texmf-dist/scripts/pst2pdf/pst2pdf

/usr/share/texmf-dist/scripts/pst2pdf/pst2pdf.pl does exist (note the .pl extension)

> 
> /usr/bin/splitindex ->
> ../../usr/share/texmf-dist/scripts/splitindex/perl/splitindex.pl
the directory /usr/share/texmf-dist/scripts/splitindex/perl/ does not exist

However, there's:
/usr/share/texmf-dist/scripts/splitindex/splitindex.pl
> 
> /usr/bin/e2pall -> ../../usr/share/texmf-dist/scripts/tetex/e2pall.pl

the /usr/share/texmf-dist/scripts/tetex/ directory does not exist, either.
However, there's:
/usr/share/texmf-dist/scripts/texlive/e2pall.pl

CC'ing Joseph Wang, who offered on dev ml to help with texlive 

However, assigning to all packagers collectively, since there is no registered maintainer for texlive-texmf

CC: (none) => joequant, marja11
Assignee: bugsquad => pkg-bugs

Comment 5 Bruno Cornec 2016-10-01 02:20:08 CEST
Since the latest version 20160523 I get:
$ sudo symlinks -r / | grep dangling | grep tex
$

So fixed for me now.

Except that this test is NOT sufficient:
ll /usr/bin/mkluatexfontdb
788362 lrwxrwxrwx 1 root root 64 sept. 30 01:48 /usr/bin/mkluatexfontdb -> ../../usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua

blinking in red !!

So let me check that again sorry.
Comment 6 Bruno Cornec 2016-10-01 02:55:17 CEST
Fixed with release -4.
However former links won't disappear magically.
So you need to remove /usr/bin/mkluatexfontdb before install to check it won't get reinstalled.

The 3 others are fixed with update.
I'm pushing that release right now so you can test as well.
Comment 7 Bruno Cornec 2016-10-01 02:57:33 CEST
*** Bug 18088 has been marked as a duplicate of this bug. ***

CC: (none) => unruh

Comment 8 Bit Twister 2016-10-01 06:44:48 CEST
(In reply to Bruno Cornec from comment #5)

> Except that this test is NOT sufficient:
> ll /usr/bin/mkluatexfontdb
> 788362 lrwxrwxrwx 1 root root 64 sept. 30 01:48 /usr/bin/mkluatexfontdb
> ../../usr/share/texmf-dist/scripts/luaotfload/mkluatexfontdb.lua
> blinking in red !!

I have no idea why your
     symlinks -r / | grep dangling
failed. I pasted step 11 and any dangles will show up.

(In reply to Bruno Cornec from comment #6)
> Fixed with release -4.
> However former links won't disappear magically.
> So you need to remove /usr/bin/mkluatexfontdb before install to check it
> won't get reinstalled.

I delete all dangles before updates.

> The 3 others are fixed with update.
> I'm pushing that release right now so you can test as well.

Looks ok as far as no dangles.

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED