Opened 12 years ago

Closed 12 years ago

#34121 closed defect (fixed)

coreutils @8.15 - uptime insane

Reported by: jimnieken@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: coreutils

Description

GNU Coreutils has some strange behavior using uptime. Below is the output from GNU uptime and OSX uptime.

computer:~ jimnieken$ uname -a
Darwin computer 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64 i386 MacBookPro5,4 Darwin
computer:~ jimnieken$ which -a uptime
/opt/local/libexec/gnubin/uptime
/usr/bin/uptime
computer:~ jimnieken$ /opt/local/libexec/gnubin/uptime --version
uptime (GNU coreutils) 8.15
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by Joseph Arceneaux, David MacKenzie, and Kaveh Ghazi.
computer:~ jimnieken$ /opt/local/libexec/gnubin/uptime
 19:49pm  up 4126 days  0:49,  3 users,  load average: 0.39, 0.36, 0.41
computer:~ jimnieken$ /usr/bin/uptime
19:49  up 10 days,  9:32, 3 users, load averages: 0.36 0.36 0.41
computer:~ jimnieken$ 

Can you help with this? Thanks!

Change History (2)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: coreutils added

I'm not sure this is a MacPorts-specific problem, since all MacPorts does is compile and install the upstream source code. You should report the problem to the developers of coreutils, especially since there is no MacPorts maintainer for coreutils.

comment:2 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

I get identical results with with both versions as of coreutils 8.17. Reopen if you still see the problem.

Note: See TracTickets for help on using tickets.