Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Sep 2018 10:28:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 231479] lang/julia: build stuck while running libwhich -p libopenblasp.so using synth
Message-ID:  <bug-231479-7788-dWy5NzV1Ov@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-231479-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-231479-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231479

Trond.Endrestol@ximalas.info changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback+        |maintainer-feedback?(iblis@
                   |                            |hs.ntnu.edu.tw)

--- Comment #10 from Trond.Endrestol@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=3D`$$(call spawn,$$(build_depsbindir)/libwhich) -p $$(notd=
ir
$$@)` && \
        $$(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 +=3D 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-231479-7788-dWy5NzV1Ov>