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

 
 

bug #63922: [octave forge] (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 Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * 8.1.0 Operating System:  * Any
Fixed Release:  8.3.0 Planned Release:  8.3.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 05 Sep 2023 12:47:02 PM UTC, comment #26: 


> I’m not sure why this issue has been closed. The problem described with the configure script in comments #2 and #3 is still not addressed in the hg repository.


Due to:

https://sourceforge.net/p/octave/parallel/ci/2f795ca13152f35e2849b5e088ed79e4694cf149/

,

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

is now used for newer Octave versions, so this should be fixed now.

I don't think, though, that I'll fix the missing inclusion
of

<octave/cdef-object.h>

in the package, since I think that's better done by Octave, and seemingly Octave-8.3 does it.

Olaf Till <i7tiol>
Group Member
Tue 04 Jul 2023 06:05:19 PM UTC, comment #25: 

CC'ing Olaf Till as the package maintainer.

Markus Mützel <mmuetzel>
Group administrator
Tue 04 Jul 2023 10:16:23 AM UTC, comment #24: 


commentaire #23 :

> The first patch (octave7.patch) looks like it addresses the issue from bug #62349. It might help the package developer if you could provide the patch there.


The patch is already in the discussion of bug #62349.


> The second part of the patch doesn't seem to be related to the error described in comment #0 or the bug title.
> It might make sense to open a dedicated report for that.


Well, as I said, since that problem and the corresponding solution is already adressed in comment #2 and comment #3 of the present bug report, I don’t know if it is worth another issue. It would be simpler to apply it directly on the hg repository (rather picking my version because it avoids an unncessary include).

Sébastien Villemot <svillemot>
Mon 03 Jul 2023 08:12:14 AM UTC, comment #23: 

The first patch (octave7.patch) looks like it addresses the issue from bug #62349. It might help the package developer if you could provide the patch there.

IIUC, the first part of octave8-part2.patch addresses the issue discussed here. It should no longer be necessary with a current head of the stable branch. The change in core Octave from comment #6 should make it a no-op. It is still necessary with Octave 8.1.0 or 8.2.0 though:

--- a/src/p-connection.cc
+++ b/src/p-connection.cc
@@ -18,6 +18,7 @@ along with this program; If not, see <ht
 */

 #include <octave/oct.h>
+#include <octave/cdef-object.h>
 #include <octave/Array.cc>

 #include "parallel-gnutls.h"


The second part of the patch doesn't seem to be related to the error described in comment #0 or the bug title.
It might make sense to open a dedicated report for that.

Markus Mützel <mmuetzel>
Group administrator
Mon 03 Jul 2023 06:34:50 AM UTC, comment #22: 

I maintain the Debian package for parallel.

It’s version 4.0.1, on top of which a series of patches is applied.

For getting it to build against Octave 8, the following patches have been applied:
https://salsa.debian.org/pkg-octave-team/octave-parallel/-/blob/debian/latest/debian/patches/octave7.patch
https://salsa.debian.org/pkg-octave-team/octave-parallel/-/blob/debian/latest/debian/patches/octave8-part1.patch
https://salsa.debian.org/pkg-octave-team/octave-parallel/-/blob/debian/latest/debian/patches/octave8-part2.patch

octave8-part1.patch is already applied in the hg repository, but the other two are not.

If these patches are not there, I get various build errors (identical to those in the present report).

Sébastien Villemot <svillemot>
Mon 03 Jul 2023 06:07:39 AM UTC, comment #21: 

Which error message do you get when building with a current head of the stable branch of Octave? Which hg revision did you use in your test?

Markus Mützel <mmuetzel>
Group administrator
Sun 02 Jul 2023 01:08:35 PM UTC, comment #20: 

I’m not sure why this issue has been closed. The problem described with the configure script in comments #2 and #3 is still not addressed in the hg repository.

Sébastien Villemot <svillemot>
Thu 20 Apr 2023 03:51:41 PM UTC, comment #19: 
Vincent <ksurf1>
Thu 20 Apr 2023 05:53:44 AM UTC, comment #18: 

Thank you for testing.

It looks like the original issue described in this report is fixed.

Closing report.


Re comment #14:

> What would anyone recommend ?


Maybe, you could open a new report with a feature request for pserver support on macOS. But I don't know if the package developers will be able to develop features for platforms they might not have access to.


Re comment #15: That also sounds like it is independent of the original issue here. Please, consider opening a new report for that (if none exists already).

Markus Mützel <mmuetzel>
Group administrator
Thu 20 Apr 2023 01:11:37 AM UTC, comment #17: 

octave-pserver.cc is in the src folder of the patched package.
I don't see it anywhere even in 7.3.0 on my Mac

the pserver.m file says:

## The server executable file @code{octave-pserver} is installed and
## runs at GNU/Linux, but not at some other operating systems like
## Windows and macOS.

Vincent <ksurf1>
Wed 19 Apr 2023 11:44:17 PM UTC, comment #16: 

the output is longer than the entire log, this is what I have.
Thank you very much for your help.

eval( "pkg install -verbose ~/Downloads/parallel-4.0.1patched.tar.gz" )

