Skip to content
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

Build error with some boost libraries #199

Closed
jmcmon opened this issue Sep 20, 2023 · 7 comments
Closed

Build error with some boost libraries #199

jmcmon opened this issue Sep 20, 2023 · 7 comments
Labels
issue Potential issue to be investigated

Comments

@jmcmon
Copy link
Collaborator

jmcmon commented Sep 20, 2023

Hi Antony,

I've been able to get a substantial amount of the build completed, but it fails towards the end of the boost build.
I can see that's item 21 of 29, so that looks like good progress so far.

When I reran the conan install command, the output was naturally more succinct and is shown below.

Thanks,
John

(.venv) Johns-MacBook-Pro-2:Morpheus john$ conan install ./ -pr:h .conan/profiles/gcc/12/x64-libstdc++11-debug -pr:b .conan/profiles/gcc/12/x64-libstdc++11-debug --build missing

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Macos

Profile build:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++11
compiler.version=12
os=Macos


======== Computing dependency graph ========
Graph root
    conanfile.py (morpheus/0.0.1): /Users/john/CLionProjects/Morpheus/conanfile.py
Requirements
    boost/1.82.0#55e821ec1f19367b6f0db13ea73948d3 - Cache
    bzip2/1.0.8#411fc05e80d47a89045edc1ee6f23c1d - Cache
    ctre/3.8#b20dc94ec71df126170a4be9ca5e9486 - Cache
    date/3.0.1#b6518ced9e52de12e18a2eac92e80b7a - Cache
    fmt/10.1.1#cd63809a79574a2f9eb73ca35f16a243 - Cache
    glbinding/3.1.0#3c46bba71a60bdd4919a86aacb05739b - Cache
    glew/2.2.0#1113ff08038a29c8a70e06b42a426911 - Cache
    glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5 - Cache
    gtest/1.13.0#8a0bc5b3e159ed45de97260c2bff65b5 - Cache
    libbacktrace/cci.20210118#ec1aa63bbc10145c6a299e68e711670c - Cache
    libcurl/8.2.1#f2adff729fd5d22fcce6f47639efc22f - Cache
    libiconv/1.17#fa54397801cd96911a8294bc5fc76335 - Cache
    magic_enum/0.8.2#b5498cdc3f30cf47a1eab005f5012f2c - Cache
    ms-gsl/4.0.0#3af79b524fc331e3897880234e89418e - Cache
    opengl/system#b29589c04d6df84c110d6acb066ab653 - Cache
    range-v3/0.12.0#4c05d91d7b40e6b91b44b5345ac64408 - Cache
    rapidjson/cci.20220822#8ca51918340f3a21127822258e95ec0f - Cache
    tl-expected/20190710#43797426a53a4d0f86e43562d9b6924e - Cache
    vulkan-headers/1.3.239.0#3f678623fcd7aa3a39015b5770f4f31d - Cache
    zlib/1.2.13#97d5730b529b4224045fe7090592d4c1 - Cache
Test requirements
    catch2/3.4.0#eb6f89bbc70b6b3d8748d21ab8fb9468 - Cache
Build requirements
    autoconf/2.71#53be95d228b2dcb30dc199cb84262d8f - Cache
    automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50 - Cache
    b2/4.9.6#53783bdbbdbb6c13732b25f1f6ea6c58 - Cache
    gnu-config/cci.20210814#15c3bf7dfdb743977b84d0321534ad90 - Cache
    libtool/2.4.7#d55a3c2435c19e830fa77aa5c6c19350 - Cache
    m4/1.4.19#c1c4b1ee919e34630bb9b50046253d3c - Cache
    meson/1.0.0#15586c0ac6f682805875ef903dbe7ee2 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21 - Cache
    pkgconf/2.0.2#806c2bdc2c49171d3900d04a021b9d6c - Cache
Resolved version ranges
    fmt/[^10]: fmt/10.1.1

