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 gLVZG/QAf1+mOwAA0tVLHw (envelope-from ) for ; Thu, 08 Oct 2020 12:07:16 +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 SHNGF/QAf18ADgAAB5/wlQ (envelope-from ) for ; Thu, 08 Oct 2020 12:07:16 +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 D36C39402A9 for ; Thu, 8 Oct 2020 12:07:15 +0000 (UTC) Received: from localhost ([::1]:41956 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQUhW-0004AT-IX for larch@yhetil.org; Thu, 08 Oct 2020 08:07:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55248) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQUhL-00049P-GW for bug-guix@gnu.org; Thu, 08 Oct 2020 08:07:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47338) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQUhK-0001yM-MS for bug-guix@gnu.org; Thu, 08 Oct 2020 08:07:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kQUhK-0003Jc-IB for bug-guix@gnu.org; Thu, 08 Oct 2020 08:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43855: gnu: python-shapely fails to build Resent-From: Malte Frank Gerdes Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 08 Oct 2020 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43855 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43855@debbugs.gnu.org Received: via spool by 43855-submit@debbugs.gnu.org id=B43855.160215876312651 (code B ref 43855); Thu, 08 Oct 2020 12:07:02 +0000 Received: (at 43855) by debbugs.gnu.org; 8 Oct 2020 12:06:03 +0000 Received: from localhost ([127.0.0.1]:58880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUgM-0003Hq-HN for submit@debbugs.gnu.org; Thu, 08 Oct 2020 08:06:03 -0400 Received: from mail-ej1-f48.google.com ([209.85.218.48]:46278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kQUgH-0003HL-TE for 43855@debbugs.gnu.org; Thu, 08 Oct 2020 08:06:01 -0400 Received: by mail-ej1-f48.google.com with SMTP id t25so7682553ejd.13 for <43855@debbugs.gnu.org>; Thu, 08 Oct 2020 05:05:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2DGWV4xcAs4Qb+WUBHztV7lIUmCg/ykAfXQdHlQK0c0=; b=GxbfUZB1gcFBq0x0IL7fhhRqSIf0+HfhLITJiT24a3udwZb9oIlxwY5GMhGiSxelXe ogUghqa0eBDKwOyr5bWmL3TEEkBXb1cLZNnuDp/REwQh2sd9VB00CGXSJRAPVWPMnXVH ZF/cH4YJhcZ5ajikc1suyUvzzmNyuSnQ2y3cbZhF0yglgINkPhCE33ygn6NJyf9Meno/ V2dT7HF5OvYKYjRH86z118o4VOKKxdytMx94Q38VovwoUuWUNMyFmiiA9WT3NAcIw3/0 BtuIq15htkrclQIMYZESCKvOlkrauLc+cavfHPeLcPHriTHoaMewSSElScwsYn0UMe7J Y5hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=2DGWV4xcAs4Qb+WUBHztV7lIUmCg/ykAfXQdHlQK0c0=; b=j6wM+X1u9eDoVQRgXo8VSNaX0m/eXiCGwYQGZLn4OZZyAV/o6gOmDhVMVuxL0qBJfC jwzaLo9ng1dRQefu2XS15qxnHzcB4F1Nnh01C8rOsBIZxajE/7Us4t0p3eXAnL5xqYuI FMmLsFqQC1q02KJ1c4jtogfCsYjUvsCHETNO/WFhT52gqfmsMnZj5soAmSw4t+1CyjPu PgnzwyZeVIJbuqG6jGy6KKPUZ2tMy89X6L4sKBRFv3Mauvd3TGpypDnFwNvnQQ3BcUot JCss4TNPygpfG6AnMXL/Nmod3R68wwhvnQgsusQtdgnaGb/9NaTXrl/cuWvXw21Tmf2D zjQA== X-Gm-Message-State: AOAM533WmsBfkC2N+FCbk6gskf3oH7lcnKcXxy5wU9NBjZD3y0B8L+n9 TUL48dkEcNTa9/aml+137Wk= X-Google-Smtp-Source: ABdhPJyt8IRnmrHynrDs6td7aJtK/zSw2Ss1w/d9jr9rwO3IaUGQ41eIrYfBice4Ah7JSwN+LQ1S5g== X-Received: by 2002:a17:906:c0d8:: with SMTP id bn24mr8255677ejb.480.1602158751867; Thu, 08 Oct 2020 05:05:51 -0700 (PDT) Received: from Morphium (ip-84-118-73-55.unity-media.net. [84.118.73.55]) by smtp.gmail.com with ESMTPSA id cw15sm3916944ejb.47.2020.10.08.05.05.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Oct 2020 05:05:51 -0700 (PDT) From: Malte Frank Gerdes References: <86h7r567u6.fsf@gmail.com> <20201008064427.GN21174@E5400> Date: Thu, 08 Oct 2020 14:05:50 +0200 In-Reply-To: <20201008064427.GN21174@E5400> (Efraim Flashner's message of "Thu, 8 Oct 2020 09:44:27 +0300") Message-ID: <87tuv4vs69.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=GxbfUZB1; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: 0.09 X-TUID: c7TUhSB0mf25 Efraim Flashner writes: > It turns out this is due to a change in geos with 3.8 > https://github.com/Toblerity/Shapely/issues/799 > > If I cherry-pick the patch to fix it then it passes the test suite. If I > upgrade python-shapely to 1.7.1 the fix is already included but there's > a new build error: > > gcc -pthread -shared > -Wl,-rpath=/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib > build/temp.linux-x86_64-3.8/shapely/vectorized/_vectorized.o > -L/gnu/store/pinvpk9w6izxcwci4ghiwgvykmgsfy2c-geos-3.8.1/lib > -L/gnu/store/q9rm8h9imazsq2c4qiv2yjpvlvliywqb-python-3.8.2/lib -lgeos_c -o > /tmp/guix-build-python-shapely-1.7.1.drv-0/Shapely-1.7.1/shapely/vectorized/_vectorized.cpython-38-x86_64-linux-gnu.so > warning: no library file corresponding to > '/gnu/store/603imkkh2bqs01z8ik0b2ndgpdz0jghk-python-numpy-1.17.3/lib/python3.8/site-packages/numpy/core/include' > found (skipping) > warning: no library file corresponding to > '/gnu/store/603imkkh2bqs01z8ik0b2ndgpdz0jghk-python-numpy-1.17.3/lib/python3.8/site-packages/numpy/core/include' > found (skipping) > error: Could not find lib c or load any of its variants ['libc.musl-x86_64.so.1']. > command "python" "-c" "import setuptools, > tokenize;__file__='setup.py';f=getattr(tokenize, 'open', > open)(__file__);code=f.read().replace('\\r\\n', > '\\n');f.close();exec(compile(code, __file__, 'exec'))" "test" failed with > status 1 > builder for `/gnu/store/2yz1ybl0156canhfz4vhay0g473c5nwv-python-shapely-1.7.1.drv' failed with exit code 1 > build of /gnu/store/2yz1ybl0156canhfz4vhay0g473c5nwv-python-shapely-1.7.1.drv failed > View build log at '/var/log/guix/drvs/2y/z1ybl0156canhfz4vhay0g473c5nwv-python-shapely-1.7.1.drv.bz2'. > guix build: error: build of `/gnu/store/2yz1ybl0156canhfz4vhay0g473c5nwv-python-shapely-1.7.1.drv' failed > > Do you want to take a stab at updating python-shapely to 1.7.1? I can certainly try to fix this. I will look into it in the evening. BTW: Are you using musl libc as your primary libc? If so, that's cool, how did you do that? :) > substitute* can take a list, so it would be simpler to write this as: > substitute* '("shapely/geos.py" > "shapely/_buildcfg.py") One more thing i've learned :) Malte