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

Bug 259811

Summary: bluez-utils/bluez-utils-2.25-r1 with gcc-4.3.3: missing #include <linux/limits.h> and <limits.h> (PATH_MAX and USHRT_MAX)
Product: Gentoo Linux Reporter: Michael Weber (RETIRED) <xmw>
Component: [OLD] LibraryAssignee: Petteri Räty (RETIRED) <betelgeuse>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mobile+disabled, pavel_kostenko, pda
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: add includes for gcc-4.3.3

Description Michael Weber (RETIRED) gentoo-dev 2009-02-21 13:42:57 UTC
the compilation with gcc-4.3.3 failed due to missing include statments.

Reproducible: Always

Steps to Reproduce:
1. emerge bluez-utils/bluez-utils-2.25-r1

Actual Results:  
build failed

Expected Results:  
successful emerge ...

see http://bugs.gentoo.org/show_bug.cgi?id=259218 (bluez-libs) for the same problem ans solution.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2009-02-21 13:45:15 UTC
Created attachment 182732 [details, diff]
add includes for gcc-4.3.3

I've no experience with the modifiaction of ebuilds,
so I've changed the files between ebaild unpack and ebuild compile. sry!
Comment 2 Pavel Kostenko 2009-02-21 14:18:57 UTC
(In reply to comment #1)
> Created an attachment (id=182732) [edit]
> add includes for gcc-4.3.3
> 
> I've no experience with the modifiaction of ebuilds,
> so I've changed the files between ebaild unpack and ebuild compile. sry!
> 

ebuild /usr/portage/net-wireless/bluez-utils/bluez-utils-2.25-r1.ebuild unpack
patch -p0 < your_attachment
ebuild /usr/portage/net-wireless/bluez-utils/bluez-utils-2.25-r1.ebuild compile
ebuild /usr/portage/net-wireless/bluez-utils/bluez-utils-2.25-r1.ebuild install
ebuild /usr/portage/net-wireless/bluez-utils/bluez-utils-2.25-r1.ebuild qmerge

then I was able to continue with:
emerge gnome-bluetooth

Thanks!!! :)
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2009-02-22 21:25:48 UTC

*** This bug has been marked as a duplicate of bug 259218 ***