help with build error : fixxref.py

Mamoru Tasaka mtasaka at ioa.s.u-tokyo.ac.jp
Fri Mar 26 05:22:05 UTC 2010


Chen Lei wrote, at 03/26/2010 02:12 PM +9:00:
> 
> /usr/share/pygobject/xsl/fixxref.py has a shebang, but doesn't 
> have execute permission. So I think there's probably a packaging error 
> in pypygobject.

(please avoid top posting:
 http://fedoraproject.org/wiki/Communicate/MailingListGuidelines#Proper_posting_style )

> On 2010-03-26 13:07:21£¬"Mamoru Tasaka" <mtasaka at ioa.s.u-tokyo.ac.jp> Wrote£º
>>Mamoru Tasaka wrote, at 03/26/2010 02:01 PM +9:00:
>>> Ankur Sinha wrote, at 03/26/2010 01:34 PM +9:00:
>>>> hey,
>>>>
>>>> I'm trying to build pyclutter from the latest git release. 
>>>>
>>>> This is what I get from the tail of my build.log. 
>>>> Can someone please tell me how to work around it?
>>>>
>>>> -- Installing ../docs/html/pt04.html
>>>> -- Installing ../docs/html/pyclutter.devhelp
>>>> -- Installing ./html/index.sgml
>>>> make[4]: execvp: /usr/share/pygobject/xsl/fixxref.py: Permission denied
>>>> make[4]: *** [install-data-hook] Error 127
>>>>
>>>> This is the srpm:
>>>>
>>>> http://ankursinha.fedorapeople.org/pyclutter/pyclutter-1.0.2-1.git.fc12.src.rpm
>>>>
>>> 
>>> On my system /usr/share/pygobject/xsl/fixxref.py has 0644 permission (i.e.
>>> not with executable permission), so I guess
>>> ----------------------------------------------------------------------
>>>     87  install-data-hook:
>>>     88          @$(PYGOBJECT_FIXXREF) -i $(PYGOBJECT_PYGDOCS) $(DESTDIR)$(TARGET_DIR)
>>> ----------------------------------------------------------------------
>>> is failing. Perhaps chaging this line to "@python $(PYGOBJECT_FIXXREF) ...."
>>> or so will make build succeed (I have not tried yet)
>>
>>These lines are in docs/Makefile.am
>>

Note that while I am not familiar with this script, this script (fixxref.py)
is in pygobject2-"doc", and usually adding executable permission in the
files in document rpms is not desired.
(e.g. see the explanation of $ rpmlint -I doc-file-dependency)

Regards,
Mamoru


More information about the devel mailing list