Bug 22407

Summary: gnucash /.build-id/ dangling links
Product: Mageia Reporter: Bit Twister <bittwister2>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa, lists.jjorge, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: gnucash-2.6.18-2.mga7 CVE:
Status comment:
Attachments: gnucash dangles
Reproducer for the bug

Description Bit Twister 2018-01-16 16:53:51 CET
Description of problem:  mga7 dev0

The following are the dangling links: 
/usr/lib/.build-id/1b/d25c65cd9bff576649afe2c6a7e9429f6fc209 -> ../../../../usr/lib64/gnucash/libgncmod-aqbanking.so 
/usr/lib/.build-id/e7/f52ea6f4ac7fc2e1a9da967cfa29dfc52c743f -> ../../../../usr/lib64/gnucash/libgncmod-ofx.so 



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


How reproducible: Always


Steps to Reproduce:
1. upgrade install using Mageia-6-x86_64-DVD.iso plus updates.
   Set Cauldron media with enabled nonfree and tainted media.
2. apply all updates, then run
3. symlinks -r / | grep dangling
Comment 1 Bit Twister 2018-01-16 16:55:51 CET
Created attachment 9907 [details]
gnucash dangles
Comment 2 Jani Välimaa 2018-01-17 16:09:33 CET
Created attachment 9911 [details]
Reproducer for the bug

There's a bug in rpm which causes that .build-id symlink ends to a multiple pkgs if %exclude is used in .spec.

CC: (none) => jani.valimaa

Comment 3 Jani Välimaa 2018-01-17 16:24:25 CET
(In reply to Jani Välimaa from comment #2)
> Created attachment 9911 [details]
> Reproducer for the bug
> 
> There's a bug in rpm which causes that .build-id symlink ends to a multiple
> pkgs if %exclude is used in .spec.

http://svnweb.mageia.org/packages/cauldron/gnucash/current/SPECS/gnucash.spec?revision=1178684&view=markup#l204
Marja Van Waes 2018-01-18 07:43:18 CET

Source RPM: gnucash-2.6.18-2.mga7.src.rpm => gnucash-2.6.18-2.mga7.src.rpm, rpm
CC: (none) => marja11

Comment 6 Marja Van Waes 2018-01-18 21:20:57 CET
Assigning to all packagers collectively, since there is no registered maintainer for gnucash

Assignee: bugsquad => pkg-bugs
Source RPM: gnucash-2.6.18-2.mga7.src.rpm, rpm => gnucash-2.6.18-2.mga7

Comment 7 José Jorge 2018-05-15 16:00:53 CEST
fixed in commit 1229706 : all file are listed without %exclude

Resolution: (none) => FIXED
CC: (none) => lists.jjorge
Status: NEW => RESOLVED