Closed Bug 1894645 Opened 9 months ago Closed 9 months ago

No rule to make target 'libxul.so', needed by 'gtest'. Stop.

Categories

(Firefox Build System :: General, defect)

defect

Tracking

(firefox-esr115 unaffected, firefox125 unaffected, firefox126 unaffected, firefox127 fixed)

RESOLVED FIXED
127 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox125 --- unaffected
firefox126 --- unaffected
firefox127 --- fixed

People

(Reporter: gerard-majax, Assigned: glandium)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

This has started recently.

STR:

  1. mach build finishes fine
  2. mach gtest

Expected:
Builds and run gtest

Actual:
Fails with 0:01.12 gmake[1]: *** No rule to make target 'libxul.so', needed by 'gtest'. Stop.

Locally reverting bug 1459764 fixes the issue.

Adding ac_add_options --enable-gtest-in-build does NOT improve anything. (except the error is now gmake: *** No rule to make target 'recurse_gtest'. Stop.)

Set release status flags based on info from the regressing bug 1459764

:glandium, since you are the author of the regressor, bug 1459764, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

What's your mozconfig? This works for me...

Flags: needinfo?(lissyx+mozillians)

Are you looking for something specific? I really have nothing special and it has been working for years

Flags: needinfo?(lissyx+mozillians)

I lie, I can repro, I expected the error message right away but it's all the way to the end of the build...

We changed the SHARED_LIBRARY, so we need to adjust the non-default-target
associated with it.

Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/cf233107a68e Adjust non-default-target case after bug 1459764. r=firefox-build-system-reviewers,nalexander
Flags: needinfo?(mh+mozilla)
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: