[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49317] compile error on octave-4.2.0-rc2 with
From: |
Hartmut |
Subject: |
[Octave-bug-tracker] [bug #49317] compile error on octave-4.2.0-rc2 with mxe-octave |
Date: |
Tue, 11 Oct 2016 21:06:03 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.gnu.org/bugs/?49317>
Summary: compile error on octave-4.2.0-rc2 with mxe-octave
Project: GNU Octave
Submitted by: hardy
Submitted on: Tue 11 Oct 2016 09:06:00 PM GMT
Category: Configuration and Build System
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc2
Operating System: GNU/Linux
_______________________________________________________
Details:
I see an error when I use the current mxe-octave to compile stable octave,
which is octave-4.2.0-rc2 at the moment.
Here are the details what I do to compile (on Ubuntu 14.04 linux), starting
with a recent, fresh and clean copy of the mxe-octave repo (hg id
47051dc285cd):
cd /home/hartmut-nobackup/mxe-octave-repo/
export JAVA_HOME=/usr/lib/jvm/default-java
autoconf
./configure
make zip-dist
(To be honest, there is a light change in my copy of the repo: freetype
version is updated to 2.6.5. But this shouldn't be the problem, freetype
compiles fine.)
Here is the compilation error message from mxe-octave:
...
[download] stable-octave
[build] stable-octave
Failed to build package stable-octave!
------------------------------------------------------------
make[3]: *** [install-recursive] Fehler 1
make[3]: Verzeichnis
»/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/.build«
wird verlassen
make[2]: *** [install] Fehler 2
make[2]: Verzeichnis
»/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/.build«
wird verlassen
make[1]: *** [build-only-stable-octave] Fehler 2
make[1]: Verzeichnis »/home/hartmut-nobackup/mxe-octave-repo« wird
verlassen
real 17m56.011s
user 16m6.061s
sys 1m55.768s
------------------------------------------------------------
[log] /home/hartmut-nobackup/mxe-octave-repo/log/stable-octave
make: ***
[/home/hartmut-nobackup/mxe-octave-repo/installed-packages/stable-octave]
Fehler 1
And those are the last lines of the "stable-octave" log file:
libtool: link: i686-w64-mingw32-ranlib operators/.libs/liboperators.a
libtool: link: ( cd "operators/.libs" && rm -f "liboperators.la" && ln -s
"../liboperators.la" "liboperators.la" )
/bin/bash ../libtool --tag=CXX --mode=compile i686-w64-mingw32-g++
-DHAVE_CONFIG_H -I.
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave
-I..
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/array
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/cruft/misc
-Inumeric
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/numeric
-Ioperators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/operators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/util
-I../libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include -pthread
-fopenmp -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT
system/system_libsystem_la-dir-ops.lo -MD -MP -MF
system/.deps/system_libsystem_la-dir-ops.Tpo -c -o
system/system_libsystem_la-dir-ops.lo `test -f 'system/dir-ops.cc' || echo
'/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/'`system/dir-ops.cc
libtool: compile: i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I.
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave
-I..
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/array
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/cruft/misc
-Inumeric
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/numeric
-Ioperators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/operators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/util
-I../libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include -pthread
-fopenmp -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT
system/system_libsystem_la-dir-ops.lo -MD -MP -MF
system/.deps/system_libsystem_la-dir-ops.Tpo -c
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/dir-ops.cc
-DDLL_EXPORT -DPIC -o system/.libs/system_libsystem_la-dir-ops.o
mv -f system/.deps/system_libsystem_la-dir-ops.Tpo
system/.deps/system_libsystem_la-dir-ops.Plo
/bin/bash ../libtool --tag=CXX --mode=compile i686-w64-mingw32-g++
-DHAVE_CONFIG_H -I.
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave
-I..
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/array
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/cruft/misc
-Inumeric
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/numeric
-Ioperators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/operators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/util
-I../libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include -pthread
-fopenmp -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT
system/system_libsystem_la-file-ops.lo -MD -MP -MF
system/.deps/system_libsystem_la-file-ops.Tpo -c -o
system/system_libsystem_la-file-ops.lo `test -f 'system/file-ops.cc' || echo
'/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/'`system/file-ops.cc
libtool: compile: i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I.
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave
-I..
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/array
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/cruft/misc
-Inumeric
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/numeric
-Ioperators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/operators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/util
-I../libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include -pthread
-fopenmp -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT
system/system_libsystem_la-file-ops.lo -MD -MP -MF
system/.deps/system_libsystem_la-file-ops.Tpo -c
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-ops.cc
-DDLL_EXPORT -DPIC -o system/.libs/system_libsystem_la-file-ops.o
mv -f system/.deps/system_libsystem_la-file-ops.Tpo
system/.deps/system_libsystem_la-file-ops.Plo
/bin/bash ../libtool --tag=CXX --mode=compile i686-w64-mingw32-g++
-DHAVE_CONFIG_H -I.
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave
-I..
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/array
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/cruft/misc
-Inumeric
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/numeric
-Ioperators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/operators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/util
-I../libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include -pthread
-fopenmp -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT
system/system_libsystem_la-file-stat.lo -MD -MP -MF
system/.deps/system_libsystem_la-file-stat.Tpo -c -o
system/system_libsystem_la-file-stat.lo `test -f 'system/file-stat.cc' || echo
'/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/'`system/file-stat.cc
libtool: compile: i686-w64-mingw32-g++ -DHAVE_CONFIG_H -I.
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave
-I..
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/array
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/cruft/misc
-Inumeric
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/numeric
-Ioperators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/operators
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/util
-I../libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu
-I/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include -pthread
-fopenmp -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
-Wwrite-strings -Wcast-align -Wcast-qual -g -O2 -MT
system/system_libsystem_la-file-stat.lo -MD -MP -MF
system/.deps/system_libsystem_la-file-stat.Tpo -c
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc
-DDLL_EXPORT -DPIC -o system/.libs/system_libsystem_la-file-stat.o
In file included from
/home/hartmut-nobackup/mxe-octave-repo/usr/lib/gcc/i686-w64-mingw32/4.9.4/include/c++/cstring:42:0,
from
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc:28:
../libgnu/time.h:467:45: error: conflicting declaration of 'tm*
localtime_r(const time_t*, tm*)' with 'C' linkage
_GL_ARG_NONNULL ((1, 2)));
^
In file included from ../libgnu/time.h:41:0,
from ../libgnu/sys/stat.h:44,
from
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu/filemode.h:22,
from
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc:33:
/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include/time.h:269:34:
note: previous declaration with 'C++' linkage
__forceinline struct tm *__cdecl localtime_r(const time_t *_Time, struct tm
*_Tm) {
^
In file included from
/home/hartmut-nobackup/mxe-octave-repo/usr/lib/gcc/i686-w64-mingw32/4.9.4/include/c++/cstring:42:0,
from
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc:28:
../libgnu/time.h:489:42: error: conflicting declaration of 'tm* gmtime_r(const
time_t*, tm*)' with 'C' linkage
_GL_ARG_NONNULL ((1, 2)));
^
In file included from ../libgnu/time.h:41:0,
from ../libgnu/sys/stat.h:44,
from
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/libgnu/filemode.h:22,
from
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc:33:
/home/hartmut-nobackup/mxe-octave-repo/usr/i686-w64-mingw32/include/time.h:272:34:
note: previous declaration with 'C++' linkage
__forceinline struct tm *__cdecl gmtime_r(const time_t *_Time, struct tm
*_Tm) {
^
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc:126:32:
warning: unused parameter 'mode' [-Wunused-parameter]
base_file_stat::is_lnk (mode_t mode)
^
/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/liboctave/system/file-stat.cc:146:33:
warning: unused parameter 'mode' [-Wunused-parameter]
base_file_stat::is_sock (mode_t mode)
^
make[5]: *** [system/system_libsystem_la-file-stat.lo] Fehler 1
make[5]: Verzeichnis
»/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/.build/liboctave«
wird verlassen
make[4]: *** [install] Fehler 2
make[4]: Verzeichnis
»/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/.build/liboctave«
wird verlassen
make[3]: *** [install-recursive] Fehler 1
make[3]: Verzeichnis
»/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/.build«
wird verlassen
make[2]: *** [install] Fehler 2
make[2]: Verzeichnis
»/home/hartmut-nobackup/mxe-octave-repo/tmp-stable-octave/octave-4.0.3/.build«
wird verlassen
make[1]: *** [build-only-stable-octave] Fehler 2
make[1]: Verzeichnis »/home/hartmut-nobackup/mxe-octave-repo« wird
verlassen
real 17m56.011s
user 16m6.061s
sys 1m55.768s
Is this a known bug (possibly of my elderly OS Ubuntu 14.04) or a new
behavior?
Let me know if you need more information on my build system.
(By the way: Why is the subfolder in tmp-stable-octave still named
"octave-4.0.3" even if I compile octave-4.2.0-rc2?)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49317>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49317] compile error on octave-4.2.0-rc2 with mxe-octave,
Hartmut <=