GNOME Bugzilla – Bug 524765
Files are installed with wrong permissions
Last modified: 2008-04-05 16:56:24 UTC
Please describe the problem: In the process of getting gnome-subtitles into Fedora, the reviever pointed out the following: gnome-subtitles.x86_64: W: unstripped-binary-or-object /usr/lib64/gnome-subtitles/libgstreamer_playbin.so gnome-subtitles-debuginfo.x86_64: E: empty-debuginfo-package The first one is caused by the fact the shared object, the assemblies and the mono executable are installed as *_DATA defined in Makefile.am and src/Makefile.am: -rw-r--r-- /usr/lib64/gnome-subtitles/GStreamerPlaybin.dll -rw-r--r-- /usr/lib64/gnome-subtitles/gnome-subtitles.exe -rw-r--r-- /usr/lib64/gnome-subtitles/libgstreamer_playbin.so -rw-r--r-- /usr/lib64/gnome-subtitles/sublib.dll Thus find-debuginfo.sh cannot find anything since it searches for executable files after install only which causes the second error, an empty debuginfo package. There is an example of how to properly handle mono applications with automake at http://www.mono-project.com/Guidelines:Application_Deployment#Auto-tools where they use *_SCRIPTS to have automake properly handle mono executables. I've attached a patch made according to the guide that fixes the issue, you can use it if you want, just an additional autoreconf call needs to be added in build before configure. Please also inform upstream about the issue and offer them the patch. I am thus providing you with the patch. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 108163 [details] [review] Patch fixing the install permissions
Hi, Thanks for the report and patch. It's fixed in trunk. As for the Fedora packaging process, feel free to contact me if you need information on Gnome Subtitles or SubLib. Regards.