From nobody Thu Oct 26 17:11:34 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 4SGXQL2w1Sz4y3Cj for ; Thu, 26 Oct 2023 17:11:38 +0000 (UTC) (envelope-from garga@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 4SGXQL1YF2z4VXc; Thu, 26 Oct 2023 17:11:38 +0000 (UTC) (envelope-from garga@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698340298; 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=+wGsCnymwWHJ3ohv12hDiftaznjuxgTQGR7v1rhOh6I=; b=lbJTcm8dZ4biFcyFnIz5o3klfyYfK3bC7BHJCTxA5mQ7u0GUqeKYH1bkoltMnXY9f4JOU9 XTmCzasoSEWIxEL659fbH67JixSDaepsIeZ9Qh9mTwoff6PwqzJqairHrtsRJUDy70tq/g hrSWoAavUGqbKLscxMtnzCT74TgbSSm/5MG3Qom2XxWkzT39WrC0xqUIuZ7jQzlz4uXIe6 1lKF9Mn33FdhV2N1piOiz/jI7oV/Tkw1LyWEOvhDAMPmyl/AxEKPuMtErMcZZ3LdeAN3vf QhK2fS46115ANIzxIeDFGhyBXBq4MxdGUqlN6BaxhhO+vS3Hm8qsYinCCrUntg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698340298; 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=+wGsCnymwWHJ3ohv12hDiftaznjuxgTQGR7v1rhOh6I=; b=kNQKlo5Z+9oJYfIGrEuJDMgAWNfxG69DvvLJgFQZS0KLXKRVwm5Y5FIumNKhXrWt4VYFzo SskqfgQEvvPz7Sv1+0aWCfuyPru8rbllRbC7TrXrG0r0i8MFRs/gY1xSE7bRkPo95BAjyA 2Y0GSMmeb9G6LVNkU0XJ7MBLcN4lxx1fehVh6JeUc1cy6ke3W0BX7FNs8FsxGAE3Lx0lcO s1sIpgRiEDEOUm8gB8eqKSZ9jT0EjA6Ny+HpOkgnHmFUYBHfrEAdAzjz1kejVNGvk6TLwU vQgfYdNQSTqEZSq4bDzQ/LXysHUrNpixEU9tZl5BSKQXfrCC6BDI8Ldv3JuyPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698340298; a=rsa-sha256; cv=none; b=Lo5HWx8/Q7FfKYl/0L8a9HJ1fRQ+buBpfKwk/QL+0nvgrVv8CFTEP4fGF6oU+PdYJpglVi wGJCG81oSMiAaBvovS8Flvj1hfDmffU2mrUtz7CpWdg4fCsaApFhBGt9wXoyykUhTi/C4M rtgjppYnJg5IDdo8FxLndlJG/FE+2a6sC0E6WqFb9nrQD32gNo40U+uHRkUUrC1b5ZYdu6 4oJnTltyWmNIcTGw8BaGlKH+A8X4j/HH3DIcxLl5/IAxfWNtaDhBHkRzmJv/WGyfYEinQJ gamHxdfb+xxgmfD5fhgG2/OojngLf/Bh1rX4L9Jw8NXHNOLxf63fr++LtF7yag== 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 4SGXQK5CCgz1MLN; Thu, 26 Oct 2023 17:11:37 +0000 (UTC) (envelope-from garga@FreeBSD.org) Message-ID: Date: Thu, 26 Oct 2023 14:11:34 -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 To: Dan Langille , FreeBSD Ports References: <51D9023C-5829-4615-9A16-3060853CD9C0@langille.org> Content-Language: en-US From: Renato Botelho In-Reply-To: <51D9023C-5829-4615-9A16-3060853CD9C0@langille.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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. -- Renato Botelho