Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31011 - ltrace won't to emerge
Summary: ltrace won't to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-12 21:58 UTC by Bash
Modified: 2003-10-13 04:22 UTC (History)
1 user (show)

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


Attachments
old, bad (ltrace-0.3.26-r1.ebuild.patch,390 bytes, patch)
2003-10-12 21:59 UTC, Bash
Details | Diff
-mv only (ltrace-0.3.26-r1.ebuild.patch,443 bytes, patch)
2003-10-12 23:18 UTC, Bash
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bash 2003-10-12 21:58:14 UTC
I can't emerge ltrace. But i found errors in ebuild. See patch in attachment

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bash 2003-10-12 21:59:51 UTC
Created attachment 19158 [details, diff]
old, bad
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-10-12 22:50:24 UTC
replace it with: 

sed -i "s/ -O2 / ${CFLAGS} /" \ Makefile || die "sed failed...new version
of Makefile?"
Comment 3 Bash 2003-10-12 23:15:17 UTC
Comment on attachment 19158 [details, diff]
old, bad

>--- ltrace-0.3.26-r1.ebuild	2003-10-13 08:54:59.000000000 +0400
>+++ ltrace-0.3.26-r1.ebuild.orig	2003-09-06 12:40:52.000000000 +0400
>@@ -18,7 +18,7 @@
> 	econf || die
> 
> 	# modify CFLAGS (hopefully in a more time friendly way)
>-	cp Makefile Makefile.orig
>+	mv Makefile Makefile.orig
> 	sed "s/ -O2 / ${CFLAGS} /" \
> 		Makefile.orig > Makefile || die "sed failed...new version of Makefile?"
>
Comment 4 Bash 2003-10-12 23:16:19 UTC
Comment on attachment 19158 [details, diff]
old, bad

--- ltrace-0.3.26-r1.ebuild.orig	2003-09-06 12:40:52.000000000 +0400
+++ ltrace-0.3.26-r1.ebuild	2003-10-13 10:09:20.000000000 +0400
@@ -18,9 +18,8 @@
	econf || die

	# modify CFLAGS (hopefully in a more time friendly way)
-	mv Makefile Makefile.orig
	sed "s/ -O2 / ${CFLAGS} /" \
-		Makefile.orig > Makefile || die "sed failed...new version of
Makefile?"
+		Makefile || die "sed failed...new version of Makefile?"

	emake all || die
 }
Comment 5 Bash 2003-10-12 23:18:03 UTC
Created attachment 19162 [details, diff]
-mv only

by request
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2003-10-13 03:05:13 UTC
i don't understand you problem, please explain.
Comment 7 Bash 2003-10-13 04:22:17 UTC
hm...
sorry ;)