From nobody Tue May 30 10:32:02 2023 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 4QVpcH3vM1z4XGrs for ; Tue, 30 May 2023 10:32:15 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 4QVpcD65QGz40ng; Tue, 30 May 2023 10:32:12 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of junchoon@dec.sakura.ne.jp has no SPF policy when checking 153.125.133.21) smtp.mailfrom=junchoon@dec.sakura.ne.jp; dmarc=none Received: from kalamity.joker.local (123-1-88-210.area1b.commufa.jp [123.1.88.210]) (authenticated bits=0) by www121.sakura.ne.jp (8.16.1/8.16.1/[SAKURA-WEB]/20201212) with ESMTPA id 34UAW2I4094017; Tue, 30 May 2023 19:32:03 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Tue, 30 May 2023 19:32:02 +0900 From: Tomoaki AOKI To: Yuri Victorovich Cc: dev-commits-ports-main@freebsd.org Subject: Re: git: 887237b23c32 - main - misc/py-lightning-utilities: New port: PyTorch Lightning sample project Message-Id: <20230530193202.781c5e0bf39de277175831a3@dec.sakura.ne.jp> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd13.2) 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/mixed; boundary="Multipart=_Tue__30_May_2023_19_32_02_+0900_TfEk3BECeoU8IA3D" X-Spamd-Result: default: False [-0.58 / 15.00]; FAKE_REPLY(1.00)[]; AUTH_NA(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.98)[-0.982]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[multipart/mixed,text/plain,text/x-diff]; RCVD_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+,1:+,2:+]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[dev-commits-ports-main@freebsd.org]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[no SPF record]; RCVD_TLS_LAST(0.00)[]; HAS_ORG_HEADER(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; TO_DN_SOME(0.00)[]; HAS_ATTACHMENT(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[sakura.ne.jp]; MID_RHS_MATCH_FROM(0.00)[] X-Rspamd-Queue-Id: 4QVpcD65QGz40ng X-Spamd-Bar: / X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --Multipart=_Tue__30_May_2023_19_32_02_+0900_TfEk3BECeoU8IA3D Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Hi. This broke INDEX build. Maybe because of the last line of PY_DEPENDS= line is continued by "\" with BUILD_DEPENDS= line. Attached patch fixed the build for me. ===== Error part ===== --- describe.misc --- Variable PY_DEPENDS is recursive. in /usr/ports/Mk/bsd.port.mk:4000 in /usr/share/mk/bsd.port.mk:32 in /usr/ports/misc/py-lightning-utilities/Makefile:27 ===> misc/py-lightning-utilities failed *** [describe.misc] Error code 1 make[1]: stopped in /usr/ports 1 error make[1]: stopped in /usr/ports ******************************************************************** Before reporting this error, verify that you are running a supported version of FreeBSD (see https://www.FreeBSD.org/ports/) and that you have a complete and up-to-date ports collection. (INDEX builds are not supported with partial or out-of-date ports collections. If that is the case, then report the failure to ports@FreeBSD.org together with relevant details of your ports configuration (including FreeBSD version, your architecture, your environment, and your /etc/make.conf settings, especially compiler flags and OPTIONS_SET/UNSET settings). Note: the latest pre-generated version of INDEX may be fetched automatically with "make fetchindex". ******************************************************************** *** Error code 1 Stop. make: stopped in /usr/ports failed to generate INDEX! ===== End error part ===== > The branch main has been updated by yuri: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=887237b23c3275da9ed34dc79a44b9b84cb3e51e > > commit 887237b23c3275da9ed34dc79a44b9b84cb3e51e > Author: Yuri Victorovich > AuthorDate: 2023-05-30 07:45:28 +0000 > Commit: Yuri Victorovich > CommitDate: 2023-05-30 08:34:12 +0000 > > misc/py-lightning-utilities: New port: PyTorch Lightning sample project > --- > misc/Makefile | 1 + > misc/py-lightning-utilities/Makefile | 27 +++++++++++++++++++++++++++ > misc/py-lightning-utilities/distinfo | 3 +++ > misc/py-lightning-utilities/pkg-descr | 1 + > 4 files changed, 32 insertions(+) > > diff --git a/misc/Makefile b/misc/Makefile > index a65f73d0d3e3..4f160640a5e6 100644 > --- a/misc/Makefile > +++ b/misc/Makefile > @@ -420,6 +420,7 @@ > SUBDIR += py-ipyfastscape > SUBDIR += py-kartograph > SUBDIR += py-lightgbm > + SUBDIR += py-lightning-utilities > SUBDIR += py-log_symbols > SUBDIR += py-mffpy > SUBDIR += py-molequeue > diff --git a/misc/py-lightning-utilities/Makefile b/misc/py-lightning-utilities/Makefile > new file mode 100644 > index 000000000000..e49cc12a05d4 > --- /dev/null > +++ b/misc/py-lightning-utilities/Makefile > @@ -0,0 +1,27 @@ > +PORTNAME= lightning-utilities > +DISTVERSION= 0.8.0 > +CATEGORIES= misc python # machine-learning > +MASTER_SITES= PYPI > +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} > + > +MAINTAINER= yuri@FreeBSD.org > +COMMENT= PyTorch Lightning sample project > +WWW= https://github.com/Lightning-AI/utilities > + > +LICENSE= APACHE20 > +LICENSE_FILE= ${WRKSRC}/LICENSE > + > +PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>=1.0.0:devel/py-mypy@$ {PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX} packaging>=17.1:devel/py-packaging@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX} types-setuptools>=0:devel/py-types-setuptools@${PY_FLAVOR} \ > + ${PYTHON_PKGNAMEPREFIX} typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ > +BUILD_DEPENDS= ${PY_DEPENDS} \ (snip) -- Tomoaki AOKI --Multipart=_Tue__30_May_2023_19_32_02_+0900_TfEk3BECeoU8IA3D Content-Type: text/x-diff; name="misc_py-lightning-utilities_fixINDEX.diff" Content-Disposition: attachment; filename="misc_py-lightning-utilities_fixINDEX.diff" Content-Transfer-Encoding: 7bit --- a/misc/py-lightning-utilities/Makefile +++ b/misc/py-lightning-utilities/Makefile @@ -14,7 +14,7 @@ PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mypy>=1.0.0:devel/py-mypy@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}packaging>=17.1:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}types-setuptools>=0:devel/py-types-setuptools@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} BUILD_DEPENDS= ${PY_DEPENDS} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PY_DEPENDS} --Multipart=_Tue__30_May_2023_19_32_02_+0900_TfEk3BECeoU8IA3D--