Opened 15 years ago

Closed 15 years ago

#22546 closed defect (invalid)

XULRunner Compilation Error on Snow Leopard 10.6.2

Reported by: acgrissom@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: xulrunner

Description (last modified by jmroot (Joshua Root))

For all that can be, I have built the dependencies with the +universal variant. I have the latest version of Macports. I get the following error:

sydney_audio_mac.c: In function 'sa_stream_destroy':
sydney_audio_mac.c:283: warning: implicit declaration of function 'CloseComponent'
make[4]: *** [sydney_audio_mac.o] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [libs_tier_gecko] Error 2
make[1]: *** [tier_gecko] Error 2
make: *** [all] Error 2

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for xulrunner): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (4)

comment:3 Changed 15 years ago by acgrissom@…

I have build the dependencies with +universal when possible. I'm running 10.6.2, and I cannot compile XULRunner.

sydney_audio_mac.c
/usr/bin/gcc-4.2 -o sydney_audio_mac.o -c -fvisibility=hidden -DOSTYPE=\"Darwin10.2.0\" -DOSARCH=Darwin  -I. -I.  -I../../../dist/include   -I../../../dist/include/sydneyaudio -I/opt/local/include/nspr -I/opt/local/include/nss -I/opt/local/include  -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_xulrunner/work/mozilla-1.9.1/dist/sdk/include -I/opt/local/include   -fPIC -I/opt/local/include  -I/opt/local/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -W -Wno-long-long -O2 -arch i386 -fno-strict-aliasing -fpascal-strings -fno-common -I/Developer/Headers/FlatCarbon -pthread -pipe  -DNDEBUG -DTRIMMED -O2  -I/opt/local/include  -I/opt/local/include -include ../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/sydney_audio_mac.pp sydney_audio_mac.c
sydney_audio_mac.c: In function 'sa_stream_open':
sydney_audio_mac.c:182: error: 'ComponentDescription' undeclared (first use in this function)
sydney_audio_mac.c:182: error: (Each undeclared identifier is reported only once
sydney_audio_mac.c:182: error: for each function it appears in.)
sydney_audio_mac.c:182: error: expected ';' before 'desc'
sydney_audio_mac.c:183: error: 'desc' undeclared (first use in this function)
sydney_audio_mac.c:189: error: 'Component' undeclared (first use in this function)
sydney_audio_mac.c:189: error: expected ';' before 'comp'
sydney_audio_mac.c:190: error: 'comp' undeclared (first use in this function)
sydney_audio_mac.c:194: warning: implicit declaration of function 'OpenAComponent'
sydney_audio_mac.c: In function 'sa_stream_destroy':
sydney_audio_mac.c:283: warning: implicit declaration of function 'CloseComponent'
make[4]: *** [sydney_audio_mac.o] Error 1
make[3]: *** [libs] Error 2
make[2]: *** [libs_tier_gecko] Error 2
make[1]: *** [tier_gecko] Error 2
make: *** [all] Error 2

    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for xulrunner): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to jeremyhu@…

comment:5 Changed 15 years ago by jmroot (Joshua Root)

Please make use of our handy preview button. (Deleted badly formatted duplicate comments.)

comment:6 Changed 15 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: invalid
Status: newclosed

xulrunner is not compatible with SnowLeopard. Try xulrunner-devel

Note: See TracTickets for help on using tickets.