[Slackbuilds-users] komodo-edit fails on Slackware64 14.2 with sbopkg

ricardo at palmtx.com.ar ricardo at palmtx.com.ar
Sun Aug 7 23:21:00 UTC 2016

This only happens with sbopkg, Giuseppe's slackbuild works fine 
otherwise, so I'm not sure where the problem lies.

Found Komodo-Edit-10.0.1-17276-linux-x86_64.tar.gz in /var/cache/sbopkg.
Checking MD5SUM:
   MD5SUM check for Komodo-Edit-10.0.1-17276-linux-x86_64.tar.gz ... OK
Building package for komodo-edit...
Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
Cleaning up...

Notice how the tarball name is missing the arch value ($PKG_ARCH).

This change seems to do the trick for me but I'm not sure it's the right 
fix, or if I should talk to sbopkg's developers instead:

--- komodo-edit.orig/komodo-edit.SlackBuild     2016-08-07 
09:00:06.000000000 -0300
+++ komodo-edit.new/komodo-edit.SlackBuild      2016-08-07 
19:57:26.449219869 -0300
@@ -35,8 +35,8 @@
  if [ -z "$ARCH" ]; then
    ARCH=$( uname -m )
    case "$ARCH" in
-      i?86) PKG_ARCH=x86 ;;
-    x86_64) PKG_ARCH=x86_64 ;;
+      i?86) export PKG_ARCH=x86 ;;
+    x86_64) export PKG_ARCH=x86_64 ;;
           *) echo "Architecture not supported"; exit 0;

And I guess a similar change would be needed for Komodo-IDE also :)


More information about the SlackBuilds-users mailing list