bugGNU Octave - Bugs: bug #57000, [octave forge] (strings)...

 
 

bug #57000: [octave forge] (strings) Compilation faiure against Octave 5.1.0

Submitted by:  Rafael Laboissiere <rlaboiss>
Submitted on:  Sat 05 Oct 2019 04:21:49 PM UTC  
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  other Operating System:  GNU/Linux

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 07 Oct 2019 08:23:22 AM UTC, comment #2: 

Bug #55385 is not really a duplicate but it does fix the gripe_* compilation problem with Octave 5.1.0. Time to make a new release of the strings package?

Rafael Laboissiere <rlaboiss>
Sun 06 Oct 2019 11:23:33 PM UTC, comment #1: 

 A duplicate I think of https://savannah.gnu.org/bugs/?55385 which has a patch to check which function to use so will work in older versions of octave as well.

John Donoghue <lostbard>
Project Member
Sat 05 Oct 2019 04:21:49 PM UTC, original submission:  

Compilation of the strings package fails with Octave 5.1.0:

/usr/bin/mkoctfile --verbose  -o pcregexp.oct pcregexp.cc
g++ -c -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave  -pthread -fopenmp -g -O2 -fdebug-prefix-map=/var/data/rlaboiss/debian/PKGS/octave-strings/oc
tave-strings=. -fstack-protector-strong -Wformat -Werror=format-security    pcregexp.cc -o /tmp/oct-FyqcIR.o
pcregexp.cc: In function ‘octave_value_list Fpcregexp(const octave_value_list&, int)’:
pcregexp.cc:52:9: error: ‘gripe_wrong_type_arg’ was not declared in this scope; did you mean ‘err_wrong_type_arg’?
   52 |         gripe_wrong_type_arg("pcregexp", args(0));
      |         ^~~~~~~~~~~~~~~~~~~~
      |         err_wrong_type_arg
make[1]: *** [Makefile:11: pcregexp.oct] Error 1

The patch attached to this bug report fixes the problem.

Rafael Laboissiere <rlaboiss>

 

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

Attach Files:
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Adding package mantainer)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

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

    Date Changed by Updated Field Previous Value => Replaced by
    2019-10-07 lostbard Carbon-Copy- => Added oheim
    2019-10-05 rlaboiss Attached File- => Added err-instead-of-gripes.patch, #47619

    Back to the top


    Powered by Savane 3.5