From owner-freebsd-office@FreeBSD.ORG Sun Aug 31 16:39:31 2014 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D65BE6B4 for ; Sun, 31 Aug 2014 16:39:31 +0000 (UTC) Received: from mail-lb0-x22b.google.com (mail-lb0-x22b.google.com [IPv6:2a00:1450:4010:c04::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5EC1F1AE1 for ; Sun, 31 Aug 2014 16:39:31 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id n15so4752799lbi.2 for ; Sun, 31 Aug 2014 09:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject :message-id:date:to:mime-version; bh=nJHdwE9uCQY+SNwCJYYBK3SNeA62PQman7tPNuYznV8=; b=pia3T3uARvwtVDE3bcAjsVYHxoGJVlkjP4bfNIRHpf1+OqpdVXGWCTDsvr4O2gZKuE 3wHFvXKXKfZ406BmeeAre4IXLOPxzd3abEETTKtRtWB4iVQLhnOAp6JFUe6r0htZ6U3U JnQHxnyRMXd2hWtL7hUv2eCpy/rgjKQYmUIp2g1VAZHzxnru+mvOcpc6tHNVZFoPsxI4 TMtOdt9XQifeRwA+apaswBliHiTKtJhJ/cGVasBsLA24hIVRYrkLkJmY5VX+NHhQEz8Z SNOpqMaFraWaLpi3DQekoPJIceLpCL5Ew3GdgA5KAg13hxcIFqEyAodl5str9XsUgdFH WoXg== X-Received: by 10.112.201.133 with SMTP id ka5mr22780604lbc.61.1409503169263; Sun, 31 Aug 2014 09:39:29 -0700 (PDT) Received: from [10.0.1.23] (broadband-5-228-253-184.nationalcablenetworks.ru. [5.228.253.184]) by mx.google.com with ESMTPSA id v20sm2065258laz.28.2014.08.31.09.39.27 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 31 Aug 2014 09:39:28 -0700 (PDT) Sender: Dmitry Sivachenko From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Need some help with compiling boost-dependent program Message-Id: <9AB609D1-F643-4F77-B2F9-AD32F8988DFD@FreeBSD.org> Date: Sun, 31 Aug 2014 20:39:27 +0400 To: office@FreeBSD.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 16:39:31 -0000 Hello Boost maintainers! I am trying to port mosesdecoder program (http://www.statmt.org/moses/) = to FreeBSD-10/stable. It uses Boost heavily and depends on other libraries which are built = using gcc-4.7. On some stage it fails to link with reasons unknown to me. I suspect this may be because Boost is built with clang, I build = mosesdecoder with clang and other libraries were built using gcc (4.7). = May be I am wrong. The error is the following: = moses/bin/clang-linux-3.4.1/release/debug-symbols-on/threading-multi/libmo= ses.so : undefined reference to = `randlm::Vocab::getWordID(std::__1::basic_string, std::__1::allocator > const&)' = moses/bin/clang-linux-3.4.1/release/debug-symbols-on/threading-multi/libmo= ses.so : undefined reference to = `lmContainer::CreateLanguageModel(std::__1::basic_strin g, std::__1::allocator >, float, = float)' = moses/bin/clang-linux-3.4.1/release/debug-symbols-on/threading-multi/libmo= ses.so : undefined reference to = `randlm::RandLM::initRandLM(std::__1::basic_string, std::__1::allocator > const&, int, = int)' clang++: error: linker command failed with exit code 1 (use -v to see = invocation ) though linking command includes -lRandLM explicitly. You can get tarball for unfinished port so you can easily reproduce this = here: http://people.freebsd.org/~demon/mosesdecoder.tar.gz Any help would be greatly appreciated. Build log is redirected to ${WRKSRC}/build.log to simplify analysis. Thanks in advance! From owner-freebsd-office@FreeBSD.ORG Sun Aug 31 23:02:20 2014 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 453A0BAE; Sun, 31 Aug 2014 23:02:20 +0000 (UTC) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 85416155B; Sun, 31 Aug 2014 23:02:19 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id u56so4559466wes.8 for ; Sun, 31 Aug 2014 16:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=BSxb4TxNVLmYhHcRucW/0SAwkCG0n+1jqJmPUt4GepM=; b=R67JDekOTGUCH9Jms/TaWquNbILVtKl2615zLVYNktbF3VPp9Ao1OTtNl8lzwX5VfP exBZ5p/pQWNKCkRkr8jiwT1kePJuNJhxQpVJ734knW1bLmS9lqv5TXD2E7eP7B1GMtQv X6/LTi9B4KZ5G+SRqRrNZRtiXnuCJ70Khh03HWmMkPTxdXi76fBNRtmki5IvhTQekEAZ 2fhh2tn7ylKdpqcLOjd+wmmslvepoGcLVJScduhZF4QIvsLmRYS+jzDncBGkDbRY17HX 5tl6XG76uawnbMK3Padh+r2b2Rty6l/Qveisz0nkxI/MyYRMIsxL3F77/cH96ESN1ZuR RIAw== X-Received: by 10.180.109.44 with SMTP id hp12mr5182687wib.37.1409526137698; Sun, 31 Aug 2014 16:02:17 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by mx.google.com with ESMTPSA id cj7sm17244438wjc.37.2014.08.31.16.02.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 31 Aug 2014 16:02:16 -0700 (PDT) Sender: Baptiste Daroussin Date: Mon, 1 Sep 2014 01:02:14 +0200 From: Baptiste Daroussin To: sbruno@freebsd.org Subject: Re: boost-jam build failure Message-ID: <20140831230214.GA92321@ivaldir.etoilebsd.net> References: <1409426110.1142.11.camel@bruno> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <1409426110.1142.11.camel@bruno> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: office@freebsd.org, portmgr@freebsd.org X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Aug 2014 23:02:20 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 30, 2014 at 12:15:10PM -0700, Sean Bruno wrote: > I'm not sure what I need to do to use an ext tool chain on boot-jam, but > maybe someone has a clue that could direct me in the right direction? > It looks like boost-jam can't figure out what kind of cc I have (clang)? >=20 > sean >=20 > http://chips.ysv.freebsd.org/data/11armv632-default/2014-08-30_17h32m02s/= logs/errors/boost-jam-1.55.0.log >=20 Should be fixed regards, Bapt --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlQDqXYACgkQ8kTtMUmk6Ez7+ACeLD+vNozYSSHJKVbawADCpScv t+MAoIrs8WeV1ux4WWPHUaKTxK7lm5j1 =T4lH -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-office@FreeBSD.ORG Tue Sep 2 13:46:41 2014 Return-Path: Delivered-To: office@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 157C4170 for ; Tue, 2 Sep 2014 13:46:41 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8ED2A194B for ; Tue, 2 Sep 2014 13:46:40 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id n15so7432365lbi.26 for ; Tue, 02 Sep 2014 06:46:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=mKc0lpMARd53LGQ5Gxxt5bJqfBoCHPiicOzWNR4TTNI=; b=l/6uHFtz6P7by+ue8OH7fIOAGiSsoozK5R4c4F6FI2RzWUNPQ5HF7KXZm5zmYl8dkd rr8xdjHllJZFHLFPR64BHV0lrHphdzkWj8FPIMWS8j8mMghf839hCMOqXQ7mirqNhFmV RQGVKmRH1UymfKjntlCQtWaXFNfy5ZAyYk5FjoL6UgHAETrc8Sv9pdh26nLWRjzaosOQ 6HU1rS8XUszrBm1+vpUBl4iOC/F1n+Z9BXIDoaqAF5hdTjGx7s+qdP+O3vYyAdWH9DN4 SdnQWZSXJr/0K8A/wPZj4VEzLA2+TVCC4qIT/9fsIaD4H+u4gjsCs237Tt5FCCI8WbzK 9TjQ== X-Received: by 10.152.7.177 with SMTP id k17mr35776885laa.10.1409665598287; Tue, 02 Sep 2014 06:46:38 -0700 (PDT) Received: from ?IPv6:2a02:6b8::408:80c7:492f:a1e5:5c44? ([2a02:6b8:0:408:80c7:492f:a1e5:5c44]) by mx.google.com with ESMTPSA id yr17sm5489206lbb.46.2014.09.02.06.46.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 02 Sep 2014 06:46:37 -0700 (PDT) Sender: Dmitry Sivachenko Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Need some help with compiling boost-dependent program From: Dmitry Sivachenko In-Reply-To: <9AB609D1-F643-4F77-B2F9-AD32F8988DFD@FreeBSD.org> Date: Tue, 2 Sep 2014 17:46:35 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: <966C148F-9C92-4C41-840E-A767875B2234@FreeBSD.org> References: <9AB609D1-F643-4F77-B2F9-AD32F8988DFD@FreeBSD.org> To: office@FreeBSD.org X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Sep 2014 13:46:41 -0000 Okay, I figured out the cause: the problem was because boost was = compiled with clang, and some other libraries were compiled with gcc. = And I was linking my program against both of them. I patched the relevant libraries so everything is compiled with clang. But what if there is another use-case when library can't be compiled = with clang and the program needs to link with both that library and = boost? Is it possible to provide and OPTION for boost-libs so it can be = compiled with either clang or gcc? On 31 =D0=B0=D0=B2=D0=B3. 2014 =D0=B3., at 20:39, Dmitry Sivachenko = wrote: > Hello Boost maintainers! >=20 > I am trying to port mosesdecoder program = (http://www.statmt.org/moses/) to FreeBSD-10/stable. > It uses Boost heavily and depends on other libraries which are built = using gcc-4.7. >=20 > On some stage it fails to link with reasons unknown to me. >=20 > I suspect this may be because Boost is built with clang, I build = mosesdecoder with clang and other libraries were built using gcc (4.7). = May be I am wrong. >=20 > The error is the following: >=20 > = moses/bin/clang-linux-3.4.1/release/debug-symbols-on/threading-multi/libmo= ses.so > : undefined reference to = `randlm::Vocab::getWordID(std::__1::basic_string std::__1::char_traits, std::__1::allocator > const&)' > = moses/bin/clang-linux-3.4.1/release/debug-symbols-on/threading-multi/libmo= ses.so > : undefined reference to = `lmContainer::CreateLanguageModel(std::__1::basic_strin > g, std::__1::allocator >, = float, float)' > = moses/bin/clang-linux-3.4.1/release/debug-symbols-on/threading-multi/libmo= ses.so > : undefined reference to = `randlm::RandLM::initRandLM(std::__1::basic_string , std::__1::char_traits, std::__1::allocator > const&, = int, int)' > clang++: error: linker command failed with exit code 1 (use -v to see = invocation > ) >=20 > though linking command includes -lRandLM explicitly. >=20 > You can get tarball for unfinished port so you can easily reproduce = this here: > http://people.freebsd.org/~demon/mosesdecoder.tar.gz >=20 > Any help would be greatly appreciated. > Build log is redirected to ${WRKSRC}/build.log to simplify analysis. >=20 > Thanks in advance! >=20 From owner-freebsd-office@FreeBSD.ORG Fri Sep 5 14:41:11 2014 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 79BDC393 for ; Fri, 5 Sep 2014 14:41:11 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 608421DD4 for ; Fri, 5 Sep 2014 14:41:11 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s85EfBZY021325 for ; Fri, 5 Sep 2014 14:41:11 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 193331] graphics/libcdr-0.0.16_1 fails to build with clang on 9.2-RELEASE Date: Fri, 05 Sep 2014 14:41:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: arved@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_status cc assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 14:41:11 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193331 Tilman Keskinoz changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Triage |Open CC| |arved@FreeBSD.org Assignee|freebsd-ports-bugs@FreeBSD. |office@FreeBSD.org |org | --- Comment #1 from Tilman Keskinoz --- Over to maintainer group -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-office@FreeBSD.ORG Fri Sep 5 16:18:25 2014 Return-Path: Delivered-To: office@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E49837F5 for ; Fri, 5 Sep 2014 16:18:25 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CB5971B7E for ; Fri, 5 Sep 2014 16:18:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s85GIPFo002562 for ; Fri, 5 Sep 2014 16:18:25 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: office@FreeBSD.org Subject: [Bug 193331] graphics/libcdr-0.0.16_1 fails to build with clang on 9.2-RELEASE Date: Fri, 05 Sep 2014 16:18:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jrm@ftfl.ca X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: office@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-office@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Office applications on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2014 16:18:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193331 --- Comment #2 from Joseph Mingrone --- Created attachment 146877 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146877&action=edit Patch to add compiler:c++11-lib to USES Adding compiler:c++11-lib to USES in the Makefile does the trick on 9. I'm not sure about 10. Thanks nox@. Patch attached. -- You are receiving this mail because: You are the assignee for the bug.