-
Notifications
You must be signed in to change notification settings - Fork 365
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04 fails to build Hello #2207
Comments
What happens if you try the profile |
With that profile, it seems to be able to go through the complete build steps but I get an error once I try to "boot hello" Setup Ubuntu Recipe Steps for Hello . Looking for chainloader: [ WARNING ] Running with sudo [ PROGRAM_FAILURE ] process exited Everything seems to work through all of the steps this time, but fails to run the "Hello" program Did I miss something here? |
I am using also Ubuntu 20.04 And please check if you can run qemu-system-x86_64 I think the packages for the profile are missing that's why you need --build=missing |
You might be hitting a bug in our boot program where it just exits if the bridge isn't created. Try |
Hi @faerbersteve, I tried the --build=missing as you suggested, but it could be, for at least that one that I have g++ 9 installed and not gcc-7 CMake Error at /usr/share/cmake-3.16/Modules/CMakeDetermineCXXCompiler.cmake:48 (message): /usr/bin/g++-7. Call Stack (most recent call first): CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage Hi, @fwsGonzo -- The "boot --create-bridge hello" also crashed Maybe a a fresh install will do the trick. |
Hi All, I was able to resolve it, I think. Had to go through and re-install Qemu. I removed Qemu and did an overkill for the re-install like this: sudo apt install qemu qemu-utils qemu-kvm virt-manager libvirt-daemon-system libvirt-clients bridge-utils and tried it again. SeaBIOS (version 1.13.0-1ubuntu1) iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+07F8C8A0+07ECC8A0 CA00 Booting from ROM..* Multiboot begin: 0x9500
OS loaded with 1 modules
|
Hi,
Not sure where best to post this, but the Hello example fails to build on my Ubintu 20.04 (64-bit AMD) system after installing the dependencies and following the steps.
lonnie@lonnie-p7-1451:~/IncludeOS/test/build$ conan install ../hello_world -pr gcc-7.3.0-linux-x86_64-toolchain
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=7
cppstd=17
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
CC=/usr/bin/gcc-7
CFLAGS=-msse3 -mfpmath=sse -O2 -g
CXX=/usr/bin/g++-7
CXXFLAGS=-msse3 -mfpmath=sse -O2 -g
WARN: botan/2.8.0@includeos/stable: requirement libcxx/[>=5.0]@includeos/stable overridden by includeos/0.15.1-5@includeos/latest to libcxx/7.0.1@includeos/stable
WARN: openssl/1.1.1@includeos/stable: requirement libcxx/[>=5.0]@includeos/stable overridden by s2n/0.8@includeos/stable to libcxx/7.0.1@includeos/stable
Version ranges solved
Version range '>=0.14.0,include_prerelease=True' required by 'conanfile.txt' resolved to 'includeos/0.15.1-5@includeos/latest' in local cache
Version range '>=1.0.0' required by 'python_require' resolved to 'conan-tools/1.0.0@includeos/stable' in local cache
Version range '>=5.0' required by 'includeos/0.15.1-5@includeos/latest' resolved to 'libcxx/7.0.1@includeos/stable' in local cache
Version range '>=1.1.18' required by 'libcxx/7.0.1@includeos/stable' resolved to 'musl/1.1.18@includeos/stable' in local cache
Version range '>=5.0' required by 'botan/2.8.0@includeos/stable' valid for downstream requirement 'libcxx/7.0.1@includeos/stable'
Version range '>=1.1.18' required by 'botan/2.8.0@includeos/stable' resolved to 'musl/1.1.18@includeos/stable' in local cache
Version range '>=5.0' required by 'openssl/1.1.1@includeos/stable' valid for downstream requirement 'libcxx/7.0.1@includeos/stable'
Version range '>=0.14.0,include_prerelease=True' required by 'conanfile.txt' resolved to 'chainloader/0.15.1-5@includeos/latest' in local cache
Version range '>=0.16.0' required by 'conanfile.txt' resolved to 'vmrunner/0.16.0@includeos/stable' in local cache
Version range '>=0.15.0' required by 'conanfile.txt' resolved to 'vmbuild/0.15.0@includeos/stable' in local cache
Version range '>=1.0.0' required by 'python_require' resolved to 'conan-tools/1.0.0@includeos/stable' in local cache
Version range '>=1.0.0' required by 'python_require' resolved to 'conan-tools/1.0.0@includeos/stable' in local cache
Version range '>=1.0.0' required by 'python_require' resolved to 'conan-tools/1.0.0@includeos/stable' in local cache
conanfile.txt: Installing package
Requirements
GSL/2.0.0@includeos/stable from 'includeos' - Cache
botan/2.8.0@includeos/stable from 'includeos' - Cache
http-parser/2.8.1@includeos/stable from 'includeos' - Cache
includeos/0.15.1-5@includeos/latest from 'includeos' - Cache
libcxx/7.0.1@includeos/stable from 'includeos' - Cache
libcxxabi/7.0.1@includeos/stable from 'includeos' - Cache
libgcc/1.0@includeos/stable from 'includeos' - Cache
libunwind/7.0.1@includeos/stable from 'includeos' - Cache
musl/1.1.18@includeos/stable from 'includeos' - Cache
openssl/1.1.1@includeos/stable from 'includeos' - Cache
rapidjson/1.1.0@includeos/stable from 'includeos' - Cache
s2n/0.8@includeos/stable from 'includeos' - Cache
uzlib/v2.1.1@includeos/stable from 'includeos' - Cache
Python requires
conan-tools/1.0.0@includeos/stable
Packages
GSL/2.0.0@includeos/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
botan/2.8.0@includeos/stable:da59a9abb477f02674b83d6c28ffb976d2329c3c - Missing
http-parser/2.8.1@includeos/stable:6ae331b72e7e265ca2a3d1d8246faf73aa030238 - Download
includeos/0.15.1-5@includeos/latest:8ccaba897f311aea6e6153412a42c103f3a61d52 - Missing
libcxx/7.0.1@includeos/stable:2fd99d114414bf3d24c4f729e8c45d0f4391837f - Missing
libcxxabi/7.0.1@includeos/stable:9bfdcfa2bb925892ecf42e2a018a3f3529826676 - Missing
libgcc/1.0@includeos/stable:9bfdcfa2bb925892ecf42e2a018a3f3529826676 - Download
libunwind/7.0.1@includeos/stable:6ae331b72e7e265ca2a3d1d8246faf73aa030238 - Download
musl/1.1.18@includeos/stable:814c55266c97e8ac35915be388bafaa950f8088a - Missing
openssl/1.1.1@includeos/stable:d1f2fd118ae70b4bfc4a5a09408aee2101e3fa04 - Missing
rapidjson/1.1.0@includeos/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
s2n/0.8@includeos/stable:a3392d1c57072d6a3aef8ee94f0f529a52fd5db3 - Missing
uzlib/v2.1.1@includeos/stable:6ae331b72e7e265ca2a3d1d8246faf73aa030238 - Download
Build requirements
chainloader/0.15.1-5@includeos/latest from 'includeos' - Cache
vmbuild/0.15.0@includeos/stable from 'includeos' - Cache
vmrunner/0.16.0@includeos/stable from 'includeos' - Cache
Build requirements packages
chainloader/0.15.1-5@includeos/latest:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
vmbuild/0.15.0@includeos/stable:44fcf6b9a7fb86b2586303e3db40189d3b511830 - Download
vmrunner/0.16.0@includeos/stable:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download
Installing (downloading, building) binaries...
ERROR: Missing binary: botan/2.8.0@includeos/stable:da59a9abb477f02674b83d6c28ffb976d2329c3c
ERROR: Missing binary: includeos/0.15.1-5@includeos/latest:8ccaba897f311aea6e6153412a42c103f3a61d52
ERROR: Missing binary: libcxx/7.0.1@includeos/stable:2fd99d114414bf3d24c4f729e8c45d0f4391837f
ERROR: Missing binary: libcxxabi/7.0.1@includeos/stable:9bfdcfa2bb925892ecf42e2a018a3f3529826676
ERROR: Missing binary: musl/1.1.18@includeos/stable:814c55266c97e8ac35915be388bafaa950f8088a
ERROR: Missing binary: openssl/1.1.1@includeos/stable:d1f2fd118ae70b4bfc4a5a09408aee2101e3fa04
ERROR: Missing binary: s2n/0.8@includeos/stable:a3392d1c57072d6a3aef8ee94f0f529a52fd5db3
libcxxabi/7.0.1@includeos/stable: WARN: Can't find a 'libcxxabi/7.0.1@includeos/stable' package for the specified settings, options and dependencies:
ERROR: Missing prebuilt package for 'botan/2.8.0@includeos/stable', 'includeos/0.15.1-5@includeos/latest', 'libcxx/7.0.1@includeos/stable', 'libcxxabi/7.0.1@includeos/stable', 'musl/1.1.18@includeos/stable', 'openssl/1.1.1@includeos/stable', 's2n/0.8@includeos/stable'
Try to build from sources with "--build=missing"
Or read "http://docs.conan.io/en/latest/faq/troubleshooting.html#error-missing-prebuilt-package"
Any ideas on how I can fix this?
Also, I am new to the conan build system as well.
Thanks
The text was updated successfully, but these errors were encountered: