[bug #65737] missing intermediate target invalidates group

2024-05-13 Thread Stas Sergeev
URL: Summary: missing intermediate target invalidates group Group: make Submitter: stsp Submitted: Пн 13 мая 2024 19:50:35 Severity: 3 - Normal Item Group: Bug

[bug #65737] missing intermediate target invalidates group

2024-05-13 Thread Stas Sergeev
Follow-up Comment #1, bug #65737 (group make): Also the diagnostic doesn't consider groups. In the above makefile example, the diagnostic is: ``` Makefile:7: update target 'b' due to: unknown reasons ``` And if `b` depends on eg `Makefile` itself (just for the sake of an example), then the diagno

[bug #65739] Add warnings circular-dep and circular-extra-dep.

2024-05-13 Thread Dmitry Goncharov
URL: Summary: Add warnings circular-dep and circular-extra-dep. Group: make Submitter: dgoncharov Submitted: Tue 14 May 2024 01:40:55 AM UTC Severity: 3 - Normal

[bug #65739] Add warnings circular-dep and circular-extra-dep.

2024-05-13 Thread Dmitry Goncharov
Follow-up Comment #1, bug #65739 (group make): Patch sv65739_circular_dep_warn_part1.diff adds warning circular-dep. This warning controls how makes handles circular dependencies. The behavior is to silently drop the dependency, print a message or print a message and exit with an error code. The d

[bug #65739] Add warnings circular-dep and circular-extra-dep.

2024-05-13 Thread Dmitry Goncharov
Additional Item Attachment, bug #65739 (group make): File name: sv65739_circular_dep_warn_part1.diff Size: 6KiB File name: sv65739_circular_dep_warn_part2.diff Size: 6KiB

[bug #65739] Add warnings circular-dep and circular-extra-dep.

2024-05-13 Thread Dmitry Goncharov
Follow-up Comment #2, bug #65739 (group make): Here is an example $ cat makefile hello: hello $ make make: circular hello <- hello dependency dropped make: Nothing to be done for 'hello'. $ make --warn=circular-dep:ignore make: Nothing to be done for 'hello'. $ make --warn=circular-dep:error ma

Re: Treat "Circular dependency...dropped" as a hard error instead?

2024-05-13 Thread Dmitry Goncharov
On Wed, May 8, 2024 at 2:04 PM JZB wrote: > > I have a GNU make-based build system wherein I would like for any/all > GNU make-detected circular dependencies to be treated as a hard error, > i.e., fail [immediately], rather than a "dropped and we go on without > it..." situation. > > Is there a wa

[bug #60736] Introduce "Circular <- dependency dropped." for .EXTRA_PREREQS deps.

2024-05-13 Thread Dmitry Goncharov
Follow-up Comment #5, bug #60736 (group make): Attached an alternative patch to https://savannah.gnu.org/bugs/index.php?65739. ___ Reply to this item at: __

Re: Treat "Circular dependency...dropped" as a hard error instead?

2024-05-13 Thread JZB
On 5/13/24 21:05, Dmitry Goncharov wrote: On Wed, May 8, 2024 at 2:04 PM JZB wrote: I have a GNU make-based build system wherein I would like for any/all GNU make-detected circular dependencies to be treated as a hard error, i.e., fail [immediately], rather than a "dropped and we go on without