Opened 4 years ago

Last modified 4 years ago

#41610 new defect

portmidi @217 Can't find jni.h even though it exists

Reported by: ray.degennaro@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: ryandesign (Ryan Schmidt)
Port: portmidi

Description

Hours-old MacPorts install with up-to-date Xcode 5 on up-to-date Mavericks (10.9) and portmidi will not compile either stand-alone, or as a dependent of frescobaldi. The key error seems to be:

In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_java/pmjni/pmjni.c:3:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_java/pmjni/jportmidi_JportMidiApi.h:2:10: fatal error: 'jni.h' file not found

jni.h exists:

> /usr/libexec/java_home
/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home
> ls /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/include
classfile_constants.h         jawt.h                   jni.h             jvmticmlr.h
darwin                        jdwpTransport.h          jvmti.h

The full 'port -v' output:

> sudo port -v install portmidi
--->  Computing dependencies for portmidi.
--->  Building portmidi
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/opt/local/bin/cmake -H/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi --check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_common/CMakeFiles/pmjni.dir/build.make pm_common/CMakeFiles/pmjni.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_common/CMakeFiles/portmidi-static.dir/build.make pm_common/CMakeFiles/portmidi-static.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_dylib/CMakeFiles/portmidi-dynamic.dir/build.make pm_dylib/CMakeFiles/portmidi-dynamic.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common/CMakeFiles/pmjni.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common/CMakeFiles/portmidi-static.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_dylib/CMakeFiles/portmidi-dynamic.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_dylib/CMakeFiles/portmidi-dynamic.dir/build.make pm_dylib/CMakeFiles/portmidi-dynamic.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_common/CMakeFiles/pmjni.dir/build.make pm_common/CMakeFiles/pmjni.dir/build
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_common/CMakeFiles/portmidi-static.dir/build.make pm_common/CMakeFiles/portmidi-static.dir/build
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_dylib/CMakeFiles/portmidi-dynamic.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles 13
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  14 15 16 17 18 19 20
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_common/CMakeFiles/portmidi-static.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  21 22 23 24 25 26 27
[ 13%] [ 26%] [ 50%] Built target portmidi-dynamic
Built target portmidi-static
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/latency.dir/build.make pm_test/CMakeFiles/latency.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/midiclock.dir/build.make pm_test/CMakeFiles/midiclock.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/midithread.dir/build.make pm_test/CMakeFiles/midithread.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/midithru.dir/build.make pm_test/CMakeFiles/midithru.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/mm.dir/build.make pm_test/CMakeFiles/mm.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/qtest.dir/build.make pm_test/CMakeFiles/qtest.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/sysex.dir/build.make pm_test/CMakeFiles/sysex.dir/depend
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/midiclock.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/latency.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/midithread.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/midithru.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/mm.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/qtest.dir/DependInfo.cmake --color=
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_test/CMakeFiles/sysex.dir/DependInfo.cmake --color=
Building C object pm_common/CMakeFiles/pmjni.dir/__/pm_java/pmjni/pmjni.c.o
cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common && /usr/bin/clang  -Dpmjni_EXPORTS -pipe -Os -I/opt/local/include -arch x86_64  -DNDEBUG  -arch x86_64 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_common -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/porttime -I//Developer/Headers/FlatCarbon -I//System/Library/Frameworks/JavaVM.framework/Headers    -o CMakeFiles/pmjni.dir/__/pm_java/pmjni/pmjni.c.o   -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_java/pmjni/pmjni.c
In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_java/pmjni/pmjni.c:3:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/pm_java/pmjni/jportmidi_JportMidiApi.h:2:10: fatal error: 'jni.h' file not found
#include <jni.h>
         ^
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/sysex.dir/build.make pm_test/CMakeFiles/sysex.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/qtest.dir/build.make pm_test/CMakeFiles/qtest.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/mm.dir/build.make pm_test/CMakeFiles/mm.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/midithru.dir/build.make pm_test/CMakeFiles/midithru.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/midithread.dir/build.make pm_test/CMakeFiles/midithread.dir/build
1 error generated.
make[2]: *** [pm_common/CMakeFiles/pmjni.dir/__/pm_java/pmjni/pmjni.c.o] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/midiclock.dir/build.make pm_test/CMakeFiles/midiclock.dir/build
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f pm_test/CMakeFiles/latency.dir/build.make pm_test/CMakeFiles/latency.dir/build
make[1]: *** [pm_common/CMakeFiles/pmjni.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/mm.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/midithru.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/sysex.dir/build'.
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/qtest.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/latency.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/midithread.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  4
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make[2]: Nothing to be done for `pm_test/CMakeFiles/midiclock.dir/build'.
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  1
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  2
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  3
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  5
/opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  28
[ 53%] /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi/CMakeFiles  29
[ 56%] [ 60%] [ 63%] Built target latency
[ 66%] Built target midithru
Built target midiclock
[ 70%] Built target midithread
[ 73%] Built target mm
Built target qtest
Built target sysex
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/work/portmidi" && /usr/bin/make -j8 -w all 
Exit code: 2
Error: org.macports.build for port portmidi returned: command execution failed
Warning: targets not executed for portmidi: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Please see the log file for port portmidi for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_portmidi/portmidi/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port portmidi failed

Attachments (1)

portmidi@217_1 Build.20131201.log (46.3 KB) - added by ray.degennaro@… 4 years ago.

Download all attachments as: .zip

Change History (4)

comment:1 Changed 4 years ago by ryandesign (Ryan Schmidt)

  • Cc ryandesign@… added; ryandesign removed
  • Keywords mavericks added
  • Port portmidi added

This was not a clean build. Please clean and try again and attach (not paste) the new main.log file if it fails again (or let us know if it succeeds).

The Cc field requires full email addresses. However, I am not the maintainer of portmidi (there is none at this time) and I don't know how to fix the problem. The port builds fine for me on Mavericks. My /Library/Java/JavaVirtualMachines directory is empty. I do however have /System/Library/Frameworks/JavaVM.framework/Versions/A/Headers/jni.h. How did you install java?

comment:2 follow-up: Changed 4 years ago by ray.degennaro@…

The build failed the first time I tried, so closed all of my open terminal sessions, reinstalled Java 6 SE from Apple (it looks like the SDK is not included) and then re-installed Java 7 and the 1.7 SDK, both from Oracle. Then I opened a new terminal session, checked 'java_home' and the 'include' directory, ran

sudo port clean --all installed
sudo port clean --all portmidi
sudo port -v selfupdate
sudo port -v upgrade outdated
sudo port -v install portmidi

before I reported the error. I just ran the sequence again and this time "upgrade outdated" downloaded a number of files and re-bootstrapped 'cmake' and pulled down new code for 'popler'. 'sudo port -v install portmidi' fails with the same error. I'll attach the latest log. Can I reply and attach at the same time? It looks like attaching kills the reply I started.

Ray

Last edited 4 years ago by ray.degennaro@… (previous) (diff)

Changed 4 years ago by ray.degennaro@…

comment:3 in reply to: ↑ 2 Changed 4 years ago by larryv (Lawrence Velázquez)

Replying to ray.degennaro@…:

I'll attach the latest log. Can I reply and attach at the same time? It looks like attaching kills the reply I started.

No, you can’t do both at once. Attach files before or after composing comments.

Note: See TracTickets for help on using tickets.