...
             -e 's|@''HAVE_FCHDIR''@|1|g' \
              -e 's|@''HAVE_FCHOWNAT''@|1|g' \
              -e 's|@''HAVE_FDATASYNC''@|1|g' \
              -e 's|@''HAVE_FSYNC''@|1|g' \
              -e 's|@''HAVE_FTRUNCATE''@|1|g' \
              -e 's|@''HAVE_GETDTABLESIZE''@|1|g' \
              -e 's|@''HAVE_GETGROUPS''@|1|g' \
              -e 's|@''HAVE_GETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_GETPASS''@|yes|g' \
              -e 's|@''HAVE_GROUP_MEMBER''@|1|g' \
              -e 's|@''HAVE_LCHOWN''@|1|g' \
              -e 's|@''HAVE_LINK''@|1|g' \
              -e 's|@''HAVE_LINKAT''@|1|g' \
              -e 's|@''HAVE_PIPE''@|1|g' \
              -e 's|@''HAVE_PIPE2''@|1|g' \
              -e 's|@''HAVE_PREAD''@|1|g' \
              -e 's|@''HAVE_PWRITE''@|1|g' \
              -e 's|@''HAVE_READLINK''@|1|g' \
              -e 's|@''HAVE_READLINKAT''@|1|g' \
              -e 's|@''HAVE_SETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_SLEEP''@|1|g' \
              -e 's|@''HAVE_SYMLINK''@|1|g' \
              -e 's|@''HAVE_SYMLINKAT''@|1|g' \
              -e 's|@''HAVE_UNLINKAT''@|1|g' \
              -e 's|@''HAVE_USLEEP''@|1|g' \
              -e 's|@''HAVE_DECL_ENVIRON''@|1|g' \
              -e 's|@''HAVE_DECL_FCHDIR''@|1|g' \
              -e 's|@''HAVE_DECL_FDATASYNC''@|1|g' \
              -e 's|@''HAVE_DECL_GETDOMAINNAME''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOGIN''@|1|g' \
              -e 's|@''HAVE_DECL_GETLOGIN_R''@|1|g' \
              -e 's|@''HAVE_DECL_GETPAGESIZE''@|1|g' \
              -e 's|@''HAVE_DECL_GETUSERSHELL''@|1|g' \
              -e 's|@''HAVE_DECL_SETHOSTNAME''@|1|g' \
              -e 's|@''HAVE_DECL_TRUNCATE''@|1|g' \
              -e 's|@''HAVE_DECL_TTYNAME_R''@|1|g' \
              -e 's|@''HAVE_OS_H''@|0|g' \
              -e 's|@''HAVE_SYS_PARAM_H''@|0|g' \
          | \
          sed -e 's|@''REPLACE_ACCESS''@|0|g' \
              -e 's|@''REPLACE_CHOWN''@|0|g' \
              -e 's|@''REPLACE_CLOSE''@|0|g' \
              -e 's|@''REPLACE_DUP''@|0|g' \
              -e 's|@''REPLACE_DUP2''@|0|g' \
              -e 's|@''REPLACE_FACCESSAT''@|0|g' \
              -e 's|@''REPLACE_FCHOWNAT''@|0|g' \
              -e 's|@''REPLACE_FTRUNCATE''@|0|g' \
              -e 's|@''REPLACE_GETCWD''@|0|g' \
              -e 's|@''REPLACE_GETDOMAINNAME''@|0|g' \
              -e 's|@''REPLACE_GETDTABLESIZE''@|0|g' \
              -e 's|@''REPLACE_GETLOGIN_R''@|0|g' \
              -e 's|@''REPLACE_GETGROUPS''@|0|g' \
              -e 's|@''REPLACE_GETPAGESIZE''@|0|g' \
              -e 's|@''REPLACE_GETPASS''@|0|g' \
              -e 's|@''REPLACE_ISATTY''@|0|g' \
              -e 's|@''REPLACE_LCHOWN''@|0|g' \
              -e 's|@''REPLACE_LINK''@|0|g' \
              -e 's|@''REPLACE_LINKAT''@|0|g' \
              -e 's|@''REPLACE_LSEEK''@|0|g' \
              -e 's|@''REPLACE_PREAD''@|0|g' \
              -e 's|@''REPLACE_PWRITE''@|0|g' \
              -e 's|@''REPLACE_READ''@|0|g' \
              -e 's|@''REPLACE_READLINK''@|0|g' \
              -e 's|@''REPLACE_READLINKAT''@|0|g' \
              -e 's|@''REPLACE_RMDIR''@|0|g' \
              -e 's|@''REPLACE_SLEEP''@|0|g' \
              -e 's|@''REPLACE_SYMLINK''@|0|g' \
              -e 's|@''REPLACE_SYMLINKAT''@|0|g' \
              -e 's|@''REPLACE_TRUNCATE''@|0|g' \
              -e 's|@''REPLACE_TTYNAME_R''@|0|g' \
              -e 's|@''REPLACE_UNLINK''@|0|g' \
              -e 's|@''REPLACE_UNLINKAT''@|0|g' \
              -e 's|@''REPLACE_USLEEP''@|0|g' \
              -e 's|@''REPLACE_WRITE''@|0|g' \
              -e 's|@''UNISTD_H_HAVE_WINSOCK2_H''@|0|g' \
              -e 's|@''UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h'; \
        } > unistd.h-t && \
        mv unistd.h-t unistd.h
rm -f arpa/inet.h-t arpa/inet.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''HAVE_FEATURES_H''@|0|g' \
              -e 's|@''NEXT_ARPA_INET_H''@|<arpa/inet.h>|g' \
              -e 's|@''HAVE_ARPA_INET_H''@|1|g' \
              -e 's/@''GNULIB_INET_NTOP''@/1/g' \
              -e 's/@''GNULIB_INET_PTON''@/0/g' \
              -e 's|@''HAVE_WS2TCPIP_H''@|0|g' \
              -e 's|@''HAVE_DECL_INET_NTOP''@|1|g' \
              -e 's|@''HAVE_DECL_INET_PTON''@|1|g' \
              -e 's|@''REPLACE_INET_NTOP''@|0|g' \
              -e 's|@''REPLACE_INET_PTON''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
              < ./arpa_inet.in.h; \
        } > arpa/inet.h-t && \
        mv arpa/inet.h-t arpa/inet.h