======== Computing necessary packages ========
Requirements
    boost/1.82.0#55e821ec1f19367b6f0db13ea73948d3:6fbe02ed7dfa19a56746c0d1ee3f99d2f2b64b47#3bb450ccf465d6a80d4b2df5151f2f8b - Cache
    bzip2/1.0.8#411fc05e80d47a89045edc1ee6f23c1d:790aefe6060742043207a03c5f72bc905a81ca44#b2893233fc9fe5e298343fc64e17058e - Cache
    ctre/3.8#b20dc94ec71df126170a4be9ca5e9486:da39a3ee5e6b4b0d3255bfef95601890afd80709#bedc220f4ab8331a2b52b4cdaedb578f - Cache
    date/3.0.1#b6518ced9e52de12e18a2eac92e80b7a:a6cf3d6f3a1ea5ebf8e050cc5592aa182b755494 - Build
    fmt/10.1.1#cd63809a79574a2f9eb73ca35f16a243:7563728a8c195724f5fd153db587fe345cdcefb9#9a6fbbd8287549d856a6a1bb66c44dc8 - Cache
    glbinding/3.1.0#3c46bba71a60bdd4919a86aacb05739b:aef2e12e04da44553e2605bb72cac6e1d5ec6e24#67fc24c1cf2107da77b24c23fbe4b5c1 - Cache
    glew/2.2.0#1113ff08038a29c8a70e06b42a426911:2e2ae64a9a2c611210073742ba86217ec64023ee - Build
    glu/system#ee50fc2ade0e1c0c8ebb3be3ea60e0f5:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache
    gtest/1.13.0#8a0bc5b3e159ed45de97260c2bff65b5:4c93e1157de62f27955765cb8bd11c5dc4f38032#6431b454c44f11df2bd0cc141f8c323c - Cache
    libbacktrace/cci.20210118#ec1aa63bbc10145c6a299e68e711670c:7371b40d29471efd077d09a74da07f15f91b849f#ac828ddabc7d9dde9e346ee1950f6e03 - Cache
    libcurl/8.2.1#f2adff729fd5d22fcce6f47639efc22f:1a8d3b9b9120672f12bf29f9cd6e8c983ee87a2e - Build
    libiconv/1.17#fa54397801cd96911a8294bc5fc76335:7371b40d29471efd077d09a74da07f15f91b849f#88928c2be98b4b941c93adb8263cd153 - Cache
    magic_enum/0.8.2#b5498cdc3f30cf47a1eab005f5012f2c:da39a3ee5e6b4b0d3255bfef95601890afd80709#333126e22e70e6cffa0020b9b419569e - Cache
    ms-gsl/4.0.0#3af79b524fc331e3897880234e89418e:da39a3ee5e6b4b0d3255bfef95601890afd80709#b598077be9be7a01e859da8eca72dee0 - Cache
    opengl/system#b29589c04d6df84c110d6acb066ab653:da39a3ee5e6b4b0d3255bfef95601890afd80709#0ba8627bd47edc3a501e8f0eb9a79e5e - Cache
    range-v3/0.12.0#4c05d91d7b40e6b91b44b5345ac64408:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecc6172c3cd6694c36d1cd98a702deb0 - Cache
    rapidjson/cci.20220822#8ca51918340f3a21127822258e95ec0f:da39a3ee5e6b4b0d3255bfef95601890afd80709#a99fd0306f219909b3c1b1059abc47e9 - Cache
    tl-expected/20190710#43797426a53a4d0f86e43562d9b6924e:da39a3ee5e6b4b0d3255bfef95601890afd80709#42d01b142d9ebb955f3a20cf2feda92e - Cache
    vulkan-headers/1.3.239.0#3f678623fcd7aa3a39015b5770f4f31d:da39a3ee5e6b4b0d3255bfef95601890afd80709#854aca8847e06c517b5861c97603fe0c - Cache
    zlib/1.2.13#97d5730b529b4224045fe7090592d4c1:7371b40d29471efd077d09a74da07f15f91b849f#72b7d32d12ee47123918270ecdf2b5a5 - Cache
Test requirements
    catch2/3.4.0#eb6f89bbc70b6b3d8748d21ab8fb9468:3a6b933dd7ca85cf46cef4eef0e301c97a98d9c6#47d3961847f4d65e02a8377e82f9c7ad - Cache
