Hi Mike,

Hau idatzi du W. Michael Petullo (m...@flyn.org) erabiltzaileak (2023
urr. 4(a), az. (14:08)):
>
> I recently finished packaging the dependencies for golang-modernc-sqlite,
> and so I am trying to build golang-modernc-sqlite using "fedpkg build". I
> received an error that I am not familiar with:
>
> 107041465 build (rawhide, 
> /rpms/golang-modernc-sqlite.git:4e124a5404385a63af99570ce90cbaa7bdf4c722): 
> open (buildvm-x86-08.iad2.fedoraproject.org) -> FAILED: BuildError: The 
> following noarch package built differently on different architectures: 
> golang-modernc-sqlite-devel-1.25.0-1.fc40.noarch.rpm
> rpmdiff output was:
> removed     PROVIDES golang(modernc.org/sqlite/internal/libc2) = 1.25.0-1.fc40
> removed     PROVIDES golang(modernc.org/sqlite/internal/libc2)(tag=v1.25.0) = 
> 1.25.0-1.fc40
> removed     /usr/share/gocode/src/modernc.org/sqlite/internal/libc2
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/all_test.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_darwin_amd64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_darwin_arm64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_freebsd_amd64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_freebsd_arm64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_linux_386.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_linux_amd64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_linux_arm.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_linux_arm64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_linux_s390x.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_netbsd_amd64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_windows_amd64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/capi_windows_arm64.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/libc2_netbsd.go
> removed     
> /usr/share/gocode/src/modernc.org/sqlite/internal/libc2/libc2_unix.go
>   0 free  1 open  4 done  1 failed
>   107041507 buildArch (golang-modernc-sqlite-1.25.0-1.fc40.src.rpm, ppc64le): 
> open (buildvm-ppc64le-32.iad2.fedoraproject.org) -> closed
>   0 free  0 open  5 done  1 failed
>
> Does anyone know what might be causing this? I think I understand the
> concept behind the message, but I am not sure how the error arises. The
> package is another one of our source/-devel Go packages.

Can you try the approach used in package
golang-github-cloudflare-circl? Check this for example:

https://src.fedoraproject.org/rpms/golang-github-cloudflare-circl/blob/rawhide/f/golang-github-cloudflare-circl.spec#_27

Regards,
Mikel
_______________________________________________
golang mailing list -- golang@lists.fedoraproject.org
To unsubscribe send an email to golang-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/golang@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to