-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please update android-boost packages at AUR #175
Comments
No problem, I'll have a look at it this or tomorrow evening. (Of course you can also send a PR if you need it sooner.) |
I've just started the build of the new dependencies. I'm wondering what you're up to with packages like https://aur.archlinux.org/packages/android-aarch64-libx11 on Android. I guess it might make sense to use system freetype and harfbuzz in Qt now that you've added those packages. (But I haven't even used the current version of Qt 6 successfully so I guess I'll keep it simple for now.) |
Looks like some packages lack dependencies, see https://martchus.no-ip.biz/buildservice/#build-action-details-section?189 for my build logs. |
Well, X is just a protocol and there are servers for that protocol in Android: https://play.google.com/store/apps/details?id=au.com.darkside.xdemo&hl=es_AR&gl=US And someone will hack a way into that a for sure 😄
openmpi for example is marking a download error, but the file is accessible, its maybe a connection error on your side? |
Maybe, but some packages also miss android-env. |
Try it now, I have fixed the missing dependencies. |
Thanks. It looks better but some packages still lack android-env: https://martchus.no-ip.biz/buildservice/#build-action-details-section?184 |
Will check, right now I'm trying to build the boost packages. |
I have updated libgcrypt and pciutils. |
Good, I think this only leaves libxau, libxslt, libxcb, libx11, hwloc, openpmix, prrte and openmpi. |
If you build manually, for example android-aarch64-openmpi, does it works? or you still have the same download problem? |
With "this only leaves …" I was talking about the missing
The download works from the web browser so I guess I can just put the file on my server once I can proceed with the build to this point. |
Maybe are you using a firewall or a proxy? |
I was trying switching to the github sources, but I'm now facing these problems. |
I'm pretty sure I'm not. Considering that the download via Firefox works and via curl it doesn't work (on the same machine) it is probably a client problem. I suggest you just keep the URL from before (in accordance with https://gitlab.archlinux.org/archlinux/packaging/packages/openmpi/-/blob/main/PKGBUILD?ref_type=heads) and I just download that archive manually via the web browser. |
Ok, will add a android-configure and will let you know when ready. https://gist.github.com/hipersayanX/a20ecdcec5fd28b4315bd3dd3dd58490 It was failing when including |
Thanks, then I'll leave it to you for now.
I guess that's a good thing. The less hacks the better. I was also able to remove some hacks in the version you can find in this repository which is newer than the version in the AUR (https://github.com/Martchus/PKGBUILDs/blob/master/boost/android-aarch64/PKGBUILD). |
Note that the "workflow" in my PKGBUILDs repo for Android packages is currently to update the aarch64 version first and then invoke |
I have updated openmpi.
Yes, I actually took some of your code: cflags, ldflgas, architecture=, and address-model=; but I'm planning to remove target, toolchain, and sysroot, and will probably reduce the flags even more.
In my case, I have a template PKGBUILD which manages all architectures, then I just have to set _android_arch so that one unique variable can change the whole build behavior, and can use that template for watching version changes. |
Ok, I'll wait for libxau and others that are currently missing android-env to be ready. |
Ready, hopefully these are all the packages I have to fix but not sure. |
I was able to build everything now. I only noticed that https://aur.archlinux.org/packages/android-armv7a-eabi-openmpi is still at the old version. Strangely I haven't encountered any download issues anymore. |
There was no option, that was the latest version supporting 32 bits, and disabling 32 bits detection was a bit complicated, so I took the easy path. |
Ah, makes sense. I guess then it is actually best to stick with what's supported.
I've seen that and I it looks good as well. I guess everyone uses their own helpers for things like that. (For more complicated packages I also use a template system that allows to have bigger differences between files and that allows de-duplication between similar packages like Qt modules.) |
The package that I was able to enable 32 bits support was prrte, everything compiled fine, not sure if something will broke, not sure if I did right. |
Were you able to make progress on the Boost package? I would work on it this evening if not. If you made progress but it's not fully working yet you can also share a WIP commit/branch for me to pick up. |
These was the last changes I did, tried with
but no luck, I don't know where the |
Ok, I'll have a look at it this evening then. Switching to CMake makes maybe sense. |
I updated the boost packages. They are now a mix of your draft and my previous version. So luckily most hacks weren't required anymore and even the soname patch is no longer required. I didn't encounter any errors (caused by |
I would need boost package for compiling mariadb, also I have added icu, openmpi, and zstd in case you want to add them as dependencies for boost.
The text was updated successfully, but these errors were encountered: