Closed
Bug 1038062
Opened 12 years ago
Closed 8 years ago
Gaia build hit compile error when source files are read-only
Categories
(Firefox OS Graveyard :: Gaia::Build, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: seinlin, Unassigned)
Details
Attachments
(1 file)
|
9.40 KB,
patch
|
Details | Diff | Splinter Review |
In some auto build system/machine, source code fetch from remote could be set to read-only. When source files are read-only, Gaia build will hit a compile error.
| Reporter | ||
Comment 2•12 years ago
|
||
In a new synced gaia folder
$ find . -type f | xargs chmod -w
$ make
Flags: needinfo?(kli)
| Reporter | ||
Comment 3•12 years ago
|
||
Yuren, with the attached patch, I can get the gaia compiled when source is read-only. But I am not sure if this patch is reasonable.
Attachment #8455854 -
Flags: feedback?(yurenju.mozilla)
Comment 4•12 years ago
|
||
Comment on attachment 8455854 [details] [diff] [review]
gaia_build.patch
it's not efficient while we need to check permission a lot of times.
supposedly we only create and generate files into build_stage, xulrunner, node_modules and profile*, so we should check permission of gaia directory and throw error if we don't have permission to write in gaia directory.
Attachment #8455854 -
Flags: feedback?(yurenju.mozilla)
| Reporter | ||
Comment 5•12 years ago
|
||
(In reply to Yuren [:yurenju] from comment #4)
> Comment on attachment 8455854 [details] [diff] [review]
> gaia_build.patch
>
> it's not efficient while we need to check permission a lot of times.
>
> supposedly we only create and generate files into build_stage, xulrunner,
> node_modules and profile*, so we should check permission of gaia directory
> and throw error if we don't have permission to write in gaia directory.
Agree to you, this is not efficient. I also notice that this patch work only when './build.sh -j1' is used or make in gaia dir.
Comment 6•8 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•