Summary: | dev-lang/perl-5.34.0-r3: fails to install on Android Prefix (error: Cannot build with both -Duserelocatableinc and -Duseshrplib) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Vasile M. <vasile.m3> |
Component: | Current packages | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | prefix, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
Do not set osname to linux-android |
Description
Vasile M.
2021-10-20 01:38:58 UTC
Created attachment 745824 [details]
build.log
Created attachment 745842 [details, diff]
Do not set osname to linux-android
Please try the attached patch.
(In reply to Tee KOBAYASHI from comment #2) > Created attachment 745842 [details, diff] [details, diff] > Do not set osname to linux-android > > Please try the attached patch. Putting the patch to /etc/portage/patches/dev-lang/perl-5.34.0/osname.patch it works. Now the osname is linux. But I want to talk about this line: $test -f /system/lib/libandroid.so && osname=linux-android In a chroot environment on Android, the path /system is always bind mounted. In my case I'm using the pass utility and I need the /system/bin/cmd (and other binaries) to access the Android clipboard. Having /system mounted doesn't mean it's Android, prefix. (In reply to Vasile M. from comment #3) > But I want to talk about this line: > $test -f /system/lib/libandroid.so && osname=linux-android You may want to report it upstream: https://github.com/Perl/perl5/issues *** This bug has been marked as a duplicate of bug 738906 *** |