bugGNU Octave - Bugs: bug #60608, [octave forge] (parallel) install...

 
 

bug #60608: [octave forge] (parallel) install fails in Octave 7

Submitted by:  None
Submitted on:  Fri 14 May 2021 10:56:08 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open 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.

 

Wed 02 Jun 2021 06:49:18 PM UTC, comment #3: 

I pushed a patch here that re-instates the macro with the previous signature:
https://hg.savannah.gnu.org/hgweb/octave/rev/9a8a6a99a0a7

With that change, I still cannot install the parallel package in Octave 7. It is failing with the following message for me:

>> pkg install -forge parallel

configure: WARNING: TLS disabled since gnutls/gnutls.h not found or not compilable
error: /home/osboxes/.local/share/octave/7/packages/parallel-4.0.1/x86_64-pc-linux-gnu-api-v55+/__parcellfun_interface__.oct: failed to load: /home/osboxes/.local/share/octave/7/packages/parallel-4.0.1/x86_64-pc-linux-gnu-api-v55+/__parcellfun_interface__.oct: undefined symbol: num_processors
error: called from
    doc_cache_create>create_cache at line 116 column 20
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 16
    doc_cache_create>gen_doc_cache_in_dir at line 151 column 9
    doc_cache_create at line 62 column 12
    install>generate_lookfor_cache at line 840 column 5
    install at line 241 column 7
    pkg at line 570 column 9

Markus Mützel <mmuetzel>
Project Member
Wed 19 May 2021 09:16:45 AM UTC, comment #2: 

I changed the signature of that macro to have correct visibility attributes for symbols in core Octave.
It didn't cross my mind that this was part of the API.
I'll check if we can restore the previous signature in core Octave.

Markus Mützel <mmuetzel>
Project Member
Sat 15 May 2021 05:43:10 PM UTC, comment #1: 

Confirmed, the parallel package build/install fails in the development version of Octave.

Mike Miller <mtmiller>
Project Administrator
Fri 14 May 2021 10:56:08 PM UTC, original submission:  

For Octave 7.0.0, with v 4.0.0 of the parallel package, a "pkg update" command fails with this error:

octave:4> pkg update
p-connection.cc:25:56: error: macro "NO_INSTANTIATE_ARRAY_SORT" requires 2 arguments, but only 1 given
   25 | NO_INSTANTIATE_ARRAY_SORT (octave_parallel_connection *);
      |                                                        ^
In file included from p-connection.cc:21:
/usr/local/include/octave-7.0.0/octave/../octave/Array.cc:2474: note: macro "NO_INSTANTIATE_ARRAY_SORT" defined here
2474 | #define NO_INSTANTIATE_ARRAY_SORT(T, API)                               \
      |
p-connection.cc:25:1: error: ‘NO_INSTANTIATE_ARRAY_SORT’ does not name a type
   25 | NO_INSTANTIATE_ARRAY_SORT (octave_parallel_connection *);
      | ^~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:192: p-connection.o] Error 1
make: *** Waiting for unfinished jobs....
make: Entering directory '/tmp/oct-XTuBaF/parallel-4.0.1/src'
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c pconnect.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c select_sockets.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c network_get_info.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c network_set.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c sclose.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c reval.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c precv.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c psend.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c __octave_server__.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c parallel_generate_srp_data.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c p-connection.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c p-streams.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c gnutls-callbacks.cc
CXX="g++" CXXFLAGS="-O3 -march=native -pipe  -I/usr/include/p11-kit-1  -Wno-int-to-pointer-cast -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c sensitive-data.cc
CXXFLAGS="-O3 -march=native -pipe  -Wno-deprecated-declarations" /usr/local/bin/mkoctfile-7.0.0 -c error-helpers.cc
make: Leaving directory '/tmp/oct-XTuBaF/parallel-4.0.1/src'

error: pkg: error running 'make' for the parallel package
error: called from
    configure_make at line 110 column 9
    install at line 202 column 7
    pkg at line 570 column 9
    pkg at line 729 column 11

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  •  

    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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-05-19 mmuetzel Operating SystemGNU/Linux => Any
    2021-05-15 mtmiller Summary[octave forge] (parallel) installs fails in Octave 7 => [octave forge] (parallel) install fails in Octave 7
    2021-05-15 mtmiller Summary[octave forge] (parallel) installs fails in Octave version 7.0.0 => [octave forge] (parallel) installs fails in Octave 7
    2021-05-15 mtmiller StatusNone => Confirmed
        Summarypkg update gives build error for parallel package => [octave forge] (parallel) installs fails in Octave version 7.0.0

    Back to the top


    Powered by Savane 3.6