Slapt-src Errors out when install cairo-dock-plugins

You think you have found a bug? Let us know about it.
Post Reply
User avatar
f.bluedevil
Posts: 91
Joined: 9. Jan 2011, 23:06

Slapt-src Errors out when install cairo-dock-plugins

Post by f.bluedevil »

While trying to installing cairo-dock-plugins ( required for cairo-dock) earlier today using slapt-src. The install erred out with the following message:

Code: Select all

ERROR:  Package extension .0~2-x86_64-1_SBotxz is not supported.
fakeroot -- sh cairo-dock-plugins.SlackBuild Failed
However, when installing using sbopkg from the terminal it installs without a problem.
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: Slapt-src Errors out when install cairo-dock-plugins

Post by mimosa »

Looks to me like an error in the SlackBuild picked up by slapt-src but not sbopkg. Maybe ignore it till it stops working properly (hopefully never), then try and fix it ... I'd say that second underscore should be a hyphen, and it should be .txz Are you sure it installed ok? Do the plugin features work?
User avatar
f.bluedevil
Posts: 91
Joined: 9. Jan 2011, 23:06

Re: Slapt-src Errors out when install cairo-dock-plugins

Post by f.bluedevil »

Are you sure it installed ok? Do the plugin features work?
Yes, plug-in package installed and everything is working. If you don't install the plug-in package the application will bark at you stating it can't work properly without the plug-ins and then shut down.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

Re: Slapt-src Errors out when install cairo-dock-plugins

Post by gapan »

This is definitely a problem with the SlackBuild. Take a look at how the makepkg line looks like:

Code: Select all

/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG${PKGTYPE:-.tgz}
while the standard way of doing it is:

Code: Select all

/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
The first one (which is wrong) assumes the "." to be a part of the extension. sbopkg does not explicitly set the PKGTYPE variable, so that's why it works. slapt-src does set the PKGTYPE to "txz" and that's why it doesn't work. If you tried to run sbopkg like this:

Code: Select all

PKGTYPE="txz" sbopkg...
that wouldn't work either. Neither would setting PKGTYPE to anything in your user profile.

It's not standard and it should be fixed. You should probably contact the SlackBuild's maintainer about it.
Image
Image
Post Reply