[MacPorts] #26967: db46 fails to build, java problem
#26967: db46 fails to build, java problem ---------------------------------------+------------------------------------ Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: db46 ---------------------------------------+------------------------------------ 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 }}}
-- Ticket URL: <https://trac.macports.org/ticket/26967> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: duplicate | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Changes (by jmr@…): * status: new => closed * cc: openmaintainer@… (removed) * resolution: => duplicate Comment: Duplicate of #26939; please search before filing new tickets. -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: duplicate | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Changes (by james@…): * status: closed => reopened * resolution: duplicate => Comment: I have same problem and [https://svn.macports.org/ticket/26939] solution did not fix it either. -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Comment(by blair@…): @james, did you retry reinstalling xcode? It would be good to see if that helps. -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: duplicate | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => duplicate Comment: The error message is exactly the same as #26939: "jni.h: No such file or directory" -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: duplicate | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#26967: db46 fails to build, java problem ----------------------------------------+----------------------------------- Reporter: anders.thorseth@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Resolution: duplicate | Keywords: Port: db46 | ----------------------------------------+----------------------------------- Comment(by james@…): Thanks! That did it! -- Ticket URL: <https://trac.macports.org/ticket/26967#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts