Package Details: android-aarch64-openpmix 5.0.3-1

Git Clone URL: https://aur.archlinux.org/android-aarch64-openpmix.git (read-only, click to copy)
Package Base: android-aarch64-openpmix
Description: Extended version of the PMI standard (Android aarch64)
Upstream URL: https://github.com/openpmix/openpmix
Licenses: BSD-3-Clause
Groups: android-openpmix
Submitter: hipersayan_x
Maintainer: hipersayan_x
Last Packager: hipersayan_x
Votes: 0
Popularity: 0.000000
First Submitted: 2024-03-03 18:15 (UTC)
Last Updated: 2024-07-29 17:30 (UTC)

Latest Comments

hipersayan_x commented on 2024-03-26 22:38 (UTC)

My logic to do that change is that if Google still provides support for such old platforms they should have their reason. Also, even when there are some undefined functions, it was not that much complicated to patch the code. And anyway as I said before, the developer can still choose the API manually, so this is not a big deal.

Martchus commented on 2024-03-26 11:54 (UTC) (edited on 2024-03-26 11:54 (UTC) by Martchus)

But yes, for the sake of being as compatible as possible it probably makes sense to use the lowest possible API by default. My point is just that I wouldn't expect too much from that either.

Martchus commented on 2024-03-26 11:47 (UTC)

Thanks for the info. I suppose I'll stick with ANDROID_MINIMUM_PLATFORM=24 then. I will probably also add ANDROID_MINIMUM_PLATFORM=24 in /etc/makepkg.conf so the setting is available during package builds regardless of the shell.

Note that API 21 means Android 5.0 and putting effort into supporting it is probably not worthwhile. At least when testing that years ago I noticed that at this version Android did not isolate its own libraries from libraries bundled by apps (so e.g. OpenSSL didn't work unless one "accidentally" used the same version Android itself used under the hood). I think they only fixed that with Android 6 (API 23). The same probably counts for other libraries as well.

hipersayan_x commented on 2024-03-26 11:39 (UTC)

Hi, that error is caused because I have changed ANDROID_MINIMUM_PLATFORM to point to the lowest API supported (currently 21) instead of pointing to API 24 as default. In your case libevent was build for API 24 and now you are trying to build openpmix for API 21, that's why it can't find the library. You can either, recompile the whole package tree or set ANDROID_MINIMUM_PLATFORM to 24 in bashrc or zshrc.

Martchus commented on 2024-03-25 23:25 (UTC)

Looks like it fails to find android-aarch64-libevent (despite being installed as dependency):

== Event libraries
============================================================================
configure: Searching for libevent in default search paths
checking for libevent cppflags... 
checking for libevent ldflags... 
checking for libevent libs... -levent_core -levent_pthreads
checking for libevent static libs... -levent_core -levent_pthreads
checking for event.h... yes
checking for event_config_new... no
checking for event_getcode4name in -levent... no
checking will libevent support be built... no
checking for libev pkg-config name... libev
checking if libev pkg-config module exists... no
configure: Searching for libev in default search paths
checking for libev cppflags... 
checking for libev ldflags... 
checking for libev libs... -lev
checking for libev static libs... -lev
checking for event.h... (cached) yes
checking for ev_async_send... no
checking will libev support be built... no
configure: WARNING: Either libevent or libev support is required, but neither
configure: WARNING: was found. Please use the configure options to point us
configure: WARNING: to where we can find one or the other library
configure: error: Cannot continue
==> ERROR: A failure occurred in build().