From owner-freebsd-bugs@freebsd.org Fri Sep 29 14:02:48 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DCB21E2D980 for ; Fri, 29 Sep 2017 14:02:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8B8E67180 for ; Fri, 29 Sep 2017 14:02:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v8TE2m06090358 for ; Fri, 29 Sep 2017 14:02:48 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222685] [PATCH] "make packagekernel" not checking MK_DEBUG_FILES Date: Fri, 29 Sep 2017 14:02:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: egypcio@googlemail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status keywords bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Sep 2017 14:02:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222685 Bug ID: 222685 Summary: [PATCH] "make packagekernel" not checking MK_DEBUG_FILES Product: Base System Version: 11.1-STABLE Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Some People Priority: --- Component: kern Assignee: freebsd-bugs@FreeBSD.org Reporter: egypcio@googlemail.com Keywords: patch Created attachment 186799 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D186799&action= =3Dedit [PATCH] "make packagekernel" not checking MK_DEBUG_FILES following the behavior of previous checks on DEBUG_DISTRIBUTIONS=3D, if one= has MK_DEBUG_FILES=3Dno in the /etc/make.conf a "make packagekernel" should not create any -dbg.txz tarball for KERNCONF (even with extra kernels listed). how to reproduce? checkout stable/11 branch's src, cd to its dir and play; # svnlite info Path: . Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/stable/11 Relative URL: ^/stable/11 Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 324100 Node Kind: directory Schedule: normal Last Changed Author: markj Last Changed Rev: 324085 Last Changed Date: 2017-09-28 15:23:38 +0000 (Thu, 28 Sep 2017) # mkdir /dist # make -s buildworld # make -s buildkernel # make -s distributeworld DISTDIR=3D/dist # make -s distributekernel DISTDIR=3D/dist # make -s packageworld DISTDIR=3D/dist # make -s packagekernel DISTDIR=3D/dist doing so, will present you with all -dbg.txz under /dist. remove all *.txz files you created, set MK_DEBUG_FILES=3Dno and rerun "packageworld" and "packagekernel"; you will still get kernel-dbg.txz... # make -s packageworld DISTDIR=3D/dist MK_DEBUG_FILES=3Dno # make -s packagekernel DISTDIR=3D/dist MK_DEBUG_FILES=3Dno apply the suggested patch, and do it again. --=20 You are receiving this mail because: You are the assignee for the bug.=