<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Free Ekanayaka,</p>
    <p>Sorry to bother you. Please review the below messages about
      loong64 was supported in webhook upstream.</p>
    <p>I have checked that the loong64 was supported in master branch
      (not be supported in tags 2.8.0 and 2.8.1).<br>
    </p>
    <p>On Tue, 25 Jun 2024 16:44:04 +0800 zhangdandan <zhangdandan@loongson.cn>
        wrote:</zhangdandan@loongson.cn></p>
    <p><zhangdandan@loongson.cn></zhangdandan@loongson.cn></p>
    <zhangdandan@loongson.cn>> Source: webhook<br>
      > Version: 2.8.0-4<br>
      > Severity: normal<br>
      > Tags: patch<br>
      > User: <a class="moz-txt-link-abbreviated" href="mailto:debian-loongarch@lists.debian.org">debian-loongarch@lists.debian.org</a><br>
      > Usertags: loong64<br>
      > <br>
      > Hi maintainers,<br>
      > <br>
      > Compiling the webhook failed for loong64 in the Debian
      Package <br>
      > Auto-Building environment.<br>
    </zhangdandan@loongson.cn>
    <p><zhangdandan@loongson.cn>> Build failed 10 times.</zhangdandan@loongson.cn></p>
    <p><zhangdandan@loongson.cn>The error build log is as follows,</zhangdandan@loongson.cn></p>
    ```<br>
    crypto/cipher<br>
    github.com/adnanh/webhook/vendor/golang.org/x/sys/unix<br>
    # github.com/adnanh/webhook/vendor/golang.org/x/sys/unix<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/affinity_linux.go:14:20:
    undefined: _CPU_SETSIZE<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/affinity_linux.go:14:35:
    undefined: _NCPUBITS<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/affinity_linux.go:17:25:
    undefined: cpuMask<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/sockcmsg_unix.go:33:9:
    undefined: Cmsghdr<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:436:11:
    undefined: RawSockaddrLinklayer<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:461:9:
    undefined: RawSockaddrNetlink<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:477:10:
    undefined: RawSockaddrHCI<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:494:11:
    undefined: RawSockaddrL2<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:543:6:
    undefined: RawSockaddrRFCOMM<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:574:10:
    undefined: RawSockaddrCAN<br>
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:574:10:
    too many errors<br>
    ```<br>
    <p><zhangdandan@loongson.cn></zhangdandan@loongson.cn></p>
    <zhangdandan@loongson.cn>> The full log can be found at <br>
      >
<a class="moz-txt-link-freetext" href="https://buildd.debian.org/status/logs.php?pkg=webhook&ver=2.8.0-4&arch=loong64">https://buildd.debian.org/status/logs.php?pkg=webhook&ver=2.8.0-4&arch=loong64</a>.<br>
      > <br>
      > The loong64 wasn't supported in Debian webhook 2.8.0-4.<br>
      >
      <a class="moz-txt-link-abbreviated" href="mailto:root@localhost:/home/webhook-2.8.0/vendor/golang.org/x/sys/unix#">root@localhost:/home/webhook-2.8.0/vendor/golang.org/x/sys/unix#</a>
      find . <br>
      > -name "*loong64*"<br>
      > The output is null.<br>
      > <br>
      > The loong64 wasn't supported in webhook upstream.<br>
      > Please check <br>
      >
<a class="moz-txt-link-freetext" href="https://github.com/adnanh/webhook/tree/master/vendor/golang.org/x/sys/unix">https://github.com/adnanh/webhook/tree/master/vendor/golang.org/x/sys/unix</a>.<br>
    </zhangdandan@loongson.cn><br>
    loong64 was supported in webhook upstream.<br>
    I have checked that the loong64 was supported in master branch (not
    be supported in tags 2.8.0 and 2.8.1).<br>
    I copied the master branch's folder
    'webhook/vendor/golang.org/x/sys' to
    'webhook-2.8.0/vendor/golang.org/x/sys/', built webhook source
    package successfully on my local ENV.<br>
    ```<br>
       dh_md5sums -O--buildsystem=golang<br>
       dh_builddeb -O--buildsystem=golang<br>
    dpkg-deb: building package 'webhook' in
    '../webhook_2.8.0-4_loong64.deb'.<br>
    dpkg-deb: building package 'webhook-dbgsym' in
    '../webhook-dbgsym_2.8.0-4_loong64.deb'.<br>
     dpkg-genbuildinfo -O../webhook_2.8.0-4_loong64.buildinfo<br>
     dpkg-genchanges -O../webhook_2.8.0-4_loong64.changes<br>
    dpkg-genchanges: info: not including original source code in upload<br>
     dpkg-source --after-build .<br>
    ```<br>
    <p>Releasing the next release version, based on upstream master
      support for loongarch architecture, may take a long time. e.g.<br>
      webhook 2.8.0 release date is December 6, 2020.<br>
      webhook 2.8.1 release date is May 23, 2023.</p>
    <p>Could you give us some suggestions about supporting loong64 in
      webhook's source package?<br>
    </p>
    Thanks,<br>
    Dandan Zhang<br>
  </body>
</html>