Bug#559766: java3d: FTBFS on non-Linux ports

2009-12-07 Thread Onkar Shinde
Thanks for the patch. I had already worked on a solution that solves
current problem. But going forward the compilation fails as java3d
uses some Sun specific APIs which are not available in anything other
than openjdk (considering packages in main).

Openjdk is not available on kfreebsd architectures. So the build will
fail eventually. Same is the case for HPPA. That is the reason I gave
up fixing the build failures for this package.


Onkar



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559766: java3d: FTBFS on non-Linux ports

2009-12-07 Thread Cyril Brulebois
Onkar Shinde onkarshi...@ubuntu.com (07/12/2009):
 Openjdk is not available on kfreebsd architectures. So the build
 will fail eventually. Same is the case for HPPA. That is the reason
 I gave up fixing the build failures for this package.

I understand; still, openjdk is on our porting roadmap, so if you have
a chance to fix the identified issues, it could then be given back
once openjdk is available. Take your time anyway, it might take a
while…

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#559766: java3d: FTBFS on non-Linux ports

2009-12-06 Thread Cyril Brulebois
Package: java3d
Version: 1.5.2+dfsg-4
Severity: important
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hi,

your package FTBFS on non-Linux ports as follows (example from
kfreebsd-amd64, all logs are at [1]):
| cd .  /usr/lib/jvm/default-java/bin/java -classpath 
/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/ant-nodeps.jar:/usr/share/java/vecmath.jar:/usr/lib/jvm/default-java/lib/tools.jar
  -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dbuild.type=fcs   
-buildfile j3d-core/build.xml  echo jar docs
| Buildfile: j3d-core/build.xml
| 
| init:
|  [echo] buildtime = 19 Oct 2009 19:28:16 GMT
| 
| initBuildType:
| 
| setupBuildPatch:
| 
| setupBuildFcs:
| 
| setupBuildBeta:
| 
| setupBuildStable:
| 
| setupBuildDaily:
| 
| checkBuildType:
| 
| setupBuildType:
|  [echo] build.type = fcs
| 
| setupSolaris:
| 
| setupSolarisX86:
| 
| setupLinux:
| 
| setupLinuxAmd64:
| 
| setupLinuxIA64:
| 
| setupLinuxPPC:
| 
| setupLinuxGeneric:
| 
| setupWindows:
| 
| setupWindowsAmd64:
| 
| setupMacOSX:
| 
| init-jogl:
| 
| init-no-jogl:
| 
| setupJogl:
| 
| setupPlatform:
| 
| echo:
|  [echo] platform= ${platform}
|  [echo] wstype  = ${wstype}
|  [echo] os.arch = x86_64
|  [echo] os.name = GNU/kFreeBSD
|  [echo] ant.home= /usr/share/ant
|  [echo] java.home   = /usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/jre
|  [echo] core_utils_home = 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core-utils
|  [echo] vecmath_home= 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/vecmath
|  [echo] user.name   = buildd
|  [echo] user.home   = /srv/buildd
|  [echo] 
|  [echo] build.type  = fcs
|  [echo] build.rend  = ogl
|  [echo] build.comp  = gcc
|  [echo] is_dev_phase= false
|  [echo] is_production   = true
|  [echo] use_verbose_buildtime = false
|  [echo] version_build   = build4
|  [echo] version_suffix  = 
|  [echo] version = 1.5.2
|  [echo] version_file= 1_5_2
| 
| init:
|  [echo] buildtime = 19 Oct 2009 19:28:16 GMT
| 
| initBuildType:
| 
| setupBuildPatch:
| 
| setupBuildFcs:
| 
| setupBuildBeta:
| 
| setupBuildStable:
| 
| setupBuildDaily:
| 
| checkBuildType:
| 
| setupBuildType:
|  [echo] build.type = fcs
| 
| setupSolaris:
| 
| setupSolarisX86:
| 
| setupLinux:
| 
| setupLinuxAmd64:
| 
| setupLinuxIA64:
| 
| setupLinuxPPC:
| 
| setupLinuxGeneric:
| 
| setupWindows:
| 
| setupWindowsAmd64:
| 
| setupMacOSX:
| 
| init-jogl:
| 
| init-no-jogl:
| 
| setupJogl:
| 
| setupPlatform:
| 
| compile-debug:
| 
| compile-debug:
| [mkdir] Created dir: 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/build/${platform}/debug/classes
| [mkdir] Created dir: 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/build/${platform}/debug/gen/tools
| [mkdir] Created dir: 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/build/${platform}/debug/gen/classes/javax/media/j3d
|  [copy] Copying 1 file to 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/build/${platform}/debug/gen/classes/javax/media/j3d
| 
| BUILD FAILED
| 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/build.xml:432:
 The following error occurred while executing this line:
