From owner-freebsd-ports@freebsd.org Sun Feb 24 20:53:08 2019 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F268B150B979 for ; Sun, 24 Feb 2019 20:53:07 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from smtp.burggraben.net (smtp.burggraben.net [IPv6:2a01:4f8:140:50a2::3:1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "ns.exwg.net", Issuer "Christoph Moench-Tegeder" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B5428873C1 for ; Sun, 24 Feb 2019 20:53:06 +0000 (UTC) (envelope-from cmt@burggraben.net) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id AD49E6002F6 for ; Sun, 24 Feb 2019 21:53:04 +0100 (CET) X-Spam-Scanned: by amavisd-new at exwg.net Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VnSU2zrC4Uqs for ; Sun, 24 Feb 2019 21:52:59 +0100 (CET) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7120:1:127b:44ff:fe4f:148d]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Sun, 24 Feb 2019 21:52:59 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id 642EF1399B1; Sun, 24 Feb 2019 21:52:58 +0100 (CET) Date: Sun, 24 Feb 2019 21:52:58 +0100 From: Christoph Moench-Tegeder To: freebsd-ports@freebsd.org Subject: Re: FreeCAD 0.17 - is anyone using it? Message-ID: <20190224205258.GA30765@elch.exwg.net> References: <20190209130245.GA32159@elch.exwg.net> <20190209211210.GD32159@elch.exwg.net> <20190214220235.GA2390@elch.exwg.net> <20190216112331.GB2502@elch.exwg.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.2 (2019-01-07) X-Rspamd-Queue-Id: B5428873C1 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-1.18 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.64)[-0.641,0]; RCVD_COUNT_FIVE(0.00)[5]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-ports@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; MX_GOOD(-0.01)[smtp.burggraben.net]; NEURAL_HAM_SHORT(-0.50)[-0.495,0]; DMARC_NA(0.00)[burggraben.net]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.93)[ipnet: 2a01:4f8::/29(-2.42), asn: 24940(-2.25), country: DE(-0.01)] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2019 20:53:08 -0000 ## Torfinn Ingolfsen (tingox@gmail.com): > I looked into the build log, but it doesn't tell me anything new: > Coins is detected during configure / setup phase, and the suddenly > during compile / link it fails a step because Coin (specifically > -lCoin) can't be found The main question is why it detects Coin as "-lCoin", which can't be found by the linker without a matching "-L/usr/local/lib" (it's ok when Coin is linked as just "/usr/local/lib/libCoin.so"). There may be some hints in cmake's somewhat more verbose output in work/.build/CMakeFiles/CMakeOutput.log (and CMakeError.log). I would suspect something in your environment (LDFLAGS? picked up different linker between configure and build stages?) Anyways, I gave up on this (there are too many variables and I still cannot reproduce this in clean environments, whatever I do Coin is picked up as expected). As a possible workaround I forced "-L/usr/local/lib" into LDFLAGS - looks like the linker invocation should now work in your case. Regards, Christoph -- Spare Space