[MacPorts] #20566: javascript-lint port failed to build
MacPorts
noreply at macports.org
Thu Apr 1 17:37:54 PDT 2010
#20566: javascript-lint port failed to build
--------------------------------+-------------------------------------------
Reporter: conradwt@… | Owner: rwilcox@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: snowleopard | Port: javascript-lint
--------------------------------+-------------------------------------------
Comment(by aizat.faiz@…):
Ran into the same problem. So I just applied the change, and can verify
that it works.
Replying to [comment:7 devesas.campos@…]:
> Replying to [comment:3 ryandesign@…]:
> > The first problem is that parallel building is on by default as of
MacPorts 1.8.0 but javascript-lint doesn't seem to like it. I turned it
off in r57177 and the port now builds again on Leopard.
> >
> > The next problem is javascript-lint isn't being friendly with the
64-bit compilation that happens on Snow Leopard, so we're still left with:
> >
> > {{{
> > cc -o Darwin_DBG.OBJ/jsparse.o -c -Wall -Wno-format -g -DXP_UNIX
-DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG
-DDEBUG_root -DEDITLINE -IDarwin_DBG.OBJ jsparse.c
> > jsparse.c: In function 'FunctionDef':
> > jsparse.c:1088: warning: cast to pointer from integer of different
size
> > cc -o Darwin_DBG.OBJ/jsprf.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4
-DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX -DDEBUG
-DDEBUG_root -DEDITLINE -IDarwin_DBG.OBJ jsprf.c
> > jsprf.c: In function 'BuildArgArray':
> > jsprf.c:620: error: incompatible types in assignment
> > make[1]: *** [Darwin_DBG.OBJ/jsprf.o] Error 1
> > make: *** [all] Error 2
> > }}}
>
> Fixed this problem by manually applying the change detailed in this
patch http://github.com/janl/couchdbx-
core/blob/ff47372552d10df00d74cb7989dfed4a19a6040d/patches/js/patch-
jsprf.c (I didn't apply the patch itself, though; not sure if the line
numbers match)
>
> After that, I managed to compile and run (so far) without problems
>
--
Ticket URL: <http://trac.macports.org/ticket/20566#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list