WARNING: ‘/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu’ does not exist
WARNING: ‘/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu’ does not exist
WARNING: ‘/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu’ does not exist
ERROR: No sufficient Category definition: /var/tmp/bleachbit-0.5.0-4.1-root-abuild//usr/share/applications/bleachbit.desktop
ERROR: No sufficient Category definition: /var/tmp/bleachbit-0.5.0-4.1-root-abuild//usr/share/applications/bleachbit-root.desktop
Errors in installed desktop file detected. Please mail stbinner@suse.de , if you think this is wrong.
error: Bad exit status from /var/tmp/rpm-tmp.25899 (%install)
I can build all OBS distros except openSUSE 11.1, but I can build it outside OBS. Therefore, I think it is a bug, but the ancient bug report has zero activity. Any workarounds?
My failed buildlog
https://build.opensuse.org/package/live_build_log?arch=i586&package=bleachbit&project=home%3Aandrew_z&repository=openSUSE_11.1
Old bug report
https://bugzilla.novell.com/show_bug.cgi?id=463278
> WARNING: ‘/usr/lib/rpm/brp-desktop.data/suse-screensavers.menu’ does
> not exist
> WARNING: ‘/usr/lib/rpm/brp-desktop.data/preferences-gnome.menu’ does
> not exist
> WARNING: ‘/usr/lib/rpm/brp-desktop.data/applications-kmenuedit.menu’
> does not exist
> ERROR: No sufficient Category definition:
> /var/tmp/bleachbit-0.5.0-4.1-root-abuild//usr/share/applications/bleachbit.desktop
> ERROR: No sufficient Category definition:
> /var/tmp/bleachbit-0.5.0-4.1-root-abuild//usr/share/applications/bleachbit-root.desktop
> Errors in installed desktop file detected. Please mail
> stbinner@suse.de , if you think this is wrong.
> error: Bad exit status from /var/tmp/rpm-tmp.25899 (%install)
>
I can build all OBS distros except openSUSE 11.1, but I can build it
outside OBS. Therefore, I think it is a bug, but the ancient bug report
has zero activity. Any workarounds?
My failed buildlog
http://tinyurl.com/ohk42p
Old bug report
Access Denied
Hi
So update the category via a patch or;
desktop-file-install --delete-original \
--dir %{buildroot}%{_datadir}/applications \
--remove-category {YOUR_STUFF} \
--add--category {YOUR_STUFF} \
%{buildroot}%{_datadir}/applications/%{name}.desktop
This is probably worth a read as well
<http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.33._.25suse_update_desktop_file> ;
I can remember seeing a webpage with the actual list of categories you
can use, but can’t find it at the moment
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.21-0.1-default
up 4 days 17:47, 2 users, load average: 0.30, 0.52, 0.37
GPU GeForce 8600 GTS Silent - Driver Version: 180.51
I already use patches and desktop-file-install, but I don’t know what triggers the error. As far as I know, I am doing everything right. I only see this error on OBS, not on regular OpenSUSE 11.1.
This is probably worth a read as well
<http://en.opensuse.org/Packaging/SUSE_Package_Conventions/RPM_Macros#3.33._.25suse_update_desktop_file> ;
Yeah, I read that 10 times.
I can remember seeing a webpage with the actual list of categories you
can use, but can’t find it at the moment
Packaging/SUSE Package Conventions/Desktop Menu - openSUSE
I’m trying to change
%suse_update_desktop_file %{name}
to
%suse_update_desktop_file %{name} Utility
That may help
Hi
See the bleachbit.spec file in
<http://download.opensuse.org/repositories/openSUSE:/Factory:/Contrib/openSUSE_11.1 >;
# create root desktop-file and change exec
%__cp %{name}.desktop %{name}-root.desktop
%__sed -i -e 's/Name=BleachBit$/Name=BleachBit as Administrator/g' \
%{name}-root.desktop
%__sed -i -e 's/^Exec=bleachbit$/Exec=xdg-su -c bleachbit/g' \
%{name}-root.desktop
# installing .desktop Files
%suse_update_desktop_file -n %{name} Utility Filesystem
%suse_update_desktop_file -n -i %{name}-root Utility Filesystem
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.21-0.1-default
up 4 days 21:25, 3 users, load average: 0.11, 0.20, 0.17
GPU GeForce 8600 GTS Silent - Driver Version: 180.51
As the author, I would have expected to know that someone else packaged the software. That could explain why the openSUSE download numbers are so low from my site!
In any case, problem solved. Thanks much
As the author, I would have expected to know that someone else packaged
the software. That could explain why the openSUSE download numbers are
so low from my site!
In any case, problem solved. Thanks much
Hi
Ahhh… How about a SLE11 version then (although I would link to
it in my own home repository, so I don’t have a whole list of repo’s!)
I would look at getting on the mailing list and point it out as my
understanding from contrib it should wind up in the mainstream.
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.21-0.1-default
up 4 days 22:33, 2 users, load average: 0.08, 0.13, 0.09
GPU GeForce 8600 GTS Silent - Driver Version: 180.51
By the way, there is a package you’d have to download to have the same checks performed as OBS, i can’t remember it right now but there is a package that performs additional check which you need to download to have make the build “compatible” with OBS.
BenderBendingRodriguez:
By the way, there is a package you’d have to download to have the same
checks performed as OBS, i can’t remember it right now but there is a
package that performs additional check which you need to download to
have make the build “compatible” with OBS.
Hi
brp-check-suse, rpmlint-mini and rpmlint-Factory
–
Cheers Malcolm °¿° (Linux Counter #276890 )
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.23-0.1-default
up 0:50, 2 users, load average: 0.07, 0.06, 0.04
GPU GeForce 8600 GTS Silent - Driver Version: 185.18.14