[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.

komodo-edit:
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...
tar: 
/var/lib/sbopkg/SBo/14.2/development/komodo-edit/Komodo-Edit-10.0.1-*-linux-.tar.gz: 
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;
    esac
  fi


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

Cheers,


More information about the SlackBuilds-users mailing list