bugGNU Octave - Bugs: bug #67752, [octave forge] (quaternion) Wrong...

 
 

bug #67752: [octave forge] (quaternion) Wrong indexing of cell variable

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Mon 01 Dec 2025 04:11:14 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

Jump to the original submission

Fri 05 Dec 2025 10:18:04 PM UTC, comment #6: 

You also have 3 failures. The reason there are only 3 is that lots of files just do not have BISTs in them. The package is mostly broken.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Fri 05 Dec 2025 10:14:03 PM UTC, comment #5: 

@Nir:
AFAICS the package seems to mostly work in Octave 11.

I upload a diary from installing and testing quaternion-2.4.1. (d/led from sf) in Octave 11 (built on Fedora 42).
fntests.log also attached.
AFAICS there is a cellfun calling error (UniformOutput) and maybe because of that further down some horzcat fails.  I am completely unfamiliar with the package so this is about all I can offer.

BTW I can´t get the package crossbuilt for Windows; I manually applied the 2 mxe-octave patches for the package, one for the Makefile and one for is_real_array.cc.
FTR I'll also upload the mxe-octave build log for the package. I can´t make much of the undefined references that break the build, the variable names are too mangled.

(file #57920, file #57921, file #57922)

Philip Nienhuis <philipnienhuis>
Group Member
Tue 02 Dec 2025 05:35:47 PM UTC, comment #4: 

Thanks @rlaboiss, I committed your patch.

@dasergatskov if the package doesn't work in Octave 11, can you open a bug report for that?

Nir Krakauer <nir_krakauer>
Tue 02 Dec 2025 01:55:52 PM UTC, comment #3: 

BTW, quaternion completely broken in Octave 11 because  of the `cellfun` changes.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 02 Dec 2025 12:52:02 PM UTC, comment #2: 

The patch applies to version 2.4.1

Rafael Laboissière <rlaboiss>
Tue 02 Dec 2025 11:09:40 AM UTC, comment #1: 

which version/release of the quaternion ?
2.4.1. was released a week ago.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 01 Dec 2025 04:11:14 PM UTC, original submission:  

In the file devel/pdfdoc/collect_texinfo_strings.m, the elements of the cell array "functions" are accessed via the parenthesis operators. This yields a cell array, which has not the type that is needed for the argument of the "get_help_text" function.

Indexing it with the curly braces operators fixes the issue, as in the patch attached to this bug report.

Rafael Laboissière <rlaboiss>

 

Attached Files

Attached Files
file #57921:  fntests.log added by philipnienhuis (8.4KiB - text/x-log)
file #57922:  of-quaternion added by philipnienhuis (15KiB - application/octet-stream)
file #57891:  cell-array-indexing.patch added by rlaboiss (985B - text/x-patch)

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

Carbon-Copy List
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by philipnienhuis (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-12-05 philipnienhuis Attached File- Added quaternion-2.4.1_diary.txt, #57920
        Attached File- Added fntests.log, #57921
        Attached File- Added of-quaternion, #57922
    2025-12-01 rlaboiss Attached File- Added cell-array-indexing.patch, #57891

    Back to the top

    Powered by Savane 3.16-a7ba.
    Corresponding source code