Closed Bug 960494 Opened 10 years ago Closed 10 years ago

Fugu does not build cleanly

Categories

(Firefox OS Graveyard :: GonkIntegration, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 958007

People

(Reporter: pehrsons, Unassigned)

Details

Building after configuring for fugu does not succeed. There are libraries in the android repos that depend on libandroid, libandroid_runtime and libjnigraphics. Those three repos were disabled in the spreadtrum repo for frameworks/base. Enabling them again fixes the build. One could potentially also disable all repos that depend on those three, but I didn't hunt all of them down so I am unsure of how many that would come down to. 

Here are some of the libraries that depend on libandroid_runtime, libandroid and libjnigraphics:

(development/tools/emulator/system/camera)
make: *** No rule to make target `out/target/product/fugu/obj/lib/libandroid_runtime.so', needed by `out/target/product/fugu/obj/SHARED_LIBRARIES/camera.goldfish_intermediates/LINKED/camera.goldfish.so'. Stop.

(system/media/mca/filterfw)
make: *** No rule to make target `out/target/product/fugu/obj/lib/libandroid.so', needed by `out/target/product/fugu/obj/SHARED_LIBRARIES/libfilterfw_intermediates/LINKED/libfilterfw.so'. Stop.
make: *** No rule to make target `out/target/product/fugu/obj/lib/libjnigraphics.so', needed by `out/target/product/fugu/obj/SHARED_LIBRARIES/libfilterfw_intermediates/LINKED/libfilterfw.so'. Stop.

(device/sample/frameworks/PlatformLibrary)
make: *** No rule to make target `out/target/product/fugu/obj/lib/libandroid_runtime.so', needed by `out/target/product/fugu/obj/SHARED_LIBRARIES/libplatform_library_jni_intermediates/LINKED/libplatform_library_jni.so'. Stop.

(system/media/mca)
make: *** No rule to make target `out/target/product/fugu/obj/lib/libandroid.so', needed by `out/target/product/fugu/obj/EXECUTABLES/xaplay_intermediates/LINKED/xaplay'. Stop.

(device/sample/frameworks/PlatformLibrary)
make: *** No rule to make target `out/target/product/fugu/obj/lib/libandroid_runtime.so', needed by `out/target/product/fugu/obj/SHARED_LIBRARIES/libplatform_library_jni_intermediates/LINKED/libplatform_library_jni.so'. Stop.
James, you disabled those three libs in the sprd repo. I guess you know more :)
Flags: needinfo?(james.zhang)
(In reply to Andreas Pehrson [:pehrsons] from comment #1)
> James, you disabled those three libs in the sprd repo. I guess you know more
> :)

shrinking RAM/ROM size for 128MB device.
Thomas, please help to update new fugu manifest to mozilla github.
Flags: needinfo?(james.zhang)
Has there been any progress here?

Setting needinfo on you Thomas, as I'm assuming you are the Thomas referenced by James. Could you assign and set status accordingly? Thanks.
Flags: needinfo?(ttsai)
I'd done with the job with relative to updating manifest file for fugu this week. You can try getting the environment by the following steps.

a.) https://github.com/mozilla-b2g/B2G
b.) ./config.sh fugu

If you meet any problem, please feel free to let me know. Thanks.
Flags: needinfo?(ttsai)
Thanks Vincent, it now builds fine.

I did note however that plainly running ./build.sh failed the first time. ./build.sh -j1 went the entire way. I can't give you more details because I can't see any errors in the output. I guess they could have been suppressed by my parallelized build? Seems to me like there could be dependencies that have not yet been compiled when they are needed. Anyhow, something you have seen before?
Actaully I did the same thing with you using ./build.sh -j1 to build. Just like you said it might be dependencies that causes build break.
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.