Bug#560042: scilab-sivp: FTBFS (Scilab cannot create Scilab Java Main-Class)

Laurent Bonnaud Laurent.Bonnaud at inpg.fr
Tue Dec 8 15:01:41 UTC 2009


Package: scilab-sivp
Version: 0.5.0-5
Severity: serious


Hi,

I tried to rebuild scilab-sivp (which is currently not installable in
sid after the OpenCV 2.0 upload) and failed.  Here is the problem:

$ fakeroot apt-get -b source scilab-sivp
Reading package lists... Done                               
Building dependency tree                                    
Reading state information... Done                           
Need to get 3,163kB of source archives.                     
Get:1 http://ftp.fr.debian.org sid/main sivp 0.5.0-5 (dsc) [1,448B]
Get:2 http://ftp.fr.debian.org sid/main sivp 0.5.0-5 (tar) [3,159kB]
Get:3 http://ftp.fr.debian.org sid/main sivp 0.5.0-5 (diff) [3,374B]
Fetched 3,163kB in 0s (5,165kB/s)                                   
dpkg-source: info: extracting sivp in sivp-0.5.0                    
dpkg-source: info: unpacking sivp_0.5.0.orig.tar.gz                 
dpkg-source: info: applying sivp_0.5.0-5.diff.gz                    
dpkg-buildpackage: set CFLAGS to default value: -g -O2              
dpkg-buildpackage: set CPPFLAGS to default value:                   
dpkg-buildpackage: set LDFLAGS to default value:                    
dpkg-buildpackage: set FFLAGS to default value: -g -O2              
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2            
dpkg-buildpackage: source package sivp                              
dpkg-buildpackage: source version 0.5.0-5                           
dpkg-buildpackage: source changed by Sylvestre Ledru <sylvestre at debian.org>
dpkg-buildpackage: host architecture i386                                  
dpkg-checkbuilddeps: warning: relation > is deprecated: use >> or >=       
 debian/rules clean                                                        
