I can co-maintain this package. My FAS ID is 'cheeselee'.
We don't have the tooling to package golang stuff in EPEL8 yet, I have requested it from RHEL folks https://bugzilla.redhat.com/show_bug.cgi?id=1774139 but I don't know how much time this will take. I will try to package it the old way but I'm not sure if it will work.
Ive got a SPEC ready to roll: https://koji.fedoraproject.org/koji/taskinfo?taskID=39634751 I'm waiting for the scm request to be approved and you'll get your package.
(In reply to Robert-André Mauchin from comment #2) > Ive got a SPEC ready to roll: > https://koji.fedoraproject.org/koji/taskinfo?taskID=39634751 > I'm waiting for the scm request to be approved and you'll get your package. That's great! Thanks!
I have set up a buildroot override so you should be able to build now.
xe-guest-utilities failed to build with 'missing function body' errors: # golang.org/x/sys/unix /usr/share/gocode/src/golang.org/x/sys/unix/syscall_linux_amd64_gc.go:13:6: missing function body /usr/share/gocode/src/golang.org/x/sys/unix/syscall_linux_gc.go:10:6: missing function body /usr/share/gocode/src/golang.org/x/sys/unix/syscall_linux_gc.go:14:6: missing function body /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing function body /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing function body /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing function body /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing function body https://kojipkgs.fedoraproject.org//work/tasks/9898/39679898/build.log The assembly files are missed in the el8 package?
golang-x-sys-0-0.29.20191215gitac6580d.el8 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-571753c980
(In reply to Robin Lee from comment #5) > xe-guest-utilities failed to build with 'missing function body' errors: > > # golang.org/x/sys/unix > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_linux_amd64_gc.go:13:6: > missing function body > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_linux_gc.go:10:6: > missing function body > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_linux_gc.go:14:6: > missing function body > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:12:6: missing > function body > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:13:6: missing > function body > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:14:6: missing > function body > /usr/share/gocode/src/golang.org/x/sys/unix/syscall_unix_gc.go:15:6: missing > function body > > https://kojipkgs.fedoraproject.org//work/tasks/9898/39679898/build.log > > The assembly files are missed in the el8 package? Woops made a typo in the find command for assembly files, should be fixed now.
xe-guest-utilities now compiled. But the debuginfo failed to generate. Do I have to use a different GO_FLAGS on EPEL8? The current version is: make PRODUCT_MAJOR_VERSION=%{upstream_major} \ PRODUCT_MINOR_VERSION=%{upstream_minor} \ PRODUCT_MICRO_VERSION=%{upstream_micro} \ RELEASE=%{buildnum} \ GO_FLAGS='-a -ldflags "${LDFLAGS:-}%{?currentgoldflags} -B 0x$$(head -c20 /dev/urandom|od -An -tx1|tr -d '"'"' \n'"'"') -extldflags '"'"'%__global_ldflags %{?__golang_extldflags}'"'"'" -v -x' build.log: https://kojipkgs.fedoraproject.org//work/tasks/2374/39692374/build.log
Yeah slight change that we fixed in Fedora but I don't recall how. First we had to disable DWARF compression because rpm didn't support it but we re enabled it later. For now add: -compressdwarf=false to the flags. make PRODUCT_MAJOR_VERSION=%{upstream_major} \ PRODUCT_MINOR_VERSION=%{upstream_minor} \ PRODUCT_MICRO_VERSION=%{upstream_micro} \ RELEASE=%{buildnum} \ GO_FLAGS='-a -ldflags "${LDFLAGS:-}%{?currentgoldflags} -B 0x$$(head -c20 /dev/urandom|od -An -tx1|tr -d '"'"' \n'"'"') -extldflags '"'"'%__global_ldflags %{?__golang_extldflags}'"'"' -compressdwarf=false" -v -x' I'll ask Jakub Čajka <jcajka> how we solved this. I think this was fixed in rpm 4.15 but the fix was reverted since.
golang-x-sys-0-0.29.20191215gitac6580d.el8.1 has been pushed to the Fedora EPEL 8 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-713c93d7dc
golang-x-sys-0-0.29.20191215gitac6580d.el8.1 has been pushed to the Fedora EPEL 8 stable repository. If problems still persist, please make note of it in this bug report.