volumio / Build

Buildscripts for Volumio System
GNU General Public License v2.0
113 stars 103 forks source link

Cannot build on Arch #523

Closed Gandalf1783 closed 1 year ago

Gandalf1783 commented 1 year ago

I cannot build Volumio using Arch.

Due to the use of apt-key, the installation fails in line 191 of build.sh:

[ .... ] Running Volumio Image Builder -  
[ .. ] Checking whether we are running as root 
[ .. ] Creating log directory 
[ .. ] Setting default Volumio variant 
[ .... ] Creating arm rootfs  
[ .... ] Patching multistrap config to point to Raspbian sources  
[ .. ] Raspbian multistrap config created at arm-raspbian.conf 
[ .... ] Setting up Multistrap environment  
[ .. ] Preparing rootfs apt-config 
[ .. ] Adding SecureApt keys to rootfs 
./build.sh: Zeile 191: apt-key: Kommando nicht gefunden.
gkkpch commented 1 year ago

Thorben,you can only build Volumio on Debian Buster (or newer)  or Ubuntu 20.04 (or newer)On 5 Aug 2023, at 12:38, Thorben @.***> wrote: I cannot build Volumio using Arch. Due to the use of apt-key, the installation fails in line 191 of build.sh: [ .... ] Running Volumio Image Builder -
[ .. ] Checking whether we are running as root [ .. ] Creating log directory [ .. ] Setting default Volumio variant [ .... ] Creating arm rootfs
[ .... ] Patching multistrap config to point to Raspbian sources
[ .. ] Raspbian multistrap config created at arm-raspbian.conf [ .... ] Setting up Multistrap environment
[ .. ] Preparing rootfs apt-config [ .. ] Adding SecureApt keys to rootfs ./build.sh: Zeile 191: apt-key: Kommando nicht gefunden.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

gkkpch commented 1 year ago

You are also opening an issue on repository "volumio/Build", which is unused and unsupported since end of 2021. In case you are serious about building your own (without myVolumio as you cannot do that yourself), then refer to "volumio/volumio3-os" instead. As said, on Debian 10 or current Ubuntu only. Please read the README.md, it clearly mentions Debian Buster, Ubuntu is a later bonus. So don't open issues when there aren't any.

Gandalf1783 commented 1 year ago

The old repo was more ore less intended. Still on 2.917, which still has the autostart plugin while the support for V3 hasnt been worked on for a long time.

To support building only on certain distros is your decision, but it sucks since the tools are (generally) available on all distros. Especially hard-coding a package manager isnt a nice thing for compatibility. But okay, setting up a docker with Debian shouldn't be an issue.

So don't open issues when there aren't any.

Well, the issue is there. If it wasnt, I wouldn't open it. I don't know shell scripts extensively enough to rewrite it, otherwise I would've. Would be nice to "just" rely on the requirements, or just rather to skip the installation if it isn't Debian or Ubuntu.

Thanks for you time to reply :)

gkkpch commented 1 year ago

Install a VM with debian or ubuntu and you're fine. Volumio does not claim anywhere that the build runs on any distro, so why complain about it. The fact that you have a problem with it, is not a Volumio build issue to report, but yours to solve.

Gandalf1783 commented 1 year ago

Never said it was your problem, to be fair, I have overread the Debian/Ubuntu part.

Nontheless, it just sucks to have a script which isnt cross-compatible. I dont say that you are in the wrong, it just sucks.