Red Hat Bugzilla – Bug 128906
Multiple perl SRPMS have conflicting filter-depends.sh
Last modified: 2007-11-30 17:10:46 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7)
Description of problem:
I pulled down all of the perl source RPMs from Fedora to make some
local modifications to them for our local installation. Several of
the srpms have a filter-depends.sh and depending upon the order that
you unpack the srpms, you'll get a broken build. In my case, I did an
rpm -ivh \
and my perl build doesn't install because the Mac:: and other
dependencies are not filtered out. These are the three perl srpms
that I found that contain the identically named yet different files.
I have my ~/.rpmmacros set up like this:
I'm guessing that at RedHat these conflicts do not occur, but could
these three files be given unique names such as
Version-Release number of selected component (if applicable):
Theoretically the file names for patches and scripts in spec files
are unique - as I saw it the last years at Red Hat. Maybe some patches
were modified later and were not synchronised... :-(
Workaround: Install the first source package and rebuild it, then use
the secound and go on like that.
sometimes it's filter-depends, sometimes it's filter-requires,
sometimes it's filter-depends-NAME, sometimes it's
filter-requires-NAME. Pretty much random as to which it is.
I'm not personally going to fix it proactively, but I will try to fix
them as I work on packages. patches, though, will be applied more
quickly, so please feel free to help out that way. otherwise it'll be
a slow target-of-opportunity process
Are you saying that you won't push a new RPM release just for this
issue, but if there's a patch to fix this issue and when there's a
new release, you'll include it?
If that's the case, I'm attaching a patch for perl.spec. Of course,
the filter*.sh will have to be renamed separately.
When you do a new perl SRPM, do you look for CLOSED/DEFERRED bugs?
Is this the proper state for a bug with a patch in it?
Created attachment 102366 [details]
Rename filter-depends.sh to filter-depends-perl.sh.