Build requirements
    autoconf/2.71#53be95d228b2dcb30dc199cb84262d8f:da39a3ee5e6b4b0d3255bfef95601890afd80709#ecdedaa05db7f162580f145df740c73b - Cache
    automake/1.16.5#058bda3e21c36c9aa8425daf3c1faf50:9e5323c65b94ae38c3c733fe12637776db0119a5#53e724e4596a55dd2b2a3931d36256dc - Cache
    gnu-config/cci.20210814#15c3bf7dfdb743977b84d0321534ad90:da39a3ee5e6b4b0d3255bfef95601890afd80709#22618e30bd9e326eb95e824dc90cc860 - Cache
    libtool/2.4.7#d55a3c2435c19e830fa77aa5c6c19350:7371b40d29471efd077d09a74da07f15f91b849f - Build
    m4/1.4.19#c1c4b1ee919e34630bb9b50046253d3c:b72ba035f2a14a8c65534a93f792f5a7905a8f0b#4655a22cedbd05f44847225299721874 - Cache
    meson/1.0.0#15586c0ac6f682805875ef903dbe7ee2:da39a3ee5e6b4b0d3255bfef95601890afd80709#5c8fd51fc33f12e26519674d99afd0e5 - Cache
    ninja/1.11.1#77587f8c8318662ac8e5a7867eb4be21:b72ba035f2a14a8c65534a93f792f5a7905a8f0b#384bbf845e9ddf0470ddccea362c1e73 - Cache
    pkgconf/2.0.2#806c2bdc2c49171d3900d04a021b9d6c:acff93b3d483de2210e4c780171dbb8ba2cf989f - Build
Skipped binaries
    b2/4.9.6

======== Installing packages ========
bzip2/1.0.8: Already installed! (1 of 29)
catch2/3.4.0: Already installed! (2 of 29)
ctre/3.8: Already installed! (3 of 29)
fmt/10.1.1: Already installed! (4 of 29)
glbinding/3.1.0: Already installed! (5 of 29)
gnu-config/cci.20210814: Already installed! (6 of 29)
gtest/1.13.0: Already installed! (7 of 29)
libbacktrace/cci.20210118: Already installed! (8 of 29)
libiconv/1.17: Already installed! (9 of 29)
m4/1.4.19: Already installed! (10 of 29)
m4/1.4.19: Appending PATH environment variable: /Users/john/CLionProjects/Morpheus/.conan2/p/b/m4e0b8f5cd39c43/p/bin
m4/1.4.19: Appending PATH environment variable: /Users/john/CLionProjects/Morpheus/.conan2/p/b/m4e0b8f5cd39c43/p/bin
magic_enum/0.8.2: Already installed! (11 of 29)
ms-gsl/4.0.0: Already installed! (12 of 29)
ninja/1.11.1: Already installed! (13 of 29)
opengl/system: Already installed! (14 of 29)
range-v3/0.12.0: Already installed! (15 of 29)
rapidjson/cci.20220822: Already installed! (16 of 29)
tl-expected/20190710: Already installed! (17 of 29)
vulkan-headers/1.3.239.0: Already installed! (18 of 29)
zlib/1.2.13: Already installed! (19 of 29)
autoconf/2.71: Already installed! (20 of 29)
boost/1.82.0: Already installed! (21 of 29)
boost/1.82.0: WARN: Boost component 'fiber' is missing libraries. Try building boost with '-o boost:without_fiber'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'fiber_numa' is missing libraries. Try building boost with '-o boost:without_fiber_numa'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'json' is missing libraries. Try building boost with '-o boost:without_json'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'locale' is missing libraries. Try building boost with '-o boost:without_locale'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'math_c99' is missing libraries. Try building boost with '-o boost:without_math_c99'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'math_c99f' is missing libraries. Try building boost with '-o boost:without_math_c99f'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'math_c99l' is missing libraries. Try building boost with '-o boost:without_math_c99l'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'math_tr1' is missing libraries. Try building boost with '-o boost:without_math_tr1'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'math_tr1f' is missing libraries. Try building boost with '-o boost:without_math_tr1f'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'math_tr1l' is missing libraries. Try building boost with '-o boost:without_math_tr1l'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'nowide' is missing libraries. Try building boost with '-o boost:without_nowide'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'url' is missing libraries. Try building boost with '-o boost:without_url'. (Option is not guaranteed to exist)
boost/1.82.0: WARN: Boost component 'wave' is missing libraries. Try building boost with '-o boost:without_wave'. (Option is not guaranteed to exist)
ERROR: boost/1.82.0: Error in package_info() method, line 1702
	raise ConanException(f"These libraries were expected to be built, but were not built: {non_built}")
	ConanException: These libraries were expected to be built, but were not built: {'boost_math_c99', 'boost_fiber', 'boost_math_c99l', 'boost_wave', 'boost_url', 'boost_json', 'boost_math_tr1f', 'boost_math_c99f', 'boost_fiber_numa', 'boost_math_tr1l', 'boost_locale', 'boost_math_tr1', 'boost_nowide'}
