Hi,

With Devel-Trace, I found the issue.

It seems the pidtable expects to match a line with two pids (numbers)
folloed by a mandatory string, but for some reason I only have the pids.
So I made that last part optional, and it seems to do the trick.

Thank you for your help.

--- /usr/local/bin/parallel.bak 2016-05-11 08:51:47.595661351 +0200
+++ /usr/local/bin/parallel     2016-05-11 08:51:56.823522828 +0200
@@ -4103,7 +4103,7 @@
            # must match: 24436 21224 busybox ash
            # must match: 24436 21224 <<empty on MacOSX running cubase>>
            #   or: perl -e 'while($0=" "){}'
-           if(/^\s*(\S+)\s+(\S+)\s+(\S+.*)/
+           if(/^\s*(\S+)\s+(\S+)\s+(\S+.*)?/
               or
               $^O eq "darwin" and /^\s*(\S+)\s+(\S+)\s+()$/) {
                $parent_of{$1} = $2;


On 10 May 2016 at 17:08, Shlomi Fish <shlo...@shlomifish.org> wrote:

> Hi,
>
> On Tue, 10 May 2016 16:28:45 +0200
> Gabriel Ganne <gabriel.ga...@gmail.com> wrote:
>
> > Yes I am.
> >
> > Do tell me if you need me to test anything.
> >
> > Thanks,
> >
>
> I've now set up a CentOS 7.2.x x86-64 VBox VM and built and installed GNU
> parallel and it seems to run fine - tested the --help flag and a sample
> invocation - see the screenshot at:
>
>
> http://www.shlomifish.org/Files/files/images/centos-7.x-gnu-parallel--shlomif.png
>
> Some things you can try to diagnose the problem:
>
> 1. Devel-Trace - https://metacpan.org/search?q=devel%20trace&size=20 -
> you can
> use perl -d:Trace `which parallel` and see what it gives you.
>
> 2. strace.
>
> Regards,
>
>         Shlomi Fish
>
> > On 10 May 2016 at 16:20, Shlomi Fish <shlo...@shlomifish.org> wrote:
> >
> > > Hi Gabriel,
> > >
> > > On Tue, 10 May 2016 14:02:33 +0200
> > > Gabriel Ganne <gabriel.ga...@gmail.com> wrote:
> > >
> > > > Hi,
> > > >
> > > > I am running a redhat7 workstation.
> > > >
> > > > $ cat  /etc/system-release
> > > >
> > >
> > > Thanks for the quick reply. I am going to try to reproduce it on a
> > > CentOS-7-x86_64-Minimal-1511.iso VM (I presume you're using the x86-64
> > > architecture , right?)
> > >
> > >         -- Shlomi
> > >
> > > >
> > > > Red Hat Enterprise Linux Workstation release 7.2 (Maipo)
> > > >
> > > > $ cat /etc/os-release
> > > > NAME="Red Hat Enterprise Linux Workstation"
> > > > VERSION="7.2 (Maipo)"
> > > > ID="rhel"
> > > > ID_LIKE="fedora"
> > > > VERSION_ID="7.2"
> > > > PRETTY_NAME="Red Hat Enterprise Linux Workstation 7.2 (Maipo)"
> > > > ANSI_COLOR="0;31"
> > > > CPE_NAME="cpe:/o:redhat:enterprise_linux:7.2:GA:workstation"
> > > > HOME_URL="https://www.redhat.com/";
> > > > BUG_REPORT_URL="https://bugzilla.redhat.com/";
> > > >
> > > > REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
> > > > REDHAT_BUGZILLA_PRODUCT_VERSION=7.2
> > > > REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
> > > > REDHAT_SUPPORT_PRODUCT_VERSION="7.2"
> > > >
> > > > Regards,
> > > >
> > >
> > >
> > > --
> > > -----------------------------------------------------------------
> > > Shlomi Fish       http://www.shlomifish.org/
> > > “So, who the hell is Qoheleth?” - http://shlom.in/qoheleth
> > >
> > > You gotta go out there, believe in the ball, and throw yourself.
> > >     — The Wise Janitor in
> > > http://en.wikipedia.org/wiki/Not_another_teen_movie
> > >
> > > Please reply to list if it's a mailing list post -
> http://shlom.in/reply .
> > >
> >
> >
> >
>
>
>
> --
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> http://youtu.be/xZLwtc9x4yA - Anime in Real Life!! (Parody)
>
>      <rindolf>  We have a saying: “We survived Pharaoh - we’ll survive
> this.”
>  <sorabji5252>  I suppose it’s all cake after Pharaoh.
>     — Freenode’s #reddit channel
>
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
>



-- 
Gabriel Ganne

Reply via email to