[bug #67195] surprising behavior with prerequisite search via vpath

Dmitry Goncharov <[email protected]> Wed, 11 Jun 2025 19:32:01 -0400 (EDT)
Newsgroups gmane.comp.gnu.make.bugs
Message-ID <[email protected]>
Follow-up Comment #4, bug #67195 (group make):

The patch in the attachments adds logging of directory search.


$ ~/src/gmake/make/l64/make  --debug=s -R
 Directory searching for 'all'.
 'all' not found by directory search.
 Directory searching for '../include/file.x'.
 '../include/file.x' matches vpath pattern '%.x'.
 Directory searching for '../include/file.x' in '../lib/include'.
 Found '../include/file.x' as VPATH '../lib/include/../include/file.x'.
   Directory searching for 'file.x'.
   'file.x' matches vpath pattern '%.x'.
   Directory searching for 'file.x' in '../lib/include'.
   Found 'file.x' as VPATH '../lib/include/file.x'.
  Directory searching for 'file.x'.
  'file.x' matches vpath pattern '%.x'.
  Directory searching for 'file.x' in '../lib/include'.
  Found 'file.x' as VPATH '../lib/include/file.x'.
make: Nothing to be done for 'all'.
$ 


Search for libraries has the same logging.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67195>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCaEoR8QAKCRCqLAuaBUf3
Tjm5AQCTtr+WobBkgxKBBMckrPp5uCwInYjq7J50UALETk4u/AD9EBDj03pBdckR
2cjC7NkISuV9WwXBHfrwTqvfDJbhhQ8=
=6C9G
-----END PGP SIGNATURE-----