bugGNU Octave - Bugs: bug #59423, [octave forge] (parallel) v4.0...

 
 

bug #59423: [octave forge] (parallel) v4.0 fails to build if the gnutls package is installed

Submitter:  None
Submitted:  Fri 06 Nov 2020 09:18:45 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Fixed Assigned to:  None
Originator Name:  Lionel Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 5.2.0
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 08 Nov 2020 04:37:12 PM UTC, comment #3: 

Oh, thanks... the correction is here:

https://sourceforge.net/p/octave/parallel/ci/47ae4cdfbbe9ff5912c94fc2d1b4445774302e92/

So I'm closing this report, thanks for checking.

Olaf Till <i7tiol>
Group Member
Sun 08 Nov 2020 07:19:00 AM UTC, comment #2: 

The angle brackets are missing::


configure: WARNING: No working fork(), no uname(), or no error.h found. On such platforms, notably Windows and macOS, the remote Octave server will not be built. The functions for accessing a remote Octave server are not affected by this and may still be built, as well as the functions for local parallel execution.
gnutls-callbacks.cc:34:10: error: expected "FILENAME" or <FILENAME>
#include malloc/malloc.h
         ^
gnutls-callbacks.cc:39:10: error: use of undeclared identifier 'malloc_size'
  return malloc_size (ptr);
         ^
2 errors generated.
make: *** [gnutls-callbacks.o] Error 1



Changing:

#include malloc/malloc.h


To:

#include <malloc/malloc.h>


Successfully compiles with the following output:

configure: WARNING: No working fork(), no uname(), or no error.h found. On such platforms, notably Windows and macOS, the remote Octave server will not be built. The functions for accessing a remote Octave server are not affected by this and may still be built, as well as the functions for local parallel execution.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(fd-hook.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(sig-handler.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(stat-time.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(sys_socket.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(threadlib.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(xsize.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(fd-hook.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(sig-handler.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(stat-time.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(sys_socket.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(threadlib.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(unistd.o) has no symbols
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: libgnu.a(xsize.o) has no symbols
gnulib-wrappers.c:431:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
1 warning generated.
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 17
    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 820 column 5
    install at line 235 column 7
    pkg at line 566 column 9

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


Lionel Woog <lionel>
Sat 07 Nov 2020 06:48:27 PM UTC, comment #1: 
Olaf Till <i7tiol>
Group Member
Fri 06 Nov 2020 09:18:45 AM UTC, original submission:  

The error is:
gnutls-callbacks.cc:46:10: error: use of undeclared identifier 'malloc_usable_size'

A workaround is to uninstall the gnutls package (brew uninstall gnutls for me), forge the parallel package and reinstall gnutls.

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 lionel (Posted a comment)
  • -email is unavailable- added by i7tiol (Posted a comment)
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -email is unavailable- added by None (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-08 i7tiol StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-11-07 i7tiol StatusNone Ready For Test
    2020-11-07 mmuetzel SummaryParallel package v4.0 fails to build if the gnutls package is installed [octave forge] (parallel) v4.0 fails to build if the gnutls package is installed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code