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


bug #52877: parallel package: build with dev

Submitted by:  A.R. Burgers <arb>
Submitted on:  Sat 13 Jan 2018 11:55:48 AM UTC  
Category:  Octave Forge 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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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

Closing as duplicate on OP's request.

Markus M├╝tzel <mmuetzel>
Project Member
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 ();

-          octave::application::the_interpreter () -> interactive (false);
+          // octave::application::the_interpreter () -> interactive (false);
+          octave::interpreter::the_interpreter () -> interactive (false);
           interactive = false;

           // 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:

No files currently attached


   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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.7