all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Hilton Chain via Guix-patches via <guix-patches@gnu.org>
To: 63765@debbugs.gnu.org
Cc: Hilton Chain <hako@ultrarare.space>,
	Lars-Dominik Braun <lars@6xq.net>, jgart <jgart@dismail.de>
Subject: [bug#63765] [PATCH v6 00/10] gnu: python-lief: Update to 0.13.2.
Date: Sat,  5 Aug 2023 21:18:04 +0800	[thread overview]
Message-ID: <cover.1691240736.git.hako@ultrarare.space> (raw)
In-Reply-To: <20230528080735.23733-1-hako@ultrarare.space>

(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<LIEF::ok_t>]’:
/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<LIEF::ok_t>]’
/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<LIEF::ok_t>]’
/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




  parent reply	other threads:[~2023-08-05 13:19 UTC|newest]

Thread overview: 69+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <832fd8ce-7234-0521-55bf-a2c81f8c48d8@housseini.me>
2023-05-28  8:07 ` [bug#63765] [PATCH 0/8] gnu: python-lief: Update to 0.13.0 Hilton Chain via Guix-patches via
2023-05-28  8:11   ` [bug#63765] [PATCH 1/8] gnu: Add ftest-for-utfcpp Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 2/8] gnu: utfcpp: Update to 3.2.3 Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 3/8] gnu: mbedtls-apache: Rename package to mbedtls-apache-lts Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 4/8] gnu: mbedtls-apache-for-hiawatha: Use inherited source Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 5/8] gnu: mbedtls-apache-lts: Update to 2.28.3 Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 6/8] gnu: Add mbedtls-apache, version 3.4.0 Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 7/8] gnu: Add frozen Hilton Chain via Guix-patches via
2023-05-28  8:11     ` [bug#63765] [PATCH 8/8] gnu: python-lief: Update to 0.13.0 Hilton Chain via Guix-patches via
2023-05-28 12:54   ` [bug#63765] [PATCH v2 0/8] gnu: python-lief: Update to 0.13.1 Hilton Chain via Guix-patches via
2023-05-28 12:56     ` [bug#63765] [PATCH v2 1/8] gnu: Add ftest-for-utfcpp Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 2/8] gnu: utfcpp: Update to 3.2.3 Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 3/8] gnu: mbedtls-apache: Rename package to mbedtls-apache-lts Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 4/8] gnu: mbedtls-apache-for-hiawatha: Use inherited source Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 5/8] gnu: mbedtls-apache-lts: Update to 2.28.3 Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 6/8] gnu: Add mbedtls-apache, version 3.4.0 Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 7/8] gnu: Add frozen Hilton Chain via Guix-patches via
2023-05-28 12:56       ` [bug#63765] [PATCH v2 8/8] gnu: python-lief: Update to 0.13.1 Hilton Chain via Guix-patches via
2023-06-23  6:24   ` [bug#63765] [PATCH v3 0/8] gnu: python-lief: Update to 0.13.2 Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 1/8] gnu: Add ftest-for-utfcpp Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 2/8] gnu: utfcpp: Update to 3.2.3 Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 3/8] gnu: mbedtls-apache: Rename package to mbedtls-apache-lts Hilton Chain via Guix-patches via
2023-06-26 18:59       ` Liliana Marie Prikler
2023-06-23  6:24     ` [bug#63765] [PATCH v3 4/8] gnu: mbedtls-apache-for-hiawatha: Use inherited source Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 5/8] gnu: mbedtls-apache-lts: Update to 2.28.3 Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 6/8] gnu: Add mbedtls-apache, version 3.4.0 Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 7/8] gnu: Add frozen Hilton Chain via Guix-patches via
2023-06-23  6:24     ` [bug#63765] [PATCH v3 8/8] gnu: python-lief: Update to 0.13.2 Hilton Chain via Guix-patches via
2023-06-23  7:24   ` [bug#63765] ftest and utfcpp in issue 62473 reza via Guix-patches via
2023-06-23  7:39     ` Hilton Chain via Guix-patches via
     [not found]       ` <d4281dd0-6488-00bd-1ee0-8d92a1104c67@housseini.me>
2023-06-23  7:58         ` reza via Guix-patches via
2023-06-23 15:33   ` [bug#63765] [PATCH 0/2] gnu: utfcpp: Update to 3.2.3 Hilton Chain via Guix-patches via
2023-06-23 15:35     ` [bug#64255] [PATCH 1/2] gnu: Add ftest Hilton Chain via Guix-patches via
2023-06-23 15:35     ` [bug#64255] [PATCH 2/2] gnu: utfcpp: Update to 3.2.3 Hilton Chain via Guix-patches via
2023-08-03 14:05     ` [bug#64255] [PATCH v2 0/2] " Hilton Chain via Guix-patches via
2023-08-03 14:06       ` [bug#64255] [PATCH v2 1/2] gnu: Add ftest Hilton Chain via Guix-patches via
2023-08-03 14:06       ` [bug#64255] [PATCH v2 2/2] gnu: utfcpp: Update to 3.2.3 Hilton Chain via Guix-patches via
2023-08-13  4:50     ` [bug#64255] [PATCH v3 0/2] gnu: utfcpp: Update to 3.2.4 Hilton Chain via Guix-patches via
2023-08-13  4:51       ` [bug#64255] [PATCH v3 1/2] gnu: Add ftest Hilton Chain via Guix-patches via
2023-08-13  4:51       ` [bug#64255] [PATCH v3 2/2] gnu: utfcpp: Update to 3.2.4 Hilton Chain via Guix-patches via
2023-08-30 12:57     ` [bug#64255] Green light Andreas Enge
2023-09-01  9:00       ` bug#64255: " Hilton Chain via Guix-patches via
2023-06-28 18:33   ` [bug#63765] [PATCH v4 0/6] gnu: python-lief: Update to 0.13.2 Hilton Chain via Guix-patches via
2023-06-28 18:35     ` [bug#64333] [PATCH v4 1/6] gnu: mbedtls-apache: Rename package to mbedtls-apache-lts Hilton Chain via Guix-patches via
2023-06-29  4:22       ` Liliana Marie Prikler
2023-06-28 18:35     ` [bug#64332] [PATCH v4 2/6] gnu: mbedtls-apache-for-hiawatha: Use inherited source Hilton Chain via Guix-patches via
     [not found]       ` <handler.64332.B.168797732415505.ack@debbugs.gnu.org>
2023-06-28 18:44         ` bug#64336: bug#64332: Acknowledgement ([PATCH v4 2/6] gnu: mbedtls-apache-for-hiawatha: Use inherited source.) hako via Guix-patches via
2023-06-28 18:35     ` [bug#64334] [PATCH v4 3/6] gnu: mbedtls-apache-lts: Update to 2.28.3 Hilton Chain via Guix-patches via
2023-06-28 18:35     ` [bug#64335] [PATCH v4 4/6] gnu: Add mbedtls-apache, version 3.4.0 Hilton Chain via Guix-patches via
2023-06-28 18:35     ` [bug#64336] [PATCH v4 5/6] gnu: Add frozen Hilton Chain via Guix-patches via
2023-06-28 18:35     ` [bug#64337] [PATCH v4 6/6] gnu: python-lief: Update to 0.13.2 Hilton Chain via Guix-patches via
2023-06-30  7:43   ` [bug#63765] [PATCH v5 0/6] " Hilton Chain via Guix-patches via
2023-06-30  7:44     ` [bug#63765] [PATCH v5 1/6] gnu: mbedtls-apache: Rename package to mbedtls-apache-lts Hilton Chain via Guix-patches via
2023-06-30  7:44     ` [bug#63765] [PATCH v5 2/6] gnu: mbedtls-apache-for-hiawatha: Use inherited source Hilton Chain via Guix-patches via
2023-06-30  7:44     ` [bug#63765] [PATCH v5 3/6] gnu: mbedtls-apache-lts: Update to 2.28.3 Hilton Chain via Guix-patches via
2023-06-30  7:44     ` [bug#63765] [PATCH v5 4/6] gnu: Add mbedtls-apache, version 3.4.0 Hilton Chain via Guix-patches via
2023-06-30  7:44     ` [bug#63765] [PATCH v5 5/6] gnu: Add frozen Hilton Chain via Guix-patches via
2023-06-30  7:44     ` [bug#63765] [PATCH v5 6/6] gnu: python-lief: Update to 0.13.2 Hilton Chain via Guix-patches via
2023-08-05 13:18   ` Hilton Chain via Guix-patches via [this message]
2023-08-05 13:18     ` [bug#63765] [PATCH v6 01/10] gnu: mbedtls-apache: Rename to mbedtls-apache-lts Hilton Chain via Guix-patches via
2023-08-05 13:18     ` [bug#63765] [PATCH v6 02/10] gnu: mbedtls-apache-for-hiawatha: Use inherited source Hilton Chain via Guix-patches via
2023-08-05 13:18     ` [bug#63765] [PATCH v6 03/10] gnu: mbedtls-apache-lts: Update to 2.28.4 Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 04/10] gnu: Add mbedtls-apache, version 3.4.1 Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 05/10] gnu: Add frozen Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 06/10] gnu: Add boost-leaf Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 07/10] gnu: Add tcb-span Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 08/10] gnu: Add melkor Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 09/10] gnu: python-lief: Update to 0.13.2 Hilton Chain via Guix-patches via
2023-08-05 13:19     ` [bug#63765] [PATCH v6 10/10] gnu: python-lief: Rename to lief Hilton Chain via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1691240736.git.hako@ultrarare.space \
    --to=guix-patches@gnu.org \
    --cc=63765@debbugs.gnu.org \
    --cc=hako@ultrarare.space \
    --cc=jgart@dismail.de \
    --cc=lars@6xq.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.