Opened 14 years ago

Closed 13 years ago

#26828 closed defect (fixed)

hibernate3 port should be built with java 1.5

Reported by: vulcan_@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: hibernate3

Description (last modified by mf2k (Frank Schima))

i am on a macbook 13" intel core DUO (32 bit only)

Snow Leopard 10.6.4 macports 1.9.1

java -showversion
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02-279-10M3065)
Java HotSpot(TM) Client VM (build 16.3-b01-279, mixed mode)

when i run

port install hibernate3

i get

blah .. blah ..
 /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I. -I../../../../config -I. -I. -I../.. -I./../.. -I../../../../kaffe/kaffevm/jni -I../../../../config -I../../../../config -I../../../../include -I../../../../include -I../../../../include -DINTERPRETER -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_kaffe/work/kaffe-1.1.7/./kaffe/kaffevm -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_kaffe/work/kaffe-1.1.7/./kaffe/kaffevm/intrp -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_kaffe/work/kaffe-1.1.7/./kaffe/kaffevm/systems/unix-pthreads -I../../../../replace -I../../../../config -I../../../../include -I../../../../libraries/javalib/external/classpath/include -I/opt/local/include -L/opt/local/lib -I/opt/local/include/freetype2 -DKAFFE_VMDEBUG -D_REENTRANT -pipe -O2 -fstrict-aliasing -funroll-loops -L/opt/local/lib -arch i386 -Wall -W -Wextra -fsigned-char -MT libkthread_la-signal.lo -MD -MP -MF .deps/libkthread_la-signal.Tpo -c signal.c  -fno-common -DPIC -o .libs/libkthread_la-signal.o
signal.c:61: warning: 'struct sigcontext' declared inside parameter list
signal.c:61: warning: its scope is only this definition or declaration, which is probably not what you want
signal.c: In function 'nullException':
signal.c:77: error: dereferencing pointer to incomplete type
signal.c:61: warning: unused parameter 'code'
signal.c: At top level:
signal.c:429: warning: 'struct sigcontext' declared inside parameter list
signal.c: In function 'stackOverflowDetector':
signal.c:429: warning: unused parameter 'code'
signal.c:429: warning: unused parameter 'sc'
signal.c: In function 'detectStackBoundaries':
signal.c:484: warning: assignment discards qualifiers from pointer target type
make[3]: *** [libkthread_la-signal.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

note the one line

signal.c:77: error: dereferencing pointer to incomplete type

googling for this i find a forum post

Change History (2)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Cc: vulcan_@… removed
Description: modified (diff)
Keywords: hibernate java1.6 removed

The reporter is automatically Cc'ed.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: newclosed

Fixed by updating to 3.6.1.Final in r76428.

Note: See TracTickets for help on using tickets.