#19894 closed defect (fixed)
exempi-2.1.0 Fails to build on Mac OS X 10.4.11
Reported by: | aetherknight@… | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | Cc: | ||
Port: | exempi |
Description
Building exempi as part of a sudo port upgrade evince
results in:
---> Fetching exempi ---> Attempting to fetch exempi-2.1.0.tar.gz from http://libopenraw.freedesktop.org/download/ ---> Verifying checksum(s) for exempi ---> Extracting exempi ---> Applying patches to exempi ---> Configuring exempi ---> Building exempi Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_exempi/work/exempi-2.1.0" && nice -n 10 make all " returned error 2 Command output: libtool: compile: ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I/opt/local/include -I/Developer/Headers/FlatCarbon -pipe -O2 -MT MD5.lo -MD -MP -MF .deps/MD5.Tpo -c MD5.cpp -o MD5.o >/dev/null 2>&1 mv -f .deps/MD5.Tpo .deps/MD5.Plo /bin/sh ../../libtool --tag=CXX --mode=link ccache /usr/bin/g++-4.0 -pipe -O2 -L/opt/local/lib -framework CoreServices -framework QuickTime -o libmd5.la MD5.lo libtool: link: ar cru .libs/libmd5.a .libs/MD5.o libtool: link: ranlib .libs/libmd5.a libtool: link: ( cd ".libs" && rm -f "libmd5.la" && ln -s "../libmd5.la" "libmd5.la" ) make[2]: Nothing to be done for `all-am'. Making all in source Making all in common /bin/sh ../../libtool --tag=CXX --mode=compile ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT UnicodeConversions.lo -MD -MP -MF .deps/UnicodeConversions.Tpo -c -o UnicodeConversions.lo UnicodeConversions.cpp libtool: compile: ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT UnicodeConversions.lo -MD -MP -MF .deps/UnicodeConversions.Tpo -c UnicodeConversions.cpp -fno-common -DPIC -o .libs/UnicodeConversions.o libtool: compile: ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT UnicodeConversions.lo -MD -MP -MF .deps/UnicodeConversions.Tpo -c UnicodeConversions.cpp -o UnicodeConversions.o >/dev/null 2>&1 mv -f .deps/UnicodeConversions.Tpo .deps/UnicodeConversions.Plo /bin/sh ../../libtool --tag=CXX --mode=compile ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT XML_Node.lo -MD -MP -MF .deps/XML_Node.Tpo -c -o XML_Node.lo XML_Node.cpp libtool: compile: ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT XML_Node.lo -MD -MP -MF .deps/XML_Node.Tpo -c XML_Node.cpp -fno-common -DPIC -o .libs/XML_Node.o libtool: compile: ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT XML_Node.lo -MD -MP -MF .deps/XML_Node.Tpo -c XML_Node.cpp -o XML_Node.o >/dev/null 2>&1 mv -f .deps/XML_Node.Tpo .deps/XML_Node.Plo /bin/sh ../../libtool --tag=CXX --mode=compile ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT LargeFileAccess.lo -MD -MP -MF .deps/LargeFileAccess.Tpo -c -o LargeFileAccess.lo LargeFileAccess.cpp libtool: compile: ccache /usr/bin/g++-4.0 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"exempi\" -DVERSION=\"2.1.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DCHECKED_ENDIANNESS=1 -DICONV_CONST=const -I. -I../../public/include -I../../public/include/client-glue -DMAC_ENV=1 -DXMP_IMPL=1 -DXMP_ClientBuild=0 -D_FILE_OFFSET_BITS=64 -DHAVE_EXPAT_CONFIG_H=1 -DXML_STATIC=1 -I/opt/local/include -I/Developer/Headers/FlatCarbon -Wno-multichar -Wno-implicit -Wno-ctor-dtor-privacy -funsigned-char -fexceptions -pipe -O2 -MT LargeFileAccess.lo -MD -MP -MF .deps/LargeFileAccess.Tpo -c LargeFileAccess.cpp -fno-common -DPIC -o .libs/LargeFileAccess.o LargeFileAccess.cpp: In function 'void* LFA_Open(const char*, char)': LargeFileAccess.cpp:40: error: 'FSIORefNum' was not declared in this scope LargeFileAccess.cpp:40: error: expected `;' before 'refNum' LargeFileAccess.cpp:48: error: 'refNum' was not declared in this scope LargeFileAccess.cpp: In function 'void* LFA_OpenRsrc(const char*, char)': LargeFileAccess.cpp:101: error: 'FSIORefNum' was not declared in this scope LargeFileAccess.cpp:101: error: expected `;' before 'refNum' LargeFileAccess.cpp:109: error: 'refNum' was not declared in this scope make[2]: *** [LargeFileAccess.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive] Error 1 ...
The patch patch-source__common__LargeFileAccess.cpp
that was introduced in [51784] replaced a few SInt16
's with FSIORefNum
, which appears to require Mac OS X 10.5 (based on a quick google search finding the discussion here: http://lists.apple.com/archives/Carbon-dev/2008/May/msg00432.html)
Perhaps the patch could provide some preprocessor statements to make the declaration change based on which Mac OS X SDK is used on the compiling system? I would offer an updated patch, but I do not have the time to look into the matter properly.
Change History (5)
comment:1 Changed 15 years ago by aetherknight@…
comment:2 Changed 15 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to devans@… |
---|
comment:3 Changed 15 years ago by tobypeterson
Patch is needed to compile in 64-bit. Oh well, I'm sure this won't be the first hack we have to add to make ports keep limping along on Tiger... sigh
comment:4 Changed 15 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | new → closed |
untested fix committed, r52114
Alternatively, I would think that variants in the Portfile could deal with this.