From owner-freebsd-bugs@freebsd.org Thu Feb 28 10:13:57 2019 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 57416150174E for ; Thu, 28 Feb 2019 10:13:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C724E8B234 for ; Thu, 28 Feb 2019 10:13:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 829FC150174D; Thu, 28 Feb 2019 10:13:56 +0000 (UTC) Delivered-To: bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4747B150174C for ; Thu, 28 Feb 2019 10:13:56 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D3B908B233 for ; Thu, 28 Feb 2019 10:13:55 +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 mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 0DA0A163E9 for ; Thu, 28 Feb 2019 10:13:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SADsfj080862 for ; Thu, 28 Feb 2019 10:13:54 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x1SADs8g080861 for bugs@FreeBSD.org; Thu, 28 Feb 2019 10:13:54 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 236103] WITHOUT_DEBUG not fully honored Date: Thu, 28 Feb 2019 10:13:54 +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: 12.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd@oldach.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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.29 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 10:13:57 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236103 Bug ID: 236103 Summary: WITHOUT_DEBUG not fully honored Product: Base System Version: 12.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: freebsd@oldach.net /usr/lib/debug/boot is populated with empty directories despite WITHOUT_DEBUG_FILES, WITHOUT_KERNEL_SYMBOLS and INSTALL_NODEBUG being defin= ed, and it cannot be cleaned up through "make delete-old": # make -C/usr/src RM_I=3D-v delete-old >>> Removing old files (only deletes safe to delete libs) >>> Old files removed >>> Removing old directories rmdir: /var/run/named: Directory not empty /usr/share/doc/atf /usr/share/atf /usr/lib/debug/usr/tests /usr/lib/debug/usr/sbin /usr/lib/debug/usr/libexec/sm.bin /usr/lib/debug/usr/libexec/sendmail /usr/lib/debug/usr/libexec/lpr/ru /usr/lib/debug/usr/libexec/lpr /usr/lib/debug/usr/libexec/bsdinstall /usr/lib/debug/usr/libexec /usr/lib/debug/usr/lib32/i18n /usr/lib/debug/usr/lib32/geom /usr/lib/debug/usr/lib32/dtrace /usr/lib/debug/usr/lib32 /usr/lib/debug/usr/lib/i18n /usr/lib/debug/usr/lib/engines /usr/lib/debug/usr/lib/clang/7.0.1/lib/freebsd /usr/lib/debug/usr/lib/clang/7.0.1/lib /usr/lib/debug/usr/lib/clang/7.0.1 /usr/lib/debug/usr/lib/clang /usr/lib/debug/usr/lib /usr/lib/debug/usr/bin /usr/lib/debug/usr /usr/lib/debug/sbin /usr/lib/debug/libexec /usr/lib/debug/lib/geom /usr/lib/debug/lib/casper /usr/lib/debug/lib rmdir: /usr/lib/debug/boot: Directory not empty ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ /usr/lib/debug/bin /usr/include/atf-c++ /usr/include/atf-c >>> Old directories removed To remove old libraries run 'make delete-old-libs'. # ls -la /usr/lib/debug/boot total 16 drwxr-xr-x 4 root wheel 512 Feb 28 10:07 . drwxr-xr-x 3 root wheel 512 Feb 28 10:50 .. drwxr-xr-x 2 root wheel 512 Feb 28 10:02 kernel.old drwxr-xr-x 2 root wheel 512 Feb 28 10:02 modules # I believe we need to mangle the mkdir login in sys/conf/kern.post.mk and sys/conf/kmod.mk (look for INSTALL_NODEBUG) --=20 You are receiving this mail because: You are the assignee for the bug.=