From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id FsjXGt0VvV4oQwAA0tVLHw (envelope-from ) for ; Thu, 14 May 2020 09:56:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sKjsFN0VvV56AgAAB5/wlQ (envelope-from ) for ; Thu, 14 May 2020 09:56:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A4A6F940607 for ; Thu, 14 May 2020 09:56:42 +0000 (UTC) Received: from localhost ([::1]:34352 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZAba-0006cd-Bl for larch@yhetil.org; Thu, 14 May 2020 05:56:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZAbS-0006c6-Rt for help-guix@gnu.org; Thu, 14 May 2020 05:56:34 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:54528) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZAbR-0002vY-UL for help-guix@gnu.org; Thu, 14 May 2020 05:56:34 -0400 Received: by mail-wm1-x342.google.com with SMTP id h4so29547672wmb.4 for ; Thu, 14 May 2020 02:56:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=v1cMIqgFn2QXyYmMIvvL04FF1yPsNR2/hkuMeHXmyr0=; b=I6/JmIOUwQCqXudLaC+57k+7ea2uVtDTkCgwwP5ocpjDRxt7hiBaKfAI9JpMRhQZpL Ue5Usakwd1g1PpoSmK5ksR8DJ/ZiozYDMdpJB8AoIQNmNGnFI3PP+WuyZR51Lafy3dZC Sy2StXS26fAWIRCg7AygwOQsNuzyUZNZFd+/QQGxi7+aAqIepxDkOCZALBp1PE/j3oI7 p0nix75qgRt3FR81dRCUw6+Hi5OxaDb2srgmurqe5CI0eHniqIWLIqblXVt3A180YJJA nxG7kmS5zZZb7PXpUNBIgF1NG/DHA5QHU/lIzuG5W/HZdPbdnhS/bfQqVvFd/7DWlWkV DdAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=v1cMIqgFn2QXyYmMIvvL04FF1yPsNR2/hkuMeHXmyr0=; b=dFtavsvEb/V8VVBtH7bMwCw0FtGSuJJS5Jz1ibo5bpCV9mNiPOX6Sx/fYhnxUnhEwZ kAyk+19Smt2tLEY0ANPXzh7BD6m6t9p4Rcb+7V41WZ9Vn8SnZvE7fFymJuRf/dyk6lDR N6IrqQxSacp//xjTZ31XWwQA7s7bS5hQJjo/o8cccmQ8wuhJDVUTnjBDMxy9mzE7FgO0 +6CqkBrG2CCOrsWKv6IEssK9SYe4jVo8Ro3gMdfv6UBk585IotBcGUUZx8vMiEfyiNhe 6yQvsTJlUqlLi22jgrPyw9/pZub7jiq0zXgc171WouKp+NtcpacAqdGGT7BFgr2x8c8l x3MA== X-Gm-Message-State: AGi0PubxstlZlY358gSwqPlv98e5js5Udv5YLxBMaVQr8WL7purp70oE wdAq0pniACou3jt8Pb4P8nINNXm/ X-Google-Smtp-Source: APiQypKLLQWrObpUulVpSeg6PiWJFsm0ZiFbqgVEEqOXgUhZafzIx/3WhG2c7GNSBv10PKC0Rf/MEg== X-Received: by 2002:a05:600c:1006:: with SMTP id c6mr24766804wmc.133.1589450191851; Thu, 14 May 2020 02:56:31 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id d13sm39063441wmb.39.2020.05.14.02.56.30 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 14 May 2020 02:56:31 -0700 (PDT) Subject: Re: Problem compiling boost for mysql To: Emmanuel Medernach , help-guix References: From: Vincent Legoll Message-ID: <280b9e50-ddc4-a3ec-9ee5-b7445a4ce308@gmail.com> Date: Thu, 14 May 2020 11:56:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::342; envelope-from=vincent.legoll@gmail.com; helo=mail-wm1-x342.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: -0.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=I6/JmIOU; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [-0.21 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53920788243381]; MX_INVALID(1.00)[cached]; DWL_DNSWL_FAIL(0.00)[gmail.com:server fail,209.51.188.17:server fail]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; FREEMAIL_FROM(0.00)[gmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.05), country: US(-0.00), ip: 209.51.188.17(-0.54)]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MAILLIST(-0.20)[mailman]; FREEMAIL_TO(0.00)[gmail.com,gnu.org]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; FROM_NEQ_ENVFROM(0.00)[vincentlegoll@gmail.com,help-guix-bounces@gnu.org]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[help-guix@gnu.org]; HAS_LIST_UNSUB(-0.01)[]; DNSWL_BLOCKED(0.00)[209.51.188.17:from]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: NvgllKiE9Huf Hello Emmanuel, On 14/05/2020 09:50, Emmanuel Medernach wrote: > I have an error when trying to build a package, the following > gnu packages derivation does not compile: > > # guix build -e '(@ (gnu packages boost) boost-for-mysql)' I'm reproducing the problem, I tried to use boost instead of boost-for-mysql in the mysql package, but is still requires boost 1.59.0, which is not building. First because execunix.c got translated into C++, in a later version of boost, so the guix recipe to build it changed, see: 02fef9619bd96086aa9255ffb0944d4cda617c84 But boost-for-mysql inherits that configure phase, whereas it still has the c version of that file. And second, if you fix^Whack that, then you get a compilation error on some const * being used as non-const *. Here is that whitespace-damaged hack: diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm index 2f2ca289ab..a9b463ca92 100644 --- a/gnu/packages/boost.scm +++ b/gnu/packages/boost.scm @@ -122,7 +124,7 @@ (out (assoc-ref outputs "out"))) (substitute* '("libs/config/configure" "libs/spirit/classic/phoenix/test/runtest.sh" - "tools/build/src/engine/execunix.cpp" + "tools/build/src/engine/execunix.c" "tools/build/src/engine/Jambase") (("/bin/sh") (which "sh"))) I don't know how to fix that properly, maybe copy/paste the whole (arguments ...) from boost into boost-for-mysql, but that does not look right. -- Vincent Legoll