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

Bug 260418

Summary: kde-base/automoc - automoc stalls randomly when built against uclibc
Product: Gentoo Linux Reporter: Ryan Hope <rmh3093>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Add -pthread to cflags for uclibc

Description Ryan Hope 2009-02-26 18:50:11 UTC
Automoc stalls randomly when built against uclibc. Most of if not all the kde4 modules use automoc in some way and once the builds start, they stall in random places. Its some sort of threading issue. Adding -pthread to the cflags solves this issue.

Reproducible: Always

Steps to Reproduce:
1. unpack 2008 uclibc stage3
2. emerge automoc
3. emerge phonon

Actual Results:  
build stalls randomly, can wait for hours nothing with happen

Expected Results:  
no stalls should occur, build should progress normally
Comment 1 Ryan Hope 2009-02-26 18:53:12 UTC
Created attachment 183289 [details, diff]
Add -pthread to cflags for uclibc

This patch appends -pthread to the cflags when ELIBC == uclibc
Comment 2 Patrick Lauer gentoo-dev 2009-03-01 11:42:03 UTC
+  01 Mar 2009; Patrick Lauer <patrick@gentoo.org> automoc-0.9.84.ebuild,
+  automoc-0.9.88.ebuild:
+  Fixing CFLAGS for uclibc to fix #260418
Comment 3 Ryan Hope 2009-03-05 04:58:22 UTC
Can this fix get added to the automoc-9999 ebuild in the kde-testing overlay also? Please!
Comment 4 Ryan Hope 2009-03-16 22:59:05 UTC
(In reply to comment #3)
> Can this fix get added to the automoc-9999 ebuild in the kde-testing overlay
> also? Please!
> 

anyone?
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-16 23:05:25 UTC
This is what for is upstream. For live stuff patching sent it upstram.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-04-14 23:00:40 UTC
live ebuild adjusted.
Sorry i forgot on that.