| 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/src/classes/build.xml:52:
 srcdir 
/build/buildd-java3d_1.5.2+dfsg-4-kfreebsd-amd64-4HLGRq/java3d-1.5.2+dfsg/j3d-core/src/classes/${wstype}
 does not exist!
| 
| Total time: 1 second
| make: *** [debian/stamp-ant-build] Error 1

 1. https://buildd.debian.org/status/package.php?suite=unstablep=java3d

I might try and get back to it to work on a patch, but let's report bugs
first. (And that's java anyway… :/)

Mraw,
KiBi.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559766: java3d: FTBFS on non-Linux ports

2009-12-06 Thread Cyril Brulebois
Cyril Brulebois k...@debian.org (07/12/2009):
 I might try and get back to it to work on a patch, but let's report
 bugs first. (And that's java anyway… :/)

XML-based build systems, brr…

Anyway, the attached patch helped a bit, I'm now getting java
compilation errors, I've stripped the build log a bit this way, and
I'm attaching it:
| $ grep ERROR ../java3d_1.5.2+dfsg-4_kfreebsd-i386.build -A 2 \
| ../java3d+kbsd+stripped.log

I think it'd be nice to have this applied, even if that doesn't solve
the FTBFS for real, that should provide a full build log to java-aware
people.

Thanks for considering.

Mraw,
KiBi.
--- a/j3d-core/build.xml
+++ b/j3d-core/build.xml
@@ -392,7 +392,10 @@
 /condition
 
 condition property=isLinuxGeneric
+	or
 os name=linux/
+os name=GNU/kFreeBSD/
+	/or
 /condition
 
 condition property=isSolarisOnSparc
[javac] 2865. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 38)
[javac] import sun.awt.X11GraphicsDevice;
[javac]^
--
[javac] 2866. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11
[javac] NativeConfigTemplate3D.java (at line 39)
[javac] import sun.awt.X11GraphicsConfig;
--
[javac] 2867. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 75)
[javac] X11GraphicsDevice gd =
[javac] ^
--
[javac] 2868. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 76)
[javac] (X11GraphicsDevice)((X11GraphicsConfig)gc[0]).getDevice();
[javac]  ^
--
[javac] 2869. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11
[javac] NativeConfigTemplate3D.java (at line 76)
[javac] (X11GraphicsDevice)((X11GraphicsConfig)gc[0]).getDevice();
--
[javac] 2870. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 91)
[javac] ((X11GraphicsConfig)gc[i]).getVisual());
[javac]   ^
--
[javac] 2871. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 140)
[javac] X11GraphicsConfig gc0 = null;
[javac] ^
--
[javac] 2872. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11
[javac] NativeConfigTemplate3D.java (at line 142)
[javac] if (((X11GraphicsConfig)gc[i]).getVisual() == visID) {
--
[javac] 2873. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 143)
[javac] gc0 = (X11GraphicsConfig)gc[i];
[javac]^
--
[javac] 2874. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 154)
[javac] X11GraphicsConfig gc1 =
[javac] ^
--
[javac] 2875. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 155)
[javac] X11GraphicsConfig.getConfig(gd, gc0.getVisual(),
[javac] ^
--
[javac] 2876. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 180)
[javac] X11GraphicsDevice gd =
[javac] ^
--
[javac] 2877. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11
[javac] NativeConfigTemplate3D.java (at line 181)
[javac] (X11GraphicsDevice)((X11GraphicsConfig)gc).getDevice();
--
[javac] 2878. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 181)
[javac] (X11GraphicsDevice)((X11GraphicsConfig)gc).getDevice();
[javac]  ^
--
[javac] 2879. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 223)
[javac] X11GraphicsDevice gd =
[javac] ^
--
[javac] 2880. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11
[javac] NativeConfigTemplate3D.java (at line 224)
[javac] (X11GraphicsDevice)((X11GraphicsConfig)gc).getDevice();
--
[javac] 2881. ERROR in 
/srv/storage/kibi/hack/java3d-1.5.2+dfsg/j3d-core/src/classes/x11/javax/media/j3d/X11NativeConfigTemplate3D.java
 (at line 224)
[javac]