[MacPorts] #26939: db46 build fails: "jni.h: No such file or directory"

MacPorts noreply at macports.org
Sun Oct 24 14:20:30 PDT 2010


#26939: db46 build fails: "jni.h: No such file or directory"
--------------------------+-------------------------------------------------
 Reporter:  rog@…         |       Owner:  blair@…           
     Type:  defect        |      Status:  new               
 Priority:  Normal        |   Milestone:                    
Component:  ports         |     Version:  1.9.1             
 Keywords:                |        Port:  db46              
--------------------------+-------------------------------------------------

Comment(by kum@…):

 Down loaded Java 10.6 Update from Apple, did port selfupdate, clean db46
 but still db46 will not build.

 :info:build ../dist/../libdb_java/db_java_wrap.c:10010: error: expected
 '=', ',', ';', 'asm' or '__attribute__' before 'void'
 :info:build ../dist/../libdb_java/db_java_wrap.c:10046: error: expected
 '=', ',', ';', 'asm' or '__attribute__' before 'void'
 :info:build ../dist/../libdb_java/db_java_wrap.c:10071: error: expected
 '=', ',', ';', 'asm' or '__attribute__' before 'void'
 :info:build env CLASSPATH="./classes" javac -d ./classes
 ../dist/../java/src/com/sleepycat/bind/ByteArrayBinding.java
 ../dist/../java/src/com/sleepycat/bind/EntityBinding.java
 ../dist/../java/src/com/sleepycat/bind/EntryBinding.java
 ../dist/../java/src/com/sleepycat/bind/RecordNumberBinding.java
 ../dist/../java/src/com/sleepycat/bind/serial/ClassCatalog.java
 ../dist/../java/src/com/sleepycat/bind/serial/SerialBase.java
 ../dist/../java/src/com/sleepycat/bind/serial/SerialBinding.java
 ../dist/../java/src/com/sleepycat/bind/serial/SerialInput.java
 ../dist/../java/src/com/sleepycat/bind/serial/SerialOutput.java
 ../dist/../java/src/com/sleepycat/bind/serial/SerialSerialBinding.java
 ../dist/../java/src/com/sleepycat/bind/serial/SerialSerialKeyCreator.java
 ../dist/../java/src/com/sleepycat/bind/serial/StoredClassCatalog.java
 ../dist/../java/src/com/sleepycat/bind/serial/TupleSerialBinding.java
 ../dist/../java/src/com/sleepycat/bind/serial/TupleSerialKeyCreator.java
 ../dist/../java/src/com/sleepycat/bind/serial/TupleSerialMarshalledBinding.java
 ../dist/../java/src/com/sleepycat/bind/serial/TupleSerialMarshalledKeyCreator.java
 ../dist/../java/src/com/sleepycat/bind/tuple/BigIntegerBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/BooleanBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/ByteBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/CharacterBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/DoubleBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/FloatBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/IntegerBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/LongBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/MarshalledTupleEntry.java
 ../dist/../java/src/com/sleepycat/bind/tuple/MarshalledTupleKeyEntity.java
 ../dist/../java/src/com/sleepycat/bind/tuple/ShortBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/SortedDoubleBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/SortedFloatBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/StringBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleBase.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleInput.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleInputBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleMarshalledBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleOutput.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleTupleBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleTupleKeyCreator.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleTupleMarshalledBinding.java
 ../dist/../java/src/com/sleepycat/bind/tuple/TupleTupleMarshalledKeyCreator.java
 ../dist/../java/src/com/sleepycat/collections/BaseIterator.java
 ../dist/../java/src/com/sleepycat/collections/BlockIterator.java
 ../dist/../java/src/com/sleepycat/collections/CurrentTransaction.java
 ../dist/../java/src/com/sleepycat/collections/DataCursor.java
 ../dist/../java/src/com/sleepycat/collections/DataView.java
 ../dist/../java/src/com/sleepycat/collections/MapEntryParameter.java
 ../dist/../java/src/com/sleepycat/collections/MyRangeCursor.java
 ../dist/../java/src/com/sleepycat/collections/PrimaryKeyAssigner.java
 ../dist/../java/src/com/sleepycat/collections/StoredCollection.java
 ../dist/../java/src/com/sleepycat/collections/StoredCollections.java
 ../dist/../java/src/com/sleepycat/collections/StoredContainer.java
 ../dist/../java/src/com/sleepycat/collections/StoredEntrySet.java
 ../dist/../java/src/com/sleepycat/collections/StoredIterator.java
 ../dist/../java/src/com/sleepycat/collections/StoredKeySet.java
 ../dist/../java/src/com/sleepycat/collections/StoredList.java
 ../dist/../java/src/com/sleepycat/collections/StoredMap.java
 ../dist/../java/src/com/sleepycat/collections/StoredMapEntry.java
 ../dist/../java/src/com/sleepycat/collections/StoredSortedEntrySet.java
 ../dist/../java/src/com/sleepycat/collections/StoredSortedKeySet.java
 ../dist/../java/src/com/sleepycat/collections/StoredSortedMap.java
 ../dist/../java/src/com/sleepycat/collections/StoredSortedValueSet.java
 ../dist/../java/src/com/sleepycat/collections/StoredValueSet.java
 ../dist/../java/src/com/sleepycat/collections/TransactionRunner.java
 ../dist/../java/src/com/sleepycat/collections/TransactionWorker.java
 ../dist/../java/src/com/sleepycat/collections/TupleSerialFactory.java
 ../dist/../java/src/com/sleepycat/compat/DbCompat.java
 ../dist/../java/src/com/sleepycat/db/BtreePrefixCalculator.java
 ../dist/../java/src/com/sleepycat/db/BtreeStats.java
 ../dist/../java/src/com/sleepycat/db/CacheFile.java
 ../dist/../java/src/com/sleepycat/db/CacheFilePriority.java
 ../dist/../java/src/com/sleepycat/db/CacheFileStats.java
 ../dist/../java/src/com/sleepycat/db/CacheStats.java
 ../dist/../java/src/com/sleepycat/db/CheckpointConfig.java
 ../dist/../java/src/com/sleepycat/db/CompactConfig.java
 ../dist/../java/src/com/sleepycat/db/CompactStats.java
 ../dist/../java/src/com/sleepycat/db/Cursor.java
 ../dist/../java/src/com/sleepycat/db/CursorConfig.java
 ../dist/../java/src/com/sleepycat/db/Database.java
 ../dist/../java/src/com/sleepycat/db/DatabaseConfig.java
 ../dist/../java/src/com/sleepycat/db/DatabaseEntry.java
 ../dist/../java/src/com/sleepycat/db/DatabaseException.java
 ../dist/../java/src/com/sleepycat/db/DatabaseStats.java
 ../dist/../java/src/com/sleepycat/db/DatabaseType.java
 ../dist/../java/src/com/sleepycat/db/DeadlockException.java
 ../dist/../java/src/com/sleepycat/db/Environment.java
 ../dist/../java/src/com/sleepycat/db/EnvironmentConfig.java
 ../dist/../java/src/com/sleepycat/db/ErrorHandler.java
 ../dist/../java/src/com/sleepycat/db/EventHandler.java
 ../dist/../java/src/com/sleepycat/db/EventHandlerAdapter.java
 ../dist/../java/src/com/sleepycat/db/FeedbackHandler.java
 ../dist/../java/src/com/sleepycat/db/HashStats.java
 ../dist/../java/src/com/sleepycat/db/Hasher.java
 ../dist/../java/src/com/sleepycat/db/JoinConfig.java
 ../dist/../java/src/com/sleepycat/db/JoinCursor.java
 ../dist/../java/src/com/sleepycat/db/KeyRange.java
 ../dist/../java/src/com/sleepycat/db/Lock.java
 ../dist/../java/src/com/sleepycat/db/LockDetectMode.java
 ../dist/../java/src/com/sleepycat/db/LockMode.java
 ../dist/../java/src/com/sleepycat/db/LockNotGrantedException.java
 ../dist/../java/src/com/sleepycat/db/LockOperation.java
 ../dist/../java/src/com/sleepycat/db/LockRequest.java
 ../dist/../java/src/com/sleepycat/db/LockRequestMode.java
 ../dist/../java/src/com/sleepycat/db/LockStats.java
 ../dist/../java/src/com/sleepycat/db/LogCursor.java
 ../dist/../java/src/com/sleepycat/db/LogRecordHandler.java
 ../dist/../java/src/com/sleepycat/db/LogSequenceNumber.java
 ../dist/../java/src/com/sleepycat/db/LogStats.java
 ../dist/../java/src/com/sleepycat/db/MemoryException.java
 ../dist/../java/src/com/sleepycat/db/MessageHandler.java
 ../dist/../java/src/com/sleepycat/db/MultipleNIODataEntry.java
 ../dist/../java/src/com/sleepycat/db/MultipleKeyNIODataEntry.java
 ../dist/../java/src/com/sleepycat/db/MultipleRecnoNIODataEntry.java
 ../dist/../java/src/com/sleepycat/db/MultipleDataEntry.java
 ../dist/../java/src/com/sleepycat/db/MultipleEntry.java
 ../dist/../java/src/com/sleepycat/db/MultipleKeyDataEntry.java
 ../dist/../java/src/com/sleepycat/db/MultipleRecnoDataEntry.java
 ../dist/../java/src/com/sleepycat/db/MutexStats.java
 ../dist/../java/src/com/sleepycat/db/OperationStatus.java
 ../dist/../java/src/com/sleepycat/db/PanicHandler.java
 ../dist/../java/src/com/sleepycat/db/PreparedTransaction.java
 ../dist/../java/src/com/sleepycat/db/QueueStats.java
 ../dist/../java/src/com/sleepycat/db/RecordNumberAppender.java
 ../dist/../java/src/com/sleepycat/db/RecoveryOperation.java
 ../dist/../java/src/com/sleepycat/db/ReplicationConfig.java
 ../dist/../java/src/com/sleepycat/db/ReplicationDuplicateMasterException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationHandleDeadException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationHoldElectionException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationHostAddress.java
 ../dist/../java/src/com/sleepycat/db/ReplicationJoinFailureException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationLeaseExpiredException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationLeaseTimeoutException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationLockoutException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationManagerAckPolicy.java
 ../dist/../java/src/com/sleepycat/db/ReplicationManagerStats.java
 ../dist/../java/src/com/sleepycat/db/ReplicationManagerStartPolicy.java
 ../dist/../java/src/com/sleepycat/db/ReplicationSiteUnavailableException.java
 ../dist/../java/src/com/sleepycat/db/ReplicationStats.java
 ../dist/../java/src/com/sleepycat/db/ReplicationStatus.java
 ../dist/../java/src/com/sleepycat/db/ReplicationTimeoutType.java
 ../dist/../java/src/com/sleepycat/db/ReplicationTransport.java
 ../dist/../java/src/com/sleepycat/db/RunRecoveryException.java
 ../dist/../java/src/com/sleepycat/db/SecondaryConfig.java
 ../dist/../java/src/com/sleepycat/db/SecondaryCursor.java
 ../dist/../java/src/com/sleepycat/db/SecondaryDatabase.java
 ../dist/../java/src/com/sleepycat/db/SecondaryKeyCreator.java
 ../dist/../java/src/com/sleepycat/db/SecondaryMultiKeyCreator.java
 ../dist/../java/src/com/sleepycat/db/Sequence.java
 ../dist/../java/src/com/sleepycat/db/SequenceConfig.java
 ../dist/../java/src/com/sleepycat/db/SequenceStats.java
 ../dist/../java/src/com/sleepycat/db/StatsConfig.java
 ../dist/../java/src/com/sleepycat/db/Transaction.java
 ../dist/../java/src/com/sleepycat/db/TransactionConfig.java
 ../dist/../java/src/com/sleepycat/db/TransactionStats.java
 ../dist/../java/src/com/sleepycat/db/VerboseConfig.java
 ../dist/../java/src/com/sleepycat/db/VerifyConfig.java
 ../dist/../java/src/com/sleepycat/db/VersionMismatchException.java
 ../dist/../java/src/com/sleepycat/db/internal/Db.java
 ../dist/../java/src/com/sleepycat/db/internal/DbConstants.java
 ../dist/../java/src/com/sleepycat/db/internal/DbEnv.java
 ../dist/../java/src/com/sleepycat/db/internal/DbLock.java
 ../dist/../java/src/com/sleepycat/db/internal/DbLogc.java
 ../dist/../java/src/com/sleepycat/db/internal/DbMpoolFile.java
 ../dist/../java/src/com/sleepycat/db/internal/DbSequence.java
 ../dist/../java/src/com/sleepycat/db/internal/DbTxn.java
 ../dist/../java/src/com/sleepycat/db/internal/DbUtil.java
 ../dist/../java/src/com/sleepycat/db/internal/Dbc.java
 ../dist/../java/src/com/sleepycat/db/internal/db_java.java
 ../dist/../java/src/com/sleepycat/db/internal/db_javaJNI.java
 ../dist/../java/src/com/sleepycat/util/ExceptionUnwrapper.java
 ../dist/../java/src/com/sleepycat/util/ExceptionWrapper.java
 ../dist/../java/src/com/sleepycat/util/FastInputStream.java
 ../dist/../java/src/com/sleepycat/util/FastOutputStream.java
 ../dist/../java/src/com/sleepycat/util/IOExceptionWrapper.java
 ../dist/../java/src/com/sleepycat/util/PackedInteger.java
 ../dist/../java/src/com/sleepycat/util/RuntimeExceptionWrapper.java
 ../dist/../java/src/com/sleepycat/util/UtfOps.java
 ../dist/../java/src/com/sleepycat/util/keyrange/KeyRange.java
 ../dist/../java/src/com/sleepycat/util/keyrange/KeyRangeException.java
 ../dist/../java/src/com/sleepycat/util/keyrange/RangeCursor.java
 :info:build make: *** [db_java_wrap.lo] Error 1
 :info:build make: *** Waiting for unfinished jobs....
 :info:build Note: Some input files use unchecked or unsafe operations.
 :info:build Note: Recompile with -Xlint:unchecked for details.
 :info:build cd ./classes && jar cf ../db.jar ./com/sleepycat
 :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
 merlot:/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_db46

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


More information about the macports-tickets mailing list