Bug 725423 - Perl dependency generator: trailing spaces after dependency name
Summary: Perl dependency generator: trailing spaces after dependency name
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Packaging Toolset Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 694496
TreeView+ depends on / blocked
 
Reported: 2011-07-25 12:58 UTC by Petr Pisar
Modified: 2012-05-07 13:03 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-05-07 13:03:19 UTC
Type: ---


Attachments (Terms of Use)

Description Petr Pisar 2011-07-25 12:58:33 UTC
Dependency generator exports sometimes dependency names with trailing white spaces. This can confuse dependency filters defined in package spec file.

Example:

package perl-Memoize-ExpireLRU, commit 105c1eeeb397f2db55eeb0b070d99432f2dcecac, rpm-4.9.1-2.fc16: Unversioned Provides perl(Memoize::ExpireLRU) has two trailings spaces.

Comment 1 Panu Matilainen 2011-09-09 07:28:33 UTC
Where exactly are you seeing this trailing whitespace? If it's 'rpm -qp --provides' output, the trailing whitespace is not really there, it's just an (unwanted) artifact of how --provides/--requires etc are implemented (see bug 717534).

Comment 2 Petr Pisar 2011-09-09 07:49:55 UTC
The space was passed to dependency filters defined in spec file too (both the old %filter_from_* and the new __*_exclude).

However I cannot reproduce it now  with rpm-4.9.1.1-2.fc17.x86_64. We have lot of such "\s*" hacks in perl-* spec files, so this is not my imagination. Maybe it has been fixed meanwhile somehow. I will give a try with older rpm later.

Comment 3 Panu Matilainen 2011-09-09 08:38:45 UTC
I'm not saying you're imagining things, but with the myriad combinations of perl dependency extraction and filtering mechanisms that exist (including the alternative depgen from perl-rpm-build-perl), without an exact reproducer looking into this would be just chasing ghosts.

Comment 4 Fedora Admin XMLRPC Client 2012-04-13 23:06:55 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2012-04-13 23:10:30 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Panu Matilainen 2012-05-07 13:03:19 UTC
Feel free to reopen if you come up with a reproducer, but without one chasing this would be hopeless waste of time.


Note You need to log in before you can comment on or make changes to this bug.