Re: Futex problems with firebird3.0 and openjdk-8 on m68k

2017-05-30 Thread Finn Thain
On Sun, 28 May 2017, John Paul Adrian Glaubitz wrote:

> 
> Btw, could you try building openjdk-8 as well?
> 

OK.

> $ dget -u 
> http://deb.debian.org/debian/pool/main/o/openjdk-8/openjdk-8_8u131-b11-2.dsc
> $ apt-get build-dep openjdk-8
> $ cd openjdk-8_...
> $ ./debian/rules binary-arch
> 

[...]
make[5]: Entering directory '/home/build/openjdk-8-8u131-b11/build/hotspot'
/usr/lib/jvm/java-8-openjdk-m68k/bin/javac -g -encoding ascii -source 6 -target 
6 -d linux_m68k_docs 
/home/build/openjdk-8-8u131-b11/src/hotspot/src/share/vm/prims/jvmtiGen.java
warning: [options] bootstrap class path not set in conjunction with -source 1.6
1 warning
Generating linux_m68k_docs/jvmti.html
/usr/lib/jvm/java-8-openjdk-m68k/bin/java -classpath linux_m68k_docs jvmtiGen 
-IN /home/build/openjdk-8-8u131-b11/src/hotspot/src/share/vm/prims/jvmti.xml 
-XSL /home/build/openjdk-8-8u131-b11/src/hotspot/src/share/vm/prims/jvmti.xsl 
-OUT linux_m68k_docs/jvmti.html
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.util.HashMap.resize(HashMap.java:703)
at java.util.HashMap.putVal(HashMap.java:662)
at java.util.HashMap.put(HashMap.java:611)
at java.util.ListResourceBundle.loadLookup(ListResourceBundle.java:204)
at 
java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:130)
at java.util.ResourceBundle.getObject(ResourceBundle.java:441)
at java.util.ResourceBundle.getString(ResourceBundle.java:407)
at 
com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg.getErrorMessage(ErrorMsg.java:312)
at 
com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg.toString(ErrorMsg.java:285)
at java.lang.String.valueOf(String.java:2994)
at java.io.PrintStream.println(PrintStream.java:821)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.error(TransformerImpl.java:1327)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.postErrorToListener(TransformerImpl.java:804)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:745)
at 
com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:351)
at jvmtiGen.main(jvmtiGen.java:153)
/home/build/openjdk-8-8u131-b11/src/hotspot/make/linux/makefiles/jvmti.make:105:
 recipe for target 'linux_m68k_docs/jvmti.html' failed
make[5]: *** [linux_m68k_docs/jvmti.html] Error 1
make[5]: Leaving directory '/home/build/openjdk-8-8u131-b11/build/hotspot'
/home/build/openjdk-8-8u131-b11/src/hotspot/make/linux/Makefile:351: recipe for 
target 'docs' failed
make[4]: *** [docs] Error 2
make[4]: Leaving directory '/home/build/openjdk-8-8u131-b11/build/hotspot'
Makefile:158: recipe for target 'docs' failed
make[3]: Leaving directory '/home/build/openjdk-8-8u131-b11/src/hotspot/make'
make[3]: *** [docs] Error 2
HotspotWrapper.gmk:44: recipe for target 
'/home/build/openjdk-8-8u131-b11/build/hotspot/_hotspot.timestamp' failed
make[2]: *** [/home/build/openjdk-8-8u131-b11/build/hotspot/_hotspot.timestamp] 
Error 2
make[2]: Leaving directory '/home/build/openjdk-8-8u131-b11/src/make'
/home/build/openjdk-8-8u131-b11/src//make/Main.gmk:108: recipe for target 
'hotspot-only' failed
make[1]: *** [hotspot-only] Error 2
make[1]: Leaving directory '/home/build/openjdk-8-8u131-b11/build'
debian/rules:1251: recipe for target 'stamps/build' failed
make: *** [stamps/build] Error 1

This failure looks the same as the one here:
https://buildd.debian.org/status/fetch.php?pkg=openjdk-8&arch=m68k&ver=8u131-b11-2&stamp=1494984236&raw=1

HTH

-- 



Re: Futex problems with firebird3.0 and openjdk-8 on m68k

2017-05-30 Thread John Paul Adrian Glaubitz
On Tue, May 30, 2017 at 09:13:19PM +1000, Finn Thain wrote:
> This failure looks the same as the one here:
> https://buildd.debian.org/status/fetch.php?pkg=openjdk-8&arch=m68k&ver=8u131-b11-2&stamp=1494984236&raw=1

Ah, I should have told you. You need to patch that part out. It's just
trying to build some documentation, but apparently that eats so much
RAM that the JVM runs out of memory.

I will send you a patch to apply prior building it.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Re: Futex problems with firebird3.0 and openjdk-8 on m68k

2017-05-30 Thread John Paul Adrian Glaubitz
On Tue, May 30, 2017 at 01:24:58PM +0200, John Paul Adrian Glaubitz wrote:
> Ah, I should have told you. You need to patch that part out. It's just
> trying to build some documentation, but apparently that eats so much
> RAM that the JVM runs out of memory.
> 
> I will send you a patch to apply prior building it.

I just tarred up the patched version I still have here, please
download it from:

> http://users.physik.fu-berlin.de/~glaubitz/openjdk-8.tgz

As you can see in the build logs (*.build), it hangs for me when
trying to determine the version of the Java compiler.

Would be really interesting to know if this works for you.

Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



Bug#863737: fpc: Please add manpage for ppc68k command

2017-05-30 Thread John Paul Adrian Glaubitz
Source: fpc
Version: 3.0.0+dfsg-11
Severity: normal
Tags: patch
User: debian-68k@lists.debian.org
Usertags: m68k

Hi!

Since building src:fpc successfully requires a manpage for the native
ppc$CPU binary, we need to add one for ppc68k as well since the package
source is currently not shipping one.

I have just created a copy of the corresponding patch for arm64 to add
a manpage (add_arm64_manpage.patch) and reg-replaced all occurrences
of "ppca64" with "ppc68k".

Please include the patch with the next upload. With the changes from
#863589 [1], fpc can be built on the buildds for m68k without any
problems.

Thanks,
Adrian

> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863589

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
Description: In order to add support for m68k, we need a man-page
Source: Debian

--- /dev/null
+++ fpc-3.0.2+dfsg/install/man/man1/ppc68k.1
@@ -0,0 +1,33 @@
+.TH ppc68k 1 "30 may 1999" "Free Pascal" "Free Pascal Compiler"
+.SH NAME
+ppc68k \- Free Pascal Compiler (FPC) binary, name derived 
+from Portable Pascal Compiler
+
+.SH SYNOPSIS
+
+.B "ppc68k [options] [sourcefile]"
+.BR
+
+.SH DESCRIPTION
+This binary is the back-end binary of the
+.I Free Pascal Compiler (FPC)
+which is a
+.I Turbo Pascal
+and
+.I Delphi (7.0) 
+compatible standalone (non GCC frontend) multitarget Pascal compiler.
+
+This binary should not be called directly, instead the 
+.B fpc
+program should be used instead. 
+It will choose the right back-end for compiling units for the requested platforms.
+
+.SH OPTIONS
+
+For a complete list of all supported command-line options, see the
+.BR fpc (1)
+manual page.
+
+.SH SEE ALSO
+.BR  fpc (1)
+