Skip to content

Can't compile head #183

@jquartel

Description

@jquartel

I was having a similar issue as for #182 but I'm not able to fix with a --head brew install as this fails to compile. See output below, after which there was no ctlrender executable created. I'm on Apple silicon running MacOS 15.5.

$ brew install --head ctl
==> Fetching dependencies for ctl: aces_container
==> Fetching aces_container
==> Downloading https://ghcr.io/v2/homebrew/core/aces_container/manifests/1.0.2
Already downloaded: /Users/johnquartel/Library/Caches/Homebrew/downloads/2138ad7478057dfe56e569ba7d4a003816d834dd200d87d2a9a7bc1e7cf87476--aces_container-1.0.2.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/aces_container/blobs/sha256:470a323
Already downloaded: /Users/johnquartel/Library/Caches/Homebrew/downloads/56cccfd322a3e539e663f8614bc4fbe3d842e51d377d2207d0becd05d83d5201--aces_container--1.0.2.arm64_sequoia.bottle.tar.gz
==> Fetching ctl
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/0208d0f6947
Already downloaded: /Users/johnquartel/Library/Caches/Homebrew/downloads/b3dff63e496b7b6bfac9ba49fcf159bc7dd3307eccd78eceef97e03ed49704b3--ctl.rb
==> Cloning https://github.com/ampas/CTL.git
Updating /Users/johnquartel/Library/Caches/Homebrew/ctl--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 7ad9797 Issues/0180 llvm gentoo error (#181)
==> Installing dependencies for ctl: aces_container
==> Installing ctl dependency: aces_container
==> Downloading https://ghcr.io/v2/homebrew/core/aces_container/manifests/1.0.2
Already downloaded: /Users/johnquartel/Library/Caches/Homebrew/downloads/2138ad7478057dfe56e569ba7d4a003816d834dd200d87d2a9a7bc1e7cf87476--aces_container-1.0.2.bottle_manifest.json
==> Pouring aces_container--1.0.2.arm64_sequoia.bottle.tar.gz
🍺 /opt/homebrew/Cellar/aces_container/1.0.2: 23 files, 250KB
==> Installing ctl --HEAD
==> cmake -S . -B build -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_RPATH=@loader_path/..
==> cmake --build build
Last 15 lines from /Users/johnquartel/Library/Logs/Homebrew/ctl/02.cmake:
Ctl::HalfType::evaluate(Ctl::LContext&, Ctl::RcPtrCtl::ExprNode const&) const in CtlType.cpp.o
Ctl::HalfType::evaluate(Ctl::LContext&, Ctl::RcPtrCtl::ExprNode const&) const in CtlType.cpp.o
...
"operator<<(std::__1::basic_ostream<char, std::__1::char_traits>&, half)", referenced from:
Ctl::HalfLiteralNode::print(int) const in CtlSyntaxTree.cpp.o
Ctl::HalfLiteralNode::printLiteral() const in CtlSyntaxTree.cpp.o
Ctl::HalfType::evaluate(Ctl::LContext&, Ctl::RcPtrCtl::ExprNode const&) const in CtlType.cpp.o
Ctl::HalfType::evaluate(Ctl::LContext&, Ctl::RcPtrCtl::ExprNode const&) const in CtlType.cpp.o
ld: symbol(s) not found for architecture arm64
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
/opt/homebrew/Library/Homebrew/shims/mac/super/clang++ -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk -dynamiclib -Wl,-headerpad_max_install_names -compatibility_version 1.5.3 -current_version 1.5.3 -o libIlmCtl.1.5.3.dylib -install_name @rpath/libIlmCtl.1.5.3.dylib CMakeFiles/IlmCtl.dir/CtlAddr.cpp.o CMakeFiles/IlmCtl.dir/CtlAlign.cpp.o CMakeFiles/IlmCtl.dir/CtlExc.cpp.o CMakeFiles/IlmCtl.dir/CtlFunctionCall.cpp.o CMakeFiles/IlmCtl.dir/CtlInterpreter.cpp.o CMakeFiles/IlmCtl.dir/CtlLContext.cpp.o CMakeFiles/IlmCtl.dir/CtlLex.cpp.o CMakeFiles/IlmCtl.dir/CtlMessage.cpp.o CMakeFiles/IlmCtl.dir/CtlModule.cpp.o CMakeFiles/IlmCtl.dir/CtlModuleSet.cpp.o CMakeFiles/IlmCtl.dir/CtlParser.cpp.o CMakeFiles/IlmCtl.dir/CtlRcPtr.cpp.o CMakeFiles/IlmCtl.dir/CtlSymbolTable.cpp.o CMakeFiles/IlmCtl.dir/CtlSyntaxTree.cpp.o CMakeFiles/IlmCtl.dir/CtlTokens.cpp.o CMakeFiles/IlmCtl.dir/CtlType.cpp.o CMakeFiles/IlmCtl.dir/CtlTypeStorage.cpp.o CMakeFiles/IlmCtl.dir/CtlStdType.cpp.o /opt/homebrew/lib/libOpenEXR.dylib /opt/homebrew/lib/libImath.dylib /usr/local/lib/libHalf.dylib /opt/homebrew/lib/libIlmThread.dylib /opt/homebrew/lib/libIex.dylib
make[2]: *** [lib/IlmCtl/libIlmCtl.1.5.3.dylib] Error 1
make[1]: *** [lib/IlmCtl/CMakeFiles/IlmCtl.dir/all] Error 2
make: *** [all] Error 2

READ THIS: https://docs.brew.sh/Troubleshooting

ctl's formula was built from an unstable upstream --HEAD.
This build failure is expected behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions