[MacPorts] #26947: subversion-javahlbindings does not build with newest 10.6 Java Developer Package

MacPorts noreply at macports.org
Fri Oct 22 13:18:13 PDT 2010


#26947: subversion-javahlbindings does not build with newest 10.6 Java Developer
Package
--------------------------------+-------------------------------------------
 Reporter:  akehurst@…          |       Owner:  dluke@…                  
     Type:  defect              |      Status:  new                      
 Priority:  Normal              |   Milestone:                           
Component:  ports               |     Version:  1.9.1                    
 Keywords:                      |        Port:  subversion-javahlbindings
--------------------------------+-------------------------------------------

Comment(by akehurst@…):

 Yes, I've installed both. The Java Update came through the Software Update
 system, and I went and downloaded the Java Developer Package Update 3
 (javadeveloper_10.6_10m3261.dmg, MD5=8013e1d4f7d85b80b8929a0b0ce6be4e).

 Then, I rebooted my machine to make sure I had a good starting point.

 As I wanted to fully repro this problem I went ahead and removed all my
 installed ports and tried to build from scratch. I'm using Macports 1.9.1

 I issued this command:
 46
 sudo port -v install subversion-javahlbindings

 It compiles a few of the dependencies, and now it's hanging up in building
 db46:


 --->  Building db46
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -I. -I../dist/..
 -I/opt/local/include -pipe -O2 -arch x86_64  -fno-strict-aliasing
 ../dist/../libdb_java/db_java_wrap.c
  /usr/bin/gcc-4.2 -c -I. -I../dist/.. -I/opt/local/include -pipe -O2 -arch
 x86_64 -fno-strict-aliasing ../dist/../libdb_java/db_java_wrap.c  -fno-
 common -DPIC -o .libs/db_java_wrap.o
 /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.2 -c -pipe -O2 -arch
 x86_64  -I../dist/.. -I/opt/local/include
 ../dist/../db_dump185/db_dump185.c
 ../dist/../libdb_java/db_java_wrap.c:123:17: error: jni.h: No such file or
 directory
 ../dist/../libdb_java/db_java_wrap.c:147: error: expected ')' before '*'
 token

 [ SNIP ]

 ../dist/../libdb_java/db_java_wrap.c:10071: error: expected '=', ',', ';',
 'asm' or '__attribute__' before 'void'
 make: *** [db_java_wrap.lo] Error 1
 make: *** Waiting for unfinished jobs....
 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: Target org.macports.build returned: shell command failed
 Warning: the following items did not execute (for db46):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 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: The following dependencies failed to build: apr-util db46 expat
 libiconv gperf sqlite3 ncurses ncursesw readline cyrus-sasl2 openssl zlib
 gettext junit hamcrest-core apache-ant neon serf subversion
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>

-- 
Ticket URL: <https://trac.macports.org/ticket/26947#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list