[haiku-bugs] [Haiku] #7613: Non standard use of `stat`in BuildFloppyBootImage1

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Mon, 30 May 2011 03:25:15 -0000

#7613: Non standard use of `stat`in BuildFloppyBootImage1
--------------------------+------------------------------
 Reporter:  mmadia        |        Owner:  phoudoin
     Type:  bug           |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 On FreeBSD 8.2, `stat` does not support '-c'.

 When building {{{ jam -q @alpha-cd }}}, the following output is observed

 {{{
 AddSymlinkToContainerCopyFilesScript <FloppyBootImage>system/add-
 ons/kernel/boot/write_overlay
 BuildFloppyBootArchive1 /storage/haiku-releases/r1alpha3/BOM-
 alpha3/output/generated.x86gcc2/haiku-floppyboot.tgz
 Preparing contents of archive /storage/haiku-releases/r1alpha3/BOM-
 alpha3/output/generated.x86gcc2/haiku-floppyboot.tgz ...
 Building archive /storage/haiku-releases/r1alpha3/BOM-
 alpha3/output/generated.x86gcc2/haiku-floppyboot.tgz ...
 BuildFloppyBootImage1 /storage/haiku-releases/r1alpha3/BOM-
 alpha3/output/generated.x86gcc2/haiku-boot-floppy.image
 stat: illegal option -- c
 usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
 [: -gt: unexpected operator
 2880+0 records in
 2880+0 records out
 2949120 bytes transferred in 0.009403 secs (313636396 bytes/sec)
 411+1 records in
 411+1 records out
 210928 bytes transferred in 0.000922 secs (228781007 bytes/sec)
 4+1 records in
 4+1 records out
 1482439 bytes transferred in 0.003263 secs (454318269 bytes/sec)
 BuildHaikuCD1 /storage/haiku-releases/r1alpha3/BOM-
 alpha3/output/generated.x86gcc2/haiku-alpha.iso
 Populating image ...
 Extracting /storage/haiku-releases/r1alpha3/BOM-
 
alpha3/output/haiku/data/system/data/firmware/iprowifi3945/iwlwifi-3945-ucode-15.32.2.9.tgz
 ...
 }}}

 This was introduced in r38945.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7613>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: