svn commit: r553064 - in head/java/openjdk8: . files

Greg Lewis glewis at eyesbeyond.com
Sun Oct 25 23:44:34 UTC 2020


On 10/25/20 7:02 AM, Danilo G. Baio wrote:
> On Sat, Oct 24, 2020 at 05:49:05PM +0200, Thierry Thomas wrote:
>> Le sam. 24 oct. 20 à 16:26:06 +0200, Sergey A. Osokin <osa at freebsd.org>
>>  écrivait :
>>
>>> Hi there,
>> Hello,
>>
>>> have got similar error code with www/unit-java package build (*):
>>> ...
>>> configuring Java module
>>> checking for java executable ... found /usr/local/bin/java
>>> Error: dl failure on line 909
>>> Error: failed /usr/local/openjdk8/jre/lib/i386/server/libjvm.so, because /usr/local/openjdk8/jre/lib/i386/server/libjvm.so: Undefined symbol "_ZN14ArrayAllocatorIjL10MemoryType7EE4freeEv"
>>> *** Error code 6
>>>
>>> (*) http://beefy10.nyi.freebsd.org/data/114i386-default/553153/logs/unit-java8-1.20.0.log
>> If this might help: trace_rlog is no more built in net/mpich2.
>>
>> There is no error, but it is disabled, caused by configure. The relevant
>> part is:
>>
>> checking for user supplied java... found /usr/local/openjdk8/bin/java
>> checking if /usr/local/openjdk8/bin/java runs simple java class... no
>> checking for java in user's PATH... found /usr/local/bin/java
>> checking if /usr/local/bin/java runs simple java class... no
>> checking for java in known path... found /usr/local/bin/java
>> checking if /usr/local/bin/java runs simple java class... no
>> configure: WARNING:  No Java Virtual Machine can be found anywhere!
>>
>> Previously, all these "no" were "yes", e.g.:
>>
>> checking for user supplied java... found /usr/local/openjdk8/bin/java
>> checking if /usr/local/openjdk8/bin/java runs simple java class... yes
>> checking if /usr/local/openjdk8/bin/java runs simple jar file... yes
>> checking if /usr/local/openjdk8/bin/java runs non-GUI tool... yes
>> checking if /usr/local/openjdk8/bin/java runs simple Swing class... yes
>> checking if /usr/local/openjdk8/bin/java runs simple Swing jar file... yes
>> checking for Java version... openjdk full version "1.8.0_272-b10", i.e. Java 2 SDK
>>
>> Regards.
>> -- 
>> Th. Thomas.
>>
>>
>>
>> There is a lot of pkg-fallouts in ports on the java category:
>> https://portsfallout.com/fallout?categories=java
>> ^^ with this is easy to see the list and logs
>>
>> All on i386 and with "Undefined symbol
>> "_ZN14ArrayAllocatorIjL10MemoryType7EE4freeEv""/
>>
>> Regards.


I've committed something that should fix it, at least for now, by
disabling Java Flight Recorder on i386.  Longer term this needs more
investigation into why this causes problems.


-- Greg



More information about the svn-ports-all mailing list