bugGNU Octave - Bugs: bug #63922, parallel: no member named...


bug #63922: parallel: no member named 'cdef_object' in namespace 'octave'

Submitter:  Marius Schamschula <mschamschula>
Submitted:  Mon 13 Mar 2023 09:30:58 PM UTC
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 8.1.0 Operating System:  * Mac OS
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)

Tue 14 Mar 2023 11:25:01 AM UTC, comment #2: 

Thanks John!

By adding the include statement I did a clean build.

In config.h I get

#define OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN octave::interpreter::the_interpreter () -> get_symbol_table ().assign

See: https://github.com/macports/macports-ports/commit/fd4065d043fdee18619f899ac4bbb9835997250d

Marius Schamschula <mschamschula>
Tue 14 Mar 2023 04:11:26 AM UTC, comment #1: 

It looks like you just need to add

#include <octave/cdef-object.h>

to p-connection.cc.  You'll also need to arrange for OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN to be defined as

octave::interpreter::the_interpreter () -> assign

That's currently handled by some configure test, but if all you want to do is get it working, you can edit the config.h file after running configure and fix the definition by hand there.

John W. Eaton <jwe>
Project Administrator
Mon 13 Mar 2023 09:30:58 PM UTC, original submission:  

When test building the parallel 4.0.1 package against octave 8.1.0 under MacPorts, I first had to apply Markus M├╝tzel's patch from the database package to get around an error (see attached)

error: no matching function for call to 'verror'

However, I then ran into the following error

/usr/bin/clang++ -c -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -fPIC -I/opt/local/include/octave-8.1.0/octave/.. -I/opt/local/include/octave-8.1.0/octave -I/opt/local/include  -pthread -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -I/opt/local/include/p11-kit-1 -Wno-int-to-pointer-cast -Wno-deprecated-declarations    p-connection.cc -o p-connection.o
In file included from p-connection.cc:21:
/opt/local/include/octave-8.1.0/octave/../octave/Array.cc:38:67: error: no member named 'cdef_object' in namespace 'octave'
extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
1 error generated.
make: *** [p-connection.o] Error 1

full log attached.

Marius Schamschula <mschamschula>


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

Attach Files:

Attached Files
file #54480:  patch-octave8.diff added by mschamschula (668B - application/octet-stream)
file #54481:  octave-parallel.log added by mschamschula (450KiB - application/octet-stream)


Carbon-Copy List
  • -email is unavailable- added by jwe (Posted a comment)
  • -email is unavailable- added by mschamschula (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 project members can vote.





    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-03-20 mmuetzel Dependencies- bugs #63941 is dependent
    2023-03-20 mmuetzel Dependencies- bugs #63947 is dependent
    2023-03-13 mschamschula Attached File- Added patch-octave8.diff, #54480
        Attached File- Added octave-parallel.log, #54481

    Back to the top

    Powered by Savane 3.11