rm -f wchar.h-t wchar.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''HAVE_FEATURES_H''@|0|g' \
              -e 's|@''NEXT_WCHAR_H''@|<wchar.h>|g' \
              -e 's|@''HAVE_WCHAR_H''@|1|g' \
              -e 's/@''HAVE_CRTDEFS_H''@/0/g' \
              -e 's/@''GNULIB_OVERRIDES_WINT_T''@/0/g' \
              -e 's/@''GNULIB_BTOWC''@/0/g' \
              -e 's/@''GNULIB_WCTOB''@/0/g' \
              -e 's/@''GNULIB_MBSINIT''@/0/g' \
              -e 's/@''GNULIB_MBRTOWC''@/0/g' \
              -e 's/@''GNULIB_MBRLEN''@/0/g' \
              -e 's/@''GNULIB_MBSRTOWCS''@/0/g' \
              -e 's/@''GNULIB_MBSNRTOWCS''@/0/g' \
              -e 's/@''GNULIB_WCRTOMB''@/0/g' \
              -e 's/@''GNULIB_WCSRTOMBS''@/0/g' \
              -e 's/@''GNULIB_WCSNRTOMBS''@/0/g' \
              -e 's/@''GNULIB_WCWIDTH''@/0/g' \
              -e 's/@''GNULIB_WMEMCHR''@/0/g' \
              -e 's/@''GNULIB_WMEMCMP''@/0/g' \
              -e 's/@''GNULIB_WMEMCPY''@/0/g' \
              -e 's/@''GNULIB_WMEMMOVE''@/0/g' \
              -e 's/@''GNULIB_WMEMSET''@/0/g' \
              -e 's/@''GNULIB_WCSLEN''@/0/g' \
              -e 's/@''GNULIB_WCSNLEN''@/0/g' \
              -e 's/@''GNULIB_WCSCPY''@/0/g' \
              -e 's/@''GNULIB_WCPCPY''@/0/g' \
              -e 's/@''GNULIB_WCSNCPY''@/0/g' \
              -e 's/@''GNULIB_WCPNCPY''@/0/g' \
              -e 's/@''GNULIB_WCSCAT''@/0/g' \
              -e 's/@''GNULIB_WCSNCAT''@/0/g' \
              -e 's/@''GNULIB_WCSCMP''@/0/g' \
              -e 's/@''GNULIB_WCSNCMP''@/0/g' \
              -e 's/@''GNULIB_WCSCASECMP''@/0/g' \
              -e 's/@''GNULIB_WCSNCASECMP''@/0/g' \
              -e 's/@''GNULIB_WCSCOLL''@/0/g' \
              -e 's/@''GNULIB_WCSXFRM''@/0/g' \
              -e 's/@''GNULIB_WCSDUP''@/0/g' \
              -e 's/@''GNULIB_WCSCHR''@/0/g' \
              -e 's/@''GNULIB_WCSRCHR''@/0/g' \
              -e 's/@''GNULIB_WCSCSPN''@/0/g' \
              -e 's/@''GNULIB_WCSSPN''@/0/g' \
              -e 's/@''GNULIB_WCSPBRK''@/0/g' \
              -e 's/@''GNULIB_WCSSTR''@/0/g' \
              -e 's/@''GNULIB_WCSTOK''@/0/g' \
              -e 's/@''GNULIB_WCSWIDTH''@/0/g' \
              -e 's/@''GNULIB_WCSFTIME''@/0/g' \
              < ./wchar.in.h | \
          sed -e 's|@''HAVE_WINT_T''@|1|g' \
              -e 's|@''HAVE_BTOWC''@|1|g' \
              -e 's|@''HAVE_MBSINIT''@|1|g' \
              -e 's|@''HAVE_MBRTOWC''@|1|g' \
              -e 's|@''HAVE_MBRLEN''@|1|g' \
              -e 's|@''HAVE_MBSRTOWCS''@|1|g' \
              -e 's|@''HAVE_MBSNRTOWCS''@|1|g' \
              -e 's|@''HAVE_WCRTOMB''@|1|g' \
              -e 's|@''HAVE_WCSRTOMBS''@|1|g' \
              -e 's|@''HAVE_WCSNRTOMBS''@|1|g' \
              -e 's|@''HAVE_WMEMCHR''@|1|g' \
              -e 's|@''HAVE_WMEMCMP''@|1|g' \
              -e 's|@''HAVE_WMEMCPY''@|1|g' \
              -e 's|@''HAVE_WMEMMOVE''@|1|g' \
              -e 's|@''HAVE_WMEMSET''@|1|g' \
              -e 's|@''HAVE_WCSLEN''@|1|g' \
              -e 's|@''HAVE_WCSNLEN''@|1|g' \
              -e 's|@''HAVE_WCSCPY''@|1|g' \
              -e 's|@''HAVE_WCPCPY''@|1|g' \
              -e 's|@''HAVE_WCSNCPY''@|1|g' \
              -e 's|@''HAVE_WCPNCPY''@|1|g' \
              -e 's|@''HAVE_WCSCAT''@|1|g' \
              -e 's|@''HAVE_WCSNCAT''@|1|g' \
              -e 's|@''HAVE_WCSCMP''@|1|g' \
              -e 's|@''HAVE_WCSNCMP''@|1|g' \
              -e 's|@''HAVE_WCSCASECMP''@|1|g' \
              -e 's|@''HAVE_WCSNCASECMP''@|1|g' \
              -e 's|@''HAVE_WCSCOLL''@|1|g' \
              -e 's|@''HAVE_WCSXFRM''@|1|g' \
              -e 's|@''HAVE_WCSDUP''@|1|g' \
              -e 's|@''HAVE_WCSCHR''@|1|g' \
              -e 's|@''HAVE_WCSRCHR''@|1|g' \
              -e 's|@''HAVE_WCSCSPN''@|1|g' \
              -e 's|@''HAVE_WCSSPN''@|1|g' \
              -e 's|@''HAVE_WCSPBRK''@|1|g' \
              -e 's|@''HAVE_WCSSTR''@|1|g' \
              -e 's|@''HAVE_WCSTOK''@|1|g' \
              -e 's|@''HAVE_WCSWIDTH''@|1|g' \
              -e 's|@''HAVE_WCSFTIME''@|1|g' \
              -e 's|@''HAVE_DECL_WCTOB''@|1|g' \
              -e 's|@''HAVE_DECL_WCWIDTH''@|1|g' \
          | \
          sed -e 's|@''REPLACE_MBSTATE_T''@|0|g' \
              -e 's|@''REPLACE_BTOWC''@|0|g' \
              -e 's|@''REPLACE_WCTOB''@|0|g' \
              -e 's|@''REPLACE_MBSINIT''@|0|g' \
              -e 's|@''REPLACE_MBRTOWC''@|0|g' \
              -e 's|@''REPLACE_MBRLEN''@|0|g' \
              -e 's|@''REPLACE_MBSRTOWCS''@|0|g' \
              -e 's|@''REPLACE_MBSNRTOWCS''@|0|g' \
              -e 's|@''REPLACE_WCRTOMB''@|0|g' \
              -e 's|@''REPLACE_WCSRTOMBS''@|0|g' \
              -e 's|@''REPLACE_WCSNRTOMBS''@|0|g' \
              -e 's|@''REPLACE_WCWIDTH''@|0|g' \
              -e 's|@''REPLACE_WCSWIDTH''@|0|g' \
              -e 's|@''REPLACE_WCSFTIME''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h'; \
        } > wchar.h-t && \
        mv wchar.h-t wchar.h
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./network_set.bin) > network_set.cc.docstrings
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./__exit__.bin) > _exit_.cc.docstrings
rm -f sys/socket.h-t sys/socket.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_SOCKET_H''@|<sys/socket.h>|g' \
              -e 's|@''HAVE_SYS_SOCKET_H''@|1|g' \
              -e 's/@''GNULIB_CLOSE''@/1/g' \
              -e 's/@''GNULIB_SOCKET''@/1/g' \
              -e 's/@''GNULIB_CONNECT''@/1/g' \
              -e 's/@''GNULIB_ACCEPT''@/0/g' \
              -e 's/@''GNULIB_BIND''@/0/g' \
              -e 's/@''GNULIB_GETPEERNAME''@/0/g' \
              -e 's/@''GNULIB_GETSOCKNAME''@/0/g' \
              -e 's/@''GNULIB_GETSOCKOPT''@/0/g' \
              -e 's/@''GNULIB_LISTEN''@/0/g' \
              -e 's/@''GNULIB_RECV''@/1/g' \
              -e 's/@''GNULIB_SEND''@/1/g' \
              -e 's/@''GNULIB_RECVFROM''@/0/g' \
              -e 's/@''GNULIB_SENDTO''@/0/g' \
              -e 's/@''GNULIB_SETSOCKOPT''@/0/g' \
              -e 's/@''GNULIB_SHUTDOWN''@/0/g' \
              -e 's/@''GNULIB_ACCEPT4''@/0/g' \
              -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
              -e 's|@''HAVE_WS2TCPIP_H''@|0|g' \
              -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE''@|1|g' \
              -e 's|@''HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY''@|1|g' \
              -e 's|@''HAVE_SA_FAMILY_T''@|1|g' \
              -e 's|@''HAVE_ACCEPT4''@|1|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
              < ./sys_socket.in.h; \
        } > sys/socket.h-t && \
        mv -f sys/socket.h-t sys/socket.h
