bugGNU Octave - Bugs: bug #52877, parallel package: build with dev

 
 

bug #52877: parallel package: build with dev

Submitter:  A.R. Burgers <arb>
Submitted:  Sat 13 Jan 2018 11:55:48 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 21 Jan 2018 09:15:47 PM UTC, comment #3: 

Closing as duplicate on OP's request.

Markus Mützel <mmuetzel>
Group administrator
Sun 21 Jan 2018 06:16:08 PM UTC, comment #2: 

Indeed a duplicate. I added my remarks to https://savannah.gnu.org/bugs/?51197, this entry can then be closed I guess.

A.R. Burgers <arb>
Sun 21 Jan 2018 06:06:34 PM UTC, comment #1: 
Sebastian <sschoeps>
Sat 13 Jan 2018 11:55:48 AM UTC, original submission:  

building the parallel package with dev initially gives these errors:


pserver.cc:1117:11: error: 'the_interpreter' is not a member of 'octave::application'
           octave::application::the_interpreter () -> interactive (false);
           ^
pserver.cc:1127:11: error: 'symbol_table' has not been declared
           symbol_table::assign ("sockets", sockets);


These two can be silenced with this patch:


--- a/src/pserver.cc    Wed Jul 12 09:32:13 2017 +0200
+++ b/src/pserver.cc    Sat Jan 13 12:53:02 2018 +0100
@@ -1109,13 +1109,15 @@
           __pwg.__free ();

 #ifdef HAVE_OCTAVE_INTERPRETER_H
-          octave::application::the_interpreter () -> interactive (false);
+          // octave::application::the_interpreter () -> interactive (false);
+          octave::interpreter::the_interpreter () -> interactive (false);
 #else
           interactive = false;
 #endif

           // install 'sockets' as Octave variable
-          symbol_table::assign ("sockets", sockets);
+          // symbol_table::assign ("sockets", sockets);
+          octave::interpreter::the_interpreter () -> get_symbol_table ().assign ("sockets", sockets);
           dsprintf ("'sockets' installed\n");

           int cd_ok = octave_env::chdir (directory.c_str ());


afte this patch, errors remain about conversion of octave_value_list to octave_value


CXX="g++ -std=gnu++11" CXXFLAGS="-O2  -Wno-deprecated-declarations" mkoctfile -c p-connection.cc
p-connection.cc: In member function 'virtual octave_value octave_parallel_connections::do_index_op(const octave_value_list&, bool)':
p-connection.cc:128:20: error: could not convert 'err_retval' from 'octave_value_list' to 'octave_value'
             return err_retval;


A.R. Burgers <arb>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by sschoeps (Posted a comment)
  • -email is unavailable- added by arb (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-01-21 mmuetzel Dependencies- Depends on bugs #51197
    2018-01-21 mmuetzel StatusNone Duplicate
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code