As announced, we've deleted our 32-bit packages on edge to rebuild them against Alpine.
Currently we have ~50 failed armv7 packages in the queue, which mostly failed due to missing depends from Alpine. Today Alpine is building all packages on build-edge-armv7, with the builder configured to continue with the next package even if a build fails (usually it would wait forever at the failing package). When it went over all aports in community once, it should upload all successfully built community packages to the mirror (probably until tomorrow?) - and then these failing packages from our end should mostly build. We need to reset their status once to let them start building again though.
However, the armhf packages were not added to the queue for some reason. I'll analyze why this is the case. Once we add them to the queue, they should get pretty far with building - since Alpine just did the same thing with build-edge-armhf, but it finished already and therefore has uploaded all the passing community packages.
Overview
armv7
armhf
x86
✓
3 of 3 checklist items completed
· Edited by
Administrator
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items 0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items 0
Link issues together to show that they're related.
Learn more.
With these resolved / worked around, the armv7 pmOS repository should build again without errors, and once that is done, it will be published and available again.
For armhf, I'm still investigating why the packages are not properly queued. Building everything for armv7 will take some time anyway though.
EDIT: there's also x86, which almost nobody is using (we only have one booting device with x86). The situation is similar to armhf, the packages are not queued yet. I'll probably resolve both at the same time.
armv7 should be up in a few hours again. The only failing package is mesa-git, which should be fixed with https://gitlab.com/postmarketOS/pmaports/-/commit/983bc8318bf2fb696d8e0845764b55f5adba9a78. Besides that, three few device packages depending on mesa-git are in the queue, I expect them to build quickly and without problems. Afterwards, the repo will be published and work again as usually.
The circular dependency problem in Alpine's KDE packaging has been fixed; once the armv7 repository is published, we'll revert https://gitlab.com/postmarketOS/pmaports/-/commit/35015139f36f091229f715ef821964b3911e0b6c to enable plasma related packages on armv7 again. (So initially after the repository publish, these plasma packages - especially plasma mobile UI - will be missing, but it will be up soon again as well.)
After that, armhf and x86 repository will be rebuilt and then we are back to normal. Most phones are actually armv7 or aarch64, so having armv7 up again should resolve the problem for most users already.
ERROR: sdl2_ttf-2.0.15-r0: BAD signatureERROR: libndp-1.7-r0: BAD signatureERROR: libgudev-233-r1: BAD signatureERROR: libcanberra-gtk3-0.30-r5: BAD signatureERROR: libwpe-1.6.0-r1: BAD signatureERROR: libwpebackend-fdo-1.6.1-r0: BAD signatureERROR: hyphen-2.8.8-r1: BAD signatureERROR: glib-networking-2.64.3-r0: BAD signatureERROR: libwoff2enc-1.0.2-r1: BAD signatureERROR: gsound-1.0.2-r1: BAD signatureERROR: sbc-1.4-r0: BAD signatureERROR: clutter-gtk-1.8.4-r1: BAD signatureERROR: alsa-plugins-pulse-1.2.2-r1: BAD signatureERROR: upower-0.99.11-r0: BAD signatureERROR: libindicator-12.10.1-r0: BAD signatureERROR: gnome-bluetooth-3.34.1-r0: BAD signatureERROR: sane-udev-1.0.29-r0: BAD signatureERROR: libpulse-mainloop-glib-13.0-r10: BAD signatureERROR: startup-notification-0.12-r4: BAD signature
Thanks for reporting. I can reproduce the "BAD signature errors". This is caused by mirrors from Alpine still having the old packages - they have the same filename, but different checksums.
As workaround, run with a specific alpine mirror, which has the new packages for sure. Run "update" to make sure the APKINDEX (index of packages from the repository) is downloaded, then use the mirror with "install":
EDIT: with these two commands, pmbootstrap install goes through for asus-grouper with UI: phosh (no idea if/how well phosh actually works with grouper, I just had it selected already).
EDIT 2: to explain it a bit better: by default, pmbootstrap uses the dl-cdn mirror, which (randomly?) selects one of the available mirrors - and therefore may give you one that still has the old packages. Usually this is handled much better, but with this breaking change, not all mirrors seem to have cought up properly. I'll bring this up with Alpine too to make sure they are aware.
EDIT 3: so dl-cdn is a geographical cache for some other mirror, not selecting one of the other mirrors at random. ikke from Alpine will purge the cache, that should help with the BAD signature errors. We will need further iterations of purging the cache when an old package that was not building in Alpine is now built against the new musl version and has a different hash. If somebody runs into the BAD signature errors again, just use the workaround above for now.
One can also delete the old apk files to free up disk space (should not be necessary to make it work AFAIK, only to save up disk space):
Thanks. This seems to be working. However, initially it gave me an error stating that 'cryptsetup' could not be found, but a pmbootstrap zap resolved that.
Thanks for this, I zapped my chroots and deleted the pmbootstrap folder, then re-initted and used pmbootstrap --mirror-alpine "http://dl-2.alpinelinux.org/alpine/" install --android-recovery-zip. This seems to have successfully built pmos-htc-m7.zip, but I'm having issues when installing it from TWRP. I'm not sure if it's at all related to this, but:
cp: can't stat '/emmc@*': No such file or directory
findfs: unable to resolve 'PARTLABEL=system'
findfs: unable to resolve 'PARTLABEL=boot'
findfs: unable to resolve 'PARTLABEL=system'
I also tried pmbootstrap flasher --method=adb sideload as recommended in the wiki for the m7 but I get ERROR: Could not find dependency 'android-tools' in any aports folder or APKINDEX.
Thanks for the follow-ups, @Newbyte and @stephen304!
I'm not sure if it's at all related to this, but:
A separate issue in https://gitlab.com/postmarketOS/postmarketos-android-recovery-installer/ would be the place to put this. The fastest way to figure this out, is probably looking at the source, figuring out where that cp statement is that doesn't work, and fixing it up to use the right argument. Good luck!
Ok. it's finally building and flashing fine on grouper (both kernel and rootfs).
BTW there is still no automatic adb push when trying to flash rootfs using pmbootstrap.
OTOH now I'm on the system and everything seems fine, I still have some bad signatures when trying an update:
ERROR: libvpx-1.8.2-r0: BAD signatureERROR: x264-libs-20191119-r1: BAD signatureERROR: sbc-1.4-r0: BAD signatureERROR: gsettings-desktop-schemas-3.36.1-r0: BAD signatureERROR: libproxy-0.4.15-r6: BAD signatureERROR: glib-networking-2.64.3-r0: BAD signatureERROR: libsoup-2.70.0-r0: BAD signature7 errors; 598 MiB in 372 packages
May I try with a different repo or it's still not ok ?
I'm on it. For some reason, the armhf packages are not queued yet on build.postmarketos.org. I think I found the cause in the code, doing further testing and preparing a fix. I'll update this issue when there's something new.
The bug is fixed (903cdd6d) and armhf packages as well as x86 packages get added to the queue now. You can see the progress at https://build.postmarketos.org. It will take time until they are all built.
I'm unable to install neither Phosh nor Plasma Mobile on armv7. Not sure what the Phosh issue is exactly, but Plasma Mobile gives me ERROR: Package 'kaccounts-providers': Could not find aport, and could not find this package in any APKINDEX! Tried 2 different mirrors and default.
I've released a new pmbootstrap version 1.22.1 that uses a different mirror by default. This avoids the "BAD signature" errors for the most part. (If it still happens after switching the mirror, then it is this issue - but only very few packages seem to be affected.)
Plasma mobile is temporarily disabled on armv7, because of missing binary packages (plasma-pa, plasma-workspace) in Alpine edge. This will likely be resolved soon. Some UI and other packages have been disabled in x86 as well for similar reasons, but that doesn't seem to be used much. Find details in the commit log.
All postmarketOS repositories are back online now!
Closing this issue. Thanks to everybody for their patience and understanding!