rm -f sys/select.h-t sys/select.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_SELECT_H''@|<sys/select.h>|g' \
              -e 's|@''HAVE_SYS_SELECT_H''@|1|g' \
              -e 's/@''GNULIB_PSELECT''@/0/g' \
              -e 's/@''GNULIB_SELECT''@/1/g' \
              -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
              -e 's|@''HAVE_PSELECT''@|1|g' \
              -e 's|@''REPLACE_PSELECT''@|0|g' \
              -e 's|@''REPLACE_SELECT''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
              < ./sys_select.in.h; \
        } > sys/select.h-t && \
        mv sys/select.h-t sys/select.h
rm -f sys/time.h-t sys/time.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's/@''HAVE_SYS_TIME_H''@/1/g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_TIME_H''@|<sys/time.h>|g' \
              -e 's/@''GNULIB_GETTIMEOFDAY''@/0/g' \
              -e 's|@''HAVE_WINSOCK2_H''@|0|g' \
              -e 's/@''HAVE_GETTIMEOFDAY''@/1/g' \
              -e 's/@''HAVE_STRUCT_TIMEVAL''@/1/g' \
              -e 's/@''REPLACE_GETTIMEOFDAY''@/0/g' \
              -e 's/@''REPLACE_STRUCT_TIMEVAL''@/0/g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
              < ./sys_time.in.h; \
        } > sys/time.h-t && \
        mv sys/time.h-t sys/time.h
rm -f sys/types.h-t sys/types.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_TYPES_H''@|<sys/types.h>|g' \
              -e 's|@''WINDOWS_64_BIT_OFF_T''@|0|g' \
              -e 's|@''WINDOWS_STAT_INODES''@|0|g' \
              < ./sys_types.in.h; \
        } > sys/types.h-t && \
        mv sys/types.h-t sys/types.h
rm -f sys/stat.h-t sys/stat.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_STAT_H''@|<sys/stat.h>|g' \
              -e 's|@''WINDOWS_64_BIT_ST_SIZE''@|0|g' \
              -e 's|@''WINDOWS_STAT_TIMESPEC''@|0|g' \
              -e 's/@''GNULIB_FCHMODAT''@/0/g' \
              -e 's/@''GNULIB_FSTAT''@/1/g' \
              -e 's/@''GNULIB_FSTATAT''@/0/g' \
              -e 's/@''GNULIB_FUTIMENS''@/0/g' \
              -e 's/@''GNULIB_LCHMOD''@/0/g' \
              -e 's/@''GNULIB_LSTAT''@/0/g' \
              -e 's/@''GNULIB_MKDIRAT''@/0/g' \
              -e 's/@''GNULIB_MKFIFO''@/0/g' \
              -e 's/@''GNULIB_MKFIFOAT''@/0/g' \
              -e 's/@''GNULIB_MKNOD''@/0/g' \
              -e 's/@''GNULIB_MKNODAT''@/0/g' \
              -e 's/@''GNULIB_STAT''@/1/g' \
              -e 's/@''GNULIB_UTIMENSAT''@/0/g' \
              -e 's/@''GNULIB_OVERRIDES_STRUCT_STAT''@/0/g' \
              -e 's|@''HAVE_FCHMODAT''@|1|g' \
              -e 's|@''HAVE_FSTATAT''@|1|g' \
              -e 's|@''HAVE_FUTIMENS''@|1|g' \
              -e 's|@''HAVE_LCHMOD''@|1|g' \
              -e 's|@''HAVE_LSTAT''@|1|g' \
              -e 's|@''HAVE_MKDIRAT''@|1|g' \
              -e 's|@''HAVE_MKFIFO''@|1|g' \
              -e 's|@''HAVE_MKFIFOAT''@|1|g' \
              -e 's|@''HAVE_MKNOD''@|1|g' \
              -e 's|@''HAVE_MKNODAT''@|1|g' \
              -e 's|@''HAVE_UTIMENSAT''@|1|g' \
              -e 's|@''REPLACE_FSTAT''@|0|g' \
              -e 's|@''REPLACE_FSTATAT''@|0|g' \
              -e 's|@''REPLACE_FUTIMENS''@|0|g' \
              -e 's|@''REPLACE_LSTAT''@|0|g' \
              -e 's|@''REPLACE_MKDIR''@|0|g' \
              -e 's|@''REPLACE_MKFIFO''@|0|g' \
              -e 's|@''REPLACE_MKNOD''@|0|g' \
              -e 's|@''REPLACE_STAT''@|1|g' \
              -e 's|@''REPLACE_UTIMENSAT''@|0|g' \
              -e '/definitions of _GL_FUNCDECL_RPL/r ./c++defs.h' \
              -e '/definition of _GL_ARG_NONNULL/r ./arg-nonnull.h' \
              -e '/definition of _GL_WARN_ON_USE/r ./warn-on-use.h' \
              < ./sys_stat.in.h; \
        } > sys/stat.h-t && \
        mv sys/stat.h-t sys/stat.h
rm -f sys/uio.h-t sys/uio.h && \
        { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
          sed -e 's|@''GUARD_PREFIX''@|GL|g' \
              -e 's|@''INCLUDE_NEXT''@|include_next|g' \
              -e 's|@''PRAGMA_SYSTEM_HEADER''@|#pragma GCC system_header|g' \
              -e 's|@''PRAGMA_COLUMNS''@||g' \
              -e 's|@''NEXT_SYS_UIO_H''@|<sys/uio.h>|g' \
              -e 's|@''HAVE_SYS_UIO_H''@|1|g' \
              < ./sys_uio.in.h; \
        } > sys/uio.h-t && \
        mv -f sys/uio.h-t sys/uio.h
/Library/Developer/CommandLineTools/usr/bin/make  all-recursive
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./fsave.bin) > fsave.cc.docstrings
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./__rfeval_slave__.bin) > _rfeval_slave_.cc.docstrings
depbase=`echo cloexec.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT cloexec.o -MD -MP -MF $depbase.Tpo -c -o cloexec.o cloexec.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo dirname-lgpl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT dirname-lgpl.o -MD -MP -MF $depbase.Tpo -c -o dirname-lgpl.o dirname-lgpl.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo basename-lgpl.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT basename-lgpl.o -MD -MP -MF $depbase.Tpo -c -o basename-lgpl.o basename-lgpl.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo stripslash.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT stripslash.o -MD -MP -MF $depbase.Tpo -c -o stripslash.o stripslash.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo fd-hook.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT fd-hook.o -MD -MP -MF $depbase.Tpo -c -o fd-hook.o fd-hook.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo malloca.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT malloca.o -MD -MP -MF $depbase.Tpo -c -o malloca.o malloca.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo sig-handler.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT sig-handler.o -MD -MP -MF $depbase.Tpo -c -o sig-handler.o sig-handler.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo sockets.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT sockets.o -MD -MP -MF $depbase.Tpo -c -o sockets.o sockets.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo stat-time.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT stat-time.o -MD -MP -MF $depbase.Tpo -c -o stat-time.o stat-time.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo sys_socket.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT sys_socket.o -MD -MP -MF $depbase.Tpo -c -o sys_socket.o sys_socket.c &&\
        mv -f $depbase.Tpo $depbase.Po
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./parcellfun_set_nproc.bin) > parcellfun_set_nproc.cc.docstrings
depbase=`echo unistd.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT unistd.o -MD -MP -MF $depbase.Tpo -c -o unistd.o unistd.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo xsize.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT xsize.o -MD -MP -MF $depbase.Tpo -c -o xsize.o xsize.c &&\
        mv -f $depbase.Tpo $depbase.Po
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./sclose.bin) > sclose.cc.docstrings
depbase=`echo asnprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT asnprintf.o -MD -MP -MF $depbase.Tpo -c -o asnprintf.o asnprintf.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo open.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT open.o -MD -MP -MF $depbase.Tpo -c -o open.o open.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo perror.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT perror.o -MD -MP -MF $depbase.Tpo -c -o perror.o perror.c &&\
        mv -f $depbase.Tpo $depbase.Po
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./select.bin) > select.cc.docstrings
depbase=`echo poll.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT poll.o -MD -MP -MF $depbase.Tpo -c -o poll.o poll.c &&\
        mv -f $depbase.Tpo $depbase.Po
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./precv.bin) > precv.cc.docstrings
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./psend.bin) > psend.cc.docstrings
depbase=`echo printf-args.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT printf-args.o -MD -MP -MF $depbase.Tpo -c -o printf-args.o printf-args.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo printf-parse.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT printf-parse.o -MD -MP -MF $depbase.Tpo -c -o printf-parse.o printf-parse.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo stat.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT stat.o -MD -MP -MF $depbase.Tpo -c -o stat.o stat.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo strerror-override.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT strerror-override.o -MD -MP -MF $depbase.Tpo -c -o strerror-override.o strerror-override.c &&\
        mv -f $depbase.Tpo $depbase.Po
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./fload.bin) > fload.cc.docstrings
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./__parcellfun_set_nproc_used__.bin) > _parcellfun_set_nproc_used_.cc.docstrings
depbase=`echo strerror_r.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT strerror_r.o -MD -MP -MF $depbase.Tpo -c -o strerror_r.o strerror_r.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo vasnprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT vasnprintf.o -MD -MP -MF $depbase.Tpo -c -o vasnprintf.o vasnprintf.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/lock.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT glthread/lock.o -MD -MP -MF $depbase.Tpo -c -o glthread/lock.o glthread/lock.c &&\
        mv -f $depbase.Tpo $depbase.Po
