Re: [android-building] build "android-msm-marlin-3.18-pie-qpr2" miss buildinfo.py

2019-10-22 Thread 'Dan Willemsen' via Android Building
+Matthias Männich  for further investigation

It looks like this isn't in the AOSP version of the kernel/build project
(or the internal master branch either, only some of the older branches that
never made it to AOSP).

- Dan

On Tue, Oct 22, 2019 at 9:08 AM 阿嚏  wrote:

> aosp kernel "android-msm-marlin-3.18-pie-qpr2" build failed
>
> 
>  Running extra build command(s):
> + eval python build/buildinfo/buildinfo.py
> ++ python build/buildinfo/buildinfo.py
> python: can't open file 'build/buildinfo/buildinfo.py': [Errno 2] No such
> file or directory
>
> in the build.config: "EXTRA_CMDS='python build/buildinfo/buildinfo.py'".
>
> I can't find the buildinfo.py file. Is it my mistake? Did I miss the steps?
>
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/7e094c71-c781-4189-a3a4-bb060748ec82%40googlegroups.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/CALQgHdnE28a%2Bz-5BrHqwsP9_PXJ%3Dp7VpzX4pfZ2Q_ch%3DikSZrA%40mail.gmail.com.


Re: [android-building] Re: LineageOS 17.0 build in LXC 2.x - nsjail/sandboxing error

2019-10-22 Thread 'Dan Willemsen' via Android Building
So the actual error that's blocking you is:

build/make/target/product/updatable_apex.mk:21: error:
> _nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]:
> "vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.


But that's off-topic for this list, as Glenn mentions.

The nsjail error isn't fatal currently, but that's something we'd like to
change in the future (so that we can get better sandboxing within the build
and ensure reproducible/incremental builds work, etc). You may need to
tweak some of the settings w/LXC in order to allow nsjail to function, I
haven't used it. I know Docker has some known issues currently in which it
can't be configured to allow nsjail, but I'm hopeful that that will get
fixed.

- Dan

On Tue, Oct 22, 2019 at 11:58 AM 'Glenn Kasten' via Android Building <
android-building@googlegroups.com> wrote:

> Can you reproduce this problem with AOSP distribution?
> This discussion group is targeted at AOSP distribution per guidelines here
> .
> [I am a volunteer moderator]
>
> On Tuesday, October 22, 2019 at 9:08:28 AM UTC-7, Condor wrote:
>>
>> Hello,
>>
>> I've just tried building LineageOS 17.0 for fajita (OnePlus 6T). For
>> efficiency reasons and to maintain isolation from the host I've opted to
>> spin up an LXC container for this.
>> The host machine is running Debian 9 and LXC 2.x, while the container is
>> a Debian 10 machine. Apparently this doesn't support nsjail, which caused
>> "breakfast fajita" to fail.
>> A screenshot is available at
>> https://www.nixmagic.com/pics/lineage-nsjail-error.png.
>> I've followed the build guide at
>> https://wiki.lineageos.org/devices/fajita/build.
>> Below is the error log in text form.
>>
>> Looking for dependencies in kernel/oneplus/sdm845
>> kernel/oneplus/sdm845 has no additional dependencies.
>> Looking for dependencies in packages/resources/devicesettings
>> packages/resources/devicesettings has no additional dependencies.
>> Done
>> 15:31:05 Build sandboxing disabled due to nsjail error. This may become
>> fatal in the future.
>> 15:31:05 Please let us know why nsjail doesn't work in your environment
>> at:
>> 15:31:05 https://groups.google.com/forum/#!forum/android-building
>> 15:31:05 https://issuetracker.google.com/issues/new?component=381517
>> build/make/target/product/updatable_apex.mk:21: error:
>> _nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]:
>> "vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
>> 15:31:11 dumpvars failed with: exit status 1
>> 15:31:13 Build sandboxing disabled due to nsjail error. This may become
>> fatal in the future.
>> 15:31:13 Please let us know why nsjail doesn't work in your environment
>> at:
>> 15:31:13 https://groups.google.com/forum/#!forum/android-building
>> 15:31:13 https://issuetracker.google.com/issues/new?component=381517
>> build/make/target/product/updatable_apex.mk:21: error:
>> _nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]:
>> "vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
>> 15:32:42 dumpvars failed with: exit status 1
>>
>> ** Don't have a product spec for: 'lineage_fajita'
>> ** Do you have the right repo manifest?
>>
>> I wish I could explain why nsjail isn't available in LXC but
>> unfortunately I don't know either... I'll retry the build in a VM or on a
>> physical host.
>>
>> Best regards,
>> Michael De Roover (android-building at nixmagic dot com)
>>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-building/b8113ccb-73b0-4c6f-8cea-1cd29768f8e4%40googlegroups.com
> 
> .
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 

[android-building] Re: LineageOS 17.0 build in LXC 2.x - nsjail/sandboxing error

2019-10-22 Thread 'Glenn Kasten' via Android Building
Can you reproduce this problem with AOSP distribution?
This discussion group is targeted at AOSP distribution per guidelines here 
.
[I am a volunteer moderator]

On Tuesday, October 22, 2019 at 9:08:28 AM UTC-7, Condor wrote:
>
> Hello,
>
> I've just tried building LineageOS 17.0 for fajita (OnePlus 6T). For 
> efficiency reasons and to maintain isolation from the host I've opted to 
> spin up an LXC container for this.
> The host machine is running Debian 9 and LXC 2.x, while the container is a 
> Debian 10 machine. Apparently this doesn't support nsjail, which caused 
> "breakfast fajita" to fail.
> A screenshot is available at 
> https://www.nixmagic.com/pics/lineage-nsjail-error.png.
> I've followed the build guide at 
> https://wiki.lineageos.org/devices/fajita/build.
> Below is the error log in text form.
>
> Looking for dependencies in kernel/oneplus/sdm845
> kernel/oneplus/sdm845 has no additional dependencies.
> Looking for dependencies in packages/resources/devicesettings 
> packages/resources/devicesettings has no additional dependencies.
> Done
> 15:31:05 Build sandboxing disabled due to nsjail error. This may become 
> fatal in the future.
> 15:31:05 Please let us know why nsjail doesn't work in your environment at:
> 15:31:05 https://groups.google.com/forum/#!forum/android-building
> 15:31:05 https://issuetracker.google.com/issues/new?component=381517
> build/make/target/product/updatable_apex.mk:21: error: 
> _nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]: 
> "vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
> 15:31:11 dumpvars failed with: exit status 1
> 15:31:13 Build sandboxing disabled due to nsjail error. This may become 
> fatal in the future.
> 15:31:13 Please let us know why nsjail doesn't work in your environment at:
> 15:31:13 https://groups.google.com/forum/#!forum/android-building
> 15:31:13 https://issuetracker.google.com/issues/new?component=381517
> build/make/target/product/updatable_apex.mk:21: error: 
> _nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]: 
> "vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
> 15:32:42 dumpvars failed with: exit status 1
>
> ** Don't have a product spec for: 'lineage_fajita'
> ** Do you have the right repo manifest? 
>
> I wish I could explain why nsjail isn't available in LXC but unfortunately 
> I don't know either... I'll retry the build in a VM or on a physical host.
>
> Best regards,
> Michael De Roover (android-building at nixmagic dot com)
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/b8113ccb-73b0-4c6f-8cea-1cd29768f8e4%40googlegroups.com.


[android-building] build "android-msm-marlin-3.18-pie-qpr2" miss buildinfo.py

2019-10-22 Thread 阿嚏
aosp kernel "android-msm-marlin-3.18-pie-qpr2" build failed


 Running extra build command(s):
+ eval python build/buildinfo/buildinfo.py
++ python build/buildinfo/buildinfo.py
python: can't open file 'build/buildinfo/buildinfo.py': [Errno 2] No such 
file or directory

in the build.config: "EXTRA_CMDS='python build/buildinfo/buildinfo.py'".

I can't find the buildinfo.py file. Is it my mistake? Did I miss the steps?


-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/7e094c71-c781-4189-a3a4-bb060748ec82%40googlegroups.com.


[android-building] Re: How to install prebuilt_apps?

2019-10-22 Thread shankar kumar yellapu


androidmk Android.mk > Android.bp

Run the above command from your android build tree after doing source 
build/envsetup.sh

https://android.googlesource.com/platform/build/soong/

Regards,
Shankar


On Sunday, October 20, 2019 at 10:09:55 PM UTC+5:30, seeker wrote:
>
> Hello, Im trying to convert .mk to .bp files. I am struck how to convert 
> below module class!!
>
> include $(CLEAR_VARS)
> LOCAL_MODULE:= x
> LOCAL_MODULE_CLASS  := APPS
> LOCAL_SRC_FILES := --
> LOCAL_MODULE_PATH   := -
> include $(BUILD_PREBUILT)
>
> How to install prebuilt_apps for Android.bp?
> Thanks in advance
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/368b0077-b371-464e-97ac-d10c2f100033%40googlegroups.com.


[android-building] LineageOS 17.0 build in LXC 2.x - nsjail/sandboxing error

2019-10-22 Thread Condor
Hello,

I've just tried building LineageOS 17.0 for fajita (OnePlus 6T). For 
efficiency reasons and to maintain isolation from the host I've opted to 
spin up an LXC container for this.
The host machine is running Debian 9 and LXC 2.x, while the container is a 
Debian 10 machine. Apparently this doesn't support nsjail, which caused 
"breakfast fajita" to fail.
A screenshot is available at 
https://www.nixmagic.com/pics/lineage-nsjail-error.png.
I've followed the build guide at 
https://wiki.lineageos.org/devices/fajita/build.
Below is the error log in text form.

Looking for dependencies in kernel/oneplus/sdm845
kernel/oneplus/sdm845 has no additional dependencies.
Looking for dependencies in packages/resources/devicesettings 
packages/resources/devicesettings has no additional dependencies.
Done
15:31:05 Build sandboxing disabled due to nsjail error. This may become 
fatal in the future.
15:31:05 Please let us know why nsjail doesn't work in your environment at:
15:31:05 https://groups.google.com/forum/#!forum/android-building
15:31:05 https://issuetracker.google.com/issues/new?component=381517
build/make/target/product/updatable_apex.mk:21: error: 
_nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]: 
"vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
15:31:11 dumpvars failed with: exit status 1
15:31:13 Build sandboxing disabled due to nsjail error. This may become 
fatal in the future.
15:31:13 Please let us know why nsjail doesn't work in your environment at:
15:31:13 https://groups.google.com/forum/#!forum/android-building
15:31:13 https://issuetracker.google.com/issues/new?component=381517
build/make/target/product/updatable_apex.mk:21: error: 
_nic.PRODUCTS.[[device/oneplus/fajita/lineage_fajita.mk]]: 
"vendor/oneplus/sdm845-common/sdm845-common-vendor.mk" does not exist.
15:32:42 dumpvars failed with: exit status 1

** Don't have a product spec for: 'lineage_fajita'
** Do you have the right repo manifest? 

I wish I could explain why nsjail isn't available in LXC but unfortunately 
I don't know either... I'll retry the build in a VM or on a physical host.

Best regards,
Michael De Roover (android-building at nixmagic dot com)

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/dde337f3-3adf-470d-bfc5-c4fddc9ac7da%40googlegroups.com.