Open Bug 1873408 Opened 10 months ago Updated 8 months ago

Full builds and artifact builds do different things when using wildcards in FINAL_TARGET_FILES

Categories

(Firefox Build System :: General, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: standard8, Unassigned)

References

(Blocks 1 open bug)

Details

In bug 1870913 we are trying to ship a set of dumps for image files synced from remote settings.

I was trying to avoid the need to add every file to moz.build individually, so in services/settings/dumps/main/moz.build I tried adding:

FINAL_TARGET_FILES.defaults.settings.main["search-config-icons"] += [
    "search-config-icons/*",
]

For a full build, the files went into objdir/dist/bin/browser/defaults/settings/main/search-config-icons/search-config-icons/ as symlinks (not expected).

For an artifact build, the files went into objdir/dist/bin/browser/defaults/settings/main/search-config-icons/ as symlinks (expected).

Either these should behave in the same manner, or we should have an explicit disallow for using * in this case.

I've just updated comment 0 to include ["search-config-icons"] on the first line of the definition, and corrected the path outputs.

Blocks: 1873448

Wildcards are not supposed to be supported. I'm surprised they're not rejected.

The severity field is not set for this bug.
:ahochheiden, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(ahochheiden)
Severity: -- → S3
Flags: needinfo?(ahochheiden)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.