From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Mar 22 17:40:02 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B44E106566B for ; Tue, 22 Mar 2011 17:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BC8CE8FC16 for ; Tue, 22 Mar 2011 17:40:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p2MHe1rH000377 for ; Tue, 22 Mar 2011 17:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p2MHe1fA000376; Tue, 22 Mar 2011 17:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 22 Mar 2011 17:40:01 GMT Resent-Message-Id: <201103221740.p2MHe1fA000376@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vitaly Magerya Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 534E6106564A for ; Tue, 22 Mar 2011 17:34:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 464408FC0A for ; Tue, 22 Mar 2011 17:34:21 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p2MHYLCA097460 for ; Tue, 22 Mar 2011 17:34:21 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p2MHYLPF097459; Tue, 22 Mar 2011 17:34:21 GMT (envelope-from nobody) Message-Id: <201103221734.p2MHYLPF097459@red.freebsd.org> Date: Tue, 22 Mar 2011 17:34:21 GMT From: Vitaly Magerya To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/155789: sysutils/busybox: don't strip the binary when WITH_DEBUG is set X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Mar 2011 17:40:02 -0000 >Number: 155789 >Category: ports >Synopsis: sysutils/busybox: don't strip the binary when WITH_DEBUG is set >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Mar 22 17:40:01 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Vitaly Magerya >Release: FreeBSD 8.2-RELEASE i386 >Organization: >Environment: >Description: Busybox build system strips the binary by default, so even if you build the port with WITH_DEBUG defined the resulting binary is still stripped. The attached patch disables the stripping that the build system performs, and allows our port system to strip the binary when necessary. This way WITH_DEBUG actually works. >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruN busybox.orig/Makefile busybox/Makefile --- busybox.orig/Makefile 2011-03-13 13:56:26.000000000 +0200 +++ busybox/Makefile 2011-03-22 19:15:24.000000000 +0200 @@ -22,6 +22,8 @@ PLIST_FILES= bin/busybox +MAKE_ARGS= SKIP_STRIP=y + .include post-patch: >Release-Note: >Audit-Trail: >Unformatted: