From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2EYGA2RMzmSfwgAASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 15:19:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QKTDAmRMzmTyVQAAauVa8A (envelope-from ) for ; Sat, 05 Aug 2023 15:19:32 +0200 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 8268D5F211 for ; Sat, 5 Aug 2023 15:19:31 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=OLqsqDrz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691241571; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=gwofpAFiSZfwpSophRrzsIi3CfjP3mse060GSXRiLEI=; b=AjJ5mDo/AG6fUQHJDtucDuhDn00kRopZTufQV5PrSSEOjgbWGdUBNXctv3mcoA/PwvwqXY n4LT4XBRQ3X7FvKKh97a2BgC/eU0GSlHiOs5KNxA/eqziHVGTsBSLE5vQsC4zgwnfV/8n1 q6bPGQ52TtaIhvTHf71eFlnsgwM9AYu/2N+qHjee1yACpqlmSJmSE+jEnrp5igPdhDGmn1 EScESldsOQs4zrxn2KcQGIwX5QC/05NXVWycpEDDuqYTa1HC0cIP6jQRqRuQsmqOQbbM0x GhrqMlR7x1TE6a9vkdZbq9a7GXLMCMMhU9NwI69n1+kQTGwh6qnnTN18E3gcDQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691241571; a=rsa-sha256; cv=none; b=WP/LWm5aORG4UzA7uHe4j8C5TuYgnguTLflJ+Dxo/wRe9YNdgkuh9PxKC5JCx3+k0FRRw2 EQFELd+MQJ04ML8ToeTOWZfFIGxrfh9saQbPCbQqhe/GbuEDO/jhMVFhlnmh6I7tpuqElW 4YyOuhkJPK4sMMX6zQZZrk1SCkx0I3QHsbYIUg1R4VtT5siJebuLGfdc1Xgaki10lKYJkQ FNkyfySCk3pk1Sfi77D1SgRmlw8U7ITAludLho7nc3cOrGg8nFzsqm8EPAzGrY/4VGxHAT HpNF4nZbIYwXhc3OeMxVpE/xckzM8iXnYlzizUcaRB5blTF2wkg46DVR3+Fd9g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=OLqsqDrz; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSHBY-0002Yl-0S; Sat, 05 Aug 2023 09:19:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSHBP-0002WS-Uk for guix-patches@gnu.org; Sat, 05 Aug 2023 09:19:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSHBP-00030e-Mf for guix-patches@gnu.org; Sat, 05 Aug 2023 09:19:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSHBO-00061U-H7; Sat, 05 Aug 2023 09:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63765] [PATCH v6 00/10] gnu: python-lief: Update to 0.13.2. Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: lars@6xq.net, jgart@dismail.de, guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 13:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63765@debbugs.gnu.org Cc: Hilton Chain , Lars-Dominik Braun , jgart X-Debbugs-Original-Xcc: Lars-Dominik Braun , jgart Received: via spool by 63765-submit@debbugs.gnu.org id=B63765.169124152423129 (code B ref 63765); Sat, 05 Aug 2023 13:19:02 +0000 Received: (at 63765) by debbugs.gnu.org; 5 Aug 2023 13:18:44 +0000 Received: from localhost ([127.0.0.1]:56117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHB5-00060y-VE for submit@debbugs.gnu.org; Sat, 05 Aug 2023 09:18:44 -0400 Received: from mail.boiledscript.com ([144.168.59.46]:38492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSHB3-00060n-5w for 63765@debbugs.gnu.org; Sat, 05 Aug 2023 09:18:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691241510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=gwofpAFiSZfwpSophRrzsIi3CfjP3mse060GSXRiLEI=; b=OLqsqDrzeVIpX/9w5qJQttPX3jhRt/qs308cNOokQPtgLgUBAz2gNGnf/gui3eIz+W+JVG bYlndvDLdkMEr6YhSlunWZ6xR9nUEZHfZo5s9B1m/tatSOPFVHvDg8WRueBKK8knxoRWR/ Db+PXoVkJeiQCOBAZn8EjHDbk+xt/iSlz5rE85xaX/H4IFv+1uccmppTjc6tzGq1kJ2D4M Y46Tx8IzTMOMq3huAOOJHDPu8J7RWf+z0QmzBfLiyccndVoddXDnXoTFL39ig7xmzpFHuh BvcJURM/PImJyTc5UpHpZ5tRpi/YRHDtVlFT7YYPt6wC+r1fH9ybPiHmqU3INA== Date: Sat, 5 Aug 2023 21:18:04 +0800 Message-ID: In-Reply-To: <20230528080735.23733-1-hako@ultrarare.space> References: <20230528080735.23733-1-hako@ultrarare.space> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spamd-Bar: / X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 8268D5F211 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.65 X-Spam-Score: -3.65 X-TUID: 8uazIzv7obJX (Depends on #64255 for utfcpp update.) V5 -> V6: - mbedtls-apache-lts@2.28.4, mbedtls-apache@3.4.1. - Unbundle all third-party dependencies. - Honor build system arguments when building Python bindings. - (@ (gnu packages python-xyz) python-lief) -> (@ (gnu packages elf) lief) V4 -> V5 (resend) V3 -> V4: - Split out utfcpp update to #64255. V2 -> V3: - python-lief@0.13.2. - Fix build of mkvtoolnix and warzone2100 (in utfcpp update). V1 -> V2: - python-lief@0.13.1. V1: - python-lief@0.13.0 - Install C bindings to "out" and Python bindings to "python" (Previously only installed Python bindings to "out"). - utfcpp@3.2.3. - Rename mbedtls-apache to mbedtls-apache-lts and update it to 2.28.3. - Add mbedtls-apache@3.4.0. - Unbundle, except tcb-span, leaf, melkor and catch2. Note: - The library is built twice, once (shared) for C bindings, the other (static) for Python bindings. - Unable to use Python bindings when building with "-DBUILD_SHARED_LIBS=ON". --8<---------------cut here---------------start------------->8--- ImportError: /gnu/store/...-lief-0.13.2-python/lib/python3.10/site-packages/lief/_lief.cpython-310-x86_64-linux-gnu.so: undefined symbol: _ZTIN4LIEF12BinaryStreamE --8<---------------cut here---------------end--------------->8--- - Some warnings are visible with --verbosity=1, bug? --8<---------------cut here---------------start------------->8--- The following derivation will be built: /gnu/store/x5ndfim6k184agskfvkgyzb596k8y3ww-python-lief-0.13.2.drv building /gnu/store/x5ndfim6k184agskfvkgyzb596k8y3ww-python-lief-0.13.2.drv... 49% ▕████████████████████████████████████████████████████████████████████████████████████████▏ ▏�@ build-log 6665 1568 �} may change value [-Wconversion] 479 | raw_cmd.dataoff += linkedit_offset_; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /tmp/guix-build-python-lief-0.13.2.drv-0/source/src/MachO/Builder.tcc: In instantiation of ‘LIEF::ok_error_t LIEF::MachO::Builder::build(LIEF::MachO::DataInCode&) [with T = LIEF::MachO::details::MachO64; LIEF::ok_error_t = boost::leaf::result]’: /tmp/guix-build-python-lief-0.13.2.drv-0/source/src/MachO/Builder.tcc:83:13: required from ‘LIEF::ok_error_t LIEF::MachO::Builder::build_linkedit() [with T = LIEF::MachO::details::MachO64; LIEF::ok_error_t = boost::leaf::result]’ /tmp/guix-build-python-lief-0.13.2.drv-0/source/src/MachO/Builder.cpp:69:22: required from ‘LIEF::ok_error_t LIEF::MachO::Builder::build() [with T = LIEF::MachO::details::MachO64; LIEF::ok_error_t = boost::leaf::result]’ /tmp/guix-build-python-lief-0.13.2.drv-0/source/src/MachO/Builder.cpp:55:33: required from here /tmp/guix-build-python-lief-0.13.2.drv-0/source/src/MachO/Builder.tcc:763:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 763 | raw_cmd.dataoff = linkedit_.size(); | ~~~~~~~~~~~~~~^~ 32% 'python-install' ▕████████████████████████████████████████████████████▏ ▏�@ build-log 6665 183 �} may change value [-Wconversion] 479 | raw_cmd.dataoff += linkedit_offset_; | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /gnu/store/nf7jr5zc4qnq1wckcgl82mnc6wchrsmz-python-lief-0.13.2 /gnu/store/j765jgsnzz19ic0q2wlhrj441bpmrbwf-python-lief-0.13.2-python --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- building /gnu/store/8qhffw3z1x6vyhbyl8n4qfwyaq9gcmmp-julia-cfitsio-1.4.1.drv... ���Mw�ŭ�1 phasej ��t�=F\�lrs��x�re��F��0x��}�����W�7��A@@@�$�d����Ϛ���H L��;�p6=�^8 �ى�ޣ��C��>�����;��w������y~9�^�ŭ~���g+n�e[��,�M�(�8����~\w� �@@@@�)_��-@ build-log 11136 43 phase `check' succeeded after 18.7 seconds --8<---------------cut here---------------end--------------->8--- --8<---------------cut here---------------start------------->8--- building /gnu/store/6h9jy7bf5afghxl7w799d7ifr2y4lygk-julia-simd-3.4.2.drv... / 'check' phase��@ build-log 18329 1211 ��┌ @ /gnu/store/flmywqlaizs7vcd8a9rbm1jafimnp3bx-julia-simd-3.4.2/share/julia/loadpath/SIMD/src/LLVM_intrinsics.jl:822 within `macro expansion` vextractf128 $1, %ymm0, %xmm1 vaddpd %xmm1, %xmm0, %xmm0 vpermilpd $1, %xmm0, %xmm1 # xmm1 = xmm0[1,0] vaddsd %xmm1, %xmm0, %xmm0 vxorpd %xmm1, %xmm1, %xmm1 vaddsd %xmm1, %xmm0, %xmm0 ; │└└└ --8<---------------cut here---------------end--------------->8--- Updating mbedtls-apache affects many Julia packages and I haven't tried to build them all. Thanks Hilton Chain (10): gnu: mbedtls-apache: Rename to mbedtls-apache-lts. gnu: mbedtls-apache-for-hiawatha: Use inherited source. gnu: mbedtls-apache-lts: Update to 2.28.4. gnu: Add mbedtls-apache, version 3.4.1. gnu: Add frozen. gnu: Add boost-leaf. gnu: Add tcb-span. gnu: Add melkor. gnu: python-lief: Update to 0.13.2. gnu: python-lief: Rename to lief. gnu/local.mk | 1 + gnu/packages/boost.scm | 33 ++++ gnu/packages/cpp.scm | 67 ++++++++ gnu/packages/elf.scm | 162 +++++++++++++++++- gnu/packages/emulators.scm | 2 +- gnu/packages/game-development.scm | 4 +- gnu/packages/hardware.scm | 4 +- gnu/packages/haxe.scm | 6 +- gnu/packages/irc.scm | 2 +- gnu/packages/julia-jll.scm | 2 +- gnu/packages/julia.scm | 2 +- gnu/packages/linphone.scm | 2 +- gnu/packages/linux.scm | 2 +- gnu/packages/networking.scm | 2 +- .../lief-unbundle-test-dependencies.patch | 103 +++++++++++ gnu/packages/python-xyz.scm | 35 +--- gnu/packages/search.scm | 2 +- gnu/packages/tls.scm | 50 +++--- gnu/packages/video.scm | 2 +- 19 files changed, 403 insertions(+), 80 deletions(-) create mode 100644 gnu/packages/patches/lief-unbundle-test-dependencies.patch base-commit: 4739e6844cfbf815357019faf708d3c266137acc prerequisite-patch-id: 82c68dd1a77d4105aa1c2bc868325b94fe5d1f73 prerequisite-patch-id: 1fdbe22294c9e1df602b3d3636e14c806dc29313 -- 2.41.0