denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] Problems with 0.8.0 tarball when generating Fedora RP


From: Jeremiah Benham
Subject: Re: [Denemo-devel] Problems with 0.8.0 tarball when generating Fedora RPM files
Date: Thu, 15 Jan 2009 09:56:00 -0600

On Sat, 2009-01-10 at 13:23 +1100, Roy Rankin wrote:
> I have had several issues in generating clean (ie passes rpmlint) Fedora 
> RPM files for the 0.8.0 distribution tarball.
> 
> The first issue is the most important. As of 0.8.0 Denemo is linked 
> using the -rpath flag. This is not permitted in Fedora.

can you configure with this option?

 --disable-rpath

> Why is the -rpath flag being used? What are the alternatives.

The libtool manual suggests it:

http://sourceware.org/autobook/autobook/autobook_88.html

If disabling it does not work for you then I will remove it. 

> Two issues concern the actions tree.
> 
> 1> There are backup copies (ie ending in ~) files in this tree. As they 
> are not in git this is probably a production issue with the tarball. 
> Note that Fedora requires packages to be based on the released version 
> of the tarball from the upstream site where such a file exists.

I ran make dist and unpacked the tarball. I did not see any files ending
in ~.

> 2> In the current git version, a problem involves the install-data-hook 
> section of the Makefile. It does a "chmod -R 755 
> ${DESTDIR}/$(datadir)/${PACKAGE}/actions" command. This means the exec 
> bits are set for the text XML files. Text files with the exec bits set 
> and not starting with a shebang (#!) is considered an error.
> 

I tried 644 instead of 755 but I could not read the directories. actions
had this permission:

drw-r--r-- 3 root root  4096 2009-01-15 09:42 actions

When I do:

ls /usr/local/share/denemo/actions/

I get:

ls: cannot access /usr/local/share/denemo/actions/Makefile.am:
Permission denied
ls: cannot access /usr/local/share/denemo/actions/NumericKeypad.cmdset:
Permission denied
ls: cannot access /usr/local/share/denemo/actions/init.denemo:
Permission denied
ls: cannot access /usr/local/share/denemo/actions/Makefile.in:
Permission denied
ls: cannot access /usr/local/share/denemo/actions/Default.cmdset:
Permission denied
ls: cannot access /usr/local/share/denemo/actions/Makefile: Permission
denied
ls: cannot access /usr/local/share/denemo/actions/menus: Permission
denied
Default.cmdset  init.denemo  Makefile  Makefile.am  Makefile.in  menus
NumericKeypad.cmdset

Its weird it says permission denied then at the end it lists the file. 

less /usr/local/share/denemo/actions/Default.cmdset
won't allow me to read it. while the permission is:

-rw-r--r-- 1 root root 70965 2009-01-15 09:42 Default.cmdset

So will I have to create a makefile.am for every subdirectory inside of
actions? I wrote a script to do this that we could possibly use and
would resolve this issue.

Jeremiah


> 
> Regards,
> Roy Rankin
> 
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]