[Bug 990652] New: OBS: golang runtime shared library dependency not detected automatically
http://bugzilla.opensuse.org/show_bug.cgi?id=990652 Bug ID: 990652 Summary: OBS: golang runtime shared library dependency not detected automatically Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: BuildService Assignee: bnc-team-screening@forge.provo.novell.com Reporter: fcastelli@suse.com QA Contact: adrian@suse.com Found By: --- Blocker: --- The spec file of terraform-provider-libvirt has libvirt-devel as a build time dependency, however the final packages does not depend on the libvirt-client one. The Go binary provided by the package is dynamically linked against libvirt.so.0 and libvirt-qemu.so.0 as can be seen by running ldd against it. Expected outcome: OBS should find this runtime dependency automatically, as it does with the other types of binaries. The current spec file can be found here: https://build.opensuse.org/package/show/Virtualization:containers/terraform-... Right now we had to solve this issue by explicitly requiring the libvirt-client inside of the spec file. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=990652
Flavio Castelli
http://bugzilla.opensuse.org/show_bug.cgi?id=990652
http://bugzilla.opensuse.org/show_bug.cgi?id=990652#c1
--- Comment #1 from Thomas Boerger
http://bugzilla.opensuse.org/show_bug.cgi?id=990652
http://bugzilla.opensuse.org/show_bug.cgi?id=990652#c2
Aleksa Sarai
%undefine _build_create_debug %define __arch_install_post export NO_BRP_STRIP_DEBUG=true
From my understanding of what those two macros do, they shouldn't affect the part of OBS that does shared library detection. I'm more interested if this is another odd result of something inside golang_packaging? I'm CC-ing opensuse-golang@opensuse.org.
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=990652
http://bugzilla.opensuse.org/show_bug.cgi?id=990652#c3
Adrian Schröter
http://bugzilla.opensuse.org/show_bug.cgi?id=990652
http://bugzilla.opensuse.org/show_bug.cgi?id=990652#c4
Flavio Castelli
OBS is not doing any dependency detection, this is part of the distribution.
Either of the rpm package or done via additional helpers in other packages.
Sorry, I wasn't aware of it. Can you point to an existing implementation so we can learn what should be done? -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=990652
http://bugzilla.opensuse.org/show_bug.cgi?id=990652#c5
Flavio Castelli
participants (1)
-
bugzilla_noreply@novell.com