[Mageia-dev] maven.prov rpm script broken...

Thomas Backlund tmb at mageia.org
Thu Jul 26 23:58:00 CEST 2012


27.07.2012 00:34, Thomas Backlund skrev:
> I dont know if this is a fallout of usrmove or the recent
> rpm-mageia-setup cleanup or something else, but I now see
> this in kernel buildlogs:
> 
> Searching for Provides: /usr/lib/rpm/mageia/filter.sh ' ' ' '
> '/home/tmb/RPM/BUILDROOT/kernel-linus-3.5.0-1.mga3.x86_64'
> /usr/lib/rpm/mageia/find-provides
> Traceback (most recent call last):
>   File "/usr/lib/rpm/maven.prov", line 65, in <module>
>     builder = TagBuilder ()
>   File "/usr/lib/rpm/maven.prov", line 46, in __init__
>     self.get_mvn_provide (path)
>   File "/usr/lib/rpm/maven.prov", line 51, in get_mvn_provide
>     with open(path) as f:
> IOError: [Errno 2] No such file or directory: ''
> 

and rpm-mageia-setup cleanup is the guilty one...


We had this:
http://svnweb.mageia.org/packages/cauldron/rpm-mageia-setup/current/SOURCES/rpm-mageia-setup-1.147-Better-handle-maven-prov.patch?revision=189248&view=markup&pathrev=189248


where find-provides had:
mavenlist=$(echo "$filelist" |egrep '/usr/share/maven-poms/.*\.pom')

but now has:

mavenlist=$(echo "$filelist" |egrep '/usr/share/maven-fragments/*')


So wich one is right ?

--
Thomas



More information about the Mageia-dev mailing list