You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 14, 2026. It is now read-only.
I'm trying to compile the cargo-only example on my PinePhone in postmarketOS, but I've run into several issues:
You have to run rustup-init after installing rustup via apk.
~/.profile needs to have $HOME/.cargo/bin added to it with colons as separators inside the quotes for the path that should probably already be there. Editing it in a text editor will be required as it's not exactly the way it should be and you can't just echo the path in. You then need to do source ~/.profile every time you restart unless you put it somewhere that's loaded automatically (which it should be, but it's not).
g++ will need to be installed if you don't have it, as I had to do so. Clang won't work for building the cxx crate.
qmake needs to be installed, and there's a qt6-qtbase-dev package in Alpine's repos that can be used. Bit large of an install, though.
So it didn't compile cxx-qt-lib for some reason and I can't see why on the Pinephone as QMLKonsole doesn't let me go that far back. Bummer. I'll have to install postmarketOS in a VM at some point to figure out what's going on, and I'll probably have to redirect output to a text file as a log.
(there may be more)
I'm trying to compile the cargo-only example on my PinePhone in postmarketOS, but I've run into several issues:
rustup-initafter installing rustup viaapk.~/.profileneeds to have$HOME/.cargo/binadded to it with colons as separators inside the quotes for the path that should probably already be there. Editing it in a text editor will be required as it's not exactly the way it should be and you can't justechothe path in. You then need to dosource ~/.profileevery time you restart unless you put it somewhere that's loaded automatically (which it should be, but it's not).g++will need to be installed if you don't have it, as I had to do so. Clang won't work for building thecxxcrate.qmakeneeds to be installed, and there's aqt6-qtbase-devpackage in Alpine's repos that can be used. Bit large of an install, though.So it didn't compile
cxx-qt-libfor some reason and I can't see why on the Pinephone as QMLKonsole doesn't let me go that far back. Bummer. I'll have to install postmarketOS in a VM at some point to figure out what's going on, and I'll probably have to redirect output to a text file as a log.(there may be more)