bugGNU Octave - Bugs: bug #64603, Error installing Parallel Package

 
 

bug #64603: Error installing Parallel Package

Submitter:  None
Submitted:  Mon 28 Aug 2023 06:08:03 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Need Info Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 8.3.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 23 Jan 2024 03:53:03 PM UTC, comment #5: 

No response from the OP in over a month. Closing report.

Markus Mützel <mmuetzel>
Group administrator
Mon 04 Dec 2023 12:20:08 PM UTC, comment #4: 

I installed 8.4 on win 10 & did the remote install again.  parallel was installed w/o error.  I don't think you want to see the long log w/o a failure.  This is the warning at the end.  Thanks.  

warning: doc_cache_create: unusable help text found in file 'parallel_interface'
warning: called from
    doc_cache_create>handle_function at line 98 column 5
    doc_cache_create>create_cache at line 118 column 36
    gen_doc_cache_in_dir>@<anonymous> at line 150 column 20
    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 619 column 9

For information about changes from previous versions of the parallel package, run 'news parallel'.

Liang Tang <lt1234>
Mon 04 Dec 2023 10:50:21 AM UTC, comment #3: 

The build error with Octave 8.2.0 has already been fixed in Octave 8.3.0 and later.

I cannot reproduce the build error from comment #0 with Octave 8.4.0 on Windows 11.
Could you please run `pkg install -verbose -forge parallel` and show the verbose output here?

Markus Mützel <mmuetzel>
Group administrator
Sun 03 Dec 2023 08:28:59 PM UTC, comment #2: 

8.2.0 Win 10.

>> pkg install -forge parallel

configure: WARNING: TLS disabled since pkg-config not found
configure: WARNING: No working fork(), no uname(), or no error.h found. On such platforms, notably Windo
ws and macOS, the remote Octave server will not be built. The functions for accessing a remote Octave se
rver are not affected by this and may still be built, as well as the functions for local parallel execut
ion.
In file included from p-connection.cc:21:
c:\octave\octave~1.0\mingw64\include\octave-8.2.0\octave\array.cc:38:67: error: 'cdef_object' is not a m
ember of 'octave'
   38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
      |                                                                   ^~~~~~~~~~~
c:\octave\octave~1.0\mingw64\include\octave-8.2.0\octave\array.cc:38:78: error: template argument 1 is i
nvalid
   38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
      |                                                                              ^
c:\octave\octave~1.0\mingw64\include\octave-8.2.0\octave\array.cc:38:78: error: template argument 2 is i
nvalid
make: * [Makefile:199: p-connection.o] Error 1
make: Entering directory '/tmp/oct-n2x1ug/parallel-4.0.2/src'
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c pconnect.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c select_sockets.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c network_get_info.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c network_set.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c sclose.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c reval.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c precv.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c psend.cc
CXX="g++" CXXFLAGS="-g -O2  -Wno-deprecated-declarations" C:/Octave/OCTAVE~1.0/mingw64/bin/mkoctfile-8.2
.0.exe -c p-connection.cc
make: Leaving directory '/tmp/oct-n2x1ug/parallel-4.0.2/src'

error: pkg: error running 'make' for the parallel package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 619 column 9

Liang Tang <lt1234>
Mon 28 Aug 2023 09:09:22 PM UTC, comment #1: 

I also cannot install the Parallel package  on 8.3.1

Doug Stewart <dastew>
Mon 28 Aug 2023 06:08:03 AM UTC, original submission:  

Good day,

Fresh install of Octave 8.3.0 fails to install Parallel package

pkg install -forge parallel
configure: WARNING: No working fork(), no uname(), or no error.h found....

make: * [Makefile:192: pconnect.o] Error 1
make: Entering directory '/tmp/oct-J4H1lf/parallel-4.0.1/src'
CXX="g++" CXXFLAGS="-g -O2 -IC:/OCTAVE~1.0/mingw64/include -Wno-int-to-pointer-cast -Wno-dep
recated-declarations" C:/OCTAVE~1.0/mingw64/bin/mkoctfile-8.3.0.exe -c pconnect.cc
make: Leaving directory '/tmp/oct-J4H1lf/parallel-4.0.1/src'

error: pkg: error running 'make' for the parallel package
error: called from
    configure_make at line 117 column 9
    install at line 202 column 7
    pkg at line 619 column 9

Any ideas? I have tried the previous patches with no luck or do i need to look for alternatives?

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)
  • -email is unavailable- added by lt1234 (Posted a comment)
  • -email is unavailable- added by dastew (Posted a comment)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-23 mmuetzel Open/ClosedOpen Closed
    2023-12-04 mmuetzel StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-3e34.
    Corresponding source code