hello world does not build due to missing binutils
theScrabi opened this issue · 2 comments
Hello, I'm absolute beginner, and just wanted to play around with this, so I tried the hello world example. However in step three I have the problem that apparently conan can not find the package for binutils.
$ conan install ../hello_world -pr testprof --build musl
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=9
os=Linux
os_build=Linux
[options]
[build_requires]
[env]
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
musl/1.1.18@includeos/stable: Forced build from source
binutils/2.31@includeos/stable: Not found in local cache, looking in remotes...
binutils/2.31@includeos/stable: Trying with 'includeos'...
ERROR: Failed requirement 'binutils/2.31@includeos/stable' from 'musl/1.1.18@includeos/stable'
ERROR: Unable to find 'binutils/2.31@includeos/stable' in remotes
My OS:
$ uname -a
Linux schabis-xps 5.3.11-300.fc31.x86_64 #1 SMP Tue Nov 12 19:08:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/*-release
Fedora release 31 (Thirty One)
NAME=Fedora
VERSION="31 (Workstation Edition)"
ID=fedora
VERSION_ID=31
VERSION_CODENAME=""
PLATFORM_ID="platform:f31"
PRETTY_NAME="Fedora 31 (Workstation Edition)"
ANSI_COLOR="0;34"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:31"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f31/system-administrators-guide/"
SUPPORT_URL="https://fedoraproject.org/wiki/Communicating_and_getting_help"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=31
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=31
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation
Fedora release 31 (Thirty One)
Fedora release 31 (Thirty One)
To build the hello world example without having to rebuild the dependencies you should be able to use the provided clang-6.0-linux-x86_64
profile, see https://github.com/includeos/IncludeOS#-dependencies for how to install it if you haven't already. conan profile list
will show you a list of alternative profiles available.
If you want to use a custom profile take a look at the additional options in the existing profiles (conan profile show ...
). You probably need to add CXX
, CC
, as well as *: binutils/...
to the [build_requires]
-section, which seems to be missing from your testprof
profile.
all right, that has worked :) thaks