>>> 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
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
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
Thanks for your patches. Reassigning to maintainer.
I fixed this in a different way. Tested with 53c1030 hardware.