tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Firefox pkg broken: gcc vs. clang confusion
The firefox pkg is broken - confused by mixing gcc and clang, trying to
query the path to libclang from g++ :
DEBUG: Executing: `/usr/pkgobj/www/firefox/work/.cwrapper/bin/clang++ /tmp/conftest.54xl2_1s.cpp -E`
DEBUG: COMPILER = gcc
DEBUG: VERSION = 9.3.0
DEBUG: cplusplus = 201402L
DEBUG: CPU = x86_64
DEBUG: KERNEL = NetBSD
DEBUG: ENDIANNESS = little
INFO: /usr/pkgobj/www/firefox/work/.cwrapper/bin/clang++
INFO: checking for libclang for bindgen...
DEBUG: Executing: `/usr/pkgobj/www/firefox/work/.cwrapper/bin/clang++ -print-search-dirs`
INFO: not found
ERROR: Could not find libclang to generate rust bindings for C/C++. Please install the necessary packages, run `mach bootstrap`, or use --with-libclang-path to give the path containing it.
and the answer it got from the wrapper is:
install: /usr/libexec/x86_64--netbsd/9.3.0/
programs: =/usr/libexec/x86_64--netbsd/9.3.0/:/usr/libexec/:/usr/libexec/x86_64--netbsd/9.3.0/:/usr/libexec/x86_64--netbsd/9.3.0/:/usr/libexec/x86_64--netbsd/:/usr/libexec/x86_64--netbsd/9.3.0/:/usr/libexec/x86_64--netbsd/:/usr/libexec/x86_64--netbsd/x86_64--netbsd/bin/x86_64--netbsd/9.3.0/:/usr/libexec/x86_64--netbsd/x86_64--netbsd/bin/
libraries: =/usr/libexec/x86_64--netbsd/9.3.0/:/usr/libexec/x86_64--netbsd/x86_64--netbsd/lib/x86_64--netbsd/9.3.0/:/usr/libexec/x86_64--netbsd/x86_64--netbsd/lib/:/usr/lib/x86_64--netbsd/9.3.0/:/usr/lib/
... and of course no libclang in that gcc output.
What went wrong?
Martin
Home |
Main Index |
Thread Index |
Old Index