After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 524765 - Files are installed with wrong permissions
Files are installed with wrong permissions
Status: RESOLVED FIXED
Product: gnome-subtitles
Classification: Other
Component: general
0.7.2
Other All
: Normal normal
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2008-03-28 09:43 UTC by Julian Sikorski
Modified: 2008-04-05 16:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch fixing the install permissions (9.51 KB, patch)
2008-03-28 09:44 UTC, Julian Sikorski
none Details | Review

Description Julian Sikorski 2008-03-28 09:43:18 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:
Comment 1 Julian Sikorski 2008-03-28 09:44:40 UTC
Created attachment 108163 [details] [review]
Patch fixing the install permissions
Comment 2 Pedro Castro 2008-04-05 16:56:24 UTC
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.