Subject: bug#33718: Syntaxe problem? I can't find the solution :-(

From: Assaf Gordon <[email-masked]>
Date: Fri, 18 Jan 2019 00:22:47 -0700

tags 33718 moreinfo
stop

Hello,

On 2018-12-13 1:54 a.m., Rudy BROSTEAUX wrote:
> Environment: AIX 7.2 TL3 SP1 (on IBM Power Systems)
> Origin of the coreutils RPM used @release 8.30 is perzl.org
> Installed using a yum server.
> 
> ******* /root> /usr/bin/time timeout 2.3 sleep 5
> timeout: warning: timer_create: Invalid argument
> 
> 

From: Bernhard Voelker <[email-masked]>
> 
> No idea.  For an analysis, we need more information:
> timeout version, OS/kernel version, and finally of course a reproducer, i.e., the exact command line you were using.
> 
> timeout works well here:
> 
>    $ /usr/bin/time -f '%e' timeout 2.3 sleep 4.5
>    Command exited with non-zero status 124
>    2.30

I tested coreutils-8.30 built from source on AIX 7.2,
both 64 bit and 32 bit, and both work fine:

   $ file src/timeout
   src/timeout: 64-bit XCOFF executable or object module not stripped
   $ /usr/bin/time ./src/timeout 2.3 sleep 5
   Real   2.31
   User   0.00
   System 0.00

   $ file src/timeout
   src/timeout: executable (RISC System/6000) or object module not stripped
   $ /usr/bin/time ./src/timeout 2.3 sleep 5
   Real   2.30
   User   0.00
   System 0.00

Perhaps it is a problem in the RPM package?

Please try to build from source code and see if you see experience the
issue.

regards,
  - assaf