Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Oct 2023 14:45:33 -0400
From:      Dan Langille <dan@langille.org>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   output of RUN_DEPENDS changes unexpectedly
Message-ID:  <51D9023C-5829-4615-9A16-3060853CD9C0@langille.org>

next in thread | raw e-mail | index | archive | help
Hello,

I noticed an anomaly today.=20

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 <new-branch-name>

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


=E2=80=94=20
Dan Langille
http://langille.org/








Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51D9023C-5829-4615-9A16-3060853CD9C0>