Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260418 - kde-base/automoc - automoc stalls randomly when built against uclibc
Summary: kde-base/automoc - automoc stalls randomly when built against uclibc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-26 18:50 UTC by Ryan Hope
Modified: 2009-04-14 23:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Add -pthread to cflags for uclibc (automoc-uclibc-needs-pthread.patch,520 bytes, patch)
2009-02-26 18:53 UTC, Ryan Hope
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.