Bug 1207945 - file-5.22 breaks libsymlink.attr -> built packages have missing dependencies
Summary: file-5.22 breaks libsymlink.attr -> built packages have missing dependencies
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: redhat-rpm-config
Version: 21
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Florian Festi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1215873 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-01 04:14 UTC by Bill Nottingham
Modified: 2015-05-12 20:45 UTC (History)
5 users (show)

Fixed In Version: file-5.22-3.fc21
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-02 18:05:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Bill Nottingham 2015-04-01 04:14:48 UTC
Description of problem:

With file 5.19:
[notting@nostromo: ~/prog/rpms/gwenhywfar/x86_64]$ file
/usr/lib64/libgwengui-gtk2.so
/usr/lib64/libgwengui-gtk2.so: symbolic link to `libgwengui-gtk2.so.0.0.0'

With file 5.22: (current F21 update, F22/F23 version)
[notting@nostromo: ~/prog/rpms/gwenhywfar/x86_64]$ file
/usr/lib64/libgwengui-gtk2.so
/usr/lib64/libgwengui-gtk2.so: symbolic link to libgwengui-gtk2.so.0.0.0

libsymlink.attr:
# Make libfoo.so symlinks require the soname-provide of the target library
%__libsymlink_requires		%{_rpmconfigdir}/elfdeps --provides --soname-only
%__libsymlink_magic		^symbolic link to `.*lib.*\.so\..*'$
%__libsymlink_exclude_path	^.*[[:digit:]]$


Version-Release number of selected component (if applicable):

redhat-rpm-config-27-1.fc21.noarch

How reproducible:

100%

Steps to Reproduce:
1. build some package
2. look at deps of -devel package

Actual results:

.so links not resolved into dependencies

Expected results:

.so links resolved into dependencies

Additional info:

Comment 1 Jan Kaluža 2015-04-01 05:59:13 UTC
Hm, I don't have test for symlinks in my File test-suite, so this change has not been catched by that. Do you want me to fix it on File side, or you will change the symbolic link magic in redhat-rpm-config?

For Rawhide at least, redhat-rpm-config should be changed.

Comment 2 Jan Kaluža 2015-04-28 07:01:32 UTC
*** Bug 1215873 has been marked as a duplicate of this bug. ***

Comment 3 Rex Dieter 2015-04-28 13:02:21 UTC
Imo, per comment #1, in f21, since it was a 'file' behavior change, that's where the fix should be (for f21 at least)

That said, fixing libsymlink.attr to handle the new output format for f22+ certainly makes sense... though it's a bit sad that since this has been broken for a couple of months, F22 will likely ship with many packages missing these symlink dependencies :(

Comment 4 Fedora Update System 2015-04-29 06:58:32 UTC
file-5.22-3.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/file-5.22-3.fc21

Comment 5 Fedora Update System 2015-04-29 07:07:57 UTC
file-5.22-3.fc22 has been submitted as an update for Fedora 22.
https://admin.fedoraproject.org/updates/file-5.22-3.fc22

Comment 6 Jan Kaluža 2015-04-29 07:09:27 UTC
I have fixed that in both F21 and F22. For rawhide, I'm keeping the upstream behaviour.

Comment 7 Jan Kaluža 2015-04-29 07:10:20 UTC
Moving bug back to assigned, so it is clear that there's action needed in rawhide.

Comment 8 Florian Festi 2015-04-29 13:22:31 UTC
Should be fixed in redhat-rpm-config-30-1.fc23.src.rpm

Comment 9 Fedora Update System 2015-04-30 11:42:46 UTC
Package file-5.22-3.fc21:
* should fix your issue,
* was pushed to the Fedora 21 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing file-5.22-3.fc21'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2015-7247/file-5.22-3.fc21
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2015-05-02 18:05:32 UTC
file-5.22-3.fc22 has been pushed to the Fedora 22 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2015-05-12 20:45:44 UTC
file-5.22-3.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.


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