[MacPorts] #35434: octave-devel @3.4.3 build failure in Mac OSX 10.8
MacPorts
noreply at macports.org
Thu Aug 2 13:49:05 PDT 2012
#35434: octave-devel @3.4.3 build failure in Mac OSX 10.8
-----------------------------+----------------------------------------------
Reporter: vic@… | Owner: michaelld@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: mountainlion | Port: octave-devel
-----------------------------+----------------------------------------------
Comment(by benjf5+macports@…):
Replying to [comment:12 onurdomanic@…]:
> Replying to [comment:11 benjf5+macports@…]:
> > Replying to [comment:9 onurdomanic@…]:
> > > I've added the block and the CGDisplayBitsPerPixel error disappears
as you say, but now another error breaks the build:
> > >
> > > {{{
> > > :info:build sed: RE error: illegal byte sequence
> > > }}}
> > >
> > > I've attached the related log file to the ticket #30737.
> >
> > The sed error seems to have come from changes Apple made to their sed;
the fix that I've seen in a few places (and which worked for me building
from Octave's development sources) was to first unset the LANG variable
before building. (Homebrew has run into the same problem, see here:
https://github.com/mxcl/homebrew/pull/13787)
>
> I first tried unsetting LANG, then tried setting it to "C", and lastly
unsetting LC_ALL too, but couldn't get a successful build yet. Still
getting the same error:(
Do you have any of the LC_* variables set? They may contribute to the
problem, if sed decides for some reason to ignore LC_ALL. (Lastly, did you
do a fresh install of Mountain Lion, or was yours an upgrade from Lion?
IIRC, there were some problems with Lion upgrades—Lion used the LC_
variables and Mountain Lion doesn't, but didn't remove them, or something
like that.) Try setting LC_ALL to C and see if that fixes it?
--
Ticket URL: <https://trac.macports.org/ticket/35434#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list