[MacPorts] #20965: exempi @2.1.1 fails to build on snow leopard
MacPorts
noreply at macports.org
Wed Sep 30 15:39:11 PDT 2009
#20965: exempi @2.1.1 fails to build on snow leopard
------------------------------+---------------------------------------------
Reporter: snc@… | Owner: devans@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.99
Keywords: snowleopard | Port: exempi
------------------------------+---------------------------------------------
Comment(by mike.c.wilding@…):
Adding the following build arguments after the config.args in the portfile
resolves the MOV_Handler.cpp compilation error but leaves some make file
dependency problems (see below) which I haven't resolved (yet).
{{{
if { ${os.platform} == "darwin" && ${os.major} > 9 } {
build.args CFLAGS_SYS="-DMACENV -DXMP_64
-l/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers"
}
}}}
Note: Since Carbon framework is supposedly 32 bit only, compiling as an
x86_64 target against the Carbon Framework (as I'm doing above) does not
actually make sense. The exempi library will fail to link would fail
against the Carbon Framework. We would either have to compile exempi
library as i386 (in which case you could not link and other x86_64 ports
against it) or try to link against Cocoa x86_64 framework instead.
{{{
CarbonCore.framework/Headers" " returned error 2
Command output: make[1]: *** [all-recursive] Error 1
Making all in samples
Making all in source
make[2]: *** No rule to make target
`../../source/XMPFiles/libXMPFiles.la', needed by `xmpcoverage'. Stop.
make[2]: *** Waiting for unfinished jobs....
CC -n XXMPScanner.o
CC -n XXMPCoreCoverage.o
XMPCoreCoverage.cpp: In function 'void VerifyNewlines(FILE*, std::string,
const char*)':
XMPCoreCoverage.cpp:362: warning: format '%d' expects type 'int', but
argument 3 has type 'size_t'
XMPCoreCoverage.cpp: In function 'void DoXMPCoreCoverage(FILE*)':
XMPCoreCoverage.cpp:1177: warning: format '%d' expects type 'int', but
argument 3 has type 'long unsigned int'
XMPCoreCoverage.cpp:1182: warning: format '%d' expects type 'int', but
argument 3 has type 'size_t'
XMPCoreCoverage.cpp:1186: warning: format '%d' expects type 'int', but
argument 3 has type 'size_t'
XMPCoreCoverage.cpp:1191: warning: format '%d' expects type 'int', but
argument 3 has type 'size_t'
XMPCoreCoverage.cpp:1197: warning: format '%d' expects type 'int', but
argument 3 has type 'size_t'
XMPCoreCoverage.cpp:1640: warning: format '%d' expects type 'int', but
argument 3 has type 'long int'
XMPCoreCoverage.cpp:1642: warning: format '%d' expects type 'int', but
argument 3 has type 'long int'
XMPCoreCoverage.cpp:1644: warning: format '%d' expects type 'int', but
argument 3 has type 'long int'
XMPCoreCoverage.cpp:1646: warning: format '%d' expects type 'int', but
argument 3 has type 'long int'
XMPCoreCoverage.cpp:1648: warning: format '%d' expects type 'int', but
argument 3 has type 'long int'
XMPCoreCoverage.cpp:1650: warning: format '%X' expects type 'unsigned
int', but argument 3 has type 'long int'
XMPCoreCoverage.cpp:1652: warning: format '%X' expects type 'unsigned
int', but argument 3 has type 'long int'
make[1]: *** [all-recursive] Error 1
Making all in exempi
Making all in tests
make[2]: *** No rule to make target `../source/XMPFiles/libXMPFiles.la',
needed by `libexempi.la'. Stop.
make[2]: *** Waiting for unfinished jobs....
CXX -n Xexempi.o
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macports.org/ticket/20965#comment:26>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list