On Wed, 4 Oct 2023 at 08:08, W. Michael Petullo <m...@flyn.org> wrote:
> 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 When I have seen this elsewhere it is because some code is not really 'noarch' but does something different on a particular architecture. In this case, it looks like there is a filter which removes a large amount of 'published' code if the go package is compiled on a ppc(64le). Basically something decided 'didn't need to ship all those x86_64/s390/arm(64) go packages' and filtered them out from the install. Thus when koji compares the noarch to make sure they are really the same.. it finds that no one arch isn't. > > 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. > > -- > Mike > > :wq > _______________________________________________ > 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 > -- Stephen Smoogen, Red Hat Automotive Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren
_______________________________________________ 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