Re: Cannot install on FreeBSD

Thor Ablestar <[email protected]> Thu, 10 Sep 2015 23:28:53 +0800
Newsgroups gmane.network.freenet.support
Message-ID <[email protected]>
Hello!

This is a part of wrapper.log relating to libjbigi:
-BEGIN-
STATUS | wrapper  | 2015/09/04 10:35:19 | --> Wrapper Started as Daemon
STATUS | wrapper  | 2015/09/04 10:35:19 | Java Service Wrapper Community 
Edition 32-bit 3.5.26
STATUS | wrapper  | 2015/09/04 10:35:19 |   Copyright (C) 1999-2014 
Tanuki Software, Ltd. All Rights Reserved.
STATUS | wrapper  | 2015/09/04 10:35:19 | http://wrapper.tanukisoftware.com
STATUS | wrapper  | 2015/09/04 10:35:19 |
STATUS | wrapper  | 2015/09/04 10:35:20 | Launching a JVM...
INFO   | jvm 1    | 2015/09/04 10:35:20 | BouncyCastle: BC version 1.52
INFO   | jvm 1    | 2015/09/04 10:35:20 | SunPKCS11-NSS: null
INFO   | jvm 1    | 2015/09/04 10:35:20 | SUN: SUN version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:20 | SunJCE: SunJCE version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: Initializing...
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: WARNING - The 
Wrapper jar file currently in use is version "3.5.20"
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: while the 
version of the Wrapper which launched this JVM is
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: "3.5.26".
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: The Wrapper 
may appear to work correctly but some features may
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: not function 
correctly.  This configuration has not been tested
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager: and is not 
supported.
INFO   | jvm 1    | 2015/09/04 10:35:20 | WrapperManager:
INFO   | jvm 1    | 2015/09/04 10:35:21 | freenet.jar built with 
freenet-ext.jar Build #29 rv29 running with ext build 29 rv29
INFO   | jvm 1    | 2015/09/04 10:35:21 | Creating config from freenet.ini
INFO   | jvm 1    | 2015/09/04 10:35:21 | Creating logger...
INFO   | jvm 1    | 2015/09/04 10:35:21 | Set interval to 10 and 
multiplier to 1
INFO   | jvm 1    | 2015/09/04 10:35:21 | Starting executor...
INFO   | jvm 1    | 2015/09/04 10:35:21 | Finding old log files. New log 
file is /usr/thor/Freenet/logs/freenet-1470-2015-09-04-10.log.gz
INFO   | jvm 1    | 2015/09/04 10:35:21 | Created log files
INFO   | jvm 1    | 2015/09/04 10:35:21 | Initializing Node using 
Freenet Build #1470 rbuild01470 and freenet-ext Build #29 rv29 with 
Oracle Corporation JVM version 1.8.0_51 running on i386 FreeBSD 10.2-RELEASE
INFO   | jvm 1    | 2015/09/04 10:35:21 | Set fproxy max length to 
2306867 and max length with progress to 5767168 = 5767168
INFO   | jvm 1    | 2015/09/04 10:35:21 | Starting FProxy on 
127.0.0.1,0:0:0:0:0:0:0:1:8888
INFO   | jvm 1    | 2015/09/04 10:35:21 | ERROR: The resource 
freenet/support/CPUInformation/libjcpuid-x86-freebsd.so was not a valid 
library for this platform
INFO   | jvm 1    | 2015/09/04 10:35:21 | 
java.lang.UnsatisfiedLinkError: /tmp/jcpuid3675898381485039170lib.tmp: 
Shared object "libstdc++.so.6" not found, required by 
"jcpuid3675898381485039170lib.tmp"
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
java.lang.ClassLoader$NativeLibrary.load(Native Method)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1937)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
java.lang.ClassLoader.loadLibrary(ClassLoader.java:1822)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
java.lang.Runtime.load0(Runtime.java:809)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
java.lang.System.load(System.java:1086)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
freenet.support.CPUInformation.CPUID.loadFromResource(CPUID.java:505)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
freenet.support.CPUInformation.CPUID.loadNative(CPUID.java:423)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
freenet.support.CPUInformation.CPUID.<clinit>(CPUID.java:40)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
net.i2p.util.NativeBigInteger.resolveCPUType(NativeBigInteger.java:135)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
net.i2p.util.NativeBigInteger.<clinit>(NativeBigInteger.java:120)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
freenet.crypt.Util.<clinit>(Util.java:65)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
freenet.node.Node.<init>(Node.java:1116)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
freenet.node.NodeStarter.start(NodeStarter.java:193)
INFO   | jvm 1    | 2015/09/04 10:35:21 |     at 
org.tanukisoftware.wrapper.WrapperManager$11.run(WrapperManager.java:4048)
INFO   | jvm 1    | 2015/09/04 10:35:21 | WARN: Native CPUID library 
jcpuid not loaded - will not be able to read CPU information using CPUID
INFO   | jvm 1    | 2015/09/04 10:35:21 | INFO: Non-optimized native 
BigInteger library 'net/i2p/util/libjbigi-freebsd-none.so' loaded from 
resource
INFO   | jvm 1    | 2015/09/04 10:35:21 | SHA1: using SUN version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:21 | MD5: using SUN version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:21 | SHA-256: using SUN version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:21 | SHA-384: using SUN version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:21 | SHA-512: using SUN version 1.8
INFO   | jvm 1    | 2015/09/04 10:35:22 | AES/CTR/NOPADDING (SunJCE 
version 1.8): 3354048ns
INFO   | jvm 1    | 2015/09/04 10:35:22 | AES/CTR/NOPADDING (BC version 
1.52): 3678537ns
INFO   | jvm 1    | 2015/09/04 10:35:22 | Using JCA cipher provider: 
SunJCE version 1.8
ERROR  | wrapper  | 2015/09/04 10:35:22 | JVM exited while starting the 
application.
INFO   | jvm 1    | 2015/09/04 10:35:22 | 
/tmp/jbigi6803196262601832905lib.tmp: Undefined symbol "__gmpn_copyi"
STATUS | wrapper  | 2015/09/04 10:35:27 | Reloading Wrapper configuration...
STATUS | wrapper  | 2015/09/04 10:35:27 | Launching a JVM...
INFO   | jvm 2    | 2015/09/04 10:35:28 | BouncyCastle: BC version 1.52

