[Bug 599380] New: SLE11 build service repository builds RPM unusable on patched SLE11 system
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c0 Summary: SLE11 build service repository builds RPM unusable on patched SLE11 system Classification: openSUSE Product: openSUSE.org Version: unspecified Platform: Other OS/Version: SLED 11 Status: NEW Severity: Normal Priority: P5 - None Component: BuildService AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: john@redux.org.uk QAContact: adrian@novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 The server:proxy project builds 'dansguardian' for SLE_11. This package links against libclamav, with libclamav.so.5 at the SLE 11 GA. However, the current libclamav in a patched SLE 11 is libclamav.so.5. So, you cannot install the 'dansguardian' package from OBS on a patched SLE_11 machine, as libclamav.so.4 is not available.
From an email I was sent by a SLE 11 user:
galois home/fst# rpm -qi clamav Name : clamav Relocations: (not relocatable) Version : 0.95.3 Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany Release : 0.1.1 Build Date: Fri Oct 30 10:51:11 2009 .. Distribution: SUSE Linux Enterprise 11 galois home/fst# rpm -ql clamav | grep libclamav.so /usr/lib64/libclamav.so /usr/lib64/libclamav.so.6 /usr/lib64/libclamav.so.6.0.5 But the dansguardian packages still expect the .5 version: libclamav.so.5()(64bit) is needed by dansguardian-2.10.1.1-4.1.x86_64 libclamav.so.5(CLAMAV_PUBLIC)(64bit) is needed by dansguardian-2.10.1.1-4.1.x86_64 Reproducible: Always Steps to Reproduce: 1.Build a package in OBS for SLE11 that links against libclamav 2.Try to install the resulting package on a fully patched SLE 11 machine Actual Results: Package fails to install Expected Results: Package installs correctly -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c1 --- Comment #1 from John Beranek <john@redux.org.uk> 2010-04-23 20:36:06 UTC --- I wrote:
However, the current libclamav in a patched SLE 11 is libclamav.so.5.
I meant: However, the current libclamav in a patched SLE 11 is libclamav.so.6. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c yang xiaoyu <xyyang@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyyang@novell.com AssignedTo|bnc-team-screening@forge.pr |adrian@novell.com |ovo.novell.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c2 Adrian Schröter <adrian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|adrian@novell.com |mseben@novell.com --- Comment #2 from Adrian Schröter <adrian@novell.com> 2010-04-26 07:11:40 UTC --- this is not a build service bug. please report against the project owners instead. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c3 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |adrian@novell.com InfoProvider| |max@novell.com AssignedTo|mseben@novell.com |max@novell.com --- Comment #3 from Michal Seben <mseben@novell.com> 2010-04-26 08:50:23 UTC --- the source of problem : in internal BuildService : # SUSE:SLE-11:GA contains clamav-0.94.2 -> libclamav.so.5 # SUSE:SLE-11:Update contains clamav-0.96 -> libclamav.so.6 in openBuildService : in server:proxy we use SUSE:SLE-11/standard (which is SUSE:SLE-11:GA) for dansguardian package ----- so problem could occurs when customer use SUSE:SLE-11:Update and mix it with openBuildService repo SUSE:SLE-11/standard, not sure howto deal with this, because dansguardian is not in SLE and I can't set SUSE:SLE-11:Update build repository (with libclamav.so.6) in openBuildService ----- but as a workaround ... i created server:proxy:dansguardian_backport where dansguardian is linking against latest clamav (0.96) (linked from security repo) and SUSE:SLE-11/standard ---- Max, do you have better solution ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c4 --- Comment #4 from John Beranek <john@redux.org.uk> 2010-04-26 08:55:10 UTC --- I have a different package solution building in home:johnberanek/dansguardian. I have disabled linking with libclamav, leaving clamd support. This is not so radical, as upstream have now removed libclamav support entirely. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c8 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |john@redux.org.uk --- Comment #8 from Michal Seben <mseben@novell.com> 2010-04-26 12:41:54 UTC --- (In reply to comment #4)
I have a different package solution building in home:johnberanek/dansguardian. I have disabled linking with libclamav, leaving clamd support.
This is not so radical, as upstream have now removed libclamav support entirely.
Hi John, you could find solution - without disabling libclamav support in server:proxy:dansguardian_backport - we build against clamav from security repo is this solution ok for you ? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c9 --- Comment #9 from John Beranek <john@redux.org.uk> 2010-04-26 12:48:36 UTC --- It's a bit of a dubious solution, fixing the package for SLE11 users by linking against a "completely different"[1] clamav than the one they have installed. Or are you suggesting that any who uses the "server:proxy" repository should also use "security"? [1] 0.96-27.1 in "security", 0.95.3 in SLE11 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c10 --- Comment #10 from Michal Seben <mseben@novell.com> 2010-04-26 13:27:48 UTC --- (In reply to comment #9)
It's a bit of a dubious solution, fixing the package for SLE11 users by linking against a "completely different"[1] clamav than the one they have installed.
Or are you suggesting that any who uses the "server:proxy" repository should also use "security"? hm, I mean : you have to add only repo server:proxy:dansguardian_backport, clamav and dansguardian with latest version are inside this repo (check osc ls server:proxy:dansguardian_backport), so both will be installed from it
[1] 0.96-27.1 in "security", 0.95.3 in SLE11
in SUSE:SLE-11:Update I see clamav 0.96 ... check osc: osc -A https://api.suse.de cat SUSE:SLE-11:Update clamav clamav.spec | grep Version: -- so in short :) if someone on sles-11 want dansguardian (which isn't in Factory or Contrib ...), he have to add server:proxy:dansguardian_backport repo (we could rename this repo e.g server:proxy:dansguardian_sles10_update) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c11 --- Comment #11 from John Beranek <john@redux.org.uk> 2010-04-26 14:14:45 UTC --- Ah, OK - I see what you're doing in 'server:proxy:dansguardian_backport'. I only based my clamav version number on what the original reporter had in their SLE11 installation. I guess they weren't fully up-to-date. If it can be made to work in a sub-project, what do you do with the SLE11 dansguardian build in server:proxy, delete it? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c12 --- Comment #12 from Reinhard Max <max@novell.com> 2010-04-26 16:16:06 CEST --- (In reply to comment #9)
It's a bit of a dubious solution, fixing the package for SLE11 users by linking against a "completely different"[1] clamav than the one they have installed.
Normally you'll find the same version of ClamAV in the security project and on SLE installations that have installed the latest updates. It is only through short periods of time when a new version of ClamAV is being released, that the security project already has the newer version while the official updates are still waiting for QA approval. So, within the next few days up-to-date SLE11 installations should all have 0.96 installed. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c13 Michal Seben <mseben@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|john@redux.org.uk | Resolution| |FIXED --- Comment #13 from Michal Seben <mseben@novell.com> 2010-04-30 11:00:00 UTC --- (In reply to comment #11)
If it can be made to work in a sub-project, what do you do with the SLE11 dansguardian build in server:proxy, delete it?
no in server:proxy is dansguardian build also for other products ... so I will just disable build and publishing dansguardian package for sle11 in this repo + I renamed server:proxy:dansguardian_backport to server:proxy:dansguardian_SLE11 I think it's more informative i am closing this as resolved, but feel free to reopen -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c14 --- Comment #14 from Reinhard Max <max@novell.com> 2010-04-30 13:14:17 CEST --- Hmm - shouldn't dansguardian be built against the latest ClamAV version from the security project for all targets, not just SLE11? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c15 --- Comment #15 from Michal Seben <mseben@novell.com> 2010-04-30 11:56:01 UTC --- I checked changes files in 11.1 and 11.2 and SLE-10-SP3:Update:Test, and i see that version of clamav is moved really fast also in other repos, so this bug report could be applied at least on SLE-10-SP3:GA repo (same situation with GA and Update repo) thanks Max :) John : so probably better solution is just drop server:proxy:dansguardian_SLE11 and server:proxy:dansguardian_backport project and create link in server:proxy to clamav package in security project, so we will cover also other products (which could have same problems like SLE11) so just for record: fix for this bug is just create link in server:proxy to clamav package in security project -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=599380 http://bugzilla.novell.com/show_bug.cgi?id=599380#c16 --- Comment #16 from John Beranek <john@redux.org.uk> 2010-04-30 21:02:09 UTC --- (In reply to comment #15)
John : so probably better solution is just drop server:proxy:dansguardian_SLE11 and server:proxy:dansguardian_backport project and create link in server:proxy to clamav package in security project, so we will cover also other products (which could have same problems like SLE11)
so just for record: fix for this bug is just create link in server:proxy to clamav package in security project
Well, this is pretty much what I do for dansguardian in home:johnberanek, but note that libclamav linkage is only enabled for SUSE >= 11.0 (but not SLES_11 in my build) and for Fedora. All builds get clamd support, which is the only option for clamav support in the latest upstream code. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com