ghemical FTBFS on amd64

Bug #36421 reported by Jérémie Corbier
6
Affects Status Importance Assigned to Milestone
ghemical (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

ghemical 1.91-2ubuntu1 fails to build from source on amd64 due to loss of precision in some type casts.

Revision history for this message
Jérémie Corbier (jcorbier) wrote : A fix for this bug

Change 32 bit unsigned integer cast to long. With this patch ghemical builds and runs :)

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

In the disabled patch debian/patches/10_64bit_glu_fix.dpatch, there is this function:

i32u project::ptr_to_int(void* ptr);

I am trying to figure out a way to use it for this particular issue (the previous patch may break things if compiling on a 32 bits arch).

Revision history for this message
Jérémie Corbier (jcorbier) wrote : The same patch included in a debdiff

Here is the debdiff. It needs testing on a 32bit box.

Revision history for this message
Jérémie Corbier (jcorbier) wrote :

ghemical (1.91-2ubuntu2) dapper; urgency=low

  * debian/patches/12_64bit_build_fix.dpatch: New file. Fixes Malone Bug #36421.

 -- Jeremie Corbier <email address hidden> Fri, 24 Mar 2006 18:17:16 +0100

Changed in ghemical:
status: Unconfirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.