From owner-freebsd-ports@freebsd.org Fri May 1 19:48:07 2020 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 472982DE5DB; Fri, 1 May 2020 19:48:07 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49DN8R1Bckz4375; Fri, 1 May 2020 19:48:07 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from ubik.madpilot.net (host79-134-dynamic.49-79-r.retail.telecomitalia.it [79.49.134.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: madpilot/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 69D7F7C3F; Fri, 1 May 2020 19:48:06 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Subject: Re: Mk/Uses/gnome.mk INSTALLS_ICONS broken To: Matthias Andree , gnome Cc: freebsd-ports@freebsd.org, portmgr References: <344878e8-e885-744a-df10-9af61017cbd7@FreeBSD.org> From: Guido Falsi Message-ID: Date: Fri, 1 May 2020 21:48:04 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 May 2020 19:48:07 -0000 On 01/05/20 21:22, Matthias Andree wrote: > Am 01.05.20 um 19:49 schrieb Guido Falsi: >> hi, >> >> While testing an update to xfce ports I have got this error in poudriere: >> >> =>> Checking for extra files and directories >> =>> Error: Files or directories removed: >> share/icons/hicolor/icon-theme.cache >> >> And could not find any cause for it. >> >> This file should be managed by the INSTALLS_ICONS port variable, which >> adds post-install and post-deinstall commands. >> >> My suspect is the post-deinstall command is not being run properly for >> some reason causing this error. >> >> Could this be correct? How can I verify this? >> > I've filed https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246102 for > this: > > You're hunting the wrong fault, and poudriere reports a genuine bug > (which is not in your package). Good catch! I made the wrong guess. > > Read again: the complaint is that the port deinstallation REMOVES (not: > LEAVES BEHIND) the prior icon-theme.cache. I understood this, and my claim was that the script regenerating the file in post-deinstall was not being ran. Anyway the offending change was reverted at present, which solves my immediate issue, that is properly testing my port update. -- Guido Falsi