Donut master build broken

17 views
Skip to first unread message

androidRooke

unread,
Aug 4, 2009, 1:10:08 PM8/4/09
to android-platform, android...@gmail.com
Hi,
I am trying to make a donut build, and the build fails.
i have synced the donut master
and tried to make a build for the htc-dream the build fails
complaining
can not find camera.h and camframe.h jpeg_encoder.h file while it was
trying
to compile libcamera.so
part of /hardware/msm7k/libcamera2

did any one faced the same issue?

thanks.

PS: I used the instructions at
http://source.android.com/documentation/building-for-dream

Jean-Baptiste Queru

unread,
Aug 4, 2009, 1:59:49 PM8/4/09
to android-...@googlegroups.com
I can reproduce here.

Looking at our internal source tree, it looks like hardware/msm7k now
includes some proprietary qualcomm headers, with the result being
sadly predictable.

JBQ
--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

androidRooke

unread,
Aug 4, 2009, 2:09:24 PM8/4/09
to android-platform
Thanks JBQ,

How time will it take to be able to get a fix for this?
What is the workaround that i can use if i want to make the build.

thanks.

Jean-Baptiste Queru

unread,
Aug 4, 2009, 2:12:19 PM8/4/09
to android-...@googlegroups.com
For now I'll say that it's broken until further notice.

JBQ

androidRooke

unread,
Aug 4, 2009, 2:21:10 PM8/4/09
to android-platform
Thanks.
Do you know which is the latest working version of the donut branch
that i can use to make my build?

thanks.

Jean-Baptiste Queru

unread,
Aug 4, 2009, 2:44:44 PM8/4/09
to android-...@googlegroups.com
I don't. My best guess is that this is "the change that broke it"
(notice the quotes):
http://android.git.kernel.org/?p=platform/hardware/msm7k.git;a=commit;h=f807d6492a01f5503d4abf9817d0d1cee44e0987

However, syncing that specific project back before that change doesn't
fix the build, as I guess that it depends on the state of other
projects at that time, and there's not enough detailed history on the
open-source side to be able to bring the state of the tree back "right
before" that change.

JBQ

androidRooke

unread,
Aug 4, 2009, 6:14:04 PM8/4/09
to android-platform
Thanks again.
i have copied a previous version of the camera code and it did compile
fine.
but when i start the wifi the phone reboots in an infinte loop.
Is this a known issue?
Is there any solution for this?

-Thanks

On Aug 4, 11:44 am, Jean-Baptiste Queru <j...@android.com> wrote:
> I don't. My best guess is that this is "the change that broke it"
> (notice the quotes):http://android.git.kernel.org/?p=platform/hardware/msm7k.git;a=commit...

Jean-Baptiste Queru

unread,
Aug 4, 2009, 6:20:47 PM8/4/09
to android-...@googlegroups.com
Can you check the log?

If it's because of a missing libhtc_acoustic.so, I think I submitted a
fix earlier (but you'll need to sync, re-extract files from a full
build, and re-build).

JBQ

Jean-Baptiste Queru

unread,
Aug 4, 2009, 6:49:58 PM8/4/09
to android-...@googlegroups.com
All right, here's what I've been able to hack together:

-patch change 10981 into your local tree. http://r.android.com/10981

-hack hardware/msm7k/libcamera2/Android.mk and change the "true" value
on the first line to anything else.

This might actually work.

JBQ

Jean-Baptiste Queru

unread,
Aug 6, 2009, 7:39:39 PM8/6/09
to android-...@googlegroups.com
All right, we've decided to not attempt to build libcamera2 in the
open-source tree (it makes no sense without the proprietary library
that it's supposed to wrap around).

http://r.android.com/11055 should deactivate it.

JBQ
Reply all
Reply to author
Forward
0 new messages