[MacPorts] #22902: Keep getting some Java error or something related with db46.

MacPorts noreply at macports.org
Mon Dec 14 21:43:34 PST 2009


#22902: Keep getting some Java error or something related with db46.
------------------------------------------+---------------------------------
 Reporter:  the.justin.mueller@…          |       Owner:  macports-tickets@…                   
     Type:  defect                        |      Status:  new                                  
 Priority:  High                          |   Milestone:                                       
Component:  ports                         |     Version:  1.8.1                                
 Keywords:                                |        Port:  db46                                 
------------------------------------------+---------------------------------
 I was trying to install Subversion and every time I get the error below. I
 am running MacPorts 1.8.1 on Mac OS 10.5.8. I am running Java 1.5.0_22,
 and I have tried the renaming of the /usr/local, any help or pointers if
 this is not a bug would be nice, but as of now I can't find anything
 wrong. Thank you, this is for my computer at my new job and need to get it
 running as soon as I can.

 {{{
 --->  Computing dependencies for subversion
 --->  Fetching apr
 --->  Attempting to fetch apr-1.3.9.tar.bz2 from
 http://apache.mirror.rafal.ca/apr
 --->  Verifying checksum(s) for apr
 --->  Extracting apr
 --->  Configuring apr
 --->  Building apr
 --->  Staging apr into destroot
 --->  Installing apr @1.3.9_0
 --->  Activating apr @1.3.9_0
 --->  Cleaning apr
 --->  Fetching db46
 --->  Attempting to fetch patch.4.6.21.1 from
 http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/
 --->  Attempting to fetch patch.4.6.21.2 from
 http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/
 --->  Attempting to fetch patch.4.6.21.3 from
 http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/
 --->  Attempting to fetch patch.4.6.21.4 from
 http://www.oracle.com/technology/products/berkeley-db/db/update/4.6.21/
 --->  Attempting to fetch db-4.6.21.tar.gz from
 http://distfiles.macports.org/db4/4.6.21_6
 --->  Verifying checksum(s) for db46
 --->  Extracting db46
 --->  Applying patches to db46
 --->  Configuring db46
 --->  Building db46
 Error: Target org.macports.build returned: 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
 Command output: ../dist/../libdb_java/db_java_wrap.c:10017: error: 'jarg1'
 undeclared (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10019: error: 'jarg2' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10030: error: 'jobject' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10041: error: 'jbyte' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10041: error: syntax error before ')'
 token
 ../dist/../libdb_java/db_java_wrap.c: At top level:
 ../dist/../libdb_java/db_java_wrap.c:10046: error: syntax error before
 'void'
 ../dist/../libdb_java/db_java_wrap.c:10046: error: syntax error before '*'
 token
 ../dist/../libdb_java/db_java_wrap.c: In function
 'Java_com_sleepycat_db_internal_db_1javaJNI_DbTxn_1set_1timeout':
 ../dist/../libdb_java/db_java_wrap.c:10052: error: 'jenv' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10053: error: 'jcls' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10054: error: 'jarg1' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10055: error: 'jarg2' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10056: error: 'jarg3' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10065: error: 'jobject' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c: At top level:
 ../dist/../libdb_java/db_java_wrap.c:10071: error: syntax error before
 'void'
 ../dist/../libdb_java/db_java_wrap.c:10071: error: syntax error before '*'
 token
 ../dist/../libdb_java/db_java_wrap.c: In function
 'Java_com_sleepycat_db_internal_db_1javaJNI_DbTxn_1set_1name':
 ../dist/../libdb_java/db_java_wrap.c:10076: error: 'jenv' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10077: error: 'jcls' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10078: error: 'jarg1' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10080: error: 'jarg2' undeclared
 (first use in this function)
 ../dist/../libdb_java/db_java_wrap.c:10092: error: 'jobject' undeclared
 (first use in this function)
 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
 make: *** [db_java_wrap.lo] Error 1
 make: *** Waiting for unfinished jobs....
 Note: Some input files use unchecked or unsafe operations.
 Note: Recompile with -Xlint:unchecked for details.
 cd ./classes && jar cf ../db.jar ./com/sleepycat

 Error: The following dependencies failed to build: apr-util db46 expat
 libiconv gperf sqlite3 ncurses ncursesw readline cyrus-sasl2 openssl zlib
 gettext neon serf
 Error: Status 1 encountered during processing.
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/22902>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list