Opened 9 years ago

Closed 9 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 9 years ago.

Download all attachments as: .zip

Change History (4)

by jscipione, 9 years ago

Attachment: Haiku_build_41705_error.txt added

comment:1 by bonefish, 9 years ago

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?

in reply to:  1 comment:2 by jscipione, 9 years ago

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 by mmlr, 9 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev41719.

Note: See TracTickets for help on using tickets.