From nobody Sun Mar 20 14:32:44 2022 X-Original-To: dev-commits-ports-main@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 129691A36D03; Sun, 20 Mar 2022 14:32:49 +0000 (UTC) (envelope-from fluffy@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) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KM0b502D5z3Dpd; Sun, 20 Mar 2022 14:32:49 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647786769; 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=MHHxXudLyIst7uMgDf3HKFKOXf7f0WAPCCmwuDfAuos=; b=aULNsTzvhtK92XoW6vSwPlSUVjyxO5vi56xc2VwEq3tbP3/2ml+o5FmTKofoNYcIZZYgS8 t3ZgsKHDX/SvAaWRBdBq4dQF2QLperZFdt5PTR8qctJ45msP+N67Uh+M0AfXk7pR2i+LYI 6Fz/FyxeIq1AGRqMK1bWeFUC5LIEdffx2PFJlMyqDn9QeIs1L3tyvk6psYty5NMOj9tBjZ DPZWNlKkZ8N9GfqXWZ25O3uwewXmcAG8F+sftCuBRkmyUaWeexN/ZvZht3Jl+xHa/TZX8E +acHyZHINM9FgyBZMt4u2d13vHoaGks70kMkYEv2/LYT5FRJvoc4oJy7b8cvew== Received: from [10.5.77.63] (unknown [195.181.172.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: fluffy) by smtp.freebsd.org (Postfix) with ESMTPSA id CD845E2E4; Sun, 20 Mar 2022 14:32:47 +0000 (UTC) (envelope-from fluffy@FreeBSD.org) Date: Sun, 20 Mar 2022 17:32:44 +0300 From: Dima Panov To: dev-commits-ports-all@FreeBSD.org, ports-committers@FreeBSD.org, dev-commits-ports-main@FreeBSD.org, Bernhard Froehlich Message-ID: In-Reply-To: <202203201227.22KCRIZB097934@gitrepo.freebsd.org> References: <202203201227.22KCRIZB097934@gitrepo.freebsd.org> Subject: Re: git: 7e597115f051 - main - multimedia/tvheadend: Add dependency on libunwind List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="62373b0c_66334873_65d"; protocol="application/pgp-signature" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1647786769; 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=MHHxXudLyIst7uMgDf3HKFKOXf7f0WAPCCmwuDfAuos=; b=Y/MNExO2R3KbsDUcze/x/vEQXseVjHn+YduFmTG8tGOwDoMq9keb1+VZOs8hZLUuvnaoUI Y2y+7itvqRIDD/d7mCMhODJFv0J7dvwyW/H5swfyDGcD5QOp/xdwcBQ6yExaY67mJwJbAY XSsxKVmSwF6WvYiHoncQepcXvSsMKQeKKTfvYl/ORnfjd+qYDSkcsUjHa+3S9iJN6NI5/W 77qqAE2AnwB8NVwB/4K3+WrTpQQjYun92ktyGeC00QW8ILlVGhv+ZGxPMcPINMcnQ4HXgm Nf9g4HoYwjUf1xtv6pgyOOCas3/+CCOcIcBxYz1/ozebDkRN/Nz0aFwFDSTCow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1647786769; a=rsa-sha256; cv=none; b=YA6TMEqEtIAQDnj7CFRu58AIeihzam53efyrqHCsPAtgsEnQ6PcOjtiB1SotNWemF2BqI6 2065+n7tReRJqLNuAYCXg0NsAO9ZBS8ky9Trnt2/y0bClZyGI4ht+4jdRmGEnduLZgsqku Fkj0o62h7l/Krvrn3dJTYyAbzII5/+viWO8Q6W3IhLTNy429w6M1udkqM7Rl5RDcbimxdv BdI7GVWwD067OHysgreaGXgYOJww3NuA5tDUkzSoeXLxhcJOk3F7zzBGagvMVqrhrSZSYA HtRBitYKIilKYXZ04YkGyLv8oq8oYGvunaeLACrAecbAZSRKfk26WBuTxHaKbg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N --62373b0c_66334873_65d Content-Type: multipart/alternative; boundary="62373b0c_643c9869_65d" --62373b0c_643c9869_65d Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Moin=21 It will broke build for any arch which not listed in list from libunwind/= Makefile: ONLY=5F=46OR=5FARCHS=3D aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc6= 4le Better way is add dependency only on supported arches: LIB=5FDEPENDS+=3D =24=7BLIB=5FDEPENDS=5F=24=7BARCH=7D=7D LIB=5FDEPENDS=5Faarch64=3D libunwind.so:devel/libunwind LIB=5FDEPENDS=5Famd64=3D libunwind.so:devel/libunwind LIB=5FDEPENDS=5Farmv7=3D libunwind.so:devel/libunwind LIB=5FDEPENDS=5Fi386=3D libunwind.so:devel/libunwind LIB=5FDEPENDS=5Fpowerpc64=3D libunwind.so:devel/libunwind LIB=5FDEPENDS=5Fpowerpc64le=3D libunwind.so:devel/libunwind -- Dima. (desktop, kde, x11, office, ports-secteam)=40=46reeBSD team (fluffy=40=46reeBSD.org, https://t.me/dima=5Fpanov) > On Sunday, Mar 20, 2022 at 3:27 PM, Bernhard =46roehlich wrote: > The branch main has been updated by decke: > > URL: https://cgit.=46reeBSD.org/ports/commit/=3Fid=3D7e597115f051a56e7c= 9313a07ac3733d18216280 > > commit 7e597115f051a56e7c9313a07ac3733d18216280 > Author: Bernhard =46roehlich > AuthorDate: 2022-03-20 12:22:31 +0000 > Commit: Bernhard =46roehlich > CommitDate: 2022-03-20 12:27:13 +0000 > > multimedia/tvheadend: Add dependency on libunwind > > Up to now libunwind was silenty used from base but now on 14-current > libunwind is not available in base anymore so it fails. I decided to > unconditionally use libunwind from ports on all =46reeBSD version for > consistency. > --- > multimedia/tvheadend/Makefile =7C 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Makef= ile > index b2faf96eefa3..98af2a01f542 100644 > --- a/multimedia/tvheadend/Makefile > +++ b/multimedia/tvheadend/Makefile > =40=40 -3,7 +3,7 =40=40 > PORTNAME=3D tvheadend > PORTVERSION=3D 4.2.8 > DISTVERSIONPRE=46IX=3D v > -PORTREVISION=3D 5 > +PORTREVISION=3D 6 > CATEGORIES=3D multimedia > > MAINTAINER=3D decke=40=46reeBSD.org > =40=40 -16,7 +16,8 =40=40 BUILD=5FDEPENDS=3D bash:shells/bash =5C > cmake:devel/cmake =5C > =24=7BLOCALBASE=7D/include/linux/videodev2.h:multimedia/v4l=5Fcompat > LIB=5FDEPENDS=3D libcurl.so:ftp/curl =5C > - liburiparser.so:net/uriparser > + liburiparser.so:net/uriparser =5C > + libunwind.so:devel/libunwind > RUN=5FDEPENDS=3D dtv-scan-tables>=3D0:multimedia/dtv-scan-tables > > USES=3D compiler:c++11-lang gettext gmake pkgconfig python shebangfix s= sl > --62373b0c_643c9869_65d Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline <= meta name=3D=22viewport=22 content=3D=22width=3Ddevice-width, initial-sca= le=3D1.0, user-scalable=3Dno=22> 3D=22=22
Moin=21

It will broke bu= ild for any arch which not listed in list from libunwind/Makefile:
<= div>ONLY=5F=46OR=5FARCHS=3D aarch64 amd64 armv6 armv7 i386 powerpc64 powe= rpc64le

Better way is add dependency only o= n supported arches:

LIB=5FDEPENDS+=3D =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=24=7BLIB=5FDEPENDS=5F=24=7B= ARCH=7D=7D
LIB=5FDEPENDS=5Faarch64=3D =C2=A0 =C2=A0libunwind.so= :devel/libunwind
LIB=5FDEPENDS=5Famd64=3D =C2=A0 =C2=A0 =C2=A0l= ibunwind.so:devel/libunwind
LIB=5FDEPENDS=5Farmv7=3D =C2=A0 =C2= =A0 =C2=A0libunwind.so:devel/libunwind
LIB=5FDEPENDS=5Fi386=3D = =C2=A0 =C2=A0 =C2=A0 libunwind.so:devel/libunwind
LIB=5FDEPENDS= =5Fpowerpc64=3D =C2=A0libunwind.so:devel/libunwind
LIB=5FDEPEND= S=5Fpowerpc64le=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0libunwind.so:devel/libunwin= d=C2=A0


--
Dima. (de= sktop, kde, x11, office, ports-secteam)=40=46reeBSD team
(fluff= y=40=46reeBSD.org, https://t.me/dima=5Fpanov)

=
On Sunday, Mar 20, 2022 at 3:27 PM, Bernh= ard =46roehlich <decke=40= =46reeBSD.org> wrote:
The branch main has been upda= ted by decke:

URL: https://cgit.=46reeBSD.org/ports/commit/=3Fid= =3D7e597115f051a56e7c9313a07ac3733d18216280

commit 7e597115f051a= 56e7c9313a07ac3733d18216280
Author: Bernhard =46roehlich <decke=40= =46reeBSD.org>
AuthorDate: 2022-03-20 12:22:31 +0000
Commit: B= ernhard =46roehlich <decke=40=46reeBSD.org>
CommitDate: 2022-03= -20 12:27:13 +0000

multimedia/tvheadend: Add dependency on libu= nwind

Up to now libunwind was silenty used from base but now on= 14-current
libunwind is not available in base anymore so it fails. = I decided to
unconditionally use libunwind from ports on all =46reeB= SD version for
consistency.
---
multimedia/tvheadend/Makefi= le =7C 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
=
diff --git a/multimedia/tvheadend/Makefile b/multimedia/tvheadend/Mak= efile
index b2faf96eefa3..98af2a01f542 100644
--- a/multimedia/tv= headend/Makefile
+++ b/multimedia/tvheadend/Makefile
=40=40 -3,7 = +3,7 =40=40
PORTNAME=3D tvheadend
PORTVERSION=3D 4.2.8
DIS= TVERSIONPRE=46IX=3D v
-PORTREVISION=3D 5
+PORTREVISION=3D 6
= CATEGORIES=3D multimedia

MAINTAINER=3D decke=40=46reeBSD.org =40=40 -16,7 +16,8 =40=40 BUILD=5FDEPENDS=3D bash:shells/bash =5C
= cmake:devel/cmake =5C
=24=7BLOCALBASE=7D/include/linux/videodev2.h:m= ultimedia/v4l=5Fcompat
LIB=5FDEPENDS=3D libcurl.so:ftp/curl =5C
= - liburiparser.so:net/uriparser
+ liburiparser.so:net/uriparser =5C <= br>+ libunwind.so:devel/libunwind
RUN=5FDEPENDS=3D dtv-scan-tables&g= t;=3D0:multimedia/dtv-scan-tables

USES=3D compiler:c++11-lang g= ettext gmake pkgconfig python shebangfix ssl

--62373b0c_643c9869_65d-- --62373b0c_66334873_65d Content-Type: application/pgp-signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: Canary PGP V3 iQJVBAABCgA/OBxEaW1hIFBhbm92IChGcmVlQlNELk9SRyBDb21taXR0ZXIpIDxm bHVmZnlARnJlZUJTRC5PUkc+BQJiNzsMAAoJEPuLoJ3VOY8p2cAP/2fhuL0q9Wq0 F/Z7Nv5WtNujuPhEPjNeJ+ai4IqvIw/PcyQUngpuHs59xCKjn96TUmr5rXh0bJSt /+6btPB5rciaiqto+SMwPLbkfjRn4bKMuzSZoerEKAhCZLSbI5+YyLXovDtLFmR/ /i1tlgph2ElF9GUN+xcW4habO5NApEbTRMh+YmsC3cWPmzvIwuKY4+jMfeImuQZW iEHdLoWjh47hzfruWZEs3zT6mzrHc/RzFp/VIhDHDIqISVqQffHsTzOJ4xvOaDFR KbYwCNI81FQKqNMTTJ0vFMtEc2/VR+a0gNuGQKfjGi5w1goA8f8/HisgQEIyG5jS MIJCDg/sT754BjcAZqCYHkDhLjfY+hBb8XEEQhPnCGwzcknb4NLY5E0wThPnBtMa TdmKDtBFlYkeykqyOi/n2c7NxdBWTly7n85nIiGW2R6GlefLX2xf1drkbqTAa4L/ 72rYzwUBM1lCnZg0t1Jmw2UOzocZj2tefym4ld3DT3UfqUgl99Lo1ca9B2DY0F2B 3uQlwr8Mw+g4RtUMv190xVW5GI49DIJZCU4Erj9+JmAS6Jxn12x/xJ2JuryMgL38 rnhcb9LI+dUFf8p6a6nSQuCXe24VQbqipHqVw83EczKbBAm0bCyNR7rpmbwlIakY y6fsk9zM+YJvNhwxcLyf539vpNfqk4+9 =13Ro -----END PGP SIGNATURE----- --62373b0c_66334873_65d--