Created attachment 656574 [details, diff] perl-5.30.3-gentoo-prefix.patch on android Gentoo-prefix, perl configure identifies build system as android and fails with following build error https://gist.github.com/Necktwi/896df26281da60f05fa89201082af626 is the failing build.log. I've made a patch to identify build environment as non android. find the patch as attachment to this bug report.
Which of these apply, if any? [linux-android] ./hints/linux-android.sh: line 277: getprop: command not found * Unable to trace static ELF: /usr/bin/ldd: ldd --version ./hints/linux.sh: line 247: 28631 Segmentation fault ${sh:-/bin/sh} -c exit ^ this doesn't look good either.
And is musl normal for android? Could be partly musl's fault
(In reply to Kent Fredric (IRC: kent\n) from comment #2) > And is musl normal for android? Could be partly musl's fault kent\n, I've provided the patch. please check the attachment in the very first post.
(In reply to Necktwi Ozfguah from comment #3) > (In reply to Kent Fredric (IRC: kent\n) from comment #2) > > And is musl normal for android? Could be partly musl's fault > > kent\n, I've provided the patch. please check the attachment in the very > first post. I need to understand the problem, and the conditions required to create the problem, not just applying patches based on "somebody submitted it". Hence why I ask if musl is a standard part of the android-linux deployment, or if its an exotic configuration. eg: Does this patch make sense to apply in *all* situations for android-linux, or is it only applicable on musl. Additionally, patching configure invalidates a whole bunch of checksums, which will likely cause perl's test suite to fail.
yes, the patch make sense in all situations. I've conditioned that its an android environment only if the build is made from inside the /system tree.
(In reply to Necktwi Ozfguah from comment #0) > https://gist.github.com/Necktwi/896df26281da60f05fa89201082af626 > is the failing build.log. Please attach those build logs here.
Created attachment 658232 [details] perl-5.30.3/temp/build.log
Hmmm, so this just looks like fixing a misdetection of plain Android, because Perl devs never had any sort of thing like Prefix on top of Android. It doesn't look too bad or wrong to me... What additional information should we provide to make this situation more understandable?
*** Bug 818952 has been marked as a duplicate of this bug. ***