failed build after 922a93fc73ec & 39cf8145405f

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

failed build after 922a93fc73ec & 39cf8145405f

Ben Abbott-5
I;m on macOS, but don’t think that is related, is anyone seeing this same problem.

libtool: link: g++ -std=gnu++11 -dynamiclib  -o liboctave/.libs/liboctave.5.dylib  liboctave/.libs/liboctave_la-liboctave-build-info.o liboctave/.libs/liboctave_la-version.o   -Wl,-force_load,liboctave/array/.libs/libarray.a -Wl,-force_load,liboctave/external/ranlib/.libs/libranlib.a -Wl,-force_load,liboctave/external/.libs/libexternal.a -Wl,-force_load,liboctave/numeric/.libs/libnumeric.a -Wl,-force_load,liboctave/operators/.libs/liboperators.a -Wl,-force_load,liboctave/system/.libs/libsystem.a -Wl,-force_load,liboctave/util/.libs/libutil.a -Wl,-force_load,liboctave/wrappers/.libs/libwrappers.a -Wl,-force_load,libgnu/.libs/libgnu.a  -L/usr/local/Cellar/arpack/3.5.0/libexec/lib -L/usr/local/Cellar/fftw/3.3.7_1/lib -L/usr/local/Cellar/pcre/8.42/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/texinfo/lib -L/usr/local/opt/qt/lib -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.5.0/libexec/lib/libarpack.dylib -L/usr/local/opt/openblas/lib -lopenblas -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -L/usr/local/opt/veclibfort/lib -lvecLibFort -lreadline -lncurses -lpcre -ldl -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0 -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0/../../.. -lgfortran -lquadmath -liconv -lm  -pthread -g -O2   -pthread -install_name  /usr/local/bpabbott/octave/lib/octave/5.0.0/liboctave.5.dylib -compatibility_version 6 -current_version 6.0 -Wl,-single_module
Undefined symbols for architecture x86_64:
  "_u8_strmblen", referenced from:
      _octave_u8_strmblen_wrapper in libwrappers.a(libwrappers_la-unistr-wrappers.o)
     (maybe you meant: _octave_u8_strmblen_wrapper)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [liboctave/liboctave.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ben


Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

Dmitri A. Sergatskov


On Mon, May 28, 2018 at 12:54 PM, Ben Abbott <[hidden email]> wrote:
I;m on macOS, but don’t think that is related, is anyone seeing this same problem.

libtool: link: g++ -std=gnu++11 -dynamiclib  -o liboctave/.libs/liboctave.5.dylib  liboctave/.libs/liboctave_la-liboctave-build-info.o liboctave/.libs/liboctave_la-version.o   -Wl,-force_load,liboctave/array/.libs/libarray.a -Wl,-force_load,liboctave/external/ranlib/.libs/libranlib.a -Wl,-force_load,liboctave/external/.libs/libexternal.a -Wl,-force_load,liboctave/numeric/.libs/libnumeric.a -Wl,-force_load,liboctave/operators/.libs/liboperators.a -Wl,-force_load,liboctave/system/.libs/libsystem.a -Wl,-force_load,liboctave/util/.libs/libutil.a -Wl,-force_load,liboctave/wrappers/.libs/libwrappers.a -Wl,-force_load,libgnu/.libs/libgnu.a  -L/usr/local/Cellar/arpack/3.5.0/libexec/lib -L/usr/local/Cellar/fftw/3.3.7_1/lib -L/usr/local/Cellar/pcre/8.42/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/texinfo/lib -L/usr/local/opt/qt/lib -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.5.0/libexec/lib/libarpack.dylib -L/usr/local/opt/openblas/lib -lopenblas -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -L/usr/local/opt/veclibfort/lib -lvecLibFort -lreadline -lncurses -lpcre -ldl -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0 -L/usr/local/Cellar/gcc/8.1.0/lib/gcc/8/gcc/x86_64-apple-darwin17.5.0/8.1.0/../../.. -lgfortran -lquadmath -liconv -lm  -pthread -g -O2   -pthread -install_name  /usr/local/bpabbott/octave/lib/octave/5.0.0/liboctave.5.dylib -compatibility_version 6 -current_version 6.0 -Wl,-single_module
Undefined symbols for architecture x86_64:
  "_u8_strmblen", referenced from:
      _octave_u8_strmblen_wrapper in libwrappers.a(libwrappers_la-unistr-wrappers.o)
     (maybe you meant: _octave_u8_strmblen_wrapper)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [liboctave/liboctave.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ben



​Buildbots seem to be generally happy:

Dmitri.
--


Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

Daniel Sebald
In reply to this post by Ben Abbott-5
  12:54 PM, Ben Abbott wrote:
> I;m on macOS, but don’t think that is related, is anyone seeing this same problem.

It appears that u8_strmblen() is part of libgnu.  Did you re-run
./bootstrap to ensure the necessary GNU files are added to the project?
If that doesn't work, then perhaps something is wrong with the MacOS
bootstrap/configure scripts.

Dan


Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

Ben Abbott-5


> On May 28, 2018, at 14:37, Daniel J Sebald <[hidden email]> wrote:
>
> 12:54 PM, Ben Abbott wrote:
>> I;m on macOS, but don’t think that is related, is anyone seeing this same problem.
>
> It appears that u8_strmblen() is part of libgnu.  Did you re-run ./bootstrap to ensure the necessary GNU files are added to the project? If that doesn't work, then perhaps something is wrong with the MacOS bootstrap/configure scripts.
>
> Dan

Yes. I’ve run bootstrap, configure, make a few times.

Ben
Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

Daniel Sebald
In reply to this post by Daniel Sebald
On 05/28/2018 04:37 PM, Daniel J Sebald wrote:
>   12:54 PM, Ben Abbott wrote:
>> I;m on macOS, but don’t think that is related, is anyone seeing this
>> same problem.
>
> It appears that u8_strmblen() is part of libgnu.  Did you re-run
> ./bootstrap to ensure the necessary GNU files are added to the project?
> If that doesn't work, then perhaps something is wrong with the MacOS
> bootstrap/configure scripts.

... I'm seeing the same issue now.  The source code is present,

@linux ~/octave/octave/octave $ ls */*/*/*u8-strmblen* -l
-rw-rw-r-- 1 1753 Apr 18 18:09 gnulib/lib/unistr/u8-strmblen.c
-rw-rw-r-- 1  343 Apr 18 18:09 gnulib/modules/unistr/u8-strmblen
-rw-rw-r-- 1  260 Apr 18 18:09 gnulib/modules/unistr/u8-strmblen-tests
-rw-rw-r-- 1 3512 Apr 18 18:09 gnulib/tests/unistr/test-u8-strmblen.c

but for some reason it's not making it into a library linked with Octave.

Dan

Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

Andreas Stahel
Dear all

I observe the exact same problem on a stock Xubuntu 16.04, while on Xubuntu
17.10 the problem does not show.

I hope it helps

Andreas




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

mmuetzel
That should be fixed with this change set:
http://hg-new.octave.org/octave/rev/8fae933e7228

For some reason, that gnulib module was implicitly included on my system
(Ubuntu 18.04). But it seems to not be a dependency on others. Including it
explicitly should fix the issues.
Please, let me know if compilation run after bootstrapping again.

Markus



--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

Andreas Stahel
mmuetzel wrote

> That should be fixed with this change set:
> http://hg-new.octave.org/octave/rev/8fae933e7228
>
> For some reason, that gnulib module was implicitly included on my system
> (Ubuntu 18.04). But it seems to not be a dependency on others. Including
> it
> explicitly should fix the issues.
> Please, let me know if compilation run after bootstrapping again.
>
> Markus
>
>
>
> --
> Sent from:
> http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Thank you.
It is working on my XUbuntu 16.04 now.

Andreas




--
Sent from: http://octave.1599824.n4.nabble.com/Octave-Maintainers-f1638794.html

Reply | Threaded
Open this post in threaded view
|

Re: failed build after 922a93fc73ec & 39cf8145405f

bpabbott
Administrator
> On May 29, 2018, at 2:09 AM, Andreas Stahel <[hidden email]> wrote:
>
> mmuetzel wrote
>> That should be fixed with this change set:
>> http://hg-new.octave.org/octave/rev/8fae933e7228
>>
>> For some reason, that gnulib module was implicitly included on my system
>> (Ubuntu 18.04). But it seems to not be a dependency on others. Including
>> it
>> explicitly should fix the issues.
>> Please, let me know if compilation run after bootstrapping again.
>>
>> Markus
>>
>
> Thank you.
> It is working on my XUbuntu 16.04 now.
>
> Andreas

Its  also working on macOS using Homebrew
Thanks
Ben