From owner-svn-ports-branches@freebsd.org Tue Jan 7 11:46:24 2020 Return-Path: Delivered-To: svn-ports-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9ABAF225FAE; Tue, 7 Jan 2020 11:46:24 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47sVvh3fd4z42WS; Tue, 7 Jan 2020 11:46:24 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 78B2026634; Tue, 7 Jan 2020 11:46:24 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 007BkO9G098209; Tue, 7 Jan 2020 11:46:24 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 007BkOBJ098208; Tue, 7 Jan 2020 11:46:24 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202001071146.007BkOBJ098208@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 7 Jan 2020 11:46:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r522327 - branches/2020Q1/net-p2p/monero-cli X-SVN-Group: ports-branches X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: branches/2020Q1/net-p2p/monero-cli X-SVN-Commit-Revision: 522327 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-branches@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for all the branches of the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Jan 2020 11:46:24 -0000 Author: pkubaj Date: Tue Jan 7 11:46:24 2020 New Revision: 522327 URL: https://svnweb.freebsd.org/changeset/ports/522327 Log: MFH: r522326 net-p2p/monero-cli: fix build on non-x86 Architectures that don't have libunwind available should disable stack trace. Otherwise, the following linking error is encountered: /usr/local/bin/ld: src/common/libcommon.a(stack_trace.cpp.o): in function `tools::log_stack_trace(char const*)': stack_trace.cpp:(.text+0x71c): undefined reference to `el::base::debug::StackTrace::generateNew()' /usr/local/bin/ld: stack_trace.cpp:(.text+0x72c): undefined reference to `el::base::debug::operator<<(std::ostream&, el::base::debug::StackTrace const&)' collect2: error: ld returned 1 exit status PR: 242846 Approved by: vd (maintainer timeout) Approved by: portmgr (fix build blanket) Modified: branches/2020Q1/net-p2p/monero-cli/Makefile Directory Properties: branches/2020Q1/ (props changed) Modified: branches/2020Q1/net-p2p/monero-cli/Makefile ============================================================================== --- branches/2020Q1/net-p2p/monero-cli/Makefile Tue Jan 7 11:45:07 2020 (r522326) +++ branches/2020Q1/net-p2p/monero-cli/Makefile Tue Jan 7 11:46:24 2020 (r522327) @@ -82,6 +82,8 @@ CMAKE_ARGS+= -DLD_RAW_FLAGS:STRING=-m${LD_EMULATION} # keep in sync with all platforms where libunwind is available .if (${ARCH} == amd64 || ${ARCH} == i386) LIB_DEPENDS+= libunwind.so:devel/libunwind +.else +CMAKE_ARGS+= -DSTACK_TRACE:BOOL=OFF .endif CMAKE_ARGS+= -DMANUAL_SUBMODULES:BOOL=ON