From nobody Thu Oct 26 17:14:26 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 4SGXTc2JPlz4y41g for ; Thu, 26 Oct 2023 17:14:28 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4SGXTc1hpjz4X2G; Thu, 26 Oct 2023 17:14:28 +0000 (UTC) (envelope-from garga@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698340468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KQtXMUzNXJhgg7zdsGBVyFitesFqXfDmv7Jb+EvuzC0=; b=VwY4ImBlBBxMRMgTKewzmi1+06COVXVET4Iljygm586jPr0D1OFP2t5WPXqJoFdOTJceQq pVr5oCu8qeGQbOOS/QOpxMA+4IBkyNZT0g1l9ltLmgSw60xO7sEhR2MRBwmhmQwui1xjFw NXDqThxMpkr3eyOl54OiS4PUjeQWmvJvIbkwdpd4uWx8SMNW0lsGZAkXrEj1Yj0nF3BP/H 39TRepkhkTTQ5wGRjv3QZ2HgLm8fY6/heIYQw6fjCfCbftAXkX9jTY71DVNjPhQm1aQxY9 3RoTsBvNYwUkHV9O2wjXNrdxWYOtAzMZt1E491UQLFC1378rQdHlNAB9oxc9kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698340468; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KQtXMUzNXJhgg7zdsGBVyFitesFqXfDmv7Jb+EvuzC0=; b=OY5Z3TKy8sacdf2+gJjhZ7u+NOCdFGupRFu+gI1iYQc2GJacRiD6JszT6yS03HlDWrGkhe i+jJ4rsBAC3zuOn0TewvpHEgFAXAGtZPxsP9cwfoSAhgJW1SeYAJ/pFLGeNwKcXcahe7ya FCYobpHiuu0bHihiOCD33oV+b7B+8qDFqzU2qyWE8TG/Q5TSmpfaAx2CKlFRtSUEYZyI8I BE8Oo1iZVmmnYxYdESuZrE4sv9EcepL/1mDMwQ4hZ33hx9TsRe1qI8oDLRSRhKsHFtN+xL rkaI+eDhJ1LCzXFB+qZ2LTEbt9eww85oviedtLAAaTnXN41EDdRSWgBWlKg8bg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698340468; a=rsa-sha256; cv=none; b=XLM9MG2pLqzgc5txtGrjYp/+ixU/zjKXAsbHbsYENwDSqhMdZG6UKogYsQxJivyB3UQlPw ZKA6XP7kmBROS/2OBBOUs81CTDiPzJMQhfM6nUtIap8gbx9UVd9GeKy47USUWDzGdTEHPz NAuJsqb1ZDFXrzp7H7AHfMutZrG/KnqisA85zFAVhchE6f6PF8PItEO7Nu2wzEvjfWV0qZ 671Dw+iIU2XoNmRQvMeUUkPc0KCJKerkkAxoRkU7BIQq5GrGJoihLc63UeDvh9aVr2hatv YXJiD2GUrbGWDjoDQj+8qWBeRua9XckKy1MNN7SFVqloSZP22wjtfZjq1Wq+fg== Received: from [172.21.4.172] (dynamic-177-53-82-16.telecominternet.net.br [177.53.82.16]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: garga) by smtp.freebsd.org (Postfix) with ESMTPSA id 4SGXTb4vgyz1NJx; Thu, 26 Oct 2023 17:14:27 +0000 (UTC) (envelope-from garga@FreeBSD.org) Message-ID: <2545dee6-a7be-4f71-bf43-24010ebb88c2@FreeBSD.org> Date: Thu, 26 Oct 2023 14:14:26 -0300 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 Thunderbird Subject: Re: output of RUN_DEPENDS changes unexpectedly Content-Language: en-US From: Renato Botelho To: Dan Langille , FreeBSD Ports References: <51D9023C-5829-4615-9A16-3060853CD9C0@langille.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 26/10/23 14:11, 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. I forgot to add on previous email the commit log of 5699269, which has "Cherry picked from" string on it, what means it's really the commit from quarterly branch: commit 569926974bfd179c1806afbe7794aa6d3a73e255 (HEAD) Author: Vladimir Druzenko Date: Tue Oct 24 13:28:14 2023 +0300 www/tomcat{85,9,101}: adjust rc.d script to support Java versions 20+ Approved by: arrowd (mentor, implicit) MFH: 2023Q4 (cherry picked from commit 2fdb6fb459089fdb15101c5974b3fa45baef1775) So if you checkout original commit, 2fdb6fb459, you won't see the problem. ❯ make -V RUN_DEPENDS jsvc:devel/apache-commons-daemon /usr/local/openjdk21/bin/java:java/openjdk21 -- Renato Botelho