Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 260003

Summary: sys-block/lsiutil-1.60: compilation aborts
Product: Gentoo Linux Reporter: Michael Rhyner <michael.rhyner>
Component: New packagesAssignee: Wolfram Schlich (RETIRED) <wschlich>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch I created to circumvent the problem
Patch for ebuild to include the typedef patch

Description Michael Rhyner 2009-02-23 13:06:50 UTC
>>> Compiling source in /var/tmp/portage/sys-block/lsiutil-1.60/work ...
In file included from /usr/include/inttypes.h:28,
                 from /usr/include/linux/types.h:5,
                 from lsiutil.c:382:
/usr/include/stdint.h:56: error: conflicting types for ‘uint64_t’
lsiutil.c:261: error: previous declaration of ‘uint64_t’ was here


Reproducible: Always

Steps to Reproduce:
1.emerge -v sys-block/lsiutil
2.
3.

Actual Results:  
 * 
 * ERROR: sys-block/lsiutil-1.60 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line  774:  Called die
 * The specific snippet of code:
 *       $(tc-getCC) ${CFLAGS} -o ${PN} ${PN}.c || die "emake failed."
 *  The die message:
 *   emake failed.
 * 


Expected Results:  
lsiutil can be built
Comment 1 Michael Rhyner 2009-02-23 13:10:05 UTC
Created attachment 182885 [details]
patch I created to circumvent the problem

this patch simply comments out the duplicated (and wrong) typedef for uint64_t on 64-bit platforms
Comment 2 Michael Rhyner 2009-02-23 13:12:13 UTC
Created attachment 182887 [details, diff]
Patch for ebuild to include the typedef patch

And here the changes I had to make do the lsiutil ebuild. Source Code Patch goes into the files directory beneath the ebuild, e.g. /usr/local/portage/sys-block/lsiutil/files
Comment 3 Łukasz Damentko (RETIRED) gentoo-dev 2009-02-24 16:40:38 UTC
Thanks for your patches. Reassigning to maintainer.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2009-09-02 02:13:05 UTC
I fixed this in a different way. Tested with 53c1030 hardware.