Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25300 - x11-misc/bubblemon ebuild fails
Summary: x11-misc/bubblemon ebuild fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Martin Holzer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-25 22:07 UTC by Thomee Wright
Modified: 2003-08-04 10:13 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 Thomee Wright 2003-07-25 22:07:50 UTC
After unpacking the source, the ebuild runs
  sed -e "s/CFLAGS = -O3/CFLAGS = ${CFLAGS}/" Makefile | cat > Makefile
which, on my system at least, leaves you with an empty Makefile, which promptly
fails.

I'm guessing the above command doesn't universally die, or this would have been
caught immediately.  I'm guessing it's a race condition relating to the fact
that I'm on an SMP system, and (sometimes?) bash overwrites the Makefile before
sed gets it open.

A simple fix is to replace the above line (in src_compile()) with:
sed -e "s/CFLAGS = -O3/CFLAGS = ${CFLAGS}/" Makefile | cat > Makefile.new
mv Makefile.new Makefile

Reproducible: Always
Steps to Reproduce:
1. emerge x11-misc/bubblemon

Actual Results:  
make dies, reporting no target (due to an empty Makefile)

Expected Results:  
ebuild should have compiled and installed bubblemon
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-08-04 10:13:10 UTC
fixed in cvs
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-08-04 10:13:21 UTC
fixed in cvs