Rudd-O / git-remote-qubes

Push / pull from / to Git repos across Qubes OS VMs
12 stars 4 forks source link

Unable to `make rpm` #5

Closed brunocek closed 6 months ago

brunocek commented 6 months ago

Qubes 4.1.2 On fedora-37, I am unable to install rpmbuild, or find it in the repos.

On debian-11:

...
git-remote-qubes-0.1.0/src/gitremotequbes/client.py
git-remote-qubes-0.1.0/src/gitremotequbes/__init__.py
T=`mktemp -d` && rpmbuild --define "_topdir $T" -ta git-remote-qubes-`awk '/^Version:/ {print $2}' git-remote-qubes.spec`.tar.gz || { rm -rf "$T"; exit 1; } && mv "$T"/RPMS/*/* "$T"/SRPMS/* . || { rm -rf "$T"; exit 1; } && rm -rf "$T"
error: Failed build dependencies:
    git is needed by git-remote-qubes-0.1.0-1.noarch
    make is needed by git-remote-qubes-0.1.0-1.noarch
    python3 is needed by git-remote-qubes-0.1.0-1.noarch
    sed is needed by git-remote-qubes-0.1.0-1.noarch
make: *** [Makefile:30: rpm] Error 1
Rudd-O commented 6 months ago

It's telling you that you need these dependencies in order to build. You have to install them first. Right now make rpm will not work in Debian. What you want to install in Fedora in order to do rpmbuild is the rpm-build package.

Rudd-O commented 6 months ago
[user@projects homeassistant-core]$ rpm -q rpm-build
rpm-build-4.18.2-1.fc38.x86_64

That's what you want to install. It is in Fedora 37 too.