• Bug#1069214: libuv1: please add support for loong64

    From wuruilong@21:1/5 to All on Thu Apr 18 05:10:02 2024
    This is a multi-part MIME message sent by reportbug.


    Package: libuv1
    Version: 1.46.0-3
    Severity: normal
    Tags: patch
    User: debian-loongarch@lists.debian.org
    Usertags: loong64
    X-Debbugs-Cc: wuruilong@loongson.cn

    Dear Maintainer,

    The libuv1 software fails to compile on loongarch architecture, please refer to the attached patch to fix it.

    wuruilong

    -- System Information:
    Debian Release: trixie/sid
    APT prefers unreleased
    APT policy: (500, 'unreleased'), (500, 'unstable')
    Architecture: loong64 (loongarch64)

    Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads) Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
    Shell: /bin/sh linked to /usr/bin/dash
    Init: unable to detect

    Versions of packages libuv1 depends on:
    ii libc6 2.37-13

    libuv1 recommends no packages.

    libuv1 suggests no packages.

    -- no debconf information

    Description: <short summary of the patch>
    TODO: Put a short summary on the line above and replace this paragraph
    with a longer explanation of this change. Complete the meta-information
    with other relevant fields (see below for details). To make it easier, the
    information below has been extracted from the changelog. Adjust it or drop
    it.
    .
    libuv1 (1.48.0-1.1) unstable; urgency=medium
    .
    * Non-maintainer upload.
    * Rename libraries for 64-bit time_t transition. Closes: #1062694
    Author: Graham Inggs <ginggs@debian.org>
    Bug-Debian: https://bugs.debian.org/1062694

    ---
    The information above should follow the Patch Tagging Guidelines, please checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
    are templates for supplementary fields that you might want to add:

    Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
    Bug: <upstream-bugtracker-url>
    Bug-Debian: https://bugs.debian.org/<bugnumber>
    Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
    Forwarded: (no|not-needed|<patch-forwarded-url>)
    Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
    Reviewed-By: <name and email of someone who approved/reviewed the patch> Last-Update: 2024-04-18

    --- libuv1-1.48.0.orig/.github/workflows/CI-unix.yml
    +++ libuv1-1.48.0/.github/workflows/CI-unix.yml
    @@ -110,6 +110,7 @@ jobs:
    - {target: ppc64, toolchain: gcc-powerpc64-linux-gnu, cc: powerpc64-linux-gnu-gcc, qemu: qemu-ppc64-static }
    - {target: ppc64le, toolchain: gcc-powerpc64le-linux-gnu, cc: powerpc64le-linux-gnu-gcc, qemu: qemu-ppc