From owner-svn-ports-all@freebsd.org Thu Sep 28 16:27:49 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 622FEE02EEE; Thu, 28 Sep 2017 16:27:49 +0000 (UTC) (envelope-from adamw@adamw.org) Received: from apnoea.adamw.org (apnoea.adamw.org [104.225.5.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "apnoea.adamw.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C6B2164E4C; Thu, 28 Sep 2017 16:27:47 +0000 (UTC) (envelope-from adamw@adamw.org) Received: by apnoea.adamw.org (OpenSMTPD) with ESMTPSA id 67025a52 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Thu, 28 Sep 2017 10:27:46 -0600 (MDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r450810 - head/www/yarn From: Adam Weinberger In-Reply-To: <426BBCF9-012D-4483-BFC0-9A32C6645536@adamw.org> Date: Thu, 28 Sep 2017 10:27:44 -0600 Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <5E0EC8F9-14B6-4635-9EA1-EDB8EEEF8800@adamw.org> References: <201709280906.v8S96RT9051986@repo.freebsd.org> <426BBCF9-012D-4483-BFC0-9A32C6645536@adamw.org> To: Luca Pizzamiglio X-Mailer: Apple Mail (2.3273) X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Sep 2017 16:27:49 -0000 > On 28 Sep, 2017, at 10:21, Adam Weinberger wrote: >=20 >> On 28 Sep, 2017, at 3:06, Luca Pizzamiglio = wrote: >>=20 >> Author: pizzamig >> Date: Thu Sep 28 09:06:27 2017 >> New Revision: 450810 >> URL: https://svnweb.freebsd.org/changeset/ports/450810 >>=20 >> Log: >> www/yarn: Updating to version 1.0.2 >>=20 >> Adopting a more fine grained conflict type >> Fixing a Linux incompatibility >>=20 >> Approved by: olivier (mentor) >> Differential Revision: https://reviews.freebsd.org/D12516 >>=20 >> Modified: >> head/www/yarn/Makefile >> head/www/yarn/distinfo >=20 > Hi Luca, >=20 > Yarn has stopped working for me with this release. This is in a = poudriere jail with just yarn installed: >=20 > root@apnoea:/tmp # mkdir foo > root@apnoea:/tmp # cd foo > root@apnoea:/tmp/foo # yarn init > module.js:473 > throw err; > ^ >=20 > Error: Cannot find module '/tmp/lib/node_modules/yarn/bin/yarn.js' > at Function.Module._resolveFilename (module.js:527:15) > at Function.Module._load (module.js:453:25) > at Function.Module.runMain (module.js:665:10) > at startup (bootstrap_node.js:201:16) > at bootstrap_node.js:626:3 Ah, the problem is that REINPLACE_CMD that got removed. It still needs = to be there. # Adam --=20 Adam Weinberger adamw@adamw.org https://www.adamw.org >=20 >=20 >>=20 >> Modified: head/www/yarn/Makefile >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/www/yarn/Makefile Thu Sep 28 09:02:02 2017 = (r450809) >> +++ head/www/yarn/Makefile Thu Sep 28 09:06:27 2017 = (r450810) >> @@ -2,7 +2,7 @@ >>=20 >> PORTNAME=3D yarn >> DISTVERSIONPREFIX=3D v >> -DISTVERSION=3D 1.0.1 >> +DISTVERSION=3D 1.0.2 >> CATEGORIES=3D www >> MASTER_SITES=3D https://yarnpkg.com/downloads/${PORTVERSION}/ >>=20 >> @@ -27,7 +27,7 @@ NODE_RUN_DEPENDS=3D node>=3D0.8.0:www/node >> NODE6_RUN_DEPENDS=3D node6>=3D0.8.0:www/node6 >> NODE4_RUN_DEPENDS=3D node4>=3D0.8.0:www/node4 >>=20 >> -HADOOPCOMPAT_CONFLICTS_OFF=3D hadoop2* >> +HADOOPCOMPAT_CONFLICTS_INSTALL_OFF=3D hadoop2* >>=20 >> NO_ARCH=3D yes >> NO_BUILD=3D yes >> @@ -37,8 +37,6 @@ post-patch: >> @${REINPLACE_CMD} -i '' \ >> -e 's|"installationMethod": "tar"|"installationMethod": = "pkg"|g' \ >> ${WRKSRC}/package.json >> - @${REINPLACE_CMD} -i '' -e 's%Linux)%Linux|FreeBSD)%g' \ >> - ${WRKSRC}/bin/yarn >>=20 >> do-install: >> ${MKDIR} ${STAGEDIR}${PREFIX}/lib/node_modules/yarn >>=20 >> Modified: head/www/yarn/distinfo >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/www/yarn/distinfo Thu Sep 28 09:02:02 2017 = (r450809) >> +++ head/www/yarn/distinfo Thu Sep 28 09:06:27 2017 = (r450810) >> @@ -1,3 +1,3 @@ >> -TIMESTAMP =3D 1505124517 >> -SHA256 (yarn-v1.0.1.tar.gz) =3D = 6b00b5e0a7074a512d39d2d91ba6262dde911d452617939ca4be4a700dd77cf1 >> -SIZE (yarn-v1.0.1.tar.gz) =3D 843398 >> +TIMESTAMP =3D 1506246826 >> +SHA256 (yarn-v1.0.2.tar.gz) =3D = 8a31f8fa50ab6d5f8852025fb0ea4a50f2f8b82792f060fa99de0acc370b0698 >> +SIZE (yarn-v1.0.2.tar.gz) =3D 843696