Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#27615 closed defect (fixed)

soprano 2.5.63 does not build without Java headers

Reported by: mrtoftrash@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt), nerdling (Jeremy Lavergne),
Port: soprano

Description (last modified by ryandesign (Ryan Carsten Schmidt))

While installing/compiling kdenlive port halts at soprano.

There is a duplicate ticket here: #27613

I made this new ticket because the previous one had bad Cc addresses. Sorry.

:msg:checksum --->  Extracting soprano
:debug:extract extract phase started at Wed Dec  8 09:01:32 EST 2010
:debug:extract Executing proc-pre-org.macports.extract-extract-0
:debug:extract Executing org.macports.extract (soprano)
:info:extract --->  Extracting soprano-2.5.63.tar.bz2
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/soprano/soprano-2.5.63.tar.bz2'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/soprano/soprano-2.5.63.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing proc-post-org.macports.extract-extract-0
:debug:extract Executing proc-post-org.macports.extract-extract-1
:debug:patch patch phase started at Wed Dec  8 09:01:40 EST 2010
:debug:patch Executing org.macports.patch (soprano)
:msg:patch --->  Configuring soprano
:debug:patch Using compiler 'Mac OS X gcc 4.2'
:debug:configure configure phase started at Wed Dec  8 09:01:40 EST 2010
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Executing proc-pre-org.macports.configure-configure-1
:debug:configure Executing org.macports.configure (soprano)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' PKG_CONFIG_PATH='/opt/local/lib/pkgconfig' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' MOC='/opt/local/bin/moc' FFLAGS='-pipe -O2 -m64' OBJCFLAGS='-pipe -O2 -arch x86_64' QTDIR='/opt/local' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2' QMAKE='/opt/local/bin/qmake'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include  -DQT_LIBRARY_DIR=/opt/local/lib  -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake  -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib  -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DCMAKE_OSX_ARCHITECTURES="x86_64" ../soprano-2.5.63'
:info:configure -- The C compiler identification is GNU
:info:configure -- The CXX compiler identification is GNU
:info:configure -- Checking whether C compiler has -isysroot
:info:configure -- Checking whether C compiler has -isysroot - yes
:info:configure -- Checking whether C compiler supports OSX deployment target flag
:info:configure -- Checking whether C compiler supports OSX deployment target flag - yes
:info:configure -- Check for working C compiler: /usr/bin/gcc-4.2
:info:configure -- Check for working C compiler: /usr/bin/gcc-4.2 -- works
:info:configure -- Detecting C compiler ABI info
:info:configure -- Detecting C compiler ABI info - done
:info:configure -- Checking whether CXX compiler has -isysroot
:info:configure -- Checking whether CXX compiler has -isysroot - yes
:info:configure -- Checking whether CXX compiler supports OSX deployment target flag
:info:configure -- Checking whether CXX compiler supports OSX deployment target flag - yes
:info:configure -- Check for working CXX compiler: /usr/bin/g++-4.2
:info:configure -- Check for working CXX compiler: /usr/bin/g++-4.2 -- works
:info:configure -- Detecting CXX compiler ABI info
:info:configure -- Detecting CXX compiler ABI info - done
:info:configure -- Looking for Q_WS_X11
:info:configure -- Looking for Q_WS_X11 - not found.
:info:configure -- Looking for Q_WS_WIN
:info:configure -- Looking for Q_WS_WIN - not found.
:info:configure -- Looking for Q_WS_QWS
:info:configure -- Looking for Q_WS_QWS - not found.
:info:configure -- Looking for Q_WS_MAC
:info:configure -- Looking for Q_WS_MAC - found
:info:configure -- Looking for QT_MAC_USE_COCOA
:info:configure -- Looking for QT_MAC_USE_COCOA - found
:info:configure -- Found Qt-Version 4.7.1 (using /opt/local/bin/qmake)
:info:configure -- Looking for include files CMAKE_HAVE_PTHREAD_H
:info:configure -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
:info:configure -- Looking for pthread_create in pthreads
:info:configure -- Looking for pthread_create in pthreads - not found
:info:configure -- Looking for pthread_create in pthread
:info:configure -- Looking for pthread_create in pthread - found
:info:configure -- Found Threads: TRUE 
:info:configure -- Found OpenSSL: /opt/local/lib/libssl.dylib;/opt/local/lib/libcrypto.dylib 
:info:configure -- Found Rasqal 0.9.20: libs - /opt/local/lib/librasqal.dylib; includes - /opt/local/include/rasqal
:info:configure -- Found Raptor 1.4.21: libs - /opt/local/lib/libraptor.dylib; includes - /opt/local/include
:info:configure -- Found Redland: /opt/local/bin/redland-config 
:info:configure -- Found CLucene library: /opt/local/lib/libclucene.dylib
:info:configure -- Found CLucene include dir: /opt/local/include
:info:configure -- Found CLucene library dir: /opt/local/lib
:info:configure -- Found CLucene: /opt/local/lib/libclucene.dylib
:info:configure -- Found JNI: -framework JavaVM 
:info:configure CMake Error at CMakeLists.txt:69 (file):
:info:configure   file Internal CMake error when trying to open file:
:info:configure   /System/Library/Frameworks/JavaVM.framework/Headers/jni.h for reading.
:info:configure 
:info:configure 
:info:configure Need JNI version 1.4 or higher for the Sesame2 backend.
:info:configure -- Found iODBC 3.52.7: libs - /opt/local/lib/libiodbc.dylib; includes - /opt/local/include
:info:configure -- Performing Test __SOPRANO_HAVE_GCC_VISIBILITY
:info:configure -- Performing Test __SOPRANO_HAVE_GCC_VISIBILITY - Success
:info:configure -- Performing Test __SOPRANO_HAVE_GCC_INLINE_VISIBILITY
:info:configure -- Performing Test __SOPRANO_HAVE_GCC_INLINE_VISIBILITY - Success
:info:configure -- Looking for raptor_new_iostream_from_handler2
:info:configure -- Looking for raptor_new_iostream_from_handler2 - found
:info:configure -- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE) 
:info:configure ---------------------------------------------------------------------------------------
:info:configure -- Soprano Components that will be built:
:info:configure    * Redland storage backend
:info:configure    * Virtuoso storage backend (Run-time dependency: Virtuoso)
:info:configure    * Raptor RDF parser
:info:configure      (including TriG parser)
:info:configure    * Raptor RDF serializer
:info:configure    * The CLucene-based full-text search index library
:info:configure    * D-Bus server/client support
:info:configure 
:info:configure -- Soprano Components that will NOT be built:
:info:configure    * Sesame2 storage backend (java-based)
:info:configure ---------------------------------------------------------------------------------------
:info:configure -- Configuring incomplete, errors occurred!
:info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/work/build" && cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -Wno-dev -DBUILD_doc=OFF -DBUILD_SHARED_LIBS=ON -DBUNDLE_INSTALL_DIR=/Applications/MacPorts/KDE4 -DKDE_DISTRIBUTION_TEXT="MacPorts/Mac OS X" -DQT_QT_INCLUDE_DIR=/opt/local/include  -DQT_LIBRARY_DIR=/opt/local/lib  -DQT_QMAKE_EXECUTABLE=/opt/local/bin/qmake  -DQT_ZLIB_LIBRARY=/opt/local/lib/libz.dylib  -DQT_PNG_LIBRARY=/opt/local/lib/libpng.dylib -DCMAKE_OSX_ARCHITECTURES="x86_64" ../soprano-2.5.63 " returned error 1
:error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details)
:debug:configure Backtrace: configure failure: shell command failed (see log for details)
    while executing
"$procedure $targetname"
:info:configure Warning: the following items did not execute (for soprano): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Log for soprano is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_soprano/main.log

Change History (10)

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

Description: modified (diff)

comment:2 Changed 14 years ago by nerdling (Jeremy Lavergne)

Good old java issue:

CMake Error at CMakeLists.txt:69 (file):
file Internal CMake error when trying to open file:
/System/Library/Frameworks/JavaVM.framework/Headers/jni.h for reading.

comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:4 Changed 14 years ago by jmroot (Joshua Root)

Cc: mrtoftrash@… removed
Summary: soprano 2.5.63 does not build for kdenlivesoprano 2.5.63 does not build without Java headers

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Port: kdenlive removed

comment:6 Changed 14 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Added error handling in r74251. Instructs user to install java headers.

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Soprano doesn't have a no_java variant so you shouldn't be checking if that is set.

comment:8 Changed 14 years ago by nerdling (Jeremy Lavergne)

What does that variant have to do with this?

comment:9 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

comment:10 Changed 14 years ago by nerdling (Jeremy Lavergne)

Oh, I see what you mean now. I thought JMR was referring to the whole change.

Note: See TracTickets for help on using tickets.