#26967 closed defect (duplicate)
db46 fails to build, java problem
Reported by: | anders.thorseth@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.9.1 |
Keywords: | Cc: | blair (Blair Zajac), james@… | |
Port: | db46 |
Description
After following the "migration" instruction to 10.6.4 I get the following message when trying to build db46:
---> Computing dependencies for db46 ---> Building db46 Error: Target org.macports.build returned: shell command failed Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log Error: Status 1 encountered during processing.
The end of the log can be seen below
:info:build ../dist/../libdb_java/db_java_wrap.c:10071: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void' :info:build make: *** [db_java_wrap.lo] Error 1 :info:build make: *** Waiting for unfinished jobs.... :info:build /usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -pipe -O2 -arch x86_64 ../dist/../db_codegen/db_codegen.c -fno-common -DPIC -o .libs/db_codegen.o :info:build /usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -pipe -O2 -arch x86_64 ../dist/../db_codegen/db_codegen.c -o db_codegen.o >/dev/null 2>&1 :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/work/db-4.6.21/build_unix" && /usr/bin/make -j2 all " returned error 2 :error:build Target org.macports.build returned: shell command failed :debug:build Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for db46): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for db46 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46/main.log
Attachments (2)
Change History (10)
Changed 14 years ago by anders.thorseth@…
comment:1 Changed 14 years ago by jmroot (Joshua Root)
Cc: | openmaintainer@… removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #26939; please search before filing new tickets.
comment:2 Changed 14 years ago by anders.thorseth@…
Excuse me, but I do not undersand how this is a duplicate. The error message is different and the issue is not solved by installing Java for Mac OS X 10.6 Update 3 Developer Package.
comment:3 Changed 14 years ago by james@…
Resolution: | duplicate |
---|---|
Status: | closed → reopened |
I have same problem and https://svn.macports.org/ticket/26939 solution did not fix it either.
comment:5 Changed 14 years ago by blair (Blair Zajac)
@james, did you retry reinstalling xcode? It would be good to see if that helps.
comment:6 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
The error message is exactly the same as #26939: "jni.h: No such file or directory"
comment:7 Changed 14 years ago by anders.thorseth@…
Remember to change the order of the versions in Java Preferences.app... (system) should be on top. That did it for me anyway.
logfile