From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id vYLoHdRvW2BreQAA0tVLHw (envelope-from ) for ; Wed, 24 Mar 2021 16:59:00 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id aEQ6GdRvW2C6cgAA1q6Kng (envelope-from ) for ; Wed, 24 Mar 2021 16:59:00 +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 D26A71AAE2 for ; Wed, 24 Mar 2021 17:58:59 +0100 (CET) Received: from localhost ([::1]:54220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lP6qQ-00025F-Sy for larch@yhetil.org; Wed, 24 Mar 2021 12:58:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lP6q1-00024d-2m for guix-devel@gnu.org; Wed, 24 Mar 2021 12:58:33 -0400 Received: from mail-qk1-x734.google.com ([2607:f8b0:4864:20::734]:38469) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lP6pz-0002OC-Gw for guix-devel@gnu.org; Wed, 24 Mar 2021 12:58:32 -0400 Received: by mail-qk1-x734.google.com with SMTP id c3so18714617qkc.5 for ; Wed, 24 Mar 2021 09:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4VVXEqoZAZLK0b9v+fE0RNbep+YSXsXUgFy3mcq/+QI=; b=K1cLZVyRRIvc6t8OOX9oD/f10qiSvNihqnLMgzCtbKrCxk3+CYSIyZbhzR5Yeib6Sc +Xno04n7g1Hxt+W7eBjZDkElfRLdb7lYBg7j1oeBNVExXsV7+NtbWNGugAToXtw2XFaD WyxOBN3WoLuMFQvnIpXBCJOT8JFhhrO5EFSaMckosAsdNMNan+nXb2uXKkGfHXB+DPne iQpARQBE7goNJncFul8ccJqLjjQaXuSEnE5hfmMtH9ycGWRTrl0KTC8/R/htB/SVjOaq IDg5/dcek8v/YLafvBe63kR3FaHsl66o8KxOs/P2q3aNWYPzLT1rhw/lnqiIx+YrWb78 dyrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4VVXEqoZAZLK0b9v+fE0RNbep+YSXsXUgFy3mcq/+QI=; b=hcBlYBLpuUD/jqcf+yb06vPUEPhpSDxrxEdhw68SxVx/WVtbzhndiNVVVZ61Aka4jU wOOIqPOCxCLDB7Er5H0Zym678qw+HaAjrBk/ltrY4SoiXULrklep2MYkrnrsSO1PfpsD TbIgQF6Ajwln46E8Mk8uxD5Rjg5Rj4KZZuzGeie6w5Q0O7QVvMJs+bNDQPCn1Ji67H2l 3UBsWOSepZeXk9BuK66b7vJhahaQFX5kdrg4c9H5Kq0TL9uhc/YVGHJC/PAdfPPsFSxZ DLNKBtbN49p/BSu4OCYs2AgSmiQ/tAjr1FxaO7HQRmc7qgm7VNcKDOVMTHnj6sHRaFix L8YQ== X-Gm-Message-State: AOAM533fsiZh78F5iXi5AZC9iZrUemipWsR2YE5NaMDfxtNySXeC7ZSi okSjM8+rB3IXF8O1g8WPY9WAJLTlLox3I+3YA9Y= X-Google-Smtp-Source: ABdhPJyThtSd07fDdThCapJbE2mSZXMVXuSOwtgFLAU3j7NLr8mBf2b/qS0fAug9D/AILld+4VVlZV5YAs/oj1a+PmE= X-Received: by 2002:a05:620a:91b:: with SMTP id v27mr4088091qkv.201.1616605110050; Wed, 24 Mar 2021 09:58:30 -0700 (PDT) MIME-Version: 1.0 References: <87mtut7a6a.fsf@riseup.net> In-Reply-To: <87mtut7a6a.fsf@riseup.net> From: zimoun Date: Wed, 24 Mar 2021 17:58:19 +0100 Message-ID: Subject: Re: guix import hackage fails with errors, and failed tests To: c4t0 Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::734; envelope-from=zimon.toutoune@gmail.com; helo=mail-qk1-x734.google.com 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_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1616605140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=4VVXEqoZAZLK0b9v+fE0RNbep+YSXsXUgFy3mcq/+QI=; b=KGZbWJdCM/Ky84Wq843KfKO9wUplDVRM8B8Dcz3wi/Yx2mgEqzNNFFNp5//lUWvMRd1dp8 g42bTJUVxpWvATzbE6RxVB1+MDSLeij/b8v4DvVw2aZC+mSN9dr7rC7zfK3poNwOTbxGBK Kku7B8B/bTerZMuJI7CBu4R3oejm5koUEbexQw8e4qT13lBhOa05ib1HgAsh8EYveLfSXg wjYkG76nuVRmZqMH/2KLfPltlKsjpCiFsMC0lHbWEgVfCuitN+oFOennjjKSqEuTHP2BsX GCzajCvA+lOO5fJoQt2JkU8DLpUR/2ntyXE2sJo2z10IWEhN0NCJFKWX6YVejQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1616605140; a=rsa-sha256; cv=none; b=ab1OeXQCgBOsQjW59UfUJgwaf5GBLvko18l2Ye7JrhpXuje6Tc2EwUhr6YljcYR8Tm9S1k F8ePvw30AZwRvHylg3jpzsdRQhXrlr/FlUumbY0XGm7dlQCMnD5WvmNHIiS1KDv/C0uTKi +9SKj54FcvX0vHP1lHNjvJhVeB0mmsh7Q+ItC2ek0s9azzBeDoJmj07Lr+TX6mHmdVUweB 4QFTutYpQnC8AjbA3zQG+QKeQNyJU/aS9AED7ilivSBybq7SDtZawRtmeRaWbA/vaEM0y6 uJ6yhV35CgQPe3ZEPAreEt6Un+pLOlgN3nxEs08dpymlFayAh2QCC/dUKEbRDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=K1cLZVyR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=K1cLZVyR; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: D26A71AAE2 X-Spam-Score: -3.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: EycoXCPKXVbo Hi, On Wed, 24 Mar 2021 at 04:19, c4t0 wrote: > I'm having problems with 'guix import' in my environment: > $guix import hackage -t ghc-events > Syntax error: unexpected token : common (at line 44, column 0) > Syntax error: unexpected end of input > guix import: error: failed to download cabal file for package 'ghc-events' Probably because the cabal file is bad formed. Or better worded, because the Guix cabal parser fails to parse the line 44 starting by 'common'. Well, give a look at (guix import cabal). > so I cloned guix, and: > > guix environment guix --pure --ad-hoc help2man git strace --container Somehow, --container implies --pure. :-) HTH, simon