Package: octave
Version: 4.0.0-2
Severity: normal
The build fails here:
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I..
-I/usr/include/hdf5/serial -I../liboctave/cruft/misc -I../liboctave/array
-I../liboctave/numeric -I../liboctave/numeric -I../liboctave/operators
-I../liboctave/operators -I../liboctave/system -I../liboctave/util
-I./octave-value -I./operators -Iparse-tree -I./parse-tree -Icorefcn
-I./corefcn -I../libgnu -I../libgnu -I/usr/include/hdf5/serial
-I/usr/include/hdf5/serial -I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux -D_FORTIFY_SOURCE=2 -pthread -fopenmp
-Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings
-Wcast-align -Wcast-qual -g -O2 -Wformat -Werror=format-security -c -o
octave-value/octave_value_liboctave_value_la-ov-java.lo `test -f
'octave-value/ov-java.cc' || echo './'`octave-value/ov-java.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/hdf5/serial
-I../liboctave/cruft/misc -I../liboctave/array -I../liboctave/numeric
-I../liboctave/numeric -I../liboctave/operators -I../liboctave/operators
-I../liboctave/system -I../liboctave/util -I./octave-value -I./operators
-Iparse-tree -I./parse-tree -Icorefcn -I./corefcn -I../libgnu -I../libgnu
-I/usr/include/hdf5/serial -I/usr/include/hdf5/serial
-I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux
-D_FORTIFY_SOURCE=2 -pthread -fopenmp -Wall -W -Wshadow -Wold-style-cast
-Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -g -O2
-Wformat -Werror=format-security -c octave-value/ov-java.cc -fPIC -DPIC -o
octave-value/.libs/octave_value_liboctave_value_la-ov-java.o
octave-value/ov-java.cc: In function 'octave_value box(JNIEnv*, jobject,
jclass)':
octave-value/ov-java.cc:1057:79: warning: cast from 'char*' to 'jchar* {aka
short unsigned int*}' increases required alignment of target type [-Wcast-align]
JAVA_TYPE * buffer = reinterpret_cast<JAVA_TYPE *> (d.fortran_vec
()); \
^
octave-value/ov-java.cc:1064:1: note: in expansion of macro
'BOX_PRIMITIVE_ARRAY'
BOX_PRIMITIVE_ARRAY (jchar, "[C", Char, char)
^
octave-value/ov-java.cc: In function 'bool unbox(JNIEnv*, const octave_value&,
jobject_ref&, jclass_ref&)':
octave-value/ov-java.cc:1292:80: error: invalid conversion from 'const
jboolean* {aka const unsigned char*}' to 'jboolean* {aka unsigned char*}'
[-fpermissive]
jni_env->Set ## JAVA_TYPE_CAP ## ArrayRegion (jarr, 0, v.numel (),
jv); \
^
octave-value/ov-java.cc:1299:12: note: in expansion of macro
'IF_UNBOX_PRIMITIVE_ARRAY'
IF_UNBOX_PRIMITIVE_ARRAY(bool, bool_, bool, jboolean, Boolean)
^
In file included from octave-value/ov-java.h:26:0,
from octave-value/ov-java.cc:57:
/usr/lib/jvm/default-java/include/jni.h:1468:8: note: initializing argument 4
of 'void _Jv_JNIEnv::SetBooleanArrayRegion(jbooleanArray, jsize, jsize,
jboolean*)'
void SetBooleanArrayRegion (jbooleanArray val0, jsize val1, jsize val2,
jboolean * val3)
^
Full buildd log is here:
http://buildd.debian-ports.org/status/fetch.php?pkg=octave&arch=hppa&ver=4.0.0-2&stamp=1437247203
-- System Information:
Debian Release: stretch/sid
APT prefers unreleased
APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)
Kernel: Linux 3.18.18+ (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL
set to en_CA.utf8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]