No rule to make target `out/host/linux-x86/framework/layoutlib_api.jar'

1,178 views
Skip to first unread message

Richard Reveley

unread,
Mar 3, 2010, 11:49:07 AM3/3/10
to Android-x86
Can anyone help with this?

I used these commands
repo init -u git://git.android-x86.org/platform/manifest.git -b
eclair-x86
repo sync
make usb_img TARGET_PRODUCT=eeepc

I did initially run into this issue http://code.google.com/p/android/issues/detail?id=985
which looks similar but now seems to be resolved but I can't get past
this new one. There's a few mentions of it on the net but no actual
solution as far as I can tell.

Here's a small log snippet, unfortunately this error happens about an
hour into the build process so it's a bit of a pain to debug.

host Java: idegen (out/host/common/obj/JAVA_LIBRARIES/
idegen_intermediates/classes)
Install: out/host/linux-x86/framework/idegen.jar
host Prebuilt: jarjar (out/host/common/obj/JAVA_LIBRARIES/
jarjar_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/jarjar.jar
host Java: jdiff (out/host/common/obj/JAVA_LIBRARIES/
jdiff_intermediates/classes)
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Install: out/host/linux-x86/framework/jdiff.jar
host Prebuilt: jython (out/host/common/obj/JAVA_LIBRARIES/
jython_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/jython.jar
host Prebuilt: kxml2-2.3.0 (out/host/common/obj/JAVA_LIBRARIES/
kxml2-2.3.0_intermediates/javalib.jar)
Install: out/host/linux-x86/framework/kxml2-2.3.0.jar
make: *** No rule to make target `out/host/linux-x86/framework/
layoutlib_api.jar', needed by `out/host/common/obj/JAVA_LIBRARIES/
layoutlib_intermediates/javalib.jar'. Stop.

Yi Sun

unread,
Mar 3, 2010, 1:27:17 PM3/3/10
to andro...@googlegroups.com
When did u checked out the tree? I just updated the eclair-x86 branch
yesterday evening. There was build breaks before that. I'm wandering
if we have a new break or not.

> --
> You received this message because you are subscribed to the Google Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.
>
>

--
Android-x86
http://www.android-x86.org

Richard Reveley

unread,
Mar 3, 2010, 1:37:34 PM3/3/10
to Android-x86
I checked out around 12 hours ago. I'm resyncing now and trying to
rebuild. This is the first time I've tried to build this thing so it's
more likely to be a problem with my environment I'd say but I'll let
you know how the rebuild goes.

On Mar 3, 6:27 pm, Yi Sun <beyo...@gmail.com> wrote:
> When did u checked out the tree? I just updated the eclair-x86 branch
> yesterday evening. There was build breaks before that. I'm wandering
> if we have a new break or not.
>

> On Wed, Mar 3, 2010 at 8:49 AM, Richard  Reveley <rreve...@gmail.com> wrote:
>
>
>
>
>
> > Can anyone help with this?
>
> > I used these commands
> >  repo init -u git://git.android-x86.org/platform/manifest.git -b
> > eclair-x86
> >  repo sync
> >  make usb_img TARGET_PRODUCT=eeepc
>

> > I did initially run into this issuehttp://code.google.com/p/android/issues/detail?id=985

Yi Sun

unread,
Mar 3, 2010, 1:43:39 PM3/3/10
to andro...@googlegroups.com
BTW-- could you following the instruction in the Android ASOP project
to check if your env is correct?
THanks
Yi

Richard Reveley

unread,
Mar 4, 2010, 1:45:58 PM3/4/10
to Android-x86
Well, I couldn't get past this error no matter what I tried so I
figured it might be something to do with using gentoo instead of
ubuntu as suggested so I spun up a fresh ec2 instance of ubuntu 9.10
and followed the environment guide to a letter.

Some hours later I ended up with the exact same error:

make: *** No rule to make target `out/host/linux-x86/framework/
layoutlib_api.jar', needed by `out/host/common/obj/JAVA_LIBRARIES/
layoutlib_intermediates/javalib.jar'. Stop.


On Mar 3, 6:43 pm, Yi Sun <beyo...@gmail.com> wrote:
> BTW-- could you following the instruction in the Android ASOP project
> to check if your env is correct?
> THanks
> Yi
>

Yi Sun

unread,
Mar 4, 2010, 2:02:14 PM3/4/10
to andro...@googlegroups.com
Ok, I will try this for you this evening and let u know the result

Satoshi OTSUKA

unread,
Mar 4, 2010, 7:18:31 PM3/4/10
to andro...@googlegroups.com
Hi,

I met exact same error with Mr. Reveley met.
My environment is Ubuntu 8.04.2 (32bit) as AOSP project recommends.

2010/3/5 Richard Reveley <rrev...@gmail.com>:

Yi Sun

unread,
Mar 4, 2010, 8:04:08 PM3/4/10
to andro...@googlegroups.com, Satoshi OTSUKA
CW is trying to sync everything from ASOP again. At the meanwhile, I
will take a quick look this evening to see if I have to same problem or not.

Richard Reveley

unread,
Mar 5, 2010, 12:08:27 PM3/5/10
to Android-x86
For what it's worth I was able to build donut on this same machine.

On Mar 5, 1:04 am, Yi Sun <beyo...@gmail.com> wrote:
> CW is trying to sync everything from ASOP again. At the meanwhile, I
> will take a quick look this evening to see if I have to same problem or not.
> On 03/04/2010 04:18 PM, Satoshi OTSUKA wrote:
>
>
>
> > Hi,
>
> > I met exact same error with Mr. Reveley met.
> > My environment is Ubuntu 8.04.2 (32bit) as AOSP project recommends.
>

> > 2010/3/5 Richard  Reveley<rreve...@gmail.com>:

