On 11/5/13 10:46 AM, Dominique Dhumieres wrote:
> Building octave-atlas-3.6.4-5 on
>
> Package manager version: 0.36.0
> Distribution version: selfupdate-rsync Tue Nov  5 19:17:20 2013, 10.9, x86_64
> Trees: local/main stable/main
> Xcode.app: 5.0.1
> Xcode command-line tools: 5.0.1.0.1.1382131676
> Max. Fink build jobs:  1
>
> failed with
>
> ...
> libtool: compile:  flag-sort -r g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu 
> -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. 
> -I/sw64/include -I/sw64/include -O3 -MD -I/usr/X11/include -DHAVE_CONFIG_H 
> -I/sw64/include -I/sw64/include/freetype2 -I/sw64/include -I/sw64/include 
> -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings 
> -Wcast-align -Wcast-qual -O3 -MD -I/usr/X11/include -D_THREAD_SAFE -pthread 
> -O3 -MD -I/usr/X11/include -MT DLD-FUNCTIONS/rand.lo -MD -MP -MF 
> DLD-FUNCTIONS/.deps/rand.Tpo -c DLD-FUNCTIONS/rand.cc  -fno-common -DPIC -o 
> DLD-FUNCTIONS/.libs/rand.o
> In file included from DLD-FUNCTIONS/rand.cc:41:
> In file included from ./defun-dld.h:30:
> In file included from ./defun-int.h:28:
> In file included from ./ov-builtin.h:28:
> In file included from ./ov-fcn.h:35:
> In file included from ./symtab.h:34:
> ../liboctave/regexp.h:90:3: warning: 'opts' defined as a struct here but 
> previously declared as a class [-Wmismatched-tags]
>    struct opts
>    ^
> ../liboctave/regexp.h:40:3: note: did you mean struct here?
>    class opts;
>    ^~~~~
>    struct
> In file included from DLD-FUNCTIONS/rand.cc:47:
> In file included from ./ov-re-mat.h:39:
> ./ov-base-mat.h:95:8: warning: 'octave_base_matrix<NDArray>::assign' hides 
> overloaded virtual function [-Woverloaded-virtual]
>    void assign (const octave_value_list& idx, const MT& rhs);
>         ^
> ./ov-re-mat.h:52:24: note: in instantiation of template class 
> 'octave_base_matrix<NDArray>' requested here
> octave_matrix : public octave_base_matrix<NDArray>
>                         ^
> ./ov-base.h:277:16: note: hidden overloaded virtual function 
> 'octave_base_value::assign' declared here
>    virtual void assign (const std::string&, const octave_value&) { }
>                 ^
> In file included from DLD-FUNCTIONS/rand.cc:47:
> In file included from ./ov-re-mat.h:39:
> ./ov-base-mat.h:97:8: warning: 'octave_base_matrix<NDArray>::assign' hides 
> overloaded virtual function [-Woverloaded-virtual]
>    void assign (const octave_value_list& idx, typename MT::element_type rhs);
>         ^
> ./ov-base.h:277:16: note: hidden overloaded virtual function 
> 'octave_base_value::assign' declared here
>    virtual void assign (const std::string&, const octave_value&) { }
>                 ^
> DLD-FUNCTIONS/rand.cc:1036:12: error: no member named 'tr1' in namespace 'std'
> using std::tr1::unordered_map;
>        ~~~~~^
> DLD-FUNCTIONS/rand.cc:1080:15: error: no template named 'unordered_map'; did 
> you mean 'std::unordered_map'?
>                unordered_map<octave_idx_type, octave_idx_type> map (m);
>                ^~~~~~~~~~~~~
>                std::unordered_map
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/c++/v1/unordered_map:663:24:
>  note: 'std::unordered_map'
>        declared here
> class _LIBCPP_TYPE_VIS unordered_map
>                         ^
> 3 warnings and 2 errors generated.
> make[1]: *** [DLD-FUNCTIONS/rand.lo] Error 1
> make: *** [all] Error 2
> ### execution of /tmp/fink.uCsP8 failed, exit code 2
> ### execution of /tmp/fink.xUj4C failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw64/bin/dpkg-lockwait -r fink-buildlock-octave-atlas-3.6.4-5
> (Reading database ... 80456 files and directories currently installed.)
> Removing fink-buildlock-octave-atlas-3.6.4-5 ...
> Failed: phase compiling: octave-atlas-3.6.4-5 failed
>
> TIA
>
> Dominique
>

Yup, this has been reported earlier on -beginners, but I only finished 
building the dependency tree for Octave this morning, so it's next on my 
list.

A workaround might be (I didn't get a report from the previous person to 
post this issue) to edit octave-3.6.4.info (or make a copy of it and all 
of the octave*.patch files in your local tree) and change the compilers:

SetCC: flag-sort -r gcc-fsf-4.8
SetCXX: flag-sort -r g++-fsf-4.8


Also, I can guarantee that bundle-octave* will *not* work, because there 
are a couple of packages that don't currently build with gcc48, and 
that's the only gcc4N we have on 10.9.  I know of a potential fix for 
that, but I haven't had a chance to try that yet.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to