From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] gnu: boost: Update to 1.60.0 Date: Tue, 12 Jan 2016 18:20:31 +0100 Message-ID: <87mvsan28w.fsf@gnu.org> References: <4a857e1ce13cf2f7377ec5f257ea1691@openmailbox.org> <87a8ojhuhc.fsf@gnu.org> <20160106084907.2db0aac3@PocketWee> <87a8oie4ic.fsf@gnu.org> <20160110221820.GA25032@debian> <87pox8zd8z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aJ2cX-0007CJ-JH for guix-devel@gnu.org; Tue, 12 Jan 2016 12:20:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aJ2cU-0003iY-EN for guix-devel@gnu.org; Tue, 12 Jan 2016 12:20:37 -0500 In-Reply-To: <87pox8zd8z.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 11 Jan 2016 10:17:32 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Eric Bavier Cc: Guix-devel ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Andreas Enge skribis: > >> On Wed, Jan 06, 2016 at 11:18:19PM +0100, Ludovic Court=C3=A8s wrote: >>> It has 140 dependent packages, including LibreOffice, so kinda >>> borderline for master. It=E2=80=99s probably safer on a separate branc= h that >>> Hydra will build. Mark? >> >> Finally hydra picked up the branch. Unfortunately, the new boost fails >> to build on mips: >> http://hydra.gnu.org/build/914532 >> >> I find it difficult to see what is the problem in the build log >> (C++, eh?)... > > The error is: > > gcc.compile.c++ bin.v2/libs/context/build/gcc-4.9.3/release/threading-mul= ti/unsupported.o > libs/context/src/unsupported.cpp:7:2: error: #error "platform not support= ed" > #error "platform not supported" > ^ I cannot really decipher libs/context/build/Jamfile.v2, but I can see that the only mentions of MIPS in there relate to the o32 ABI, whereas we target n32. Another thing that=E2=80=99s fishy in the build log is that, at the beginni= ng of the build phase, we see: --8<---------------cut here---------------start------------->8--- Component configuration: - atomic : building - chrono : building - container : building - context : not building - coroutine : not building --8<---------------cut here---------------end--------------->8--- Yet it attempts to build =E2=80=98context=E2=80=99. > The options I can think of are: > > 1. Mark mips64el-linux as unsupported (134 packages depend on Boost, > notably LibreOffice, Abiword, and Ardour). > > 2. Build Boost without multi-threading support on MIPS, assuming it=E2= =80=99s > only this feature that=E2=80=99s unsupported. > > 3. Hope that Debian has a patch to fix this and apply it. > > Thoughts? I think we could try another option, which is to configure with --without-libraries=3Dcontext like openSuSE does in some cases: https://build.opensuse.org/package/view_file/devel:libraries:c_c++/boost= /boost.spec Could someone try that? If that fails, or if nobody can test it, let=E2=80=99s just do #1. Ludo=E2=80=99.