DevHeads.net

Empty debugsources.list file when building a package

Hi,

i get this message, when building the package with spec file:

Processing files: vdr-osd2web-debugsource-0.2.48-1.fc29.x86_64
error: Empty %files file /home/martin/rpmbuild/BUILD/vdr-plugin-osd2web-0.2.48/debugsourcefiles.list

RPM build errors:
Macro expanded in comment on line 3: %{nil}

Empty %files file /home/martin/rpmbuild/BUILD/vdr-plugin-osd2web-0.2.48/debugsourcefiles.list

What should I do? you can see my specfile [2]

[1] <a href="https://martinkg.fedorapeople.org/Packages/vdr-osd2web/vdr-osd2web-0.2.48-1.fc29.src.rpm" title="https://martinkg.fedorapeople.org/Packages/vdr-osd2web/vdr-osd2web-0.2.48-1.fc29.src.rpm">https://martinkg.fedorapeople.org/Packages/vdr-osd2web/vdr-osd2web-0.2.4...</a>
[2] <a href="https://martinkg.fedorapeople.org/Packages/vdr-osd2web/vdr-osd2web.spec" title="https://martinkg.fedorapeople.org/Packages/vdr-osd2web/vdr-osd2web.spec">https://martinkg.fedorapeople.org/Packages/vdr-osd2web/vdr-osd2web.spec</a>

Thanks
Martin

Comments

Re: Empty debugsources.list file when building a package

By Martin Gansser at 11/08/2018 - 04:56

ok, rpmlint give me a hint:

vdr-osd2web.x86_64: E: executable-marked-as-config-file /etc/vdr/plugins/osd2web/startBrowser.sh
Executables must not be marked as config files because that may prevent
upgrades from working correctly. If you need to be able to customize an
executable, make it for example read a config file in /etc/sysconfig.

solved with:
# fix the perm due E: executable-marked-as-config-file
chmod 0755 %{buildroot}/%{vdr_plugindir}/libvdr-*.so.%{vdr_apiversion}