depbase=`echo glthread/threadlib.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
        /usr/bin/clang -DHAVE_CONFIG_H -I. -I..    -DEXTERNAL_BINARY -fPIC -DNO_INLINE_GETPASS=1 -MT glthread/threadlib.o -MD -MP -MF $depbase.Tpo -c -o glthread/threadlib.o glthread/threadlib.c &&\
        mv -f $depbase.Tpo $depbase.Po
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./parallel_generate_srp_data.bin) > parallel_generate_srp_data.cc.docstrings
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./__parcellfun_send_next_args__.bin) > _parcellfun_send_next_args_.cc.docstrings
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./__parcellfun_initialize_job__.bin) > _parcellfun_initialize_job_.cc.docstrings
rm -f libgnu.a
ar cr libgnu.a cloexec.o dirname-lgpl.o basename-lgpl.o stripslash.o fd-hook.o glthread/lock.o malloca.o sig-handler.o sockets.o stat-time.o sys_socket.o glthread/threadlib.o unistd.o xsize.o asnprintf.o open.o perror.o poll.o printf-args.o printf-parse.o stat.o strerror-override.o strerror_r.o vasnprintf.o
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./__parcellfun_get_next_result__.bin) > _parcellfun_get_next_result_.cc.docstrings
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(fd-hook.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(sig-handler.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(stat-time.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(sys_socket.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(threadlib.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(xsize.o) has no symbols
/usr/bin/ranlib libgnu.a
./munge-texi.pl MFDOCSTRINGS pconnect.cc.docstrings select_sockets.cc.docstrings network_get_info.cc.docstrings network_set.cc.docstrings sclose.cc.docstrings reval.cc.docstrings precv.cc.docstrings psend.cc.docstrings fload.cc.docstrings fsave.cc.docstrings _exit_.cc.docstrings _rfeval_slave_.cc.docstrings select.cc.docstrings parcellfun_set_nproc.cc.docstrings _parcellfun_set_nproc_used_.cc.docstrings _parcellfun_initialize_job_.cc.docstrings _parcellfun_send_next_args_.cc.docstrings _parcellfun_get_next_result_.cc.docstrings parallel_generate_srp_data.cc.docstrings < ../doc/parallel.txi > ../doc/parallel.texi
makeinfo ../doc/parallel.texi -o ../doc/parallel.info
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(fd-hook.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(sig-handler.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(stat-time.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(sys_socket.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(threadlib.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/Library/Developer/CommandLineTools/usr/bin/ranlib: file: libgnu.a(xsize.o) has no symbols
true # without any recipe, make seemingly doesn't always consider the target to be really re-made after this rule was triggered
/usr/bin/clang -c gnulib-wrappers.c -Igl -g -O2 -fPIC
gnulib-wrappers.c:431:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
1 warning generated.
/opt/local/bin/mkoctfile-8.2.0 --verbose -pthread -o parallel_interface.oct pconnect.o select_sockets.o network_get_info.o network_set.o sclose.o reval.o precv.o psend.o parallel_generate_srp_data.o p-connection.o p-streams.o gnutls-callbacks.o sensitive-data.o error-helpers.o minimal-load-save.o -L/opt/local/lib -lgnutls           gl/libgnu.a gnulib-wrappers.o
/opt/local/bin/mkoctfile-8.2.0 --verbose -o _parcellfun_interface_.oct parcellfun_set_nproc.o _parcellfun_set_nproc_used_.o _parcellfun_initialize_job_.o _parcellfun_send_next_args_.o _parcellfun_get_next_result_.o p-control.o make-cmd-string.o p-streams.o error-helpers.o minimal-load-save.o -L/opt/local/lib -lgnutls           gl/libgnu.a gnulib-wrappers.o
/opt/local/bin/mkoctfile-8.2.0 --verbose parallel_generate_srp_data.o p-connection.o p-streams.o gnutls-callbacks.o sensitive-data.o gnulib-wrappers.o error-helpers.o -L/opt/local/lib -lgnutls           gl/libgnu.a
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o parallel_interface.oct  pconnect.o select_sockets.o network_get_info.o network_set.o sclose.o reval.o precv.o psend.o parallel_generate_srp_data.o p-connection.o p-streams.o gnutls-callbacks.o sensitive-data.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -pthread -L/opt/local/lib -lgnutls -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o parallel_generate_srp_data.oct  parallel_generate_srp_data.o p-connection.o p-streams.o gnutls-callbacks.o sensitive-data.o gnulib-wrappers.o error-helpers.o  gl/libgnu.a  -L/opt/local/lib -lgnutls -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o _parcellfun_interface_.oct  parcellfun_set_nproc.o _parcellfun_set_nproc_used_.o _parcellfun_initialize_job_.o _parcellfun_send_next_args_.o _parcellfun_get_next_result_.o p-control.o make-cmd-string.o p-streams.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -L/opt/local/lib -lgnutls -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/opt/local/bin/mkoctfile-8.2.0 --verbose fload.o error-helpers.o minimal-load-save.o gl/libgnu.a gnulib-wrappers.o
macros.texi:51: warning: redefining Texinfo language command: @seealso
/opt/local/bin/mkoctfile-8.2.0 --verbose fsave.o error-helpers.o minimal-load-save.o gl/libgnu.a gnulib-wrappers.o
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o fload.oct  fload.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o fsave.oct  fsave.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/opt/local/bin/mkoctfile-8.2.0 --verbose _exit_.o error-helpers.o minimal-load-save.o gl/libgnu.a gnulib-wrappers.o
/opt/local/bin/mkoctfile-8.2.0 --verbose _rfeval_slave_.o p-streams.o error-helpers.o minimal-load-save.o gl/libgnu.a gnulib-wrappers.o -L/opt/local/lib -lgnutls
/opt/local/bin/mkoctfile-8.2.0 --verbose select.o error-helpers.o minimal-load-save.o gl/libgnu.a gnulib-wrappers.o
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o _exit_.oct  _exit_.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o _rfeval_slave_.oct  _rfeval_slave_.o p-streams.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -L/opt/local/lib -lgnutls -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
/usr/bin/clang++ -std=gnu++11 -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1  -o select.oct  select.o error-helpers.o minimal-load-save.o gnulib-wrappers.o  gl/libgnu.a  -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -lm -L/opt/local/lib/octave/8.2.0 -L/opt/local/lib -bundle -undefined dynamic_lookup -bind_at_load -bundle_loader /opt/local/bin/octave-8.2.0  -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/libexec/qt5/lib -Wl,-rpath,/opt/local/lib/libgcc -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -loctinterp -loctave
rm pconnect.cc.docstrings select_sockets.bin MFDOCSTRINGS fsave.bin parcellfun_set_nproc.bin fload.bin fload.cc.docstrings _exit_.bin network_set.bin select_sockets.cc.docstrings _parcellfun_get_next_result_.bin fsave.cc.docstrings parcellfun_set_nproc.cc.docstrings precv.bin _exit_.cc.docstrings network_set.cc.docstrings network_get_info.bin _rfeval_slave_.bin _rfeval_slave_.cc.docstrings precv.cc.docstrings reval.bin _parcellfun_set_nproc_used_.cc.docstrings network_get_info.cc.docstrings psend.bin _parcellfun_send_next_args_.cc.docstrings _parcellfun_initialize_job_.bin parallel_generate_srp_data.bin reval.cc.docstrings _parcellfun_send_next_args_.bin sclose.cc.docstrings select.bin psend.cc.docstrings _parcellfun_initialize_job_.cc.docstrings parallel_generate_srp_data.cc.docstrings sclose.bin select.cc.docstrings fsave.o fload.o _parcellfun_set_nproc_used_.bin pconnect.bin _exit_.o _parcellfun_get_next_result_.cc.docstrings
copyfile /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/__exit__.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/__parcellfun_interface__.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/__rfeval_slave__.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/fload.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/fsave.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/parallel_generate_srp_data.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/parallel_interface.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/src/select.oct /var/folders/3p/3h87tqbx2ln71d628vs7sb5w0000gn/T/oct-i6jrAn/parallel-4.0.1/inst/x86_64-apple-darwin22.4.0-api-v58
For information about changes from previous versions of the parallel package, run 'news parallel'.

Anonymous
Wed 19 Apr 2023 11:30:18 PM UTC, comment #15: 

Do


pkg install -verbose ~/Downloads/parallel-4.0.1patched.tar.gz
-verbose-

and post the output.

I do not know anything about "parallel" package.

On my linux computer:
+verbatim+
octave:1> pkg test parallel
Testing functions in package 'parallel':

Integrated test scripts:

  ..al/share/octave/api-v58/packages/parallel-4.0.1/pararrayfun.m  pass    5/5
  ..cal/share/octave/api-v58/packages/parallel-4.0.1/parcellfun.m  pass    6/6
  ...local/share/octave/api-v58/packages/parallel-4.0.1/pserver.m  pass    0/1
                                                                   FAIL    1

Fixed test scripts:


Failure Summary:

  ...local/share/octave/api-v58/packages/parallel-4.0.1/pserver.m  pass    0/1
                                                                   FAIL    1

Summary:

  PASS                               11
  FAIL                                1


And after quitting it leaves octave-pserver process running
that I have to manually kill. This looks bad.


Dmitri.
--



Dmitri A. Sergatskov <dasergatskov>
Wed 19 Apr 2023 11:17:44 PM UTC, comment #14: 

I think I spoke too soon ... The package installed but is missing some functions ...

>> pkg test parallel

Testing functions in package 'parallel':

Integrated test scripts:

  ..al/share/octave/api-v58/packages/parallel-4.0.1/pararrayfun.m  pass    5/5
  ..cal/share/octave/api-v58/packages/parallel-4.0.1/parcellfun.m  pass    6/6
  ...local/share/octave/api-v58/packages/parallel-4.0.1/pserver.m sh: octave-pserver: command not found
 pass    0/1
                                                                   FAIL    1

if I install using sudo port install octave-parallel, the pkg installs but I get a failed test too:

Testing functions in package 'parallel':

Integrated test scripts:

  /opt/local/share/octave/packages/parallel-4.0.1/pararrayfun.m .. pass    0/5
                                                                   FAIL    5
  /opt/local/share/octave/packages/parallel-4.0.1/parcellfun.m ... pass    0/6
                                                                   FAIL    6
  /opt/local/share/octave/packages/parallel-4.0.1/pserver.m ......sh: octave-pserver: command not found
 pass    0/1
                                                                   FAIL    1

Fixed test scripts:


Failure Summary:

  /opt/local/share/octave/packages/parallel-4.0.1/pararrayfun.m .. pass    0/5
                                                                   FAIL    5
  /opt/local/share/octave/packages/parallel-4.0.1/parcellfun.m ... pass    0/6
                                                                   FAIL    6
  /opt/local/share/octave/packages/parallel-4.0.1/pserver.m ...... pass    0/1
                                                                   FAIL    1

Summary:

  PASS                                0
  FAIL                               12

What would anyone recommend ?

Anonymous
Tue 18 Apr 2023 04:31:46 PM UTC, comment #13: 

Ok, I got the parallel install to work. THANKS MARKUS !
I am not sure what combination worked but this is what I did:

1- I re-installed octave-8.2.0 using macports instead of homebrew and deleted the octave-8.2.0 installed by homebrew
2- modified the Array.cc and Array-oct.cc as suggested by Markus (comment #6)
    files were in /opt/local/include/octave-8.2.0/octave
3- I used the patched install file (modification suggested by https://savannah.gnu.org/bugs/?62349) that I originally used to install the pkg in 7.3.0 successfully (see attached)
4- eval( "pkg install ~/Downloads/parallel-4.0.1patched.tar.gz" )

I hope that helps other to overcome the issue.


Anonymous
Tue 18 Apr 2023 04:30:32 PM UTC, comment #12: 

That doesn't look related to this issue.

Maybe try to get help in setting up your build environment, e.g., on the discourse forum:
https://octave.discourse.group/

(I don't have a mac. And I don't know what could be wrong with your configuration.)

Markus Mützel <mmuetzel>
Group administrator
Tue 18 Apr 2023 04:05:00 PM UTC, comment #11: 

This is the error now:

/usr/bin/clang++ -std=gnu++11 -c -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -I/opt/local/include/octave-8.2.0/octave/.. (echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./network_get_info.bin) > network_get_info.cc.docstrings
Wno-deprecated-declarations    _parcellfun_send_next_args_.cc -o _parcellfun_send_next_args_.o
-I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1 -Wno-deprecated-declarations    _exit_.cc -o _exit_.o
make[2]: * No rule to make target `am--refresh'.  Stop.
nclude -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC -I/opt/local/include/octave-8.2.0/octave/.. -I/opt/local/include/octave-8.2.0/octave -I/opt/local/include  -pthread  -DNO_INLINE_GETPASS=1 -Wno-deprecated-declarations    make-cmd-string.cc -o make-cmd-string.o
(echo "### This file is generated automatically from the"; echo "### corresponding .cc file by a Makefile rule."; echo ""; ./reval.bin) > reval.cc.docstrings
make[1]: * [../aclocal.m4] Error 2
make: * [gnulib] Error 2
make: * Waiting for unfinished jobs....
rm pconnect.cc.docstrings select_sockets.bin MFDOCSTRINGS fsave.bin parcellfun_set_nproc.bin fload.bin _exit_.bin network_set.bin select_sockets.cc.docstrings _parcellfun_get_next_result_.bin precv.bin network_get_info.bin _rfeval_slave_.bin reval.bin network_get_info.cc.docstrings psend.bin _parcellfun_initialize_job_.bin parallel_generate_srp_data.bin reval.cc.docstrings _parcellfun_send_next_args_.bin select.bin sclose.bin fsave.o fload.o _parcellfun_set_nproc_used_.bin pconnect.bin _exit_.o

