From nobody Thu Oct 26 17:41:12 2023 X-Original-To: freebsd-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 4SGY4s72HKz4y5Gs for ; Thu, 26 Oct 2023 17:41:33 +0000 (UTC) (envelope-from dan@langille.org) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 4SGY4s39pxz4d4n; Thu, 26 Oct 2023 17:41:33 +0000 (UTC) (envelope-from dan@langille.org) Authentication-Results: mx1.freebsd.org; none Received: from compute7.internal (compute7.nyi.internal [10.202.2.48]) by mailout.nyi.internal (Postfix) with ESMTP id ED6675C0136; Thu, 26 Oct 2023 13:41:32 -0400 (EDT) Received: from imap42 ([10.202.2.92]) by compute7.internal (MEProxy); Thu, 26 Oct 2023 13:41:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=langille.org; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1698342092; x=1698428492; bh=eR ppqIc6CPHD3+ShL5zNYrkdonrAKLoSSwR64oC7l3Y=; b=WHxLbgRYRrF4rOJATx jOTa4GEk/UyM4yFnQvIyeqM5Gag1U7npXhmaqJyG2ienLxV1G/p3OkL9ILCA40vk 20BL3nRjnaH24CYfeagTSSIYP1MPSCE9j/zNESZjnCghbAHC9B6s5Wy2a2ePGaoy 36I2Ts5unTHQruSuyVwGnRsAlB+BDSwjqW9Rqr5wma7m045Gb+v2mvFUfPfrfa28 N4IhYwX5KTr/sqgwxfMDFzyqM5amjBTGs9uT/4RctG3phzWsu5UM/BsE6AO22Hs1 HHWor2qBEdg8LzziAY4UbEmHfG8iDRXXOygiBBe7y1NE3ApgmGJ/uJNMFsCd+vWF ouzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; t=1698342092; x=1698428492; bh=eRppqIc6CPHD3 +ShL5zNYrkdonrAKLoSSwR64oC7l3Y=; b=PRIrpANcX154hInNXqRnbzS5hW4O8 IXVIxTZIoial7bOH7fT4X+RYzjXvJ1Bpkfi+HHs+BYq2YqmrY1utE+TxDgd6jUgb 2FmAi7762c0tu3NHvgKx+sOOnJDrYik0wNVRxIk5uHNLBLyyFphwI/5IGgBMjeLs GagQk6R3Tju9GlUeX9KFwhs9MgV1UHSMVsuU4X9yDyJxbWirvJ4JrMwkpwZstC6l DxUnOrj5qVtFK0yNAFhCcrTj7Ng9sZ6+o341EwUG7Jy+FBmEQt7dE51DFPPdZHcj vE6Yygb+Sa5PNw3XUx3pODA0C0iQRL70KYA7rpAyyVKbJuUNFNQxwJcCQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrledvgdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfffgrnhcunfgrnhhgihhllhgvfdcuoegurghnsehlrghn ghhilhhlvgdrohhrgheqnecuggftrfgrthhtvghrnhepieefhefgvdekheffheduhefhhf fhfeeiueekteelffevgeeuudeuieeiudeuvdelnecuffhomhgrihhnpehfrhgvvggsshgu rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epuggrnheslhgrnhhgihhllhgvrdhorhhg X-ME-Proxy: Feedback-ID: ifbf9424e:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A5A40BC007D; Thu, 26 Oct 2023 13:41:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.9.0-alpha0-1048-g9229b632c5-fm-20231019.001-g9229b632 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 Message-Id: In-Reply-To: References: <51D9023C-5829-4615-9A16-3060853CD9C0@langille.org> Date: Thu, 26 Oct 2023 13:41:12 -0400 From: "Dan Langille" To: "Renato Botelho" , freebsd-ports Subject: Re: output of RUN_DEPENDS changes unexpectedly Content-Type: text/plain X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:19151, ipnet:66.111.4.0/24, country:US] X-Rspamd-Queue-Id: 4SGY4s39pxz4d4n On Thu, Oct 26, 2023, at 1:11 PM, Renato Botelho wrote: > On 24/10/23 15:45, Dan Langille wrote: >> Hello, >> >> I noticed an anomaly today. >> >> Watch how the output of make -V RUN_DEPENDS changes for tomcat-devel as we move through the tree. >> >> This is a fresh checkout of ports >> [18:40 empty dan /usr/ports] % cd www/tomcat-devel >> [18:41 empty dan /usr/ports/www/tomcat-devel] % make -V RUN_DEPENDS >> jsvc:devel/apache-commons-daemon /usr/local/openjdk21/bin/java:java/openjdk21 >> >> The above is valid output >> >> [18:41 empty dan /usr/ports/www/tomcat-devel] % git checkout 5699269 >> Note: switching to '5699269'. >> >> You are in 'detached HEAD' state. You can look around, make experimental >> changes and commit them, and you can discard any commits you make in this >> state without impacting any branches by switching back to a branch. >> >> If you want to create a new branch to retain commits you create, you may >> do so (now or later) by using -c with the switch command. Example: >> >> git switch -c >> >> Or undo this operation with: >> >> git switch - >> >> Turn off this advice by setting config variable advice.detachedHead to false >> >> HEAD is now at 569926974bfd www/tomcat{85,9,101}: adjust rc.d script to support Java versions 20+ >> [18:42 empty dan /usr/ports/www/tomcat-devel] % make -V RUN_DEPENDS >> jsvc:devel/apache-commons-daemon /bin/java: >> >> >> That's not right. >> >> I tried commits before and after 5699269 - both good. >> >> Inquiring minds, FreshPorts not the least, wants to know why the RUN_DEPENDS failed for that commit. >> >> >> [18:43 empty dan /usr/ports/www/tomcat-devel] % git checkout d994e83 >> Previous HEAD position was 569926974bfd www/tomcat{85,9,101}: adjust rc.d script to support Java versions 20+ >> HEAD is now at d994e83b45c4 net-mgmt/ocsinventory-{server,ocsreports}: Update to 2.12.1 >> [18:44 empty dan /usr/ports/www/tomcat-devel] % make -V RUN_DEPENDS jsvc:devel/apache-commons-daemon /usr/local/openjdk21/bin/java:java/openjdk21 >> >> >> [18:44 empty dan /usr/ports/www/tomcat-devel] % git checkout 2fdb6fb >> Previous HEAD position was d994e83b45c4 net-mgmt/ocsinventory-{server,ocsreports}: Update to 2.12.1 >> HEAD is now at 2fdb6fb45908 www/tomcat{85,9,101}: adjust rc.d script to support Java versions 20+ >> [18:44 empty dan /usr/ports/www/tomcat-devel] % make -V RUN_DEPENDS jsvc:devel/apache-commons-daemon /usr/local/openjdk21/bin/java:java/openjdk21 > > I suspect it's related to the problem reported here: > > https://lists.freebsd.org/archives/freebsd-ports/2023-October/004814.html > > It seems like when you checkout 5699269 your tree is moved to a point of > quarterly 2023Q4. I see it here as remotes/freebsd/2023Q4~7 > > Then those java commits are missing and it's not possible to satisfy > dependencies. Good, I understand. As expected, much of the FreshPorts code exists to handle exceptions such as this. :) I had already coded for this but wanted to follow up so I understood why it failed. Thank you. -- Dan Langille dan@langille.org