[pkg-go] Bug#1074251: webhook: loong64 was supported in upstream
zhangdandan
zhangdandan at loongson.cn
Tue Oct 8 10:31:59 BST 2024
Hi Free Ekanayaka,
Sorry to bother you. Please review the below messages about loong64 was
supported in webhook upstream.
I have checked that the loong64 was supported in master branch (not be
supported in tags 2.8.0 and 2.8.1).
On Tue, 25 Jun 2024 16:44:04 +0800 zhangdandan wrote:
> Source: webhook
> Version: 2.8.0-4
> Severity: normal
> Tags: patch
> User: debian-loongarch at lists.debian.org
> Usertags: loong64
>
> Hi maintainers,
>
> Compiling the webhook failed for loong64 in the Debian Package
> Auto-Building environment.
> Build failed 10 times.
The error build log is as follows,
```
crypto/cipher
github.com/adnanh/webhook/vendor/golang.org/x/sys/unix
# github.com/adnanh/webhook/vendor/golang.org/x/sys/unix
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/affinity_linux.go:14:20:
undefined: _CPU_SETSIZE
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/affinity_linux.go:14:35:
undefined: _NCPUBITS
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/affinity_linux.go:17:25:
undefined: cpuMask
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/sockcmsg_unix.go:33:9:
undefined: Cmsghdr
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:436:11:
undefined: RawSockaddrLinklayer
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:461:9:
undefined: RawSockaddrNetlink
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:477:10:
undefined: RawSockaddrHCI
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:494:11:
undefined: RawSockaddrL2
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:543:6:
undefined: RawSockaddrRFCOMM
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:574:10:
undefined: RawSockaddrCAN
src/github.com/adnanh/webhook/vendor/golang.org/x/sys/unix/syscall_linux.go:574:10:
too many errors
```
> The full log can be found at
>
https://buildd.debian.org/status/logs.php?pkg=webhook&ver=2.8.0-4&arch=loong64.
>
> The loong64 wasn't supported in Debian webhook 2.8.0-4.
> root at localhost:/home/webhook-2.8.0/vendor/golang.org/x/sys/unix# find .
> -name "*loong64*"
> The output is null.
>
> The loong64 wasn't supported in webhook upstream.
> Please check
>
https://github.com/adnanh/webhook/tree/master/vendor/golang.org/x/sys/unix.
loong64 was supported in webhook upstream.
I have checked that the loong64 was supported in master branch (not be
supported in tags 2.8.0 and 2.8.1).
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.
```
dh_md5sums -O--buildsystem=golang
dh_builddeb -O--buildsystem=golang
dpkg-deb: building package 'webhook' in '../webhook_2.8.0-4_loong64.deb'.
dpkg-deb: building package 'webhook-dbgsym' in
'../webhook-dbgsym_2.8.0-4_loong64.deb'.
dpkg-genbuildinfo -O../webhook_2.8.0-4_loong64.buildinfo
dpkg-genchanges -O../webhook_2.8.0-4_loong64.changes
dpkg-genchanges: info: not including original source code in upload
dpkg-source --after-build .
```
Releasing the next release version, based on upstream master support for
loongarch architecture, may take a long time. e.g.
webhook 2.8.0 release date is December 6, 2020.
webhook 2.8.1 release date is May 23, 2023.
Could you give us some suggestions about supporting loong64 in webhook's
source package?
Thanks,
Dandan Zhang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-go-maintainers/attachments/20241008/9dc6c1d7/attachment.htm>
More information about the Pkg-go-maintainers
mailing list