Repository navigation
20190524 trunk - where is clang compiler #50
Description
Activity
lang/clang ?
Reacted by Sean ChampReacted by libRhsudo pkgin -y install clang
clang is not available in the repository
calculating dependencies...done.What's the repo? For macos I recommend to prompt joyent @jperkin .
that wahts I've done
Copy and paste the lines below to install the 64-bit Sierra set.
These packages are suitable for anyone running Sierra (10.12.6) or newer,
and are updated from pkgsrc trunk every few days.
BOOTSTRAP_TAR="bootstrap-trunk-x86_64-20190524.tar.gz"
BOOTSTRAP_SHA="1c554a806fb41dcc382ef33e64841ace13988479"Download the bootstrap kit to the current directory.
curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}
Verify the SHA1 checksum.
echo "${BOOTSTRAP_SHA} ${BOOTSTRAP_TAR}" >check-shasum
shasum -c check-shasumVerify PGP signature. This step is optional, and requires gpg.
curl -O https://pkgsrc.joyent.com/packages/Darwin/bootstrap/${BOOTSTRAP_TAR}.asc
curl -sS https://pkgsrc.joyent.com/pgp/1F32A9AD.asc | gpg --import
gpg --verify ${BOOTSTRAP_TAR}{.asc,}Install bootstrap kit to /opt/pkg
sudo tar -zxpf ${BOOTSTRAP_TAR} -C /
Reload PATH/MANPATH (pkgsrc installs /etc/paths.d/10-pkgsrc for new sessions)
eval $(/usr/libexec/path_helper)
I completely new to this I try to learn C
- Looking at the latest package build results ( https://bulktracker.appspot.com/pkg/ag1zfmJ1bGt0cmFja2VyciILEgVidWlsZBiAgICQvZGdCQwLEgNwa2cYgICAvNv2_QkM), I see that clang is indirect-failed because LLVM failed to build. Here is the LLVM build log: http://us-east.manta.joyent.com/pkgsrc/public/reports/Darwin/trunk/x86_64/20190128.1951//llvm-7.0.1/build.logReacted by libRh and Travis Paul
Oh okay so no clang for me? Will it eventually get fixed anytime soon?
The CC, CXX, and LD used for the build may, in ways, affect the build process. Albeit not on a BSD, I've been able to build a full LLVM toolchain on Debian 8 and more recently, on Debian 10, using the host LLVM toolchain distro – respectively, Debian LLVM 4 and LLVM 7 distributions.
imoe; LLVM 8 from pkrsrc seems to work out for for building in pkgsrc, locally, once the initial pkgsrc LLVM build+install completes, using the host's LLVM distro – also using libcxx, libcxxabi (building on a Linux) and lld initially from the host OS distro, to build all those via pkgsrc. imoe it works out after the stage-1 build, using the host toolchain distro, namely LLVM. in that first build.
imoe it also works out on FreeBSD 11.2 … under some local config.
May there be another CC, CXX and LD available on the host, for the LLVM build?
Reacted by Saulius Krasuckas- added a commit that references this issue
on Nov 13, 2019 - added a commit that references this issue
on Mar 24, 2020 - added a commit that references this issue
on Apr 6, 2020 - added a commit that references this issue
on May 8, 2020 208 remaining items
Load more actions- added 9 commits that reference this issue
on May 15, 2026 - added 3 commits that reference this issue
on May 21, 2026 - added a commit that references this issue
on Sep 6, 2026 - added 2 commits that reference this issue
on Sep 24, 2026
Anyone know where the clang compiler is? Fist time using pkgsrc on macOS HighSierra. I want to install the latest clang version.