Thanks, that worked :)
On Mon, Nov 18, 2019 at 2:16 PM 'Dan Willemsen' via Android Building < [email protected]> wrote: > I've created a change to empty out the BASH_ENV environment variable > during the build: > https://android-review.googlesource.com/c/platform/build/soong/+/1168864 > > - Dan > > On Mon, Nov 18, 2019 at 10:48 AM 'Colin Cross' via Android Building < > [email protected]> wrote: > >> I was able to reproduce this on Fedora 30, it's something to do with the >> environment BASH_ENV=/usr/share/Modules/init/bash, which is causing >> arbitrary bash code that can use any binary to be run on every >> non-interactive bash shell startup. >> >> On Mon, Nov 18, 2019 at 9:50 AM Michael Goffioul < >> [email protected]> wrote: >> >>> Yes, I've already looked into that, but there's not much of a trace, >>> e.g.: >>> >>> 2019/11/18 11:22:34.837088 build/soong/ui/build/sandbox_linux.go:86: >>> [prebuilts/build-tools/linux-x86/bin/nsjail -H android-build -e -u nobody >>> -g nobody -B / --disable_clone_newcgroup -- /bin/bash -c if [ $(hostname) >>> == "android-build" ]; then echo "Android" "Success"; else echo Failure; fi] >>> 2019/11/18 11:22:34.877084 build/soong/ui/build/path.go:105: Disallowed >>> PATH tool "manpath" used: []string{"manpath"} >>> 2019/11/18 11:22:34.877237 build/soong/ui/build/path.go:107: See >>> https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools >>> for more information. >>> >>> I've a feeling that it's coming from bash itself. I've looked into the >>> local and system profile/bashrc and anything I could think of, but I can't >>> really pinpoint where it's coming from. >>> >>> On Mon, Nov 18, 2019 at 12:40 PM 'Dan Willemsen' via Android Building < >>> [email protected]> wrote: >>> >>>> If you check out/soong.log, there should be trace logs that include the >>>> parent processes all the way up to ninja. >>>> >>>> It sounds like one of the existing tools that we allow through is >>>> always trying to call manpath? Let me know what you find, we've definitely >>>> been shrinking this list on master. >>>> >>>> - Dan >>>> >>>> On Thu, Nov 14, 2019 at 3:54 PM Michael Goffioul < >>>> [email protected]> wrote: >>>> >>>>> I'm using Fedora 30 to build AOSP. Since Android Q, when building, the >>>>> terminal output is littered with hundreds of messages like the following: >>>>> >>>>> 17:23:06 Disallowed PATH tool "manpath" used: []string{"manpath"} >>>>> 17:23:06 See >>>>> https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools >>>>> for more information. >>>>> >>>>> I've looked almost everywhere, but I can't find where "manpath" is >>>>> actually used. Has anybody encountered the same problem? >>>>> >>>>> Thanks, >>>>> Michael. >>>>> >>>>> -- >>>>> -- >>>>> You received this message because you are subscribed to the "Android >>>>> Building" mailing list. >>>>> To post to this group, send email to [email protected] >>>>> To unsubscribe from this group, send email to >>>>> [email protected] >>>>> 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 [email protected]. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/android-building/c9a8a0ea-2492-4e7f-9816-11b9b91f6696%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/android-building/c9a8a0ea-2492-4e7f-9816-11b9b91f6696%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- >>>> -- >>>> You received this message because you are subscribed to the "Android >>>> Building" mailing list. >>>> To post to this group, send email to [email protected] >>>> To unsubscribe from this group, send email to >>>> [email protected] >>>> 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 [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/android-building/CALQgHd%3DmqvANYjYSZyP_1%3DtbMgoddYSLEMTkn3NuUTJF_qML7A%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/android-building/CALQgHd%3DmqvANYjYSZyP_1%3DtbMgoddYSLEMTkn3NuUTJF_qML7A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> -- >>> You received this message because you are subscribed to the "Android >>> Building" mailing list. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/android-building/CAB-99LtJOhcEKr8m_nExyByvOzb_opZxJvk4xovia7d-oYkhdA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/android-building/CAB-99LtJOhcEKr8m_nExyByvOzb_opZxJvk4xovia7d-oYkhdA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> -- >> You received this message because you are subscribed to the "Android >> Building" mailing list. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected] >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/android-building/CAMbhsRSnZvoFg2xzTbo9%2BnrGE%3DDyVeUWinNnqxMoGupicTbjBw%40mail.gmail.com >> <https://groups.google.com/d/msgid/android-building/CAMbhsRSnZvoFg2xzTbo9%2BnrGE%3DDyVeUWinNnqxMoGupicTbjBw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/CALQgHdkFuGJNLW3Y9JLLtbDsxs-QzSm%2Bd3ETWfZQ561VMysZcw%40mail.gmail.com > <https://groups.google.com/d/msgid/android-building/CALQgHdkFuGJNLW3Y9JLLtbDsxs-QzSm%2Bd3ETWfZQ561VMysZcw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CAB-99LvpvkC5rAxMBxPurB6K50kHyaVwX1wSo4AbHCrsvuMYiw%40mail.gmail.com.