beyounn

unread,
Mar 5, 2010, 11:39:20 PM3/5/10
to Android-x86
I have tried and eclair-x86 builds for me without any issue. So, one
more question for you, are you using git.android-x86.org or SF repo?

Satoshi OTSUKA

unread,
Mar 6, 2010, 4:50:39 AM3/6/10
to andro...@googlegroups.com
I met error when I used git.android-x86.org repository.
Today I redid "repo init" and "repo sync" again as follows

repo init -u
git://android-x86.git.sf.net/gitroot/android-x86/manifest.git -b
eclair-x86
repo sync

and build succeeded without any problems.

Are there any differences between git.android-x86.org repository
and android-x86.git.sf.net repository?


2010/3/6 beyounn <bey...@gmail.com>:

Richard Reveley

unread,
Mar 6, 2010, 5:30:10 AM3/6/10
to Android-x86
I was using git.android-x86 too. I'll try switching to sf and let you
know how it goes.

On Mar 6, 9:50 am, Satoshi OTSUKA <satoshi.ots...@gmail.com> wrote:
> I met error when I used git.android-x86.org repository.
> Today I redid "repo init" and "repo sync" again as follows
>
>    repo init -u
> git://android-x86.git.sf.net/gitroot/android-x86/manifest.git -b
> eclair-x86
>    repo sync
>
> and build succeeded without any problems.
>
> Are there any differences between git.android-x86.org repository
> and android-x86.git.sf.net repository?
>

> 2010/3/6 beyounn <beyo...@gmail.com>:

Richard Reveley

unread,
Mar 6, 2010, 4:06:08 PM3/6/10
to Android-x86
Success on sf also. There must be some difference between the two
repositories.

Yi Sun

unread,
Mar 6, 2010, 6:24:44 PM3/6/10
to andro...@googlegroups.com, Android-x86
Hmmmm.... Me got both built and boot ok.

Satoshi OTSUKA

unread,
Mar 7, 2010, 12:50:26 AM3/7/10
to andro...@googlegroups.com
Following files seem to missing when newly repo sync from git.android-x86.org.

android-x86/frameworks/base/tools/layoutlib/api/Android.mk
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/ILayoutLog.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IProjectCallback.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IResourceValue.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IStyleResourceValue.java
android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IXmlPullParser.java


2010/3/7 Yi Sun <bey...@gmail.com>:

>>>>>>>>>>>>> layoutlib_intermediates/javalib.jar'.  Stop.
>>>
>>>>>>>>>>>>> --
>>>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>>>> Google Groups "Android-x86" group.
>>>>>>>>>>>>> To post to this group, send email to

>>>>>>>>>>>>> andro...@googlegroups.com.
>>>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>>>> android-x86...@googlegroups.com.

>>>>>>>>>>>>> For more options, visit this group
>>>>>>>>>>>>> athttp://groups.google.com/group/android-x86?hl=en.
>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Android-x86http://www.android-x86.org
>>>
>>>>>>>>>>> --
>>>>>>>>>>> You received this message because you are subscribed to the
>>>>>>>>>>> Google Groups "Android-x86" group.
>>>>>>>>>>> To post to this group, send email to

>>>>>>>>>>> andro...@googlegroups.com.
>>>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>>>> android-x86...@googlegroups.com.

>>>>>>>>>>> For more options, visit this group
>>>>>>>>>>> athttp://groups.google.com/group/android-x86?hl=en.
>>>
>>>>>>>>>> --
>>>>>>>>>> Android-x86http://www.android-x86.org
>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "Android-x86" group.

>>>>>>>>> To post to this group, send email to andro...@googlegroups.com.
>>>>>>>>> To unsubscribe from this group, send email to
>>>>>>>>> android-x86...@googlegroups.com.

>>>>>>>>> For more options, visit this group
>>>>>>>>> athttp://groups.google.com/group/android-x86?hl=en.
>>>

>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Android-x86" group.
>>>>> To post to this group, send email to andro...@googlegroups.com.
>>>>> To unsubscribe from this group, send email to
>>>>> android-x86...@googlegroups.com.

>>>>> For more options, visit this group
>>>>> athttp://groups.google.com/group/android-x86?hl=en.
>>

>> --
>> You received this message because you are subscribed to the Google Groups
>> "Android-x86" group.
>> To post to this group, send email to andro...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> android-x86...@googlegroups.com.

>> For more options, visit this group at
>> http://groups.google.com/group/android-x86?hl=en.
>>
>

> --
> You received this message because you are subscribed to the Google Groups
> "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-x86...@googlegroups.com.

Glauber

unread,
Mar 21, 2010, 11:34:37 AM3/21/10
to Android-x86
To build branch eclair-x86 using the Satoshi info:
- copy frameworks/base/tools/layoutlib/api/* from other branch (I used
master) to eclair-x86;
- update frameworks/base/tools/layoutlib/create/src/com/android/tools/
layoutlib/create/CreateInfo.java;

then make iso_img.
it works :)

On Mar 7, 2:50 am, Satoshi OTSUKA <satoshi.ots...@gmail.com> wrote:
> Following files seem to missing when newly repo sync from git.android-x86.org.
>
> android-x86/frameworks/base/tools/layoutlib/api/Android.mk
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IDensityBasedResourceValue.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/ILayoutBridge.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/ILayoutLog.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/ILayoutResult.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IProjectCallback.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IResourceValue.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IStyleResourceValue.java
> android-x86/frameworks/base/tools/layoutlib/api/src/com/android/layoutlib/api/IXmlPullParser.java
>

> 2010/3/7 Yi Sun <beyo...@gmail.com>:


>
> > Hmmmm.... Me got both built and boot ok.
>

Reply all
Reply to author
Forward
0 new messages