Opened 8 years ago

Closed 8 years ago

#7563 closed bug (fixed)

Build fails on Mac OS X 10.6

Reported by: jscipione Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I got a build error on build #41705 on Mac OS X involving a missing sed -r option. Mac OS X comes with bsd sed which doesn't have the -r option. Apparently FreeBSD implements the -r option in its sed command so that is why this went unnoticed thus far. Build error attached.

Attachments (1)

Haiku_build_41705_error.txt (1.3 KB) - added by jscipione 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by jscipione

Attachment: Haiku_build_41705_error.txt added

comment:1 Changed 8 years ago by bonefish

I don't use Mac OS, but there are already a few tools for which "darwin ports" have to be installed. Isn't there some GNU sed port, too?

comment:2 in reply to:  1 Changed 8 years ago by jscipione

Replying to bonefish:

I don't use Mac OS, but there are already a few tools for which "darwin ports" have to be installed. Isn't there some GNU sed port, too?

There are a few including gnuregex, gawk, and yasm. However those don't come with they system by default so there is less of a problem there. There is a darwin port of gsed which can be installed but unless you put in the right alias in your ~.bash_profile you will use the default sed that comes with Mac OS X so this is more of a problem. I ended up installing gnused from source which allowed me to build but that is not a great general solution.

comment:3 Changed 8 years ago by mmlr

Resolution: fixed
Status: newclosed

Fixed in hrev41719.

Note: See TracTickets for help on using tickets.