-END-

Then it makes 4 more tries and fails.

Of some interest may be that after
# cd /usr/ports/math/libjbigi
# make deinstall

the errors in wrapper.log look the same.

Anatoly

On 09/10/15 08:09, Steve Dougherty wrote:
> On 09/09/2015 08:04 PM, Thor Ablestar wrote:
>> Hello!
>>
>> Additional info:
>>
>> As I remember,
>> # cd /usr/ports/math/libjbigi
>> # make install
>> # make install
>> # make deinstall
>> # make install
>>
>> gives no response after 2nd make install (and 1st too since it's already
>> installed), just the next prompt appears (Normal behavior is to complain
>> that the port is already installed). After make deinstall there appears
>> a message that it would free 8kbytes or so. After 3rd make install
>> appears some lines about install actions (as I remember, cannot
>> reproduce for now).
>>
>> I feel that the ports manifest in FreeBSD is somehow broken since the
>> library cannot be only 8 kB. But I am not a port specialist. Maybe it's
>> needed to file a FreeBSD trouble report?
> I don't know. That may be. I'm surprised Freenet is attempting to use
> acceleration instead of falling back to a pure Java implementation. Can
> you copy the line about "net/i2p/util/libjbigi" from your wrapper.log
> please?
>
> Please reply-all to include the support list instead of emailing only me
> directly.
>
_______________________________________________
Support mailing list
[email protected]
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://emu.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[email protected]?subject=unsubscribe