comment #10:

> I did modify the Array.cc and Array_oct.cc files as you suggested and did also the comment #4 edits. It still fails with the same error I mentioned in comment #5
>
> I had a similar issue in 7.3.0 with the parallel pkg and solved it with the solution: https://savannah.gnu.org/bugs/?62349
>
> But this time, I cannot get it to work even with all your suggested mods.
>
> comment #8:
> > Octave 8.2.0 was released very recently. So, unless some other major issues come up for that version, it might take a while until Octave 8.3.0 will be released.
> >
> > The patch proposed by jwe in comment #4 should be an equivalent fix for the parallel package. Things that aren't fixed by that patch won't be fixed with the change pushed to the Octave repository.
> >
> > If you prefer to used the updated headers, you could install only those. It shouldn't make a difference for the Octave binaries.
> >

Anonymous
Tue 18 Apr 2023 04:03:02 PM UTC, comment #10: 

I did modify the Array.cc and Array_oct.cc files as you suggested and did also the comment #4 edits. It still fails with the same error I mentioned in comment #5

I had a similar issue in 7.3.0 with the parallel pkg and solved it with the solution: https://savannah.gnu.org/bugs/?62349

But this time, I cannot get it to work even with all your suggested mods.

comment #8:

> Octave 8.2.0 was released very recently. So, unless some other major issues come up for that version, it might take a while until Octave 8.3.0 will be released.
>
> The patch proposed by jwe in comment #4 should be an equivalent fix for the parallel package. Things that aren't fixed by that patch won't be fixed with the change pushed to the Octave repository.
>
> If you prefer to used the updated headers, you could install only those. It shouldn't make a difference for the Octave binaries.
>

Anonymous
Tue 18 Apr 2023 02:36:41 PM UTC, comment #9: 

Oops. I wrote "headers" when I meant those .cc files.
(But to be honest, I don't know why their names don't end in `.h`. They are essentially meant to be used just like headers. I might be partially to blame for that though...)

Markus Mützel <mmuetzel>
Group administrator
Tue 18 Apr 2023 02:34:11 PM UTC, comment #8: 

Octave 8.2.0 was released very recently. So, unless some other major issues come up for that version, it might take a while until Octave 8.3.0 will be released.

The patch proposed by jwe in comment #4 should be an equivalent fix for the parallel package. Things that aren't fixed by that patch won't be fixed with the change pushed to the Octave repository.

If you prefer to used the updated headers, you could install only those. It shouldn't make a difference for the Octave binaries.

Markus Mützel <mmuetzel>
Group administrator
Tue 18 Apr 2023 02:29:40 PM UTC, comment #7: 

Thanks for the heads up.

So basically, there is nothing users can do to fix this parallel pkg install until the current base version of octave is updated and pushed ?
If so, when will that be ?

Note that I tried:
port install octave-parallel

it installs a patched version of the pkg but I get error messages at runtime.


comment #6:

> Since these .cc files are installed and meant to be included in downstream projects, it's probably best if they were self-contained.
> I pushed the following change to include headers that (forward) declare the types that are used to explicitly instantiate the Array<T> template in these files:
> https://hg.savannah.gnu.org/hgweb/octave/rev/bc681594872a
>
> That change was made on the stable branch. So, they should be part of the next minor release of Octave.
>
> Marking as ready for test.
>

Anonymous
Tue 18 Apr 2023 01:16:27 PM UTC, comment #6: 

Since these .cc files are installed and meant to be included in downstream projects, it's probably best if they were self-contained.
I pushed the following change to include headers that (forward) declare the types that are used to explicitly instantiate the Array<T> template in these files:
https://hg.savannah.gnu.org/hgweb/octave/rev/bc681594872a

That change was made on the stable branch. So, they should be part of the next minor release of Octave.

Marking as ready for test.

Markus Mützel <mmuetzel>
Group administrator
Mon 17 Apr 2023 11:20:38 PM UTC, comment #5: 

When I make the modifications your recommend, I get this error:

make[2]: * No rule to make target `am--refresh'.  Stop.
make[1]: * [../aclocal.m4] Error 2
make: * [gnulib] Error 2
make: * Waiting for unfinished jobs....
rm pconnect.cc.docstrings select_sockets.bin MFDOCSTRINGS fsave.bin parcellfun_set_nproc.bin fload.bin _exit_.bin network_set.bin select_sockets.cc.docstrings _parcellfun_get_next_result_.bin precv.bin network_get_info.bin _rfeval_slave_.bin reval.bin network_get_info.cc.docstrings psend.bin _parcellfun_initialize_job_.bin parallel_generate_srp_data.bin _parcellfun_send_next_args_.bin select.bin sclose.bin fsave.o fload.o _parcellfun_set_nproc_used_.bin pconnect.bin _exit_.o

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

exert of the configure.ac file:
...
[dnl
  [symbol_table::assign],
  [octave::interpreter::the_interpreter () -> assign],
  [[octave::interpreter::the_interpreter () -> assign("socket",octave_value(0));]],
  [OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN],
  [[#include <octave/symtab.h>]],
  []
],

...

comment #3:

> I'm still getting this error regarding cdef_object:
>
> /usr/include/octave-8.1.0/octave/../octave/Array.cc:38:67: error: 'cdef_object' is not a member of 'octave'
>    38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
>       |                                                                   ^~~~~~~~~~~
> /usr/include/octave-8.1.0/octave/../octave/Array.cc:38:78: error: template argument 1 is invalid
>    38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
>       |                                                                              ^
> /usr/include/octave-8.1.0/octave/../octave/Array.cc:38:78: error: template argument 2 is invalid
> make: * [Makefile:192: p-connection.o] Error 1
>
>
> This was my patch for the configure test:
>
> diff --git a/src/configure.ac b/src/configure.ac
> index 69f3aba..bc1c85a 100644
> --- a/src/configure.ac
> +++ b/src/configure.ac
> @@ -244,9 +244,9 @@ dnl  separate test
>  ],
>
>  [dnl
> -  [symbol_table::assign],
>    [octave::interpreter::the_interpreter () -> get_symbol_table ().assign],
> -  [[octave::interpreter::the_interpreter () -> get_symbol_table ();]],
> +  [octave::interpreter::the_interpreter () -> assign],
> +  [[octave::interpreter::the_interpreter () -> assign("socket",octave_value(0));]],
>    [OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN],
>    [[#include <octave/symtab.h>]],
>    []
> diff --git a/src/error-helpers.h b/src/error-helpers.h

Anonymous
Sun 09 Apr 2023 02:28:51 AM UTC, comment #4: 

Nevermind - I didn't include cdef_object.h early enough. Working patch:

diff --git a/src/p-connection.cc b/src/p-connection.cc
index e62d6d3..42b4a57 100644
--- a/src/p-connection.cc
+++ b/src/p-connection.cc
@@ -18,6 +18,7 @@ along with this program; If not, see <http://www.gnu.org/licenses/>.
 */

 #include <octave/oct.h>
+#include <octave/cdef-object.h>
 #include <octave/Array.cc>

 #include "parallel-gnutls.h"

Anonymous
Sun 09 Apr 2023 02:17:40 AM UTC, comment #3: 

I'm still getting this error regarding cdef_object:

/usr/include/octave-8.1.0/octave/../octave/Array.cc:38:67: error: 'cdef_object' is not a member of 'octave'
   38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
      |                                                                   ^~~~~~~~~~~
/usr/include/octave-8.1.0/octave/../octave/Array.cc:38:78: error: template argument 1 is invalid
   38 | extern template class OCTINTERP_EXTERN_TEMPLATE_API Array<octave::cdef_object>;
      |                                                                              ^
/usr/include/octave-8.1.0/octave/../octave/Array.cc:38:78: error: template argument 2 is invalid
make: * [Makefile:192: p-connection.o] Error 1


This was my patch for the configure test:

diff --git a/src/configure.ac b/src/configure.ac
index 69f3aba..bc1c85a 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -244,9 +244,9 @@ dnl  separate test
 ],

 [dnl
-  [symbol_table::assign],
   [octave::interpreter::the_interpreter () -> get_symbol_table ().assign],
-  [[octave::interpreter::the_interpreter () -> get_symbol_table ();]],
+  [octave::interpreter::the_interpreter () -> assign],
+  [[octave::interpreter::the_interpreter () -> assign("socket",octave_value(0));]],
   [OCTAVE__INTERPRETER__SYMBOL_TABLE__ASSIGN],
   [[#include <octave/symtab.h>]],
   []
diff --git a/src/error-helpers.h b/src/error-helpers.h

Anonymous
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>
Group 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:
   
   
Comment:
   

Attached Files
file #54636:  parallel-4.0.1patched.tar.gz added by None (703KiB - application/x-gzip)
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 i7tiol (Posted a comment)
  • -email is unavailable- added by mmuetzel
  • -email is unavailable- added by svillemot (Posted a comment)
  • -email is unavailable- added by ksurf1 (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -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 group members can vote.

     

    Follow 17 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-07-04 mmuetzel StatusFixed None
        Open/ClosedClosed Open
        Carbon-Copy- Added i7tiol
    2023-04-20 mmuetzel StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2023-04-18 None Attached File- Added parallel-4.0.1patched.tar.gz, #54636
    2023-04-18 mmuetzel StatusConfirmed Ready For Test
        Fixed ReleaseNone 8.3.0
        Planned ReleaseNone 8.3.0
    2023-04-17 mmuetzel Item GroupNone Build Failure
        StatusNone Confirmed
        Operating SystemMac OS Any
        Summaryparallel: no member named 'cdef_object' in namespace 'octave' [octave forge] (parallel) no member named 'cdef_object' in namespace 'octave'
    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.13-f762.
    Corresponding source code