[Bug 1093707] New: devel:tools:compiler/llvm6: duplicate binaries produced with llvm5 and llvm4
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707 Bug ID: 1093707 Summary: devel:tools:compiler/llvm6: duplicate binaries produced with llvm5 and llvm4 Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: 3rd party software Assignee: msrb@suse.com Reporter: jberry@suse.com QA Contact: bnc-team-screening@forge.provo.novell.com Found By: --- Blocker: --- libFuzzer: - llvm4 - llvm5 libc++-devel: - llvm4 - llvm5 - llvm6 libc++1: - llvm4 - llvm5 - llvm6 libc++abi-devel: - llvm4 - llvm5 - llvm6 libc++abi1: - llvm4 - llvm5 - llvm6 python3-clang: - llvm4 - llvm5 - llvm6 See dashboard/duplicate_binaries which is updated once daily: https://build.opensuse.org/package/view_file/openSUSE:Factory:Staging/dashbo.... It would seem the primary version of llvm should produce them and/or suffix/prefix with llvm version and use provides/conflicts to the current names. In that case it may require prefer added to project config. As it currently, stands identical binaries are produced which may have undefined behavior in OBS in terms of which is used. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707#c1
Michal Srb
It would seem the primary version of llvm should produce them and/or suffix/prefix with llvm version and use provides/conflicts to the current names. In that case it may require prefer added to project config.
Suffixing/prefixing the name causes issue with shlib-policy-name-error, for example: llvm4-libc++1.x86_64: E: shlib-policy-name-error (Badness: 10000) libc++1 llvm4-libc++abi1.x86_64: E: shlib-policy-name-error (Badness: 10000) libc++abi1 Your package contains a single shared library but is not named after its SONAME. I'll disable the build of libFuzzer/libc++* in all but the latest version of llvm. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707#c2
--- Comment #2 from Jimmy Berry
Suffixing/prefixing the name causes issue with shlib-policy-name-error, for example:
I was referring to the packages containing the libs not the libs themselves. As long as the packages are named differently they can provide the same files safely by including a conflict with eachother. To be clear something like the following for llvm4: libc++1-llvm4 (package name): Provides: libc++1 (old package name) Conflicts: libc++1 (other providers) That way both users and OBS can differentiate between the packages. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707#c3
--- Comment #3 from Michal Srb
(In reply to Michal Srb from comment #1)
Suffixing/prefixing the name causes issue with shlib-policy-name-error, for example:
I was referring to the packages containing the libs not the libs themselves. As long as the packages are named differently they can provide the same files safely by including a conflict with eachother.
I understand - that is what I tried. The "shlib-policy-name-error" requires that a package containing single library must be named after the library. So renaming the *package* breaks the policy. Rather than trying to get some exception, it will be easier to disable build of those packages in all but the newest version. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707#c4
Michal Srb
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707
http://bugzilla.opensuse.org/show_bug.cgi?id=1093707#c5
Michal Srb
participants (1)
-
bugzilla_noreply@novell.com