[MacPorts] #26967: db46 fails to build, java problem

MacPorts noreply at macports.org
Sat Oct 23 12:43:48 PDT 2010


#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


More information about the macports-tickets mailing list