Opened 14 years ago

Closed 14 years ago

#10968 closed defect (fixed)

[BUG] Octave fails to build

Reported by: canela@… Owned by: yeled@…
Priority: High Milestone:
Component: ports Version: 1.3.2
Keywords: octave Cc: markd@…
Port:

Description

Octave fails to build on OSX 10.4.8 ppc
---> Building octave with target all
Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_math_octave/work/octave-2.9.9" && make all" returned error 2
Command output: symbol _remquol used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _remquol$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module)
not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _rintl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _rintl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _roundl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _roundl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _scalblnl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _scalblnl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _scalbnl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _scalbnl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sinhl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sinhl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sinl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sinl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sqrtl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _sqrtl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanhl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanhl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tanl$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tgammal used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _tgammal$LDBL64 used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _truncl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
symbol _acoshl used from dynamic library /usr/lib/libmx.dylib(single module) not from earlier dynamic library /usr/lib/libSystem.B.dylib(ld64.o)
g++-dp-4.0 -c -I/opt/local/include -I. -I.. -I../liboctave -I../src -I../libcruft/misc -DHAVE_CONFIG_H -Wall -W -Wshadow -Wold-style-cast -O2 ./DLD-FUNCTIONS/balance.cc -o balance.o
g++-dp-4.0 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o balance.oct
balance.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -framework Accelerate -lfftw3 -lreadline -lncurses -lhdf5 -lz -lm -lgfortran g++-dp-4.0: couldn't run 'undle_loader-gcc-4.0.3': No such file or directory
make[2]: * [balance.oct] Error 1
make[1]:
* [src] Error 2
make: * [all] Error 2

Change History (6)

comment:1 Changed 14 years ago by michael.g.ross.98@…

Also fails on x86, but with different error:

g++-dp-4.2 -bundle -bundle_loader ../src/octave -L/opt/local/lib -o balance.oct balance.o -L../libcruft -lcruft -L../liboctave -loctave -L. -loctinterp -framework Accelerate -lfftw3 -lreadline -lncurses -lhdf5 -lz -lm -L/opt/local/lib -L/opt/local/lib/gcc42/gcc/i386-apple-darwin8.8.1/4.2.0 -L/opt/local/lib/gcc42/gcc/i386-apple-darwin8.8.1/4.2.0/../../.. -lhdf5 -lz -lm -lgfortranbegin -lgfortran /opt/local/bin/odld: warning -prebind has no effect with -bundle /opt/local/bin/odld: loaded objects attempt to redefine link editor defined symbol _dso_handle ../src/octave definition of _dso_handle collect2: ld returned 1 exit status make[2]: * [balance.oct] Error 1 make[1]: * [src] Error 2 make: * [all] Error 2

comment:2 Changed 14 years ago by m@…

The new version built on my MacBook! Good job whoever took over Octave, thank you.

comment:3 Changed 14 years ago by mak_suzu1@…

I made it on MacBook Pro, after trying many build failures.... 1) re-install OS X, update to most up to date (10..4.8 etc). 2) Darwinports 1.3.2, full clean install 3) no other installs, indedd there was no /usr/local directory during installation.

But, the plot does not work, for example; octave:2> x=0:0.01:2; octave:3> y =sin(x*pi()); octave:4> plot(x,y); panic: Segmentation fault -- stopping myself... attempting to save variables to `octave-core'...

comment:4 Changed 14 years ago by mak_suzu1@…

And, I ued xcode 2.4.1. Other issues, 1) glpk library is not included in the dependency list, 2) ghostscript also. and 3) +test seems not working ? I prefer to have "make check" report after such a huge and complex installation. I also recommend maintener should report "make check" results, so we novice can figure out how good or bad our installations are. Anyway, I made the octave build for the first time after 9 months of build failures. Thanks.

comment:5 Changed 14 years ago by mak_suzu1@…

Addition, I made 'make check', at work directory. The results was pretty bad. After passing "Integrated test scripts:", Fixed test scripts:

test_args.m ............................................ PASS 10/10 test_arith.m ...........................................panic: Bus error -- stopping myself...

panic: attempted clean up apparently failed -- aborting... make[2]: * [check] Abort trap make[1]: * [check] Error 2 make: * [check] Error 2 [powerbook-12:octave/work/octave-2.9.9] user%

So, it looks that it was compiled but is not working correctly. Test process continues another several 100s. But it passed only 10.

comment:6 Changed 14 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

The current port is 2.9.9 and it now works on Mac Intel.

Note: See TracTickets for help on using tickets.