• Bug#1050486: #1050486 loong64 patch for netw-ib-ox-ag

    From John Paul Adrian Glaubitz@21:1/5 to All on Fri Dec 27 11:10:01 2024
    Hello,

    On Fri, 2024-12-27 at 11:02 +0800, xiao sheng wen(肖盛文) wrote:
    Hi,

    #1050486 loong64 patch for netw-ib-ox-ag [1]:

    --- netw-ib-ox-ag-5.39.0.orig/src/netwib-src/src/genemake
    +++ netw-ib-ox-ag-5.39.0/src/netwib-src/src/genemake
    @@ -130,6 +130,9 @@ case $unamem in
    "riscv64" )
    NETWIBDEF_SYSARCH="riscv64"
    ;;
    + "loongarch64" )
    + NETWIBDEF_SYSARCH="loongarch64"
    + ;;
    * )
    echo "Error: Could not guess NETWIBDEF_SYSARCH.";
    echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";

    Is NETWIBDEF_SYSARCH should be "loong64"? not "loongarch64"?

    It should be loongarch64, not loong64. The latter is Debian's architecture name, not the generic GNU triplet arch name.

    I test use NETWIBDEF_SYSARCH="loong64", it build success.

    I had do NMU for netw-ib-ox-ag package before, I would do NMU for loong64 support.

    Is there no upstream project for this anymore?

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Fri Dec 27 11:40:01 2024
    On Fri, 2024-12-27 at 18:31 +0800, xiao sheng wen(肖盛文) wrote:
    It should be loongarch64, not loong64. The latter is Debian's architecture name, not the generic GNU triplet arch name.

    Did you miss this comment?

    I test use NETWIBDEF_SYSARCH="loong64", it build success.

    I had do NMU for netw-ib-ox-ag package before, I would do NMU for loong64 support.
    Is there no upstream project for this anymore?

    Adrian

    This package's upstream is not active now, EOL.

    You may see it's homepage: https://ntwox.sourceforge.net/

    Also has a bugreport about: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842344

    Then it might be worth thinking about removing it.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to John Paul Adrian Glaubitz on Fri Dec 27 22:50:01 2024
    Hello Xiao Sheng,

    On Fri, 2024-12-27 at 10:59 +0100, John Paul Adrian Glaubitz wrote:
    Hello,

    On Fri, 2024-12-27 at 11:02 +0800, xiao sheng wen(肖盛文) wrote:
    Hi,

    #1050486 loong64 patch for netw-ib-ox-ag [1]:

    --- netw-ib-ox-ag-5.39.0.orig/src/netwib-src/src/genemake
    +++ netw-ib-ox-ag-5.39.0/src/netwib-src/src/genemake
    @@ -130,6 +130,9 @@ case $unamem in
    "riscv64" )
    NETWIBDEF_SYSARCH="riscv64"
    ;;
    + "loongarch64" )
    + NETWIBDEF_SYSARCH="loongarch64"
    + ;;
    * )
    echo "Error: Could not guess NETWIBDEF_SYSARCH.";
    echo "Edit genemake to set NETWIBDEF_SYSARCH, and rerun genemake.";

    Is NETWIBDEF_SYSARCH should be "loong64"? not "loongarch64"?

    It should be loongarch64, not loong64. The latter is Debian's architecture name, not the generic GNU triplet arch name.

    Can you please fix your patch? The arch name "loong64" is specific to Debian and should not be used within source codes where the GNU triplet arch name
    is expected.

    Thanks,
    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer
    `. `' Physicist
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)