The following message is displayed and fails to install. <snip> -- Installing: /var/tmp/portage/sys-devel/llvm-3.9.0/image/usr/lib/cmake/llvm/./CrossCompile.cmake * Fixing shebang in usr/bin/git-clang-format. * Fixing shebang in usr/bin/scan-view. * Fixing shebang in usr/bin/asan_symbolize.py. * Fixing shebang in usr/share/clang/clang-format-diff.py. * Fixing shebang in usr/share/clang/clang-tidy-diff.py. * Fixing shebang in usr/share/clang/run-clang-tidy.py. * Fixing shebang in usr/share/clang/run-find-all-symbols.py. ln: illegal option -- c usage: ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file [target_file] ln [-s [-F] | -L | -P] [-f | -i] [-hnv] source_file ... target_dir link source_file target_file * ERROR: sys-devel/llvm-3.9.0::gentoo failed (install phase): * dosym failed * * If you need support, post the output of `emerge --info '=sys-devel/llvm-3.9.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.9.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.9.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src' * S: '/var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src' >>> Failed to emerge sys-devel/llvm-3.9.0, Log file: >>> '/var/tmp/portage/sys-devel/llvm-3.9.0/temp/build.log' * Messages for package sys-devel/llvm-3.9.0: * Failed to set XATTR_PAX markings -m /var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src-abi_x86_32.x86_fbsd/bin/llvm-rtdyld. * Failed to set XATTR_PAX markings -m /var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src-abi_x86_32.x86_fbsd/bin/lli. * Failed to set XATTR_PAX markings -m /var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src-abi_x86_32.x86_fbsd/bin/lli-child-target. * ERROR: sys-devel/llvm-3.9.0::gentoo failed (install phase): * dosym failed * * If you need support, post the output of `emerge --info '=sys-devel/llvm-3.9.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/llvm-3.9.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/sys-devel/llvm-3.9.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/llvm-3.9.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src' * S: '/var/tmp/portage/sys-devel/llvm-3.9.0/work/llvm-3.9.0.src' G
Created attachment 449452 [details, diff] sample patch for x86-fbsd profile. Empty CHOST_x86_fbsd. # grep CHOST_x86_fbsd /var/tmp/portage/sys-devel/llvm-3.9.0/temp/environment declare -x CHOST_x86_fbsd="" So, can not get CHOST. can not set correct file name... * dosym clang-3.9 /usr/bin/clang++-3.9 * dosym clang++-3.9 /usr/bin/clang++ * dosym clang-3.9 /usr/bin/clang-cl-3.9 * dosym clang-cl-3.9 /usr/bin/clang-cl * dosym clang-3.9 /usr/bin/clang-cpp-3.9 * dosym clang-cpp-3.9 /usr/bin/clang-cpp * dosym clang-3.9 /usr/bin/-clang-3.9 * dosym -clang-3.9 /usr/bin/-clang ... Patch, define CHOST_x86_fbsd, can be installed without any problems.
Was this fixed or do we still need to do something?
(In reply to Michał Górny from comment #2) > Was this fixed or do we still need to do something? PR has been merged. This bug will be able to close. https://github.com/gentoo/gentoo/pull/2505