From nobody Sat Aug 6 21:47:03 2022 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M0bf41YCMz4XyYC for ; Sat, 6 Aug 2022 21:47:08 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from anny.lostinspace.de (anny.lostinspace.de [IPv6:2001:608:a02::33]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0bf32PXdz41lH for ; Sat, 6 Aug 2022 21:47:07 +0000 (UTC) (envelope-from idefix@fechner.net) Received: from [IPV6:2a02:6d40:36dc:9601:750d:17e8:6288:6041] (unknown [IPv6:2a02:6d40:36dc:9601:750d:17e8:6288:6041]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) (Authenticated sender: idefix@fechner.net) by anny.lostinspace.de (Postfix) with ESMTPSA id C908190541 for ; Sat, 6 Aug 2022 23:47:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fechner.net; s=default; t=1659822424; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=+abFsbfLuajE9q4g9vxgY/JuE6vCss62741opxof9yc=; b=F6z+ylL9uNeD6/FfGxdZWO8aUxdP1RNzP/6WDC0zdUsL3SlpzPE4B/mGnGMRIuzMnEahgE iutdvaOEXSZjgvYa9tQ7LBRExQZgTv5eVyYqHDOkq93+Q/7YQCxl5tpN0HhiUuvUwx/d6v oaBvd9Q7YOmVNdvk6L1XDPGMesY+eoU= Content-Type: multipart/alternative; boundary="------------U0AFdFXVw3U0FRgS4eFWVH7V" Message-ID: Date: Sat, 6 Aug 2022 23:47:03 +0200 List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: Checking for pkg-plist issues shows strange error message Content-Language: en-US To: ports@freebsd.org References: <7ad35f60-0bc3-1aed-9c2a-33c1a66739fb@fechner.net> From: Matthias Fechner In-Reply-To: <7ad35f60-0bc3-1aed-9c2a-33c1a66739fb@fechner.net> X-Rspamd-Server: anny.lostinspace.de X-Rspamd-Queue-Id: 4M0bf32PXdz41lH X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fechner.net header.s=default header.b=F6z+ylL9; dmarc=pass (policy=none) header.from=fechner.net; spf=pass (mx1.freebsd.org: domain of idefix@fechner.net designates 2001:608:a02::33 as permitted sender) smtp.mailfrom=idefix@fechner.net X-Spamd-Result: default: False [-6.70 / 15.00]; DWL_DNSWL_MED(-2.00)[fechner.net:dkim]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[fechner.net,none]; RCVD_DKIM_ARC_DNSWL_MED(-0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[2001:608:a02::33:from]; R_DKIM_ALLOW(-0.20)[fechner.net:s=default]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[ports@freebsd.org]; ASN(0.00)[asn:5539, ipnet:2001:608::/32, country:DE]; MIME_TRACE(0.00)[0:+,1:+,2:~]; DKIM_TRACE(0.00)[fechner.net:+]; RCPT_COUNT_ONE(0.00)[1]; TO_DN_NONE(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[ports@freebsd.org]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------U0AFdFXVw3U0FRgS4eFWVH7V Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Am 05.08.2022 um 09:21 schrieb Matthias Fechner: > > The patch itself looks fine: > https://gitlab.fechner.net/mfechner/Gitlab/-/commit/14b18afc4075d6f2f2816670bf593efb23948320#81344ed94757cf52e8c0574de0f528b2badf2495_98_105 > > But if I do a test build with poudriere I get something strange: > > ===> Checking for items in STAGEDIR missing from pkg-plist > Error: Orphaned: @dir %%DATADIR%%/share/git-core/templates/branches > ===> Checking for items in pkg-plist which are not in STAGEDIR > Error: Missing: @dir %%DATADIR%%/share/git-core/templates/branches > ===> Error: Plist issues found. use this fixes it for me: |@${ECHO_CMD} "@dir ${DATADIR}/share/git-core/templates/branches" >> ${TMPPLIST} | Gruß Matthias -- "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning." -- Rich Cook --------------U0AFdFXVw3U0FRgS4eFWVH7V Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit
Am 05.08.2022 um 09:21 schrieb Matthias Fechner:

The patch itself looks fine:
https://gitlab.fechner.net/mfechner/Gitlab/-/commit/14b18afc4075d6f2f2816670bf593efb23948320#81344ed94757cf52e8c0574de0f528b2badf2495_98_105

But if I do a test build with poudriere I get something strange:

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir %%DATADIR%%/share/git-core/templates/branches
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: @dir %%DATADIR%%/share/git-core/templates/branches
===> Error: Plist issues found.

use this fixes it for me:
@${ECHO_CMD} "@dir ${DATADIR}/share/git-core/templates/branches" >> ${TMPPLIST}

Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook
--------------U0AFdFXVw3U0FRgS4eFWVH7V--