Bug 23597 - urifind has wrong path to perl executable
Summary: urifind has wrong path to perl executable
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 6
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: MGA6-64-OK
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-21 18:14 CEST by Ian McDougall
Modified: 2018-10-04 19:56 CEST (History)
3 users (show)

See Also:
Source RPM: perl-URI-Find-20140709.0.0-6.mga6.src.rpm
CVE:
Status comment:


Attachments

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

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

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.

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


Note You need to log in before you can comment on or make changes to this bug.