Opened 16 years ago

Closed 16 years ago

#3863 closed defect (fixed)

JamVM fails to build under MacOS 10.4

Reported by: gabrielesvelto (Gabriele Svelto) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

JamVM fails to build under MacOS 10.4.1 with the following error:

Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_lang_jamvm/work/jamvm-1.3.0" && make all" returned error 2 Command output: excep.c:251: warning: pointer targets in passing argument 1 of 'createString' differ in signedness if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT execute.o -MD -MP -MF ".deps/execute.Tpo" -c -o execute.o execute.c; \ then mv -f ".deps/execute.Tpo" ".deps/execute.Po"; else rm -f ".deps/execute.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT hash.o -MD -MP -MF ".deps/hash.Tpo" -c -o hash.o hash.c; \ then mv -f ".deps/hash.Tpo" ".deps/hash.Po"; else rm -f ".deps/hash.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT interp.o -MD -MP -MF ".deps/interp.Tpo" -c -o interp.o interp.c; \ then mv -f ".deps/interp.Tpo" ".deps/interp.Po"; else rm -f ".deps/interp.Tpo"; exit 1; fi interp.c: In function 'executeJava': interp.c:2188: warning: pointer targets in passing argument 3 of 'allocMultiArray' differ in signedness if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT jam.o -MD -MP -MF ".deps/jam.Tpo" -c -o jam.o jam.c; \ then mv -f ".deps/jam.Tpo" ".deps/jam.Po"; else rm -f ".deps/jam.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT jni.o -MD -MP -MF ".deps/jni.Tpo" -c -o jni.o jni.c; \ then mv -f ".deps/jni.Tpo" ".deps/jni.Po"; else rm -f ".deps/jni.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT lock.o -MD -MP -MF ".deps/lock.Tpo" -c -o lock.o lock.c; \ then mv -f ".deps/lock.Tpo" ".deps/lock.Po"; else rm -f ".deps/lock.Tpo"; exit 1; fi if gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"jamvm\" -DVERSION=\"1.3.0\" -DTHREADED=1 -DDIRECT=1 -DUSE_CACHE=1 -DPREFETCH=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBDL=1 -DHAVE_LIBM=1 -DHAVE_LIBZ=1 -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 -DUSE_ZIP=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_STRTOL=1 -DHAVE_SETLOCALE=1 -DHAVE_LC_MESSAGES=1 -I. -I. -DINSTALL_DIR=\"/opt/local\" -DCLASSPATH_INSTALL_DIR=\"/opt/local/share/java\" -g -O2 -MT natives.o -MD -MP -MF ".deps/natives.Tpo" -c -o natives.o natives.c; \ then mv -f ".deps/natives.Tpo" ".deps/natives.Po"; else rm -f ".deps/natives.Tpo"; exit 1; fi natives.c:63: error: conflicting types for 'wait' /usr/include/sys/wait.h:241: error: previous declaration of 'wait' was here natives.c: In function 'getName': natives.c:309: warning: pointer targets in passing argument 1 of 'slash2dots' differ in signedness natives.c: In function 'getClassContext': natives.c:536: warning: pointer targets in initialization differ in signedness natives.c: In function 'getStack': natives.c:882: warning: pointer targets in initialization differ in signedness natives.c:883: warning: pointer targets in initialization differ in signedness natives.c:891: warning: pointer targets in passing argument 1 of 'createString' differ in signedness make[2]: * [natives.o] Error 1 make[1]: * [all-recursive] Error 1 make: * [all-recursive] Error 1

Change History (1)

comment:1 Changed 16 years ago by mww@…

Resolution: fixed
Status: newclosed

just updated to version 1.3.1 which fixes this bug;

Note: See TracTickets for help on using tickets.