test -x debian/rules                                                       
dh_testroot                                                                
SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/bin/make  -C .  -k distclean                                                                                              
make[1]: Entering directory `/tmp/sivp-0.5.0'                                                                      
make[1]: *** No rule to make target `distclean'.                                                                   
make[1]: Leaving directory `/tmp/sivp-0.5.0'                                                                       
make: [makefile-clean] Error 2 (ignored)                                                                           
rm -f debian/stamp-makefile-build                                                                                  
for i in ./config/config.guess ./config/config.sub  ; do \                                                         
                if test -e $i.cdbs-orig ; then \                                                                   
                        mv $i.cdbs-orig $i ; \                                                                     
                fi ; \                                                                                             
        done                                                                                                       
dh_clean                                                                                                           
rm -f debian/stamp-autotools-files                                                                                 
 debian/rules build                                                                                                
test -x debian/rules                                                                                               
mkdir -p "."                                                                                                       
if test -e /usr/share/misc/config.guess ; then \                                                                   
                for i in ./config/config.guess ; do \                                                              
                        if ! test -e $i.cdbs-orig ; then \                                                         
                                mv $i $i.cdbs-orig ; \                                                             
                                cp --remove-destination /usr/share/misc/config.guess $i ; \                        
                        fi ; \                                                                                     
                done ; \                                                                                           
        fi                                                                                                         
if test -e /usr/share/misc/config.sub ; then \                                                                     
                for i in ./config/config.sub ; do \                                                                
                        if ! test -e $i.cdbs-orig ; then \                                                         
                                mv $i $i.cdbs-orig ; \                                                             
                                cp --remove-destination /usr/share/misc/config.sub $i ; \                          
                        fi ; \                                                                                     
                done ; \                                                                                           
        fi                                                                                                         
touch debian/stamp-autotools-files                                                                                 
chmod a+x /tmp/sivp-0.5.0/./configure                                                                              
cd . && CC="cc" CXX="g++" CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2" CPPFLAGS="" LDFLAGS="" /tmp/sivp-0.5.0/./configure --build=i486-linux-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/sivp" --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=.  --prefix=/usr/lib    
checking for a BSD-compatible install... /usr/bin/install -c                                                       
checking whether build environment is sane... yes                                                                  
/tmp/sivp-0.5.0/config/missing: Unknown `--run' option                                                             
Try `/tmp/sivp-0.5.0/config/missing --help' for more information                                                   
configure: WARNING: `missing' script is too old or missing                                                         
checking for a thread-safe mkdir -p... /bin/mkdir -p                                                               
checking for gawk... gawk                                                                                          
checking whether make sets $(MAKE)... yes                                                                          
checking for gcc... cc                                                                                             
checking for C compiler default output file name... a.out                                                          
checking whether the C compiler works... yes                                                                       
checking whether we are cross compiling... no                                                                      
checking for suffix of executables...                                                                              
checking for suffix of object files... o                                                                           
checking whether we are using the GNU C compiler... yes                                                            
checking whether cc accepts -g... yes                                                                              
checking for cc option to accept ISO C89... none needed                                                            
checking for style of include used by make... GNU                                                                  
checking dependency style of cc... none                                                                            
checking for a BSD-compatible install... /usr/bin/install -c                                                       
checking whether ln -s works... yes                                                                                
checking whether make sets $(MAKE)... (cached) yes                                                                 
checking build system type... i486-pc-linux-gnu                                                                    
checking host system type... i486-pc-linux-gnu                                                                     
checking for a sed that does not truncate output... /bin/sed                                                       
checking for grep that handles long lines and -e... /bin/grep                                                      
checking for egrep... /bin/grep -E                                                                                 
checking for ld used by cc... /usr/bin/ld                                                                          
checking if the linker (/usr/bin/ld) is GNU ld... yes                                                              
checking for /usr/bin/ld option to reload object files... -r                                                       
checking for BSD-compatible nm... /usr/bin/nm -B                                                                   
checking how to recognize dependent libraries... pass_all                                                          
checking how to run the C preprocessor... cc -E                                                                    
checking for ANSI C header files... yes                                                                            
checking for sys/types.h... yes                                                                                    
checking for sys/stat.h... yes                                                                                     
checking for stdlib.h... yes                                                                                       
checking for string.h... yes                                                                                       
checking for memory.h... yes                                                                                       
checking for strings.h... yes                                                                                      
checking for inttypes.h... yes                                                                                     
checking for stdint.h... yes                                                                                       
checking for unistd.h... yes                                                                                       
checking dlfcn.h usability... yes                                                                                  
checking dlfcn.h presence... yes                                                                                   
checking for dlfcn.h... yes                                                                                        
checking whether we are using the GNU C++ compiler... yes                                                          
checking whether g++ accepts -g... yes                                                                             
checking dependency style of g++... none                                                                           
checking how to run the C++ preprocessor... g++ -E                                                                 
checking for g77... no                                                                                             
checking for xlf... no                                                                                             
checking for f77... no                                                                                             
checking for frt... no                                                                                             
checking for pgf77... no                                                                                           
checking for cf77... no                                                                                            
checking for fort77... no                                                                                          
checking for fl32... no                                                                                            
checking for af77... no                                                                                            
checking for xlf90... no                                                                                           
checking for f90... no                                                                                             
checking for pgf90... no                                                                                           
checking for pghpf... no                                                                                           
checking for epcf90... no                                                                                          
checking for gfortran... gfortran                                                                                  
checking whether we are using the GNU Fortran 77 compiler... yes                                                   
checking whether gfortran accepts -g... yes                                                                        
checking the maximum length of command line arguments... 805306365                                                 
checking command to parse /usr/bin/nm -B output from cc object... ok                                               
checking for objdir... .libs                                                                                       
checking for ar... ar                                                                                              
checking for ranlib... ranlib                                                                                      
checking for strip... strip                                                                                        
checking if cc supports -fno-rtti -fno-exceptions... no                                                            
checking for cc option to produce PIC... -fPIC                                                                     
checking if cc PIC flag -fPIC works... yes                                                                         
checking if cc static flag -static works... yes                                                                    
checking if cc supports -c -o file.o... yes                                                                        
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes                                      
checking whether -lc should be explicitly linked in... no                                                          
checking dynamic linker characteristics... GNU/Linux ld.so                                                         
checking how to hardcode library paths into programs... immediate                                                  
checking whether stripping libraries is possible... yes                                                            
checking if libtool supports shared libraries... yes                                                               
checking whether to build shared libraries... yes                                                                  
checking whether to build static libraries... yes                                                                  
configure: creating libtool                                                                                        
appending configuration tag "CXX" to libtool                                                                       
checking for ld used by g++... /usr/bin/ld                                                                         
checking if the linker (/usr/bin/ld) is GNU ld... yes                                                              
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes                                     
checking for g++ option to produce PIC... -fPIC                                                                    
checking if g++ PIC flag -fPIC works... yes                                                                        
checking if g++ static flag -static works... yes                                                                   
checking if g++ supports -c -o file.o... yes                                                                       
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes                                     
checking dynamic linker characteristics... GNU/Linux ld.so                                                         
(cached) (cached) checking how to hardcode library paths into programs... immediate                                
appending configuration tag "F77" to libtool                                                                       
checking if libtool supports shared libraries... yes                                                               
checking whether to build shared libraries... yes                                                                  
checking whether to build static libraries... yes                                                                  
checking for gfortran option to produce PIC... -fPIC                                                               
checking if gfortran PIC flag -fPIC works... yes                                                                   
checking if gfortran static flag -static works... yes                                                              
checking if gfortran supports -c -o file.o... yes                                                                  
checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
checking for scilab... yes
Scilab version is 5
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for OPENCV... yes
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for malloc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating etc/Makefile
config.status: creating macros/Makefile
config.status: creating man/Makefile
config.status: creating help/Makefile
config.status: creating images/Makefile
config.status: creating demos/Makefile
config.status: creating src/Makefile
config.status: creating src/builder.sce
config.status: creating src/Makefile.win
config.status: creating loader.sce
config.status: creating src/config.h
config.status: executing depfiles commands

