Bug 23597

Summary: urifind has wrong path to perl executable
Product: Mageia Reporter: Ian McDougall <i>
Component: RPM PackagesAssignee: QA Team <qa-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: andrewsfarm, herman.viaene, marja11, shlomif, sysadmin-bugs, tmb
Version: 6Keywords: advisory, validated_update
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard: MGA6-64-OK
Source RPM: perl-URI-Find-20140709.0.0-6.mga6.src.rpm CVE:
Status comment:

Description Ian McDougall 2018-09-21 18:14:49 CEST
Description of problem:
the command line tool "urifind" fails with:
bash: /bin/urifind: /usr/local/bin/perl: bad interpreter: No such file or directory
I put a symlink where it's looking and it seems to run now.

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


How reproducible:


Steps to Reproduce:
1. invoke urifind at the command line. e.g "urifind -h"
Comment 1 Marja Van Waes 2018-09-22 09:13:14 CEST
CC'ing registered maintainer, assigning to Perl maintainers

Assignee: bugsquad => perl
CC: (none) => marja11, shlomif

Comment 2 Jani Välimaa 2018-10-02 19:26:34 CEST
Should be fixed in perl-URI-Find-20140709.0.0-6.1.mga6 in core/updates_testing. Please test.

Assignee: perl => qa-bugs

Comment 3 Herman Viaene 2018-10-04 19:56:18 CEST
MGA6-64 Plasma on Lenovo B50
No installation issues.
At CLI:
$ urifind -h
urifind - find URIs in a document and dump them to STDOUT.

    urifind [OPTIONS] file1 [file2[, file3[, ...]]]

Options:

    -s          Sort results.
    -r          Reverse sort results (implies -s).
    -u          Return unique results only.
    -n          Don't include filename in output.
    -p          Include filename in output (0 by default, but 1 if
                multiple files are included on the command line).
    -P $re      Print only lines matching regex '$re' 
                (may be specified multiple times).
    -S $scheme  Only this scheme (may be specified multiple times).
    -h          This help screen.
    -v          Display version and exit.
    -d          Dump compiled regexes and continue.
    -D          Dump compiled regexes and exit.

$ urifind -v
urifind v.20140709.00

$ cd Documenten/
this contains an old webkit trace file

$ urifind -s *
Use of uninitialized value in substitution (s///) at /usr/lib/perl5/vendor_perl/5.22.3/URI/Find.pm line 137.
webkit2.txt: file:///home/tester6/Documenten
webkit2.txt: file:///home/tester6/Documenten
webkit2.txt: http://ww
webkit2.txt: http://ww
webkit2.txt: http://ww
webkit2.txt: http://www.w3.org/20
webkit2.txt: http://www.w3.org/20
webkit2.txt: http://www.w3.org/20
webkit2.txt: http://www.w3.org/20
and a lot more.

So seems OK.

CC: (none) => herman.viaene
Whiteboard: (none) => MGA6-64-OK

Comment 4 Thomas Andrews 2018-10-17 22:55:07 CEST
Good enough for me. Validating.

Keywords: (none) => validated_update
CC: (none) => andrewsfarm, sysadmin-bugs

Thomas Backlund 2018-10-19 18:56:51 CEST

CC: (none) => tmb
Keywords: (none) => advisory

Comment 5 Mageia Robot 2018-10-19 20:01:46 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGAA-2018-0162.html

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