ShacharHarshuv / open-ear

100 stars 19 forks source link

F-Droid build failed #116

Open linsui opened 2 years ago

linsui commented 2 years ago
> capacitor sync android
[error] Could not find the web assets directory: ./www.
        Please create it and make sure it has an index.html file. You can change the path of this directory in capacitor.config.json (webDir option). You may need to compile the web assets for your app (typically npm run build). More info: https://capacitorjs.com/docs/basics/workflow#sync-your-project
[ERROR] An error occurred while running subprocess capacitor.

        capacitor sync android exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.
error Command failed with exit code 1.

How to create the www dir? Could you please take a look? Thanks!

ShacharHarshuv commented 2 years ago

@proletarius101 can you help?

licaon-kter commented 2 years ago

still an issue: https://gitlab.com/fdroid/fdroiddata/-/jobs/2913435241#L7109

fyi: https://gitlab.com/fdroid/fdroiddata/-/commit/cb583d257495e423d9aeae51481c9bcf3e821433

ShacharHarshuv commented 2 years ago

Hey, unfortunately I did not set up the F-Droid build and I know little about it. @proletarius101 is the one who set it up and I'm not sure how to fix this error. If you want, you can try to have a go at this yourself, everything should be committed in this repository. If you need something from me don't hesitate to let me know.

JeanMax commented 1 week ago

Hello!

I looked a bit into this, it seems the old failing versions have been removed from the f-droid builds (as shown in @licaon-kter links). There's also a quite recent version in there (35798790 - "Update versions in android").

Everything builds ok, but... I feel like the last version isn't published for some reason (see https://f-droid.org/packages/com.openear.www). Maybe the AutoUpdateMode: None is causing this?

I'll investigate a bit more!


On a side note, it has been a long time since the last tag on that repository... is it a choice?

licaon-kter commented 1 week ago

https://monitor.f-droid.org/builds/log/com.openear.www/46#site-footer is the latest fail which conveys more like "server CPU does not support AVX512" maybe

On a side note, it has been a long time since the last tag on that repository... is it a choice?

which tag? which repository?

latest is 1.9 per https://github.com/ShacharHarshuv/open-ear/tree/357987901c3dc437372488e546be771cb8e56e50

JeanMax commented 1 week ago

Thanks, I'll check this!

I was talking about git tags on this repository (open-ears), the latest is v1.5.7.

ShacharHarshuv commented 1 week ago

it has been a long time since the last tag on that repository... is it a choice?

Probably not. I never automated created tags and it's possible I've been kind of lazy. Do you need me to create a new tag with the up to date version?

JeanMax commented 1 week ago

Not really, I was just curious if it was a way to indicate master isn't stable yet.

I'm really new to f-droid building process, so don't change anything yet for me :)

licaon-kter commented 1 week ago

Do you need me to create a new tag with the up to date version?

yes please, and for future ones :smile:

JeanMax commented 1 week ago

https://monitor.f-droid.org/builds/log/com.openear.www/46#site-footer is the latest fail which conveys more like "server CPU does not support AVX512" maybe

It seems to work well on gitlab CI (https://gitlab.com/JeanMax/fdroiddata/-/jobs/7976167846), so I'm guessing the host is different... is there a way for me to try and reproduce this?

licaon-kter commented 1 week ago

is there a way for me to try and reproduce this?

just build on your 2012 era CPU :smile:

or https://www.phoronix.com/news/Linux-5.19-Better-clearcpuid clear those about avx I guess, then try to build

ShacharHarshuv commented 1 week ago

Just created a tag for the latest one if it helps: https://github.com/ShacharHarshuv/open-ear/releases/tag/1.9.0