Opened 9 years ago

Closed 6 years ago

#4571 closed defect (fixed)

prefer 'gstat' over 'stat'

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: base system Version: Trunk
Keywords: stat gstat Cc:


Additional components are needed for successful build on OSX. The native 'stat' command on OSX has a complete different syntax compared to the GNU equivalent.

With the native tool the images will not be build correctly. This size comparison (for which stat is used) will silently(!) fail if you haven't explicitly increased verbosity while compilation.

So we should add 'gstat' detection to the already existing 'gfind' and 'gcp'.

Attachments (1)

prefer_gstat_over_stat.diff (680 bytes) - added by fzwoch 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by fzwoch

comment:1 Changed 9 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r14568

comment:2 Changed 7 years ago by anonymous

  • Resolution fixed deleted
  • Status changed from closed to reopened

gstat is not a universal name for the "gnu stat" version of stat. On one of my systems:


gstat - manual page for Ganglia Status Tool


gstat [OPTIONS]...


The Ganglia Status Client (gstat) connects with a Ganglia Monitoring
Daemon (gmond) and outputs a load-balanced list of hosts

"gstat" is also the name of an open source geostatistical modeling package. If one of these "gstats" are located in /usr/bin, openwrt picks it up and all (heck) breaks loose.

comment:3 Changed 6 years ago by anonymous

Here gstat is "gstat version LI-V2.0.3.12981 Firebird 2.0" (see

comment:4 Changed 6 years ago by nbd

  • Resolution set to fixed
  • Status changed from reopened to closed
  • Version set to Trunk

fixed in r31059

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.