(.venv) Johns-MacBook-Pro-2:Morpheus john$ 

@jakeheke75
Copy link
Collaborator

Hi John,
From a first research it seems a specific build issue of MacOS for boost:
conan-io/conan-center-index#4097
Cheers,
Gianmario

@Twon
Copy link
Owner

Twon commented Sep 20, 2023

Hey chaps,

I've definitely seen this this issue locally on my Mac, I may need to dust if off to investigate properly. However, the CI does build this project for MacOs so we should treat that as the source of truth: https://github.com/Twon/Morpheus/actions/runs/6252622058/job/16976273577#step:15:14

However, the CI only builds apple-clang version 14 so there may be further failures. However, the main thing I see is that the Conan profile on CI sets the C++ version to 20 which your profiles does not do. The profiles on CI is:

[settings]
arch=x86_64
build_type=Debug
compiler=apple-clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=[14](https://github.com/Twon/Morpheus/actions/runs/6252622058/job/16976273577#step:15:15)
os=Macos
[conf]
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config

It is specifically this line that is the important one:

compiler.cppstd=20

Without that boost will build under the default version of C++ which is C++03. However, boost generally dictates that library must be C++11 compliant (which is what I assume most build as) but there are also exceptions allowed, so some may only build under C++14/17 which may be the reason that there are some library refusing to build. Certainly these library have built on the CI. Note that most of the time on the CI the library are not build, but fetched from a cache by this step:

- name: Cache Conan data

If you actually want to see what happens when building these libraries then you need to find a run on the CI when they were built. Or delete the cache and rerun the CI step so they rebuild (this will take 45 minutes or so which is why we cache to begin with). John, I have just added you as a collaborator for this project so you have this ability once accepted.

@jmcmon
Copy link
Collaborator Author

jmcmon commented Sep 21, 2023

Hi all,
I've been looking into this today, including on the conan issues page and haven't got to the bottom of it yet.
My compiler.cppstd is set to 20 in my default profile under .conan2, but I assume there's a bit more to solving this issue.

The CI log I found is at https://github.com/Twon/Morpheus/actions/runs/5985550044/job/16237752886

I can see that the boost libraries built successfully on CI.
On the readme conan install command, both host and build are set to use gcc.
In CI it uses apple clang (the default)

conan install "/Users/runner/work/Morpheus/Morpheus" --build missing -pr:b default -c tools.cmake.cmaketoolchain:generator="Ninja Multi-Config" --build catch2/3.3.2

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Release
compiler=apple-clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=14
os=Macos
[conf]
tools.cmake.cmaketoolchain:generator=Ninja Multi-Config

Profile build:
[settings]
arch=x86_64
build_type=Release
compiler=apple-clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=14
os=Macos

So, I decided to do the following and set both to the default profile:

(.venv) bash-3.2$ conan install ./ -pr:h .conan2/profiles/default -pr:b .conan2/profiles/default --build missing

======== Input profiles ========
Profile host:
[settings]
arch=x86_64
build_type=Debug
compiler=apple-clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=15
os=Macos

Profile build:
[settings]
arch=x86_64
build_type=Debug
compiler=apple-clang
compiler.cppstd=20
compiler.libcxx=libc++
compiler.version=15
os=Macos

This got me a lot further and build boost successfully.

Here's where things ended:

pkgconf/2.0.2: Generating aggregated env files
pkgconf/2.0.2: Generated aggregated env files: ['conanbuild.sh', 'conanrun.sh']
pkgconf/2.0.2: Calling build()
pkgconf/2.0.2: Apply patch (file): patches/1.9.3-0003-PKG_CONF_PATH-allow-colon+semicolon-separator.patch
pkgconf/2.0.2: Meson configure cmd: meson setup --native-file "/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug/conan/conan_meson_native.ini" "/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug" "/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/src" -Dprefix="/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/p"
pkgconf/2.0.2: RUN: meson setup --native-file "/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug/conan/conan_meson_native.ini" "/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug" "/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/src" -Dprefix="/Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/p"
The Meson build system
Version: 1.0.0
Source dir: /Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/src
Build dir: /Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug
Build type: native build
../src/meson.build:1: WARNING: Keyword argument "default_options" defined multiple times.
WARNING: This will be an error in future Meson releases.
Project name: pkgconf
Project version: 2.0.2

../src/meson.build:1:0: ERROR: Unable to detect linker for compiler `clang -Wl,--version -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64`
stdout: 
stderr: ld: unknown options: --version 
clang: error: linker command failed with exit code 1 (use -v to see invocation)


A full log can be found at /Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug/meson-logs/meson-log.txt

pkgconf/2.0.2: ERROR: 
Package 'acff93b3d483de2210e4c780171dbb8ba2cf989f' build failed
pkgconf/2.0.2: WARN: Build folder /Users/john/CLionProjects/Morpheus/.conan2/p/b/pkgco2d6a2a1b6fc7e/b/build-debug
*********************************************************
Recipe 'pkgconf/2.0.2' cannot build its binary
It is possible that this recipe is not Conan 2.0 ready
If the recipe comes from ConanCenter, report it at https://github.com/conan-io/conan-center-index/issues
If it is your recipe, check if it is updated to 2.0
*********************************************************

ERROR: pkgconf/2.0.2: Error in build() method, line 89
	meson.configure()
	ConanException: Error 1 while executing

Looks like it fell over trying to get details of the linker.
using --version doesn't work with ld:

(.venv) bash-3.2$ ld -v
@(#)PROGRAM:ld  PROJECT:dyld-1015.7
BUILD 18:48:43 Aug 22 2023
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.3)
Library search paths:
Framework search paths:

(.venv) bash-3.2$ ld --version
ld: unknown option: --version

I'm still digging, but wanted to provide an update.
Thanks,
John

@jakeheke75
Copy link
Collaborator

(.venv) bash-3.2$ ld -v
@(#)PROGRAM:ld  PROJECT:dyld-1015.7
BUILD 18:48:43 Aug 22 2023
configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em
will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em
LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29)
TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.3)
Library search paths:
Framework search paths:

