[Bug 231479] lang/julia: build stuck while running libwhich -p libopenblasp.so using synth
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Sep 22 10:28:24 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231479
Trond.Endrestol at ximalas.info changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags|maintainer-feedback+ |maintainer-feedback?(iblis@
| |hs.ntnu.edu.tw)
--- Comment #10 from Trond.Endrestol at ximalas.info ---
Grepping around for libwhich in the various Makefiles, pointed me to
base/Makefile, line 153:
define symlink_system_library
symlink_$1: $$(build_private_libdir)/$1.$$(SHLIB_EXT)
$$(build_private_libdir)/$1.$$(SHLIB_EXT):
REALPATH=`$$(call spawn,$$(build_depsbindir)/libwhich) -p $$(notdir
$$@)` && \
$$(call resolve_path,REALPATH) && \
[ -e "$$$$REALPATH" ] && \
([ ! -e "$$@" ] || rm "$$@") && \
echo ln -sf "$$$$REALPATH" "$$@" && \
ln -sf "$$$$REALPATH" "$$@"
ifneq ($2,)
ifneq ($$(USE_SYSTEM_$2),0)
SYMLINK_SYSTEM_LIBRARIES += symlink_$1
endif
endif
endef
At line 177 of the same file, we find:
$(eval $(call symlink_system_library,$(LIBBLASNAME),BLAS))
By now, we know where libwhich is being called, and for some reason the
libopenblasp.so file isn't what LLVM's libwhich expects, and the latter isn't
robust enough to handle the unexpected.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list