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

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

[Octave-bug-tracker] [bug #50180] OF-image fails to build with dev Octav


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #50180] OF-image fails to build with dev Octave (4.3.0+)
Date: Sun, 29 Jan 2017 17:30:19 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

URL:
  <http://savannah.gnu.org/bugs/?50180>

                 Summary: OF-image fails to build with dev Octave (4.3.0+)
                 Project: GNU Octave
            Submitted by: philipnienhuis
            Submitted on: Sun 29 Jan 2017 06:30:18 PM CET
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Build Failure
                  Status: None
             Assigned to: None
         Originator Name: philipnienhuis
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

On Linux I get:

pkg -forge -verbose image
:
:
copyfile /tmp/oct-cWZNcd/image-2.6.1/src/__bilateral__.oct
/tmp/oct-cWZNcd/image-2.6.1/src/__boundary__.oct
/tmp/oct-cWZNcd/image-2.6.1/src/__custom_gaussian_smoothing__.oct
/tmp/oct-cWZNcd/image-2.6.1/src/__spatial_filtering__.oct
/tmp/oct-cWZNcd/image-2.6.1/src/bwconncomp.oct
/tmp/oct-cWZNcd/image-2.6.1/src/bwdist.oct
/tmp/oct-cWZNcd/image-2.6.1/src/bwfill.oct
/tmp/oct-cWZNcd/image-2.6.1/src/bwlabeln.oct
/tmp/oct-cWZNcd/image-2.6.1/src/conndef.oct
/tmp/oct-cWZNcd/image-2.6.1/src/graycomatrix.oct
/tmp/oct-cWZNcd/image-2.6.1/src/hough_line.oct
/tmp/oct-cWZNcd/image-2.6.1/src/imerode.oct
/tmp/oct-cWZNcd/image-2.6.1/src/imreconstruct.oct
/tmp/oct-cWZNcd/image-2.6.1/src/intlut.oct
/tmp/oct-cWZNcd/image-2.6.1/src/nonmax_supress.oct
/tmp/oct-cWZNcd/image-2.6.1/src/rotate_scale.oct
/tmp/oct-cWZNcd/image-2.6.1/src/watershed.oct
/tmp/oct-cWZNcd/image-2.6.1/inst/x86_64-pc-linux-gnu-api-v51
/home/philip/octave/image-2.6.1/x86_64-pc-linux-gnu-api-v51/bwconncomp.oct:
failed to load:
/home/philip/octave/image-2.6.1/x86_64-pc-linux-gnu-api-v51/bwconncomp.oct:
undefined symbol: _ZN11boolNDArray6insertERKS_RK5ArrayIiE
error: called from
    which at line 34 column 5
    /home/philip/octave/image-2.6.1/x86_64-pc-linux-gnu-api-v51/PKG_ADD at
line 2 column 1
    doc_cache_create>gen_doc_cache_in_dir at line 139 column 5
    doc_cache_create at line 55 column 12
    install>generate_lookfor_cache at line 797 column 5
    install at line 231 column 7
    pkg at line 394 column 9



On Windows, both while cross-building or later on when 4.3.0+ has been
installed, I get similar error messages.
>From the mxe-octave build log:

:
        
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/bin/x86_64-w64-mingw32-mkoctfile
--verbose  -Wall -g -O2 -c strel.cc
x86_64-w64-mingw32-g++ -std=gnu++11 -c
-I/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include
 
-I/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/..
-I/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave
-I/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include
 -pthread -fopenmp -g -O2 -g  -Wall -O2   strel.cc -o strel.o
strel.cc: In constructor 'octave::image::strel::strel(const octave_value&)':
strel.cc:52:38: error: call of overloaded 'feval(const char [6],
octave_value_list&)' is ambiguous
       se = feval ("strel", strel_args)(0);
                                      ^
strel.cc:52:38: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:57:35: error: call of overloaded 'feval(const char [9],
octave_value&)' is ambiguous
   nhood   = feval ("getnhood",  se)(0).bool_array_value ();
                                   ^
strel.cc:57:35: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:58:35: error: call of overloaded 'feval(const char [10],
octave_value&)' is ambiguous
   height  = feval ("getheight", se)(0).array_value ();
                                   ^
strel.cc:58:35: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:71:61: error: call of overloaded 'feval(const char [12],
octave_value&)' is ambiguous
   const octave_value se_seq       = feval ("getsequence", se)(0);
                                                             ^
strel.cc:71:61: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:72:59: error: call of overloaded 'feval(const char [6], const
octave_value&)' is ambiguous
   const octave_idx_type seq_numel = feval ("numel", se_seq)(0).idx_type_value
();
                                                           ^
strel.cc:72:59: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:89:72: error: call of overloaded 'feval(const char [8],
octave_value_list&)' is ambiguous
           const octave_value_list elem = feval ("subsref", subsref_args)(0);
                                                                        ^
strel.cc:89:72: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:91:67: error: call of overloaded 'feval(const char [9], const
octave_value_list&)' is ambiguous
           const boolNDArray elem_nhood  = feval ("getnhood", 
elem)(0).bool_array_value ();
                                                                   ^
strel.cc:91:67: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
strel.cc:92:67: error: call of overloaded 'feval(const char [10], const
octave_value_list&)' is ambiguous
           const NDArray elem_height     = feval ("getheight",
elem)(0).array_value ();
                                                                   ^
strel.cc:92:67: note: candidates are:
In file included from strel.cc:27:0:
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:550:3:
note: octave_value_list octave::feval(const string&, const octave_value_list&,
int)
   feval (const std::string& name,
   ^
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32/include/octave-4.3.0+/octave/../octave/parse.h:635:1:
note: octave_value_list feval(const string&, const octave_value_list&, int)
 feval (const std::string& name,
 ^
Makefile:22: recipe for target 'strel.o' failed
make[2]: *** [strel.o] Error 1
make[2]: Leaving directory
'/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/tmp-of-image/tmp1JilfC-pkg/image-2.6.1/src'
-verbose
image-2.6.1.tar.gz
mkoctfile=
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/bin/x86_64-w64-mingw32-mkoctfile
--verbose
arch= x86_64-w64-mingw32
apiversion= api-v51
prefix=
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/usr/x86_64-w64-mingw32
files= ['image-2.6.1.tar.gz']
verbose= True
running ./configure --host='x86_64-w64-mingw32'
--build='x86_64-unknown-linux-gnu'
running make ...
cleaning up
Traceback (most recent call last):
  File
"/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/tools/pkg-install.py",
line 419, in <module>
    pkg(sys.argv[1:])
  File
"/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/tools/pkg-install.py",
line 413, in pkg
    install_pkg(a, env)
  File
"/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/tools/pkg-install.py",
line 316, in install_pkg
    configure_make (env, packdir)
  File
"/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/tools/pkg-install.py",
line 235, in configure_make
    raise Exception, "make failed during build - stopping install"
Exception: make failed during build - stopping install
/home/philip/devel/octdev/mxe/mxe_w64_qt4_20170106/Makefile:831: recipe for
target 'build-only-of-image' failed
make[1]: *** [build-only-of-image] Error 1


hg id Octave:  9241a0fa7873 tip "Additional output arguments for fminsearch
(bug #44220)."





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?50180>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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