[Bug 208534] New: missing dependency in package smart
https://bugzilla.novell.com/show_bug.cgi?id=208534 Summary: missing dependency in package smart Product: openSUSE 10.2 Version: Alpha 4 plus Platform: PowerPC OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: frank.hollmann@lfst.bayern.de QAContact: qa@suse.de rawls:~ # rpm -Uvh smart-0.42-15.i586.rpm error: Failed dependencies: _rpmmodule.so is needed by smart-0.42-15.i586 rawls:~ # _rpmmodule.so is provided by rpm-python. So that package should be a pre-requisite for smart. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 ------- Comment #1 from andreas.hanke@gmx-topmail.de 2006-09-27 15:33 MST ------- No, the rpm error message _rpmmodule.so is needed by smart-0.42-15.i586 is exactly the reason why smart does _not_ need "Requires: rpm-python", because rpm's find-provides/find-requires detects it automatically. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 ------- Comment #2 from andreas.hanke@gmx-topmail.de 2006-09-27 15:51 MST ------- Hm, the _rpmmodule.so dependency comes from rpmhelper.so. Independently of the above dependency question, may I ask why this is packaged at all for >= 10.1? According to the README file, it is for x86_64 systems with rpm < 4.4.2 only. We have rpm 4.4.2. "If you have RPM >= 4.4.1-0.18, or is not on x86_64, DO NOT USE IT, because this is a hotfix, is ugly, and will die soon." Assuming that it would be killed, an explicit dependency to rpm-python would be needed. Pascal doesn't package this and it seems to work OK. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |cthiel@novell.com |screening@forge.provo.novell| |.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Comment #3 from cthiel@novell.com 2006-10-02 06:36 MST ------- fixed package submitted into build service and Factory. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #4 from andreas.hanke@gmx-topmail.de 2006-10-12 20:02 MST ------- Sorry, I was wrong! The above statement is quoted from http://svn.labix.org/smart/trunk/contrib/rpmhelper/README but it's not true: It does not work with ancient rpm-4.1.1 on 9.3/10.0, neither on x86_64 nor on i586. This affects the 9.3/10.0 packages in the build service only, rpmhelper is needed there. 10.1 and Factory are fine. Just for the records, this is the rpm bug where the information that it's x86_64 only comes from: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=146477 And this is a traceback from 9.3/i586: Traceback (most recent call last): File "/usr/bin/smart", line 194, in ? main(sys.argv[1:]) File "/usr/bin/smart", line 167, in main exitcode = iface.run(opts.command, opts.argv) File "/usr/lib/python2.4/site-packages/smart/interface.py", line 53, in run result = _command.main(self._ctrl, opts) File "/usr/lib/python2.4/site-packages/smart/commands/upgrade.py", line 180, in main ctrl.commitTransactionStepped(trans, confirm=confirm) File "/usr/lib/python2.4/site-packages/smart/control.py", line 552, in commitTransactionStepped caching, confirm) File "/usr/lib/python2.4/site-packages/smart/control.py", line 556, in commitChangeSetStepped if confirm and not iface.confirmChangeSet(changeset): File "/usr/lib/python2.4/site-packages/smart/interfaces/text/interface.py", line 107, in confirmChangeSet return self.showChangeSet(changeset, confirm=True) File "/usr/lib/python2.4/site-packages/smart/interfaces/text/interface.py", line 223, in showChangeSet size = report.getInstallSize() - report.getRemoveSize() File "/usr/lib/python2.4/site-packages/smart/report.py", line 200, in getRemoveSize size = info.getInstalledSize() File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", line 87, in getInstalledSize return self._h[rpm.RPMTAG_SIZE] File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", line 58, in __get__ obj._h = obj._loader.getHeader(obj._package) File "/usr/lib/python2.4/site-packages/smart/backends/rpm/header.py", line 580, in getHeader mi = getTS().dbMatch(0, pkg.loaders[self]) TypeError: argument 2 must be string or None, not int -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |andreas.hanke@gmx-topmail.de ------- Comment #5 from cthiel@novell.com 2006-10-14 14:23 MST ------- So, what you are suggesting? Providing rpmhelper on 9.3/10.0 on i586 and x86_64? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 andreas.hanke@gmx-topmail.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED ------- Comment #6 from andreas.hanke@gmx-topmail.de 2006-10-14 14:37 MST ------- Created an attachment (id=101503) --> (https://bugzilla.novell.com/attachment.cgi?id=101503&action=view) Proposal Yes, exactly. Attaching a patch for clarity. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=208534 cthiel@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #7 from cthiel@novell.com 2006-10-14 14:53 MST ------- fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com