[MacPorts] #20566: javascript-lint port failed to build
#20566: javascript-lint port failed to build --------------------------------+------------------------------------------- Reporter: conradwt@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: javascript-lint --------------------------------+------------------------------------------- The javascript-lint port failed to build on Snow Leopard. Here's the details about my environment: $ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a Developer Information: Version: 3.2 (10A421) Location: /Developer Applications: Xcode: 3.2 (1610) Interface Builder: 3.2 (732) Instruments: 2.0 (1094) Dashcode: 3.0 (328) SDKs: Mac OS X: 10.5: (9J61) 10.6: (10A421) iPhone OS: 2.2.1: (5H11) 3.0: (7A341) 3.1: (7C116a) iPhone Simulator: 3.0: (7A341) 3.1: (7C116a) {{{ $ sudo port install javascript-lint Password: ---> Computing dependencies for javascript-lint ---> Fetching javascript-lint ---> Verifying checksum(s) for javascript-lint ---> Extracting javascript-lint ---> Configuring javascript-lint ---> Building javascript-lint Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_lang_javascript-lint/work/jsl-0.3.0/src" && /usr/bin/make -j2 -f Makefile.ref " returned error 2 Command output: a - Darwin_DBG.OBJ/s_expm1.o a - Darwin_DBG.OBJ/s_fabs.o a - Darwin_DBG.OBJ/s_finite.o a - Darwin_DBG.OBJ/s_floor.o a - Darwin_DBG.OBJ/s_frexp.o a - Darwin_DBG.OBJ/s_ilogb.o a - Darwin_DBG.OBJ/s_isnan.o a - Darwin_DBG.OBJ/s_ldexp.o a - Darwin_DBG.OBJ/s_lib_version.o a - Darwin_DBG.OBJ/s_log1p.o a - Darwin_DBG.OBJ/s_logb.o a - Darwin_DBG.OBJ/s_matherr.o a - Darwin_DBG.OBJ/s_modf.o a - Darwin_DBG.OBJ/s_nextafter.o a - Darwin_DBG.OBJ/s_rint.o a - Darwin_DBG.OBJ/s_scalbn.o a - Darwin_DBG.OBJ/s_signgam.o a - Darwin_DBG.OBJ/s_significand.o a - Darwin_DBG.OBJ/s_sin.o a - Darwin_DBG.OBJ/s_tan.o a - Darwin_DBG.OBJ/s_tanh.o ranlib Darwin_DBG.OBJ/libfdm.a /usr/bin/make -f Makefile.ref Darwin_DBG.OBJ/libjs.a Darwin_DBG.OBJ/libjs.so Darwin_DBG.OBJ/jsl Darwin_DBG.OBJ/jsautocfg.h Darwin_DBG.OBJ/jscpucfg Darwin_DBG.OBJ/jscpucfg.o Darwin_DBG.OBJ/jsmathtemp.o cat: ../../dist/Darwin_DBG.OBJ/nspr/Version: No such file or directory make[1]: Circular jscpucfg.h <- Darwin_DBG.OBJ/jsautocfg.h dependency dropped. make[1]: Circular Darwin_DBG.OBJ/jsautocfg.h <- Darwin_DBG.OBJ/jsautocfg.h dependency dropped. make[1]: *** No rule to make target `Darwin_DBG.OBJ/jsmathtemp.o'. Stop. make[1]: *** Waiting for unfinished jobs.... cc -o Darwin_DBG.OBJ/jscpucfg.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 jscpucfg.c make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- Ticket URL: <http://trac.macports.org/ticket/20566> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => rwilcox@… Old description:
The javascript-lint port failed to build on Snow Leopard. Here's the details about my environment:
$ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a
Developer Information:
Version: 3.2 (10A421) Location: /Developer Applications: Xcode: 3.2 (1610) Interface Builder: 3.2 (732) Instruments: 2.0 (1094) Dashcode: 3.0 (328) SDKs: Mac OS X: 10.5: (9J61) 10.6: (10A421) iPhone OS: 2.2.1: (5H11) 3.0: (7A341) 3.1: (7C116a) iPhone Simulator: 3.0: (7A341) 3.1: (7C116a)
{{{
$ sudo port install javascript-lint Password: ---> Computing dependencies for javascript-lint ---> Fetching javascript-lint ---> Verifying checksum(s) for javascript-lint ---> Extracting javascript-lint ---> Configuring javascript-lint ---> Building javascript-lint Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_lang_javascript-lint/work/jsl-0.3.0/src" && /usr/bin/make -j2 -f Makefile.ref " returned error 2 Command output: a - Darwin_DBG.OBJ/s_expm1.o a - Darwin_DBG.OBJ/s_fabs.o a - Darwin_DBG.OBJ/s_finite.o a - Darwin_DBG.OBJ/s_floor.o a - Darwin_DBG.OBJ/s_frexp.o a - Darwin_DBG.OBJ/s_ilogb.o a - Darwin_DBG.OBJ/s_isnan.o a - Darwin_DBG.OBJ/s_ldexp.o a - Darwin_DBG.OBJ/s_lib_version.o a - Darwin_DBG.OBJ/s_log1p.o a - Darwin_DBG.OBJ/s_logb.o a - Darwin_DBG.OBJ/s_matherr.o a - Darwin_DBG.OBJ/s_modf.o a - Darwin_DBG.OBJ/s_nextafter.o a - Darwin_DBG.OBJ/s_rint.o a - Darwin_DBG.OBJ/s_scalbn.o a - Darwin_DBG.OBJ/s_signgam.o a - Darwin_DBG.OBJ/s_significand.o a - Darwin_DBG.OBJ/s_sin.o a - Darwin_DBG.OBJ/s_tan.o a - Darwin_DBG.OBJ/s_tanh.o ranlib Darwin_DBG.OBJ/libfdm.a /usr/bin/make -f Makefile.ref Darwin_DBG.OBJ/libjs.a Darwin_DBG.OBJ/libjs.so Darwin_DBG.OBJ/jsl Darwin_DBG.OBJ/jsautocfg.h Darwin_DBG.OBJ/jscpucfg Darwin_DBG.OBJ/jscpucfg.o Darwin_DBG.OBJ/jsmathtemp.o cat: ../../dist/Darwin_DBG.OBJ/nspr/Version: No such file or directory make[1]: Circular jscpucfg.h <- Darwin_DBG.OBJ/jsautocfg.h dependency dropped. make[1]: Circular Darwin_DBG.OBJ/jsautocfg.h <- Darwin_DBG.OBJ/jsautocfg.h dependency dropped. make[1]: *** No rule to make target `Darwin_DBG.OBJ/jsmathtemp.o'. Stop. make[1]: *** Waiting for unfinished jobs.... cc -o Darwin_DBG.OBJ/jscpucfg.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 jscpucfg.c make: *** [all] Error 2
Error: Status 1 encountered during processing.
}}}
New description: The javascript-lint port failed to build on Snow Leopard. Here's the details about my environment: {{{ $ sw_vers ProductName: Mac OS X ProductVersion: 10.6 BuildVersion: 10A421a }}} Developer Information: {{{ Version: 3.2 (10A421) Location: /Developer Applications: Xcode: 3.2 (1610) Interface Builder: 3.2 (732) Instruments: 2.0 (1094) Dashcode: 3.0 (328) SDKs: Mac OS X: 10.5: (9J61) 10.6: (10A421) iPhone OS: 2.2.1: (5H11) 3.0: (7A341) 3.1: (7C116a) iPhone Simulator: 3.0: (7A341) 3.1: (7C116a) }}} {{{ $ sudo port install javascript-lint Password: ---> Computing dependencies for javascript-lint ---> Fetching javascript-lint ---> Verifying checksum(s) for javascript-lint ---> Extracting javascript-lint ---> Configuring javascript-lint ---> Building javascript-lint Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_lang_javascript-lint/work/jsl-0.3.0/src" && /usr/bin/make -j2 -f Makefile.ref " returned error 2 Command output: a - Darwin_DBG.OBJ/s_expm1.o a - Darwin_DBG.OBJ/s_fabs.o a - Darwin_DBG.OBJ/s_finite.o a - Darwin_DBG.OBJ/s_floor.o a - Darwin_DBG.OBJ/s_frexp.o a - Darwin_DBG.OBJ/s_ilogb.o a - Darwin_DBG.OBJ/s_isnan.o a - Darwin_DBG.OBJ/s_ldexp.o a - Darwin_DBG.OBJ/s_lib_version.o a - Darwin_DBG.OBJ/s_log1p.o a - Darwin_DBG.OBJ/s_logb.o a - Darwin_DBG.OBJ/s_matherr.o a - Darwin_DBG.OBJ/s_modf.o a - Darwin_DBG.OBJ/s_nextafter.o a - Darwin_DBG.OBJ/s_rint.o a - Darwin_DBG.OBJ/s_scalbn.o a - Darwin_DBG.OBJ/s_signgam.o a - Darwin_DBG.OBJ/s_significand.o a - Darwin_DBG.OBJ/s_sin.o a - Darwin_DBG.OBJ/s_tan.o a - Darwin_DBG.OBJ/s_tanh.o ranlib Darwin_DBG.OBJ/libfdm.a /usr/bin/make -f Makefile.ref Darwin_DBG.OBJ/libjs.a Darwin_DBG.OBJ/libjs.so Darwin_DBG.OBJ/jsl Darwin_DBG.OBJ/jsautocfg.h Darwin_DBG.OBJ/jscpucfg Darwin_DBG.OBJ/jscpucfg.o Darwin_DBG.OBJ/jsmathtemp.o cat: ../../dist/Darwin_DBG.OBJ/nspr/Version: No such file or directory make[1]: Circular jscpucfg.h <- Darwin_DBG.OBJ/jsautocfg.h dependency dropped. make[1]: Circular Darwin_DBG.OBJ/jsautocfg.h <- Darwin_DBG.OBJ/jsautocfg.h dependency dropped. make[1]: *** No rule to make target `Darwin_DBG.OBJ/jsmathtemp.o'. Stop. make[1]: *** Waiting for unfinished jobs.... cc -o Darwin_DBG.OBJ/jscpucfg.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 jscpucfg.c make: *** [all] Error 2 Error: Status 1 encountered during processing. }}} -- -- Ticket URL: <http://trac.macports.org/ticket/20566#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 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 }}} -- Ticket URL: <http://trac.macports.org/ticket/20566#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 rwilcox@…): I have a Snow Leopard machine, but it's a 32bit machine, so i can verify that it builds and runs on that env (but not in 64bit) -- Ticket URL: <http://trac.macports.org/ticket/20566#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 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:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 cz@…): Is there a chance to get this fixed? It's laying around for months now. -- Ticket URL: <https://trac.macports.org/ticket/20566#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20566: javascript-lint port failed to build 64-bit --------------------------------+------------------------------------------- Reporter: conradwt@… | Owner: rwilcox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: LP64 | Port: javascript-lint --------------------------------+------------------------------------------- Changes (by jmr@…): * keywords: snowleopard => LP64 -- Ticket URL: <https://trac.macports.org/ticket/20566#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20566: javascript-lint port failed to build 64-bit ---------------------------------+------------------------------------------ Reporter: conradwt@… | Owner: rwilcox@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: LP64 Port: javascript-lint | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r73517 -- Ticket URL: <https://trac.macports.org/ticket/20566#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts