JDownloader Community - Appwork GmbH
 

Reply
 
Thread Tools Display Modes
  #501  
Old 30.08.2019, 16:58
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

Sollte relativ einfach sein. Ein 32Bit Linux iinstallieren, und dort dann die Schritte ausführen, so hab ich das damals für ARM(via qemu) gemacht
__________________
JD-Dev & Server-Admin
Reply With Quote
  #502  
Old 30.08.2019, 20:49
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

VM aufgesetzt, alles drauf und bis auf make package lief alles sauber durch.

ctest:
Spoiler:
ctest
Test project /apps/SevenZipJBinding
Start 1: JUnit-init
1/6 Test #1: JUnit-init ........................ Passed 1.37 sec
Start 2: JUnit-tools
2/6 Test #2: JUnit-tools ....................... Passed 0.57 sec
Start 3: JUnit-snippets
3/6 Test #3: JUnit-snippets .................... Passed 0.25 sec
Start 4: JUnit-single-file-extraction
4/6 Test #4: JUnit-single-file-extraction ...... Passed 162.52 sec
Start 5: JUnit-multiple-files-extraction
5/6 Test #5: JUnit-multiple-files-extraction ... Passed 233.07 sec
Start 6: JUnit-badarchive
6/6 Test #6: JUnit-badarchive .................. Passed 9.48 sec

100% tests passed, 0 tests failed out of 6

Total Test time (real) = 407.28 sec


make package:
Spoiler:
make package
[ 1%] target
[ 1%] Built target sevenzip-jbinding-jar
[ 1%] javah: generating h-files from java classes net.sf.sevenzipjbinding.SevenZip;net.sf.sevenzipjbinding.impl.InArchiveImpl
[ 98%] Built target 7-Zip-JBinding
[ 99%] Built target sevenzip-jbinding-lib-jar
[ 99%] target
[100%] Built target sevenzip-jbinding-test-jar
Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: SevenZipJBinding
CPack: - Install project: SevenZipJBinding
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:12: error: tag not allowed here: <li>
* Get property of the volume file. An implementation must support at least following PropIDs: <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:15: error: tag not allowed here: <li>
* {@link PropID#CREATION_TIME} (Type: Date) <li> {@link PropID#LAST_WRITE_TIME} (Type: Date) <br>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:37: error: tag not allowed here: <li>
* <li> {@link #SEEK_END} - <code>offset</code> is an offset from the end of the stream
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:38: error: malformed HTML
* <code>(offset < 0)</code>.
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/ISequentialOutStream.java:11: error: bad use of '>'
* if (size > 0) this function must write at least 1 byte. This function is allowed to write less than "size". You
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/SevenZip.java:168: warning: no description for @throws
* @throws SevenZipNativeInitializationException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/RandomAccessFileInStream.java:76: warning: no description for @throws
* @throws IOException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/VolumedArchiveInStream.java:17: error: bad use of '>'
* <blockquote> <code>cat name.7z.* > name.7z</code> </blockquote>
^
13 errors
2 warnings
CPack: Create package
CPack Error: Problem while adding file< /apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686/LGPL> to archive </apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686.zip> .ERROR =archive_write_header: Filetype not supported
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: SevenZipJBinding
make: *** [package] Error 1
[root@oel6-32Bit SevenZipJBinding]# env | grep -i java
[root@oel6-32Bit SevenZipJBinding]# export JAVA_HOME=/apps/jdk1.8.0_221
[root@oel6-32Bit SevenZipJBinding]# make package
[ 1%] target
[ 1%] Built target sevenzip-jbinding-jar
[ 1%] javah: generating h-files from java classes net.sf.sevenzipjbinding.SevenZip;net.sf.sevenzipjbinding.impl.InArchiveImpl
[ 98%] Built target 7-Zip-JBinding
[ 99%] Built target sevenzip-jbinding-lib-jar
[ 99%] target
[100%] Built target sevenzip-jbinding-test-jar
Run CPack packaging tool...
CPack: Create package using ZIP
CPack: Install projects
CPack: - Run preinstall target for: SevenZipJBinding
CPack: - Install project: SevenZipJBinding
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:12: error: tag not allowed here: <li>
* Get property of the volume file. An implementation must support at least following PropIDs: <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:13: error: tag not allowed here: <li>
* {@link PropID#NAME} (Type: String) <li> {@link PropID#IS_FOLDER} (Type: Boolean): <li> {@link PropID#SIZE} (Type:
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:14: error: tag not allowed here: <li>
* Long) <li> {@link PropID#ATTRIBUTES} (Type: int) <li> {@link PropID#LAST_ACCESS_TIME} (Type: Date) <li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IArchiveOpenVolumeCallback.java:15: error: tag not allowed here: <li>
* {@link PropID#CREATION_TIME} (Type: Date) <li> {@link PropID#LAST_WRITE_TIME} (Type: Date) <br>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:35: error: tag not allowed here: <li>
* <li> {@link #SEEK_SET} - <code>offset</code> is an absolute offset to move to,<br><li>
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:37: error: tag not allowed here: <li>
* <li> {@link #SEEK_END} - <code>offset</code> is an offset from the end of the stream
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/IInStream.java:38: error: malformed HTML
* <code>(offset < 0)</code>.
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/ISequentialOutStream.java:11: error: bad use of '>'
* if (size > 0) this function must write at least 1 byte. This function is allowed to write less than "size". You
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/SevenZip.java:168: warning: no description for @throws
* @throws SevenZipNativeInitializationException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/RandomAccessFileInStream.java:76: warning: no description for @throws
* @throws IOException
^
/apps/SevenZipJBinding/jbinding-java/src/net/sf/sevenzipjbinding/impl/VolumedArchiveInStream.java:17: error: bad use of '>'
* <blockquote> <code>cat name.7z.* > name.7z</code> </blockquote>
^
13 errors
2 warnings
CPack: Create package
CPack Error: Problem while adding file< /apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686/LGPL> to archive </apps/SevenZipJBinding/_CPack_Packages/Linux/ZIP/sevenzip-jbinding-4.65-1.02rc-extr-only-Linux-i686.zip> .ERROR =archive_write_header: Filetype not supported
CPack Error: Problem compressing the directory
CPack Error: Error when generating package: SevenZipJBinding
make: *** [package] Error 1
Reply With Quote
  #503  
Old 31.08.2019, 07:23
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ok, die Warning sind durch Java 8 (doclint) und wenn ich den Schritt "git checkout Release-4.65-1.02rc-extr-only" weg lasse, dann läuft auch "make package". Welche Version sollte ich den überhaupt nehmen?
Wie muss ich die beiden jar Files benamen, bevor ich sie in libs bereitstelle?

Edit:
habe mal mit dem Branch migrate-to-15.09-try2 versucht, da du ja auch 1509 verwendest, aber da ist aktuell dann bei "make" Ende.

cmake3:
Spoiler:
cmake3 --version
cmake3 version 3.6.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).


cmake3 .
-- The C compiler identification is GNU 4.4.7
-- The CXX compiler identification is GNU 4.4.7
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for java JNI jni.h include path
-- Looking for java JNI jni.h include path - found: /apps/jdk1.8.0_221/include
-- Looking for java JNI jni_md.h include path
-- Looking for java JNI jni_md.h include path - found: /apps/jdk1.8.0_221/include/linux
-- Looking for java compiler 'javac'
-- Looking for java compiler 'javac' - found: /apps/jdk1.8.0_221/bin/javac
-- Looking for java header compiler 'javah'
-- Looking for java header compiler 'javah' - found: /apps/jdk1.8.0_221/bin/javah
-- Looking for java API Documentation Generator 'javadoc'
-- Looking for java API Documentation Generator 'javadoc' - found: /apps/jdk1.8.0_221/bin/javadoc
-- Looking for java VM 'java'
-- Looking for java VM 'java' - found: /apps/jdk1.8.0_221/bin/java
-- Looking for java archiver 'jar'
-- Looking for java archiver 'jar' - found: /apps/jdk1.8.0_221/bin/jar
-- Checking java compile
-- Checking java compile - ok
-- Checking java system properties
-- Checking java compile - ok (arch: i386, system: Linux)
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Compiling on posix system: Linux

Build type: , platform: Linux-i386

Java VM: /apps/jdk1.8.0_221/bin/java
Java compiler: /apps/jdk1.8.0_221/bin/javac
Java header compiler: /apps/jdk1.8.0_221/bin/javah
Java documentation tool: /apps/jdk1.8.0_221/bin/javadoc
Java archiver: /apps/jdk1.8.0_221/bin/jar
MinGW: No
MinGW-32: No
MinGW-64: No
APPLE:
Output package: ./sevenzipjbinding-15.09-2.01beta-Linux-i386.zip


Type 'make' to compile
Type 'ctest' to run tests (it could take up to 90 minutes on a slow CPU)
Type 'make package' to build a distribution package

-- Prepare for testing
-- Configuring done
-- Generating done
-- Build files have been written to: /apps/SevenZipJBinding1509-try2


make:
Spoiler:
make
Scanning dependencies of target sevenzipjbinding-jar
[ 0%] core
warning: [options] bootstrap class path not set in conjunction with -source 1.5
warning: [options] source value 1.5 is obsolete and will be removed in a future release
warning: [options] target value 1.5 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
4 warnings
[ 1%] target
[ 1%] Built target sevenzipjbinding-jar
[ 1%] javah: generating h-files from java classes net.sf.sevenzipjbinding.SevenZip;net.sf.sevenzipjbinding.impl.InArchiveImpl;net.sf.sevenzipjbinding. impl.OutArchiveImpl
Scanning dependencies of target 7-Zip-JBinding
[ 1%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/Debug.cpp.o
[ 2%] Building CXX object jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/JNITools.cpp.o
In file included from /apps/SevenZipJBinding1509-try2/jbinding-cpp/JNITools.cpp:3:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: ISO C++ forbids initialization of member âptrâ
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: making âptrâ static
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h: In instantiation of âWithStackBuffer<short unsigned int>â:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:38: instantiated from here
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: invalid in-class initialization of static data member of non-integral type âshort unsigned int*â
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h: In instantiation of âWithStackBuffer<wchar_t>â:
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:98: instantiated from here
/apps/SevenZipJBinding1509-try2/jbinding-cpp/UnicodeHelper.h:12: error: invalid in-class initialization of static data member of non-integral type âwchar_t*â
make[2]: *** [jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/JNITools.cpp.o] Error 1
make[1]: *** [jbinding-cpp/CMakeFiles/7-Zip-JBinding.dir/all] Error 2
make: *** [all] Error 2


Ich gucke mal ob noch Pakete fehlen...

Last edited by wolverine; 31.08.2019 at 11:50.
Reply With Quote
  #504  
Old 31.08.2019, 18:04
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Ich habe mich mal für eine andere Distribution entschieden, und da läuft es.
Aber in JD2 leider nicht.

Ich habe die Files wie du auch 1509 benannt, und habe das branch 15.09-try2 genommen.

ExtractionExtension.log
Spoiler:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1567267036155-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [Linux-i386]
--ID:36TS:1567267036155-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: Linux-i386
--ID:36TS:1567267036179-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip->true
--ID:36TS:1567267036325-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#1
--ID:36TS:1567267036327-8/31/19 3:57:16 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:208):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:398)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:184)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567267036327-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /tmp->true
--ID:36TS:1567267036447-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#2
--ID:36TS:1567267036449-8/31/19 3:57:16 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:216):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/tmp/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:366)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:213)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: /tmp/SevenZipJBinding-T5VAyNUDFEb3/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567267036450-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Unsupported SevenZipJBinding|CPU_ARCH=X86|OS_FAM=LINUX|OS=LINUX|64Bit_JVM=false|64Bit_ARCH=false
--ID:36TS:1567267036450-8/31/19 3:57:16 PM - [org.jdownloader.extensions.extraction.ExtractionExtension(lazyInitOnceOnStart)] -> Extractor org.jdownloader.extensions.extraction.multi.Multi plugin could not be initialized
--ID:36TS:1567267036457-8/31/19 3:57:16 PM - [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 709
Reply With Quote
  #505  
Old 02.09.2019, 15:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

@wolverine: Welche Distro hast du denn genommen zum Compilen? Die Fehlermeldung lässt auf irgendwas beim Bauen schließen? Inkompatibelität zwischen dem Linux auf der NAS und deiner Build-Umgebung.
Zum Bauen solltest du Java8 nehmen und den Branch migrate-to-15.09-try2
__________________
JD-Dev & Server-Admin
Reply With Quote
  #506  
Old 02.09.2019, 17:13
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

Schlussendlich ein Ubuntu 16(32Bit). Aber, wenn ich alles richtig mache, dann bekomme ich es jetzt auch auf dem NAS kompiliert. Mir war halt nicht klar welches Branch ich nehmen soll.

Also Java (Oracle JDK 1.8.0_221) und die Branch migrate-to-15.09-try2. Und wenn ich die jars unter dem Namen sevenzipjbinding1509.jar und sevenzipjbinding1509Linux.jar in libs bereitstelle, die ich auf dem NAS selbst kompiliert habe, bleibt es bei dem Problem.

ExtractionExtension.log (ohne die neuen jars)
Spoiler:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1567288861010-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [Linux-i386]
--ID:36TS:1567288861011-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: Linux-i386
--ID:36TS:1567288861017-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip->true
--ID:36TS:1567288861129-8/31/19 10:01:01 PM - [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Supported SevenZipJBinding|Version=4.65|RAR5=false|CPU_ARCH=X86|OS_FAM=LINUX|OS=LINUX|64Bit_JVM=false|64Bit_AR CH=false
--ID:36TS:1567288861134-8/31/19 10:01:01 PM - [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 387


ExtractionExtension.log (mit den neuen jars, die auf dem NAS kompiliert wurden)
Spoiler:
------------------------Thread: 36:ExtractionExtension.log-----------------------
--ID:36TS:1567437154378-9/2/19 3:12:34 PM - [org.jdownloader.extensions.extraction.multi.Multi(checkLibraries)] -> Try Lib IDs: [Linux-i386]
--ID:36TS:1567437154378-9/2/19 3:12:34 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib ID: Linux-i386
--ID:36TS:1567437154418-9/2/19 3:12:34 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip->true
--ID:36TS:1567437155073-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#1
--ID:36TS:1567437155075-9/2/19 3:12:35 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:208):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:398)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:184)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: /share/MD0_DATA/.qpkg/JDownloader2/jd2/tmp/7zip/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567437155075-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Try Lib Path: /tmp->true
--ID:36TS:1567437155401-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(initLibrary)] -> Could not initialize Multiunpacker:#2
--ID:36TS:1567437155402-9/2/19 3:12:35 PM - [] -> Exception thrown at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:216):
net.sf.sevenzipjbinding.SevenZipNativeInitializationException: 7-Zip-JBinding initialization failed: Error loading native library: '/tmp/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so'
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:652)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJARIntern(SevenZip.java:456)
at net.sf.sevenzipjbinding.SevenZip.initSevenZipFromPlatformJAR(SevenZip.java:366)
at org.jdownloader.extensions.extraction.multi.Multi.initLibrary(Multi.java:213)
at org.jdownloader.extensions.extraction.multi.Multi.checkLibraries(Multi.java:226)
at org.jdownloader.extensions.extraction.multi.Multi.hasLibrarySupport(Multi.java:379)
at org.jdownloader.extensions.extraction.multi.Multi.isAvailable(Multi.java:402)
at org.jdownloader.extensions.extraction.ExtractionExtension.lazyInitOnceOnStart(ExtractionExtension.ja va:513)
at org.jdownloader.extensions.extraction.ExtractionExtension.start(ExtractionExtension.java:393)
at org.jdownloader.extensions.AbstractExtension.setEnabled(AbstractExtension.java:79)
at org.jdownloader.extensions.AbstractExtension.init(AbstractExtension.java:319)
at org.jdownloader.extensions.LazyExtension.init(LazyExtension.java:234)
at org.jdownloader.extensions.ExtensionController.loadFromCache(ExtensionController.java:238)
at org.jdownloader.extensions.ExtensionController.init(ExtensionController.java:125)
at jd.SecondLevelLaunch$10$1$2.run(SecondLevelLaunch.java:795)
Caused by: java.lang.UnsatisfiedLinkError: /tmp/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: /tmp/SevenZipJBinding-G1bcIb4lymMu/lib7-Zip-JBinding.so: ELF file OS ABI invalid
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
at java.lang.Runtime.load0(Runtime.java:809)
at java.lang.System.load(System.java:1086)
at net.sf.sevenzipjbinding.SevenZip.loadNativeLibraries(SevenZip.java:650)
... 14 more

--ID:36TS:1567437155402-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.multi.Multi(isAvailable)] -> Unsupported SevenZipJBinding|CPU_ARCH=X86|OS_FAM=LINUX|OS=LINUX|64Bit_JVM=false|64Bit_ARCH=false
--ID:36TS:1567437155403-9/2/19 3:12:35 PM - [org.jdownloader.extensions.extraction.ExtractionExtension(lazyInitOnceOnStart)] -> Extractor org.jdownloader.extensions.extraction.multi.Multi plugin could not be initialized
--ID:36TS:1567437155408-9/2/19 3:12:35 PM - [org.jdownloader.extensions.AbstractExtension(init)] -> Init Duration: 1785

Last edited by wolverine; 02.09.2019 at 17:19.
Reply With Quote
  #507  
Old 02.09.2019, 17:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

Also die Fehlermeldung klingt als würde die Build-Umgebung nen andres Grundsystem(Linux/ABI) bieten als die NAS es nutzt
Quote:
ELF file OS ABI invalid
Ich kann gerne mal via Teamviewer mit drauf schauen, schreib mir einfach an support@jdownloader.org
__________________
JD-Dev & Server-Admin
Reply With Quote
  #508  
Old 02.09.2019, 17:29
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

Quote:
Also Java (Oracle JDK 1.8.0_221) und die Branch migrate-to-15.09-try2. Und wenn ich die jars unter dem Namen sevenzipjbinding1509.jar und sevenzipjbinding1509Linux.jar in libs bereitstelle
Ja, das sollte so gehen. Muss nur irgendein Unterschied sein zwischen dem NAS und Build-System
__________________
JD-Dev & Server-Admin
Reply With Quote
  #509  
Old 02.09.2019, 17:43
wolverine wolverine is offline
Super Loader
 
Join Date: Jun 2010
Posts: 27
Default

@Jiaz
Danke, Mail ist raus
Reply With Quote
  #510  
Old 07.09.2019, 19:42
jaydeeownluder jaydeeownluder is offline
Mega Loader
 
Join Date: Dec 2010
Location: kölle
Posts: 63
Default

Quote:
Originally Posted by Jiaz View Post
Deutsch: Die Dateien NICHT umbennen! Bitte einfach nur entpacken![/B][/B]

1.)
Deutsch: Die Zip Datei von Mega herunterladen

2.)
Deutsch: Die zip Datei bitte in den JDownloader/libs Ordner entpacken. Der Ordner kann über den About/Über Dialog des JDownloader gefunden/geöffnet werden.
Hallo,
ich habe mal ne evtl. dumme Frage,
aber ich hatte jetzt schon desöfteren die Problematik, nach Neuinstallationen (des JD2 unter Win, Mac, oder Linux) die RAR5 Archive nicht entpackt wurden.
Natürlich habe ich nach dem jeweiligen erfolgreichen Anwenden der obigen Anleitung und vorherigen Suchen und wiederfindens im Forum es geschafft, den Kram ans laufen zu bekommen,

.... aaaber

was ist der Grund, dass der rar5 Support nicht einfach im JD2 eingebaut wird, also von Haus aus funktioniert und das man hier selbst Hand anlegen soll?
Das Updatesystem ist doch schon so geschmeidig, da könnte man dem (evtl. technisch unversierten) User dann doch auch noch die manuelle Fleißarbeit abnehmen, sprich erleichtern.

Was spricht dagegen?
Reply With Quote
  #511  
Old 08.09.2019, 10:32
Gorcon Gorcon is offline
Baby Loader
 
Join Date: Feb 2018
Posts: 5
Default

Ich habe mir jetzt eine selbstentpackende WinRar Datei erstellt die man nur starten muss, dann sind die Dateien da wo sie hingehören (also unter %LOCALAPPDATA%\JDownloader 2.0\libs). So muss ich nicht jedes mal wieder suchen wenn ich den JDownloader mal neu installieren muss.
Funktionierte auf Anhieb mit den Dateien aus dem ersten Beitrag für Windows10.

Danke nochmal für den Support.
Reply With Quote
  #512  
Old 18.09.2019, 08:12
addi addi is offline
Modem User
 
Join Date: Sep 2019
Posts: 2
Default

Hallo,

Ich hab die Library auf meiner Synology DS118 kompiliert. Ich bekomme dennoch eine Fehlermeldung die auf ein 32/64 Bit Problem hindeutet ?!

Danke im Voraus.

Caused by: java.lang.UnsatisfiedLinkError: /volume1/@appstore/JDownloader/tmp/7zip/SevenZipJBinding-X8TKbqxFYY7m/lib7-Zip-JBinding.so: /volume1/@appstore/JDownloader/tmp/7zip/SevenZipJBinding-X8TKbqxFYY7m/lib7-Zip-JBinding.so: wrong ELF class: ELFCLASS32

Last edited by Jiaz; 18.09.2019 at 10:17.
Reply With Quote
  #513  
Old 18.09.2019, 10:17
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

@addi: Für ARM hab ich schon fertige Libs. Welche DS118 genau hast du oder gibts da nur ein Modelvariante?
Selbst compilen über Entware macht Probleme, weil unterschiedliche LibC Varianten im Einsatz sind. Ich würde die Lib immer extern (zb in einer VM) compilen
__________________
JD-Dev & Server-Admin
Reply With Quote
  #514  
Old 18.09.2019, 10:20
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

@jaydeeownluder: Grund Nummer 1.) Zeit, da ich das mal gut durchplanen muss, zb soll ja dann ein entsprechender Nutzer nicht alt und neu Lib bekommen (Traffic) und damit verbunden 2.) nicht für jedes OS/CPU/Bitness ist die Lib vorhanden und somit wieder mehr Zeit für Planung, siehe 1.)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #515  
Old 18.09.2019, 12:37
thecoder2012's Avatar
thecoder2012 thecoder2012 is offline
Official 9kw.eu Support
 
Join Date: Feb 2013
Location: Internet
Posts: 948
Default

Quote:
Originally Posted by Jiaz View Post
Will do it later/by tomorrow. Also going to link those new built libs from community
This year or later?

Quote:
Originally Posted by Jiaz View Post
Für ARM hab ich schon fertige Libs.
Gut und einen Download dazu bekommt man nicht?
Im ersten Beitrag steht weiterhin "comming soon..." für ARM/Linux drin.
__________________
Join 9kw.eu Captcha Service now and let your JD continue downloads while you sleep.
Reply With Quote
  #516  
Old 18.09.2019, 13:13
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

Quote:
Originally Posted by thecoder2012 View Post
Gut und einen Download dazu bekommt man nicht?
Im ersten Beitrag steht weiterhin "comming soon..." für ARM/Linux drin.
Quote:
Grund Nummer 1.) Zeit
Ich schau das ich das demnächst noch nachhole
__________________
JD-Dev & Server-Admin
Reply With Quote
  #517  
Old 20.09.2019, 22:47
jaydeeownluder jaydeeownluder is offline
Mega Loader
 
Join Date: Dec 2010
Location: kölle
Posts: 63
Default

Quote:
Originally Posted by Jiaz View Post
@jaydeeownluder: Grund Nummer 1.) Zeit, da ich das mal gut durchplanen muss
Ok. Mit dem Argument Zeit hätte ich jetzt nicht gerechnet, schliesslich ist der Thread von Ende 2016 :-)

Doch danke, dass mit dem Konzept/Durchplanen ist natürlich so ne Sache und nichts hält so lange, wie ein Provisorium ;-D
Reply With Quote
  #518  
Old 23.09.2019, 18:51
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

@jaydeeownluder: Ich werde als erstes mal die Integration von Windows planen und schauen wie ich dort den Übergang zwischen alt und neu hinbekomme ohne das hinterher das Geschrei groß ist.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #519  
Old 26.09.2019, 21:14
plato plato is offline
DSL Light User
 
Join Date: Jan 2015
Posts: 32
Default

So, do we have working FreeBSD ( actually FreeNAS 11.2 ) files?
Reply With Quote
  #520  
Old 27.09.2019, 09:54
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 65,456
Default

@plato: easiest way would be to compile it by yourself. see github.com/borisbrodski/sevenzipjbinding
branch 1509 or 1602. should be easy to do
__________________
JD-Dev & Server-Admin
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 19:51.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.