From owner-freebsd-toolchain@freebsd.org Tue Oct 16 06:53:12 2018 Return-Path: Delivered-To: freebsd-toolchain@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 2029210E4037 for ; Tue, 16 Oct 2018 06:53:12 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CB9087DEE4; Tue, 16 Oct 2018 06:53:11 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from mandree.no-ip.org (p4FE523F4.dip0.t-ipconnect.de [79.229.35.244]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: mandree/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id A30921FD32; Tue, 16 Oct 2018 06:53:11 +0000 (UTC) (envelope-from mandree@FreeBSD.org) Received: from ryzen.an3e.de (localhost [IPv6:::1]) by ryzen.an3e.de (Postfix) with ESMTP id 36CAF12028B; Tue, 16 Oct 2018 08:53:09 +0200 (CEST) To: freebsd-toolchain@freebsd.org, Baptiste Daroussin References: <156D3788-3987-40AF-BE9B-4DDC8FC53600@yahoo.com> From: Matthias Andree Openpgp: id=DC4A655BD993CD4871FA8210E412B156EFF3855A Subject: Re: xmlcharent-0.3_2 and iso8879-1986_3 package reinstalls: "pkg: POST-INSTALL script failed"? vs. @xmlcatmgr and Keywords/xmlcatmgr.ucl Message-ID: <457ddc44-3dbe-e0c3-4c4d-59d64af8af59@FreeBSD.org> Date: Tue, 16 Oct 2018 08:53:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <156D3788-3987-40AF-BE9B-4DDC8FC53600@yahoo.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 06:53:12 -0000 Am 11.10.18 um 17:39 schrieb Mark Millard via freebsd-toolchain: > In updating a powerpc64 context after a poudriere-devel bulk run, I > got the following from pkg upgrade . . . > > Installed packages to be REINSTALLED: xmlcharent-0.3_2 (ABI changed: 'freebsd:12:powerpc:64' -> 'freebsd:12:*') > . . . > iso8879-1986_3 (ABI changed: 'freebsd:12:powerpc:64' -> 'freebsd:12:*') > . . . > > [127/181] Extracting iso8879-1986_3: 100% > xmlcatmgr: entry already exists for `/usr/local/share/sgml/iso8879/catalog' of type `CATALOG' > pkg: POST-INSTALL script failed > > . . . > > [138/181] Extracting xmlcharent-0.3_2: 100% > xmlcatmgr: entry already exists for `/usr/local/share/xml/xmlcharent/catalog' of type `CATALOG' > xmlcatmgr: entry already exists for `/usr/local/share/xml/xmlcharent/catalog.xml' of type `nextCatalog' > pkg: POST-INSTALL script failed > > The context is a personal head-based -r339076 buildworld > buildkernel (it was cross built) and ports being updated > based on -r480180 . > > Is there anything that I should do because of the messages? Mark, no need, it seems the failure is harmless on upgrades. It appears to be a bug in the @xmlchatmgr lines for pkg-plist files, and I have seen these xmlcatmgr complaints you are showing for ages on all ports that install SGML or XML catalogs when they are upgraded, if you manually deinstall (pkg delete -f) and reinstall these ports, they do not appear. I question the ports/Keywords/xmlcatmgr.ucl and wonder if what is currently labelled a post-deinstall action should become a pre-deinstall action - and unfortunately, I have not found documentation on this so cannot propose a patch. Possibly we also need a pre-/post-upgrade action pair to solve this. Baptiste, any insights?