octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #66555] Control-4.1.0 Fails to install


From: Dmitri A. Sergatskov
Subject: [Octave-bug-tracker] [bug #66555] Control-4.1.0 Fails to install
Date: Wed, 11 Dec 2024 11:37:00 -0500 (EST)

Follow-up Comment #2, bug #66555 (group octave):

I do have a similar problem with homebrew-provided octave. 

clang++ -std=gnu++17
-I/opt/homebrew/Cellar/octave/9.2.0_3/include/octave-9.2.0/octave/..
-I/opt/homebrew/Cellar/octave/9.2.0_3/include/octave-9.2.0/octave
-I/opt/homebrew/Cellar/octave/9.2.0_3/include  -pthread -g -O2  -Wall
-Wno-deprecated-declarations -o __control_slicot_functions__.oct
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T//oct-dnxx2M.o
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T//oct-4Sr2aa.o
slicotlibrary.a  -bundle -undefined dynamic_lookup -bind_at_load
-bundle_loader /opt/homebrew/Cellar/octave/9.2.0_3/bin/octave-9.2.0
-L/opt/homebrew/Cellar/octave/9.2.0_3/lib/octave/9.2.0
-L/opt/homebrew/Cellar/octave/9.2.0_3/lib -bundle -undefined dynamic_lookup
-bind_at_load -bundle_loader
/opt/homebrew/Cellar/octave/9.2.0_3/bin/octave-9.2.0
-L/opt/homebrew/opt/openblas/lib -lopenblas
-L/opt/homebrew/opt/gcc/bin/../lib/gcc/current/gcc/aarch64-apple-darwin23/14
-L/opt/homebrew/opt/gcc/bin/../lib/gcc/current/gcc
-L/opt/homebrew/opt/gcc/bin/../lib/gcc/current/gcc/aarch64-apple-darwin23/14/../../..
-lemutls_w -lheapt_w -lgfortran -lquadmath   -loctinterp -loctave
ld: warning: duplicate -bundle_loader option,
'/opt/homebrew/Cellar/octave/9.2.0_3/bin/octave-9.2.0' ignored
ld: warning: search path
'/opt/homebrew/opt/gcc/bin/../lib/gcc/current/gcc/aarch64-apple-darwin23/14'
not found
ld: warning: search path
'/opt/homebrew/opt/gcc/bin/../lib/gcc/current/gcc/aarch64-apple-darwin23/14/../../..'
not found
ld: library 'emutls_w' not found
clang++: error: linker command failed with exit code 1 (use -v to see
invocation)
make: *** [__control_slicot_functions__.oct] Error 1

error: pkg: error running 'make' for the control package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 619 column 9

Compare that with what I get with self-compiled octave-10:

clang++ -std=gnu++17 -I/usr/local/include/octave-10.0.0/octave/..
-I/usr/local/include/octave-10.0.0/octave -I/usr/local/include  -pthread
-ggdb3 -O2 -march=native -mcpu=native -flto=thin  -Wall
-Wno-deprecated-declarations -o __control_slicot_functions__.oct
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T//oct-wQ6p9k.o
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T//oct-zBcofN.o
slicotlibrary.a  -bundle -undefined dynamic_lookup -bind_at_load
-L/usr/local/lib -bundle -undefined dynamic_lookup -bind_at_load
-L/opt/homebrew/opt/openblas/lib -lopenblas  -L/opt/homebrew/lib
-L/opt/homebrew/Cellar/gcc/14.2.0_1/bin/../lib/gcc/current/gcc/aarch64-apple-darwin24/14
-L/opt/homebrew/Cellar/gcc/14.2.0_1/bin/../lib/gcc/current/gcc
-L/opt/homebrew/Cellar/gcc/14.2.0_1/bin/../lib/gcc/current/gcc/aarch64-apple-darwin24/14/../../..
-lemutls_w -lheapt_w -lgfortran -lquadmath  -L/opt/homebrew/lib -bundle_loader
/usr/local/bin/octave-10.0.0
copyfile
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T/oct-rC69gC/control-4.1.0/src/__control_helper_functions__.oct
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T/oct-rC69gC/control-4.1.0/src/__control_slicot_functions__.oct
/var/folders/ds/5xsh6x4914x78jswflyz20c40000gn/T/oct-rC69gC/control-4.1.0/inst/aarch64-apple-darwin24.1.0-api-v59
The control package was installed into the directory
/Users/dmitri/.local/share/octave/api-v59/packages/control-4.1.0.


GCC path looks wrong. Please file a bug with homebrew people.

Dmitri.
-- 



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?66555>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]