![](https://seccdn.libravatar.org/avatar/5cdd10d836bdda3796cf6bc1ab2d5a78.jpg?s=120&d=mm&r=g)
On Thu, 2016-02-04 at 07:40 +0200, Dave Plater wrote:
Hi I'm trying to make a provides script for Leap:42.1 hugin and although it works in home:plater hugin in : https://build.opensuse.org/package/show/home:plater:branches:openSUSE :Leap:42.1:Update/hugin.openSUSE_Leap_42.1_Update gives an error : [ 2196s] Finding Provides: /home/abuild/rpmbuild/SOURCES/find-hugin-provides.prov [ 2196s] error: Dependency tokens must begin with alpha-numeric, '_' or '/': ()(64bit) [ 2196s] ()(64bit) [ 2196s] ()(64bit) [ 2196s] ()(64bit) [ 2196s] ()(64bit) [ 2196s] ()(64bit) [ 2196s] ()(64bit) [ 2196s] ()(64bit) [ 2196s] [ 2196s] error: Failed to find Provides:
for each of the packages libraries with sonames. If I leave out find-hugin-provides.prov then the libraries are provided normally but no appdata.xml and desktop files are provided resulting in a zypper and yast verify error. Any help appreciated, Dave Plater
Your script stumbles at the debuginfo processing, where libFOO.so.0.debug is being listed in the files section, and objdump against those does not give a valid SONAME. You'd have to filter those out. But all in all: this package specific prov script looks like a bad idea to be maintained. It's probably better to find out what would be wrong with the original providers searchers not working. Cheers, Dominique -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org