Source: scilab
Version: 6.0.1-1
Severity: serious

Build log from the buildd:

"""
Building index for all classes...
Generating ./modules/javasci/javadoc/allclasses-frame.html...
Generating ./modules/javasci/javadoc/allclasses-noframe.html...
Generating ./modules/javasci/javadoc/index.html...
Generating ./modules/javasci/javadoc/overview-summary.html...
-- Building documentation (en_US) --
LANG=en_US.UTF-8 LC_ALL=C SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 
_JAVA_OPTIONS='-Djava.awt.headless=true' HOME=/tmp ./bin/scilab-adv-cli 
-noatomsautoload -nb -l en_US -nouserstartup -e "try 
xmltojar([],[],'en_US');catch disp(lasterror()); exit(-1);end;exit(0);"
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true
Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared 
resources for EGLGraphicsDevice[type .egl, v0.0.0, connection nil, unitID 0, 
handle 0x0, owner true, ResourceToolkitLock[obj 0x804ce6, isOwner true, 
<182de92, 6d1923>[count 1, qsz 0, owner <main-SharedResourceRunner>]]] on 
thread main-SharedResourceRunner
    [0]: 
jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:518)
    [1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
    [2]: java.lang.Thread.run(Thread.java:748)
Caused[0] by GLException: Failed to created/initialize EGL display incl. 
fallback default: native 0x0, error 0x3001/0x3001 on thread 
main-SharedResourceRunner
    [0]: 
jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(EGLDisplayUtil.java:297)
    [1]: jogamp.opengl.egl.EGLDisplayUtil.access$300(EGLDisplayUtil.java:58)
    [2]: 
jogamp.opengl.egl.EGLDisplayUtil$1.eglGetAndInitDisplay(EGLDisplayUtil.java:320)
    [3]: 
com.jogamp.nativewindow.egl.EGLGraphicsDevice.open(EGLGraphicsDevice.java:125)
    [4]: 
jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(EGLDrawableFactory.java:532)
    [5]: 
jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:516)
    [6]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
    [7]: java.lang.Thread.run(Thread.java:748)
Segmentation fault
Makefile:2204: recipe for target 'doc' failed
make[1]: *** [doc] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
/usr/share/cdbs/1/class/makefile.mk:77: recipe for target 
'debian/stamp-makefile-build' failed
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2018-07-01T17:48:33Z
"""

It is possible that the following patch in Ubuntu solves/works around the 
problem:

"""
diff -pruN 6.0.1-1/debian/changelog 6.0.1-1ubuntu1/debian/changelog
--- 6.0.1-1/debian/changelog    2018-02-26 12:32:37.000000000 +0000
+++ 6.0.1-1ubuntu1/debian/changelog     2018-03-06 16:07:25.000000000 +0000
@@ -1,3 +1,9 @@
+scilab (6.0.1-1ubuntu1) bionic; urgency=medium
+
+  * Disable building help docs on i386, java fails.
+
+ -- Dimitri John Ledkov <x...@ubuntu.com>  Tue, 06 Mar 2018 17:07:25 +0100
+
 scilab (6.0.1-1) unstable; urgency=medium
 
   * Formally adopting the package (Closes: #744140).
diff -pruN 6.0.1-1/debian/control 6.0.1-1ubuntu1/debian/control
--- 6.0.1-1/debian/control      2018-02-26 12:32:37.000000000 +0000
+++ 6.0.1-1ubuntu1/debian/control       2018-03-06 16:07:25.000000000 +0000
@@ -1,7 +1,8 @@
 Source: scilab
 Section: math
 Priority: optional
-Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
+Maintainer: Ubuntu Developers <ubuntu-devel-disc...@lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian Science Team 
<debian-science-maintain...@lists.alioth.debian.org>
 Uploaders: Julien Puydt <julien.pu...@laposte.net>
 Build-Depends: cdbs, debhelper (>= 10), gfortran,
  default-jdk, chrpath, ocaml-nox (>= 3.11.2-3), fakeroot,
diff -pruN 6.0.1-1/debian/rules 6.0.1-1ubuntu1/debian/rules
--- 6.0.1-1/debian/rules        2018-01-09 11:11:21.000000000 +0000
+++ 6.0.1-1ubuntu1/debian/rules 2018-03-06 16:07:21.000000000 +0000
@@ -35,7 +35,7 @@ endif
 
 DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,--no-as-needed"
 
-ENABLE_BUILD_HELP_ARCHS := amd64 i386
+ENABLE_BUILD_HELP_ARCHS := amd64
 ifneq (,$(findstring $(DEB_HOST_ARCH),$(ENABLE_BUILD_HELP_ARCHS)))
 # Enable the build on these arch. it timeouts for the other archs
 DEB_MAKE_BUILD_TARGET := all doc
"""

This bug is preventing several important bugs fixes from reaching
testing, so a timely fix would be appreciated.

Thanks,
~Niels

Reply via email to