On 11/5/13 8:14 PM, Alexander Hansen wrote:
> On 11/3/13 11:45 AM, Alexander Hansen wrote:
>> On 11/1/13 3:22 PM, Alexander Hansen wrote:
>>> On 11/1/13 1:01 PM, Hans-Jürgen Greif wrote:
>>>> Hello,
>>>>
>>>> bug on fink install octave364
>>>>
>>>>
>>>
>>> <snip>
>>>
>>>> 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/sw/include -I/sw/include -O3 -MD -I/usr/X11/include -DHAVE_CONFIG_H
>>>> -I/sw/include -I/sw/include/freetype2 -I/sw/include -I/sw/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
>>>> <http://rand.cc>  -fno-common -DPIC -o DLD-FUNCTIONS/.libs/rand.o
>>>> In file included from DLD-FUNCTIONS/rand.cc <http://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 <http://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 <http://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 <http://rand.cc>:1036:12: **error: **no member
>>>> named 'tr1' in namespace 'std'*
>>>> using std::tr1::unordered_map;
>>>> *      ~~~~~^*
>>>> *DLD-FUNCTIONS/rand.cc <http://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.76tvZ failed, exit code 2
>>>> ### execution of /tmp/fink.l5VKr failed, exit code 2
>>>> Removing runtime build-lock...
>>>> Removing build-lock package...
>>>> /sw/bin/dpkg-lockwait -r fink-buildlock-octave-3.6.4-5
>>>> (Reading database ... 49183 files and directories currently installed.)
>>>> Removing fink-buildlock-octave-3.6.4-5 ...
>>>> Failed: phase compiling: octave-3.6.4-5 failed
>>>>
>>>> Before reporting any errors, please run "fink selfupdate" and try
>>>> again.
>>>>
>>>> If you continue to have issues, please check to see if the FAQ on
>>>> Fink's
>>>> website solves the problem.  If not, ask on one (not both, please) of
>>>> these mailing lists:
>>>>
>>>> The Fink Users List <fink-us...@lists.sourceforge.net
>>>> <mailto:fink-us...@lists.sourceforge.net>>
>>>> The Fink Beginners List <fink-beginners@lists.sourceforge.net
>>>> <mailto:fink-beginners@lists.sourceforge.net>>,
>>>>
>>>> with a carbon copy to the maintainer:
>>>>
>>>> Alexander Hansen <alexkhan...@users.sourceforge.net
>>>> <mailto:alexkhan...@users.sourceforge.net>>
>>>>
>>>> Note that this is preferable to emailing just the maintainer directly,
>>>> since most fink package maintainers do not have access to all possible
>>>> hardware and software configurations.
>>>>
>>>> Please try to include the complete error message in your report.  This
>>>> generally consists of a compiler line starting with e.g. "gcc" or "g++"
>>>> followed by the actual error output from the compiler.
>>>>
>>>> Also include the following system information:
>>>> Package manager version: 0.36.0
>>>> Distribution version: selfupdate-rsync Fri Nov  1 19:29:03 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
>>>>
>>>> Regards,
>>>>
>>>> Hans
>>>>
>>>>
>>>
>>> Thanks for the report.  The build tree for Octave only just yesterday
>>> became fully available, so I hadn't had a chance to test it for myself.
>>>
>>>
>>
>> It's going to take me a little while to get the dependencies built up to
>> test this out.  As a workaround, you might try:
>>
>> 1) copy octave-3.6.4.info and all of the octave*.patch files
>> to/sw/fink/10.7/local/main/finkinfo
>> 2) temporarily remove
>> /sw/fink/10.7/stable/main/finkinfo/sci/octave-3.6.4.info
>> 3) edit the SetCC and SetCXX lines in
>> /sw/fink/10.7/local/main/finkinfo/octave-3.6.4.info to read
>>
>> SetCC: flag-sort -r gcc-fsf-4.8
>> SetCXX: flag-sort -r g++-fsf-4.8
>>
>
> Still working on this.  I tried just using
>
> SetCXX: flag-sort -r g++-fsf-4.8 -std=c++11
>
> which allowed for further progress, but then the build failed later:
>
> libtool: compile:  flag-sort -r g++ -std=c++11 -DHAVE_CONFIG_H -I. -I..
> -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave
> -I. -I. -I/sw/include -I/sw/include -O3 -MD -I/usr/X11/include
> -DHAVE_CONFIG_H -I/sw/include -I/sw/include/freetype2 -I/sw/include
> -I/sw/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 liboctinterp_la-ls-mat4.lo -MD -MP -MF
> .deps/liboctinterp_la-ls-mat4.Tpo -c ls-mat4.cc  -fno-common -DPIC -o
> .libs/liboctinterp_la-ls-mat4.o
> In file included from ls-mat4.cc:50:
> In file included from ./defun.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 ls-mat4.cc:56:
> In file included from ./ov-cell.h:39:
> ./ov-base-mat.h:95:8: warning: 'octave_base_matrix<Cell>::assign' hides
>        overloaded virtual function [-Woverloaded-virtual]
>    void assign (const octave_value_list& idx, const MT& rhs);
>         ^
> ./ov-cell.h:49:22: note: in instantiation of template class
>        'octave_base_matrix<Cell>' requested here
> octave_cell : public octave_base_matrix<Cell>
>                       ^
> ./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 ls-mat4.cc:56:
> In file included from ./ov-cell.h:39:
> ./ov-base-mat.h:97:8: warning: 'octave_base_matrix<Cell>::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&) { }
>                 ^
> ls-mat4.cc:608:10: error: no viable conversion from 'std::ostream' (aka
>        'basic_ostream<char>') to 'bool'
>    return os;
>           ^~
> 3 warnings and 1 error generated.
> make[1]: *** [liboctinterp_la-ls-mat4.lo] Error 1
>
>

I just put an update into the distribution which built for me on 10.9.

-- 
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-beginners mailing list
Fink-beginners@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.beginners
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to