On 12/15/2017 10:55 AM, Dmitri A.
Sergatskov wrote:
LIBGL_ALWAYS_SOFTWARE=1 make, didn't seem to make a
difference. I've started to keep track of exactly what order of
commands I do while building to avoid repeating or get intuition
of what changes between and that's help narrow things down.
After a while and looking at errors and getting other errors
resolved, the only remaining errors appear to be those relating
to errors in generating the images needed for the docs.
On my other machine though, I got the linux version compiled
again, and ./octave-hg-repo/.build/run-octave opens octave and
has the new bug fixes I was looking for. make nsis-installer -j4
-k after multiple runs fails with the following three errors:
[build] nsis
[build] of-general
[build] gdb
Failed to build package nsis!
------------------------------------------------------------
scons: *** Path for option APPEND_LIBPATH does not exist:
/home/marshall/mxe-octave/usr/lib32
File
"/home/marshall/mxe-octave/tmp-nsis/nsis-2.50-src/SConstruct",
line 177, in <module>
/home/marshall/mxe-octave/Makefile:851: recipe for target
'build-only-nsis' failed
make[1]: *** [build-only-nsis] Error 2
make[1]: Leaving directory '/home/marshall/mxe-octave'
real 0m2.981s
user 0m1.862s
sys 0m0.458s
------------------------------------------------------------
[log] /home/marshall/mxe-octave/log/nsis
Makefile:851: recipe for target
'/home/marshall/mxe-octave/installed-packages/nsis' failed
make: *** [/home/marshall/mxe-octave/installed-packages/nsis]
Error 1
Failed to build package of-general!
------------------------------------------------------------
File "/home/marshall/mxe-octave/tools/pkg-install.py", line
237, in configure_make
raise Exception, "make failed during build - stopping
install"
Exception: make failed during build - stopping install
/home/marshall/mxe-octave/Makefile:851: recipe for target
'build-only-of-general' failed
make[1]: *** [build-only-of-general] Error 1
make[1]: Leaving directory '/home/marshall/mxe-octave'
real 0m12.185s
user 0m10.556s
sys 0m0.802s
------------------------------------------------------------
[log] /home/marshall/mxe-octave/log/of-general
Makefile:851: recipe for target
'/home/marshall/mxe-octave/installed-packages/of-general' failed
make: ***
[/home/marshall/mxe-octave/installed-packages/of-general] Error
1
Failed to build package gdb!
------------------------------------------------------------
Makefile:849: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory
'/home/marshall/mxe-octave/tmp-gdb/gdb-8.0.1'
/home/marshall/mxe-octave/Makefile:851: recipe for target
'build-only-gdb' failed
make[1]: *** [build-only-gdb] Error 2
make[1]: Leaving directory '/home/marshall/mxe-octave'
real 8m22.099s
user 7m20.136s
sys 0m47.410s
------------------------------------------------------------
[log] /home/marshall/mxe-octave/log/gdb
Makefile:851: recipe for target
'/home/marshall/mxe-octave/installed-packages/gdb' failed
make: *** [/home/marshall/mxe-octave/installed-packages/gdb]
Error 1
make: Target 'nsis-installer' not remade because of errors.
nsis fails I think because it tries to access the non-existent
directory mxe-octave/usr/lib32
of-general fails according to the log because of , though there
are other warnings of deprecated calls:
packfields.cc:54:39: error: conversion from
‘octave::symbol_table::scope*’ to non-scalar type
‘octave::symbol_table::scope’ requested
= interp.require_current_scope ("packfields");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
...
unpackfields.cc:60:39: error: conversion from
‘octave::symbol_table::scope*’ to non-scalar type
‘octave::symbol_table::scope’ requested
= interp.require_current_scope ("unpackfields");
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
(I'm surprised though that this time through all the other of-*
packages built, they almost all failed miserably before on one of
the machines)
gdb failed becaue of :
...
make[4]: *** No rule to make target '../bfd/libbfd.a', needed by
'gdb'.
make[4]: *** No rule to make target '../opcodes/libopcodes.a',
needed by 'gdb'.
make[4]: Target 'all' not remade because of errors.
Any suggestions? The other machine doesn't fail on these (gdb and
nsis, I haven't built package binaries on the other one, and only
accidentally let it slip on this one), so I must have setup
dependencies inconsistently? I'll move the successful
octave-4.3.0+.tar.gz to the other machine which successfully does
make nsis-installer and see if I can combine them. But I'd still
like to solve this so I can reliably build all the way through on
both machines individually.
Do you have the latest mxe-octave? JWE pushed a patch for
of-general a few days ago that may have fixed the issues for that
package.
For gdb, there was probally a previous error in the build that
prevented bfd/libbfd.a etc from being built that may be actual cause
of the error