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

Bug 33495

Summary: hping build doesn't honour debug or nostrip
Product: Gentoo Linux Reporter: Thomas R. (TRauMa) <gentoo-bugs>
Component: New packagesAssignee: Jon Portnoy (RETIRED) <avenj>
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Package list:
Runtime testing required: ---
Attachments: Patch for hping-2.0.0_rc2.ebuild

Description Thomas R. (TRauMa) 2003-11-14 16:40:35 UTC
After playing aroung with hping I noticed that it get's build with debug flag and stripped afterwards, which really makes no sense. So I cleaned up.
Comment 1 Thomas R. (TRauMa) 2003-11-14 16:43:57 UTC
Created attachment 20756 [details, diff]
Patch for hping-2.0.0_rc2.ebuild
Comment 2 Jon Portnoy (RETIRED) gentoo-dev 2003-11-20 11:49:06 UTC
Fixed, thanks.
Comment 3 Thomas R. (TRauMa) 2003-12-19 10:37:47 UTC
Sorry, but the hping-2.0.0_rc-r1.ebuild in the tree still has this bug, there is some nonesense in it:

# $Header: /home/cvsroot/gentoo-x86/net-analyzer/hping/hping-2.0.0_rc2-r1.ebuild,v 1.3 2003/12/18 22:34:40 gmsoft Exp $


src_compile() {
	epatch ${FILESDIR}/wlan-header-fix.patch

	./configure || die

	if [ `use debug` ]
		make CCOPT="${CFLAGS}" || die
		make CCOPT="${CFLAGS}" || die

That's wrong, the second make should have DEBUG="" as an option.
Comment 4 Jon Portnoy (RETIRED) gentoo-dev 2003-12-19 10:48:25 UTC
Sorry. Brainfsck, I guess 8)

Fixed now.
Comment 5 Thomas R. (TRauMa) 2006-01-21 10:36:22 UTC
mass cleaning my bugs