[Mageia-dev] missing deps, lash rebuilt for texi2html

Philippe DIDIER philippedidier at laposte.net
Sun Oct 16 13:00:43 CEST 2011


Thomas Spuhler a écrit :
> On Saturday, October 15, 2011 07:16:19 pm Philippe DIDIER wrote:
>> Thomas Spuhler a écrit :
>>> I just rebuilt lash. In order to get it built, I had to remove
>>> -%{python_sitelib}/*
>>> Can someone who uses it please test it?
>>
>> In the previous build (march)
>> python-lash rpm was created
>> it could install a directory
>> /usr/lib/python2.7/site-packages/
>> wich contained 4 files
>>   _lash.a
>>   _lash.la
>>   _lash.so
>>   lash.py
>>
>>
>> You said you had to remove -%{python_sitelib}/* in the spec file
>> because there was nothing there (so your python-lash rpm seems to be
>> empty !)
>> If nothing was created in the buildroot (and no file found to be
>> packaged) it's perhaps a problem of config : if python was not found
>> (configure.ac seems to look for a path to PYTHON 2.3 !!! ) this these 4
>> files were not created and there's indeed nothing to install...
>>
>> Perhaps a problem with the update of python since july ?
>>
>> Did you get an error message complaining about a missing optional
>> dependency (even if that doesn't prevent to "make" what is not optional
>>
>> : configure seems to allow to make without creating python-lash)
> 
> No, I didn't see any error messages.


It really looks as if the python path was not found ... (configure looks
for python path with this list : python2 python2.5 python2.4 python2.3
python2.2 python2.1 python2.0 python1.6 python1.5)
The python version in mageia is 2.7 !!!

if no python path is found configure may disable pylash building

You may look in the log and try to find :
build_pylash="disabled"
It may be disabled without warning !!! as it doesn't prevent from
building the other components
but when creating the rpm python-lash you have no file to put into it

Suppressing the line :
-%{python_sitelib}/*
in the spec file hides the symptom and provides an empty and useless rpm

That's my hypothesis but I'm not very able !
Maybe you may ask to an old packager !!!






More information about the Mageia-dev mailing list