Bug 1370706

Summary: Parallel shebang is broken in rawhide
Product: [Fedora] Fedora Reporter: Jerry James <loganjerry>
Component: parallelAssignee: Igor Gnatenko <ignatenko>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: ignatenko, packages
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: parallel-20160722-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-09-03 17:37: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:

Description Jerry James 2016-08-27 04:53:54 UTC
Description of problem:
$ parallel
/usr/bin/parallel: line 22: use: command not found
/usr/bin/parallel: line 24: syntax error near unexpected token `('
/usr/bin/parallel: line 24: `use POSIX qw(:sys_wait_h setsid ceil :errno_h);'

The problem is the first line of /usr/bin/parallel:

##!/usr/bin/perl

There should be only one '#'.

Version-Release number of selected component (if applicable):
parallel-20160722-1.fc26.noarch

How reproducible:
Always

Steps to Reproduce:
1. Try to use parallel in any way in Rawhide
2.
3.

Actual results:
The errors shown above are produced. 

Expected results:
Parallel should run successfully.

Additional info:
I can open a separate bug for this if you like, but I would also like to point out that parallel should have "Requires: procps" (or procps-ng) since it invokes the ps command.

Comment 1 Igor Gnatenko 2016-08-30 04:50:51 UTC
Building.

Comment 2 Fedora Update System 2016-08-30 05:08:18 UTC
parallel-20160722-2.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a60c78a499

Comment 3 Fedora Update System 2016-08-31 03:52:13 UTC
parallel-20160722-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-a60c78a499

Comment 4 Fedora Update System 2016-09-03 17:37:10 UTC
parallel-20160722-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.