[b2g] Error out if building on case-insensitive FS



6 years ago
10 months ago


(Reporter: justin.lebar+bug, Unassigned)


Firefox Tracking Flags

(Not tracked)


Some b2g configure targets fail to build properly on MacOS case-insensitive partitions; see bug 867259.  It may have something to do with the targets whose kernels we patch?

We should fail fast in these cases and explain to the user how to set up a case-sensitive FS to build B2G inside.  Doing so is pretty simple and doesn't require any re-partitioning.  See bug 867259 comment 14.
I know a few people who have lost time because of this, would be nice if we can find an owner for this.

Comment 2

5 years ago
(In reply to Benoit Girard (:BenWa) from comment #1)
> I know a few people who have lost time because of this, would be nice if we
> can find an owner for this.

What devices?

We support case insensitive FS's on all tier 1 devices I'm aware of.
I lost time here :) 

It's also a barrier to participation - please fix this or document what's necessary so someone from the community can do so.
Blocks: 950943
IIRC building the kernel requires a case sensitive filesystem.

The kernel's net/netfilter has a bunch of source files which differ only by case (there may be others - those are the ones I remember).

What's necessary is to use a case-sensitive filesystem when building for any phone which builds the kernel, and the kernel is configured to build any source file which differ only in case.

Comment 5

3 years ago
Can somebody describe what has to be done after following the wiki at this point: https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites$compare?to=389305&from=389297

Its not clear to me if the repo has to be transfaired to that case sensitive partition or a new download to the partitiion is nessacary...
I can update the wiki if someone gives me the knowleadge whats to do here...
Regards, Novski
Flags: needinfo?(justin.lebar+bug)
Flags: needinfo?(bkelly)
Yes, you need to clone the repo in that new directory.  You cannot just copy from the case-insensitive file system because one of the files will already have been overwritten.
Flags: needinfo?(justin.lebar+bug)
Flags: needinfo?(bkelly)

Comment 7

10 months ago
Firefox OS is not being worked on
Last Resolved: 10 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.