Bug 278181
Summary: | Bad Provides | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Schwendt <bugs.michael> | ||||
Component: | ekg2 | Assignee: | Dominik 'Rathann' Mierzejewski <dominik> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | Keywords: | Reopened | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 0.1.1-1.fc8 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-11-26 18:48:12 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 235704 | ||||||
Attachments: |
|
Description
Michael Schwendt
2007-09-05 10:41:00 UTC
Yes, these are all plug-ins. Any idea how to fix this? They are not normal for sub-packages. But where do they come from? Do they also appear in a fresh scratch-build? Maybe they are generated as a side-effect of the Polish translations and are a bug in rpm-build? Ah! Bad SONAMEs from the plugin libs. You need to filter them out with customised find-provides scripts. OK. I've tried and failed. Could you point me to a working example? http://fedoraproject.org/wiki/PackagingDrafts/FilteringAutomaticDependencies That enough as a recipe? [...] An alternative way is like this: %define _use_internal_dependency_generator 0 # patch against /usr/lib/rpm/redhat/find-provides Patch1000: my.custom.find-provides.patch # here in %prep section cp -a /usr/lib/rpm/redhat/find-provides %{_tmppath}/find-provides.%{name} patch %{_tmppath}/find-provides.%{name} %{PATCH1000} %define __find_provides %{_tmppath}/find-provides.%{name} In that case you learn when the original find-provides changes in unexpected ways that break the customisation. Thank you for the pointers. Fixed in devel. I'll poke rel-eng. Created attachment 203651 [details]
one solution
* the sed regexp in your filter-provides.sh is broken,
it accidentally kills Provides you don't have in the list
* perl-ekg2 still provides "perl" (as the proof that the sed
is wrong -- perhaps you wanted to used \| instead of | but the
pattern is too inaccurate with /d)
* other sub-packages provide lots of symbols which look
like packages names, e.g.: jabber, gtk
(they are only deleted accidentally)
The attached patch doesn't filter the Provides, but the
filelist passed to find-provides. It takes out the plugins
and the Perl shared libs.
As a side-note, the iconv calls in the %install section break --short-circuit rpmbuilds, since source files in $RPM_BUILD_DIR are modified, and repeated conversion leads to file corruption. Better modify the files in %prep instead. New version is out and doesn't have the bad sonames anymore. I fixed the issue from comment 9, too. Scratch build here: http://koji.fedoraproject.org/koji/taskinfo?taskID=208558 ekg2-0.1.1-1.fc8 has been pushed to the Fedora 8 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ekg2' ekg2-0.1.1-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. |