Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9482 - machine freeze during emerge kde in kdemultimedia build
Summary: machine freeze during emerge kde in kdemultimedia build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 08:32 UTC by Whit Blauvelt
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Whit Blauvelt 2002-10-22 08:32:01 UTC
Perhaps another out-of-memory problem (64 megs + 128 megs swap on this box)?
During emerge kde the machine was mostly frozen (would take the Return key, but
couldn't log in to another tty, couldn't do a ctrl-C, and the mouse was lost) at
the step of "creating libnoatcontrols.la", with a warning about a deprecated
header, strstream.h, following that. After reboot "emerge kde --pretend" shows
kdemultimedia as the first dependency listed, which means that was the problem
package, right?

If the fix here is to lessen the degree of optimization, I don't know enough
about that. Perhaps list of optimization flags, in the order in which they
should be removed from ebuilds in problem cases, would be useful to have - at
least if the statement that Gentoo can be built in 64 megs + 64 megs swap is
going to stay in the main install doc. Although I sometimes build servers
without a GUI, for most of the world it's not a distro without one ;>
Comment 1 SpanKY gentoo-dev 2002-10-22 10:12:50 UTC
try running memtest86/cpuburn ? 
Comment 2 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-22 10:28:39 UTC
please edit the kdemultimedia ebuild to have no "--enable-final" and emerge it again. 
Comment 3 Whit Blauvelt 2002-10-22 11:19:42 UTC
No errors from memtest86 (3.0) or cpuburn.

kdemultimedia-3.0.4.ebuild does not have an --enable-final statement.
Comment 4 Hannes Mehnert (RETIRED) gentoo-dev 2002-10-22 11:33:29 UTC
kdemultimedia uses an eclass (kde-dist.eclass). please remove the line 
myconf="$myconf --enable-final" from /usr/portage/eclass/kde-dist.eclass   
Comment 5 Whit Blauvelt 2002-10-24 19:36:55 UTC
Removing --enable-final did produce what is probably a successful KDE build.
Perhaps ebuilds should as a rule grep /proc/meminfo and only use --enable-final
if there is enough free memory on the system to handle the particular package?

Note I say "probably successful" because the XFree install somehow came out
really screwed up, so I haven't been able to verify that KDE will actually run.
I've submitted a new bug on that.
Comment 6 Dan Armak (RETIRED) gentoo-dev 2002-10-30 01:38:35 UTC
We now check /proc/meminfo and only enable --enable-final if >=200MB free 
ram+swap is available. (If it's enabled where it shouldn't be for you, tell us.)