=====================================================
Configuration:
        CFLAGS   = -g -O2 -g -Wall -O2 -I/usr/include/opencv
        LDFLAGS  =  -lcv -lhighgui -lcvaux -lml -lcxcore
=====================================================
This toolbox will be installed in /usr/lib/sivp-0.5.0
Please run 'make' and 'make install' to compile and install the toolbox.

SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 DOCBOOK_ROOT=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh /usr/bin/make  -C .
make[1]: Entering directory `/tmp/sivp-0.5.0'
Making all in src
make[2]: Entering directory `/tmp/sivp-0.5.0/src'
scilab -nw -nb -f builder.sce
Could not access to the Main Scilab Class:
Exception in thread "main" java.lang.ExceptionInInitializerError
        at java.lang.System.getenv(System.java:849)
        at org.scilab.modules.jvm.Scilab.<clinit>(Unknown Source)
Caused by: java.lang.ArrayIndexOutOfBoundsException: 151
        at java.lang.ProcessEnvironment.environ(Native Method)
        at java.lang.ProcessEnvironment.<clinit>(ProcessEnvironment.java:70)
        ... 2 more

Scilab cannot create Scilab Java Main-Class (we have not been able to find the main Scilab class. Check if the Scilab and thirdparty packages are available).
make[2]: *** [libsivp.so] Error 1
make[2]: Leaving directory `/tmp/sivp-0.5.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/sivp-0.5.0'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd sivp-0.5.0 && dpkg-buildpackage -b -uc' failed.
E: Child process failed


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages scilab-sivp depends on:
ii  libc6                         2.10.2-2   GNU C Library: Shared libraries
pn  libcv1                        <none>     (no description available)
pn  libcvaux1                     <none>     (no description available)
ii  libgcc1                       1:4.4.2-3  GCC support library
pn  libhighgui1                   <none>     (no description available)
ii  libstdc++6                    4.4.2-3    The GNU Standard C++ Library v3
ii  scilab                        5.1.1-12   Scientific software package for nu

scilab-sivp recommends no packages.

scilab-sivp suggests no packages.


-- 
Laurent Bonnaud.
http://www.lis.inpg.fr/pages_perso/bonnaud/







More information about the debian-science-maintainers mailing list