Sailfish OS SDK "offline" installer & VirtualBox 6
Shortly, they crash together. Apparently installer uses VirtualBox to roll out all the packages, and while doing that I'm getting this error every time I try, after which installer undoes all changes and shuts down:
[268397] perform org.merproject.mersdk operation: Execute
[268397] - arguments: /bin/vboxmanage, modifyvm, Sailfish OS Build Engine, --ostype, Linux26, --memory, 512, --vram, 10, --ioapic, on, --pae, on, --nic1, nat, --cableconnected1, on, --nictype1, virtio, --natpf1, guestssh,tcp,127.0.0.1,2222,,22, --natpf1, guestwww,tcp,127.0.0.1,8080,,9292, --nic2, intnet, --cableconnected2, on, --intnet2, , --nictype2, virtio, --macaddress2, 08005A11F155
[268399] /bin/vboxmanage" started, arguments: "modifyvm Sailfish OS Build Engine --ostype Linux26 --memory 512 --vram 10 --ioapic on --pae on --nic1 nat --cableconnected1 on --nictype1 virtio --natpf1 guestssh,tcp,127.0.0.1,2222,,22 --natpf1 guestwww,tcp,127.0.0.1,8080,,9292 --nic2 intnet --cableconnected2 on --intnet2 --nictype2 virtio --macaddress2 08005A11F155
[268535] Warning: VBoxManage: error: Empty or null internal network name is not valid
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component NetworkAdapterWrap, interface INetworkAdapter, callee nsISupports
VBoxManage: error: Context: "COMSETTER(InternalNetwork)(Bstr(ValueUnion.psz).raw())" at line 1691 of file VBoxManageModifyVM.cpp
[268535] Done
[268536] Operation \"Execute\" with arguments \"/bin/vboxmanage; modifyvm; Sailfish OS Build Engine; --ostype; Linux26; --memory; 512; --vram; 10; --ioapic; on; --pae; on; --nic1; nat; --cableconnected1; on; --nictype1; virtio; --natpf1; guestssh,tcp,127.0.0.1,2222,,22; --natpf1; guestwww,tcp,127.0.0.1,8080,,9292; --nic2; intnet; --cableconnected2; on; --intnet2; ; --nictype2; virtio; --macaddress2; 08005A11F155\" failed: Не удалось исполнить (неожиданный код завершения: 1): «/bin/vboxmanage modifyvm Sailfish OS Build Engine --ostype Linux26 --memory 512 --vram 10 --ioapic on --pae on --nic1 nat --cableconnected1 on --nictype1 virtio --natpf1 guestssh,tcp,127.0.0.1,2222,,22 --natpf1 guestwww,tcp,127.0.0.1,8080,,9292 --nic2 intnet --cableconnected2 on --intnet2 --nictype2 virtio --macaddress2 08005A11F155»
[268536] Created warning message box "installationErrorWithRetry": "Ошибка программы установки", "Ошибка во время процесса установки (org.merproject.mersdk): Не удалось исполнить (неожиданный код завершения: 1): «/bin/vboxmanage modifyvm Sailfish OS Build Engine --ostype Linux26 --memory 512 --vram 10 --ioapic on --pae on --nic1 nat --cableconnected1 on --nictype1 virtio --natpf1 guestssh,tcp,127.0.0.1,2222,,22 --natpf1 guestwww,tcp,127.0.0.1,8080,,9292 --nic2 intnet --cableconnected2 on --intnet2 --nictype2 virtio --macaddress2 08005A11F155»"
full log available here: https://pastebin.com/99Ju1YRr
- Sailfish OS SDK: both 1.23 and 1.24
- VirtualBox: 6.0.4
- OS: Arch Linux
- Kernel: x86_64 Linux
- 4.20.6-arch1-1-ARCH
Considering SDK requires VirtualBox version at least 4.1.18, chances are there were incompatible changes to CLI since then. On the other hand, there is clearly
ratijas ( 2019-02-02 03:31:13 +0200 )edit--intnet2
option with an empty argument following it (it is there but empty).So far, clearly the problem is the presence of the second "incomplete" internet adapter. I wonder, where comes from anyway. Are there installer sources lying around, so I can take a look?
ratijas ( 2019-02-02 14:37:49 +0200 )editSo, yeah. I ended up writing a wrapper for vboxmanager which removes empty
ratijas ( 2019-02-02 17:06:12 +0200 )edit--intnet2
option from arguments. It's ugly but it works.I was not able to reproduce this with Ubuntu 18.04 + VirtualBox 6.0.4
vige ( 2019-02-04 09:10:03 +0200 )edit@vige, good for u.
ratijas ( 2019-02-18 12:29:46 +0200 )edit