(.venv) bash-3.2$ ld --version
ld: unknown option: --version

Hi John,
In Linux I have also ld -V command which is showing the version. Don't you have in MacOS the man pages? If in bash you write man ld is not showing anything?

@jmcmon
Copy link
Collaborator Author

jmcmon commented Sep 22, 2023

Hi Gianmario,
yes I've got output for man ld on my Mac and I use bash as my shell.
Only ld -v returns version info for me. Neither ld -V nor ld --version are accepted.

The ld man page states:
-v Prints the version of the linker.

@Twon Twon added the issue Potential issue to be investigated label Sep 22, 2023
@jmcmon
Copy link
Collaborator Author

jmcmon commented Oct 20, 2023

(.venv) bash-3.2$ which ld /usr/bin/ld (.venv) bash-3.2$ ls -al /usr/bin/ld -rwxr-xr-x 76 root wheel 167136 16 Sep 14:28 /usr/bin/ld (.venv) bash-3.2$ (.venv) bash-3.2$ (.venv) bash-3.2$ clang -Wl,--version -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 ld: unknown options: --version clang: error: linker command failed with exit code 1 (use -v to see invocation) (.venv) bash-3.2$ (.venv) bash-3.2$ (.venv) bash-3.2$ (.venv) bash-3.2$ clang -Wl,-v -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 @(#)PROGRAM:ld PROJECT:dyld-1015.7 BUILD 18:48:43 Aug 22 2023 configured to support archs: armv6 armv7 armv7s arm64 arm64e arm64_32 i386 x86_64 x86_64h armv6m armv7k armv7m armv7em will use ld-classic for: armv6 armv7 armv7s arm64_32 i386 armv6m armv7k armv7m armv7em LTO support using: LLVM version 15.0.0 (static support for 29, runtime is 29) TAPI support using: Apple TAPI version 15.0.0 (tapi-1500.0.12.3) Library search paths: Framework search paths: ld: Undefined symbols: _main, referenced from: <initial-undefines> clang: error: linker command failed with exit code 1 (use -v to see invocation) (.venv) bash-3.2$ clang -Wl --version -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -arch x86_64 Apple clang version 15.0.0 (clang-1500.0.40.1) Target: x86_64-apple-darwin23.0.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin

@Twon
Copy link
Owner

Twon commented Nov 28, 2023

@jmcmon I'm closing this as from discussing this with you directly I believe you got past this step and got it building correctly. If I am incorrect then please reopen and we can solve it.

@Twon Twon closed this as completed Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue Potential issue to be investigated
Projects
None yet
Development

No branches or pull requests

3 participants