bugGNU Octave - Bugs: bug #51857, [octave forge] (interval)...

 
 

bug #51857: [octave forge] (interval) installation fails on 32-bit

Submitted by:  Oliver Heimlich <oheim>
Submitted on:  Sat 26 Aug 2017 02:15:54 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Installation Failure
Status: NoneAssigned to: None
Originator Name: Oliver HeimlichOpen/Closed: Open
Release: 3.8.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 26 Aug 2017 02:31:14 PM UTC, comment #1:

Fixed.

https://sourceforge.net/p/octave/interval/ci/b551798fc8f7feb5cfae3685ab0cbf91c4e66baa/

Oliver Heimlich <oheim>
Sat 26 Aug 2017 02:15:54 PM UTC, original submission:

Version 3.0.0 of the interval package can't be compiled on 32-bit systems, because of type casting ambiguity. The problem is that MPFR uses parameters of type “long unsigned int”, which is either 64-bit or 32-bit depending on the platform and depending on the compiler being used. Octave's uint64NDArray elements can't be converted to the 32-bit integers, which are used on 32-bit architectures.

The attached patch fixes this. A patched interval-3.0.0 installs without errors and “test @infsup/nthroot” passes without errors on my device.

interval package version: 3.0.0
MPFR version: 3.1.2-p3
Octave version: 3.8.2
CPU: AArch64
Debian architecture: armhf (=32-bit)

Error log:

Oliver Heimlich <oheim>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #41668:  patch.diff added by oheim (755B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by oheim (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

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

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Aug 2017 02:15:54 PM UTCoheimAttached File-=>Added patch.diff, #41668

    Back to the top


    Powered by Savane 3.1-cleanup1