[opensuse-packaging] How can I get this package to build - komodo
Hello, - How can I get this package to build [1] - Trying to use the documentation from [2] - Spec [3] -Trying to Run Installation Script ./install.sh Help appreciated. Thanks Glenn [1] https://build.opensuse.org/package/show/home:doiggl/komodo [2] http://tutorialforlinux.com/2014/01/28/how-to-install-komodo-edit-on-opensus... [3] Spec https://build.opensuse.org/package/view_file/home:doiggl/komodo/komodo.spec?... -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Wed, 2015-03-18 at 22:17 +1100, doiggl@velocitynet.com.au wrote:
Hello, - How can I get this package to build [1] - Trying to use the documentation from [2] - Spec [3]
-Trying to Run Installation Script ./install.sh
Glenn,
when you use %setup, that implies that the tarball will extract a
directory called %{name}-%{version}, which is not the case in your
package.
You can override this by using:
%setup -n Komodo-Edit-8.5.4-14424-linux-x86_64
Or, you should probably ask yourself why your package version is 1.5 and
the package name komodo, instead of the more appropriate upstream names.
Cheers,
--
Dimstar / Dominique Leuenberger
On Wednesday 2015-03-18 12:36, Dimstar / Dominique Leuenberger wrote:
when you use %setup, that implies that the tarball will extract a directory called %{name}-%{version}, which is not the case in your package.
You can override this by using: %setup -n Komodo-Edit-8.5.4-14424-linux-x86_64
Or, you should probably ask yourself why your package version is 1.5 and the package name komodo, instead of the more appropriate upstream names.
Don't get us started on upstream naming... there is a set of really, let's say, "unorganized" software out there. Most recent fun I encountered: people make git tags like "foobar-2.0", and then the github tarball scripting uses the pattern "<PROJECTNAME>-<TAGNAME>" when creating the tarball's top-level directory. Both parts are fine and reasonably sane, except that the result, "foobar-foobar-2.0", is non-conforming, redundant, .. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, It extracts to Komodo-IDE-8.5.4-86985-linux-x86 # ll total 116 drwxr-xr-x 5 root users 120 Aug 13 2014 INSTALLDIR -rw-r--r-- 1 root users 24662 Aug 13 2014 install.html -rwxr-xr-x 1 root users 1278 Aug 13 2014 install.sh -rw-r--r-- 1 root users 16717 Aug 13 2014 license.txt -rw-r--r-- 1 root users 65262 Aug 13 2014 relnotes.html drwxr-xr-x 2 root users 136 Aug 13 2014 support Fails on /var/tmp/rpm-tmp.ljaqAk: line 28: ./install.sh: No such file or directory How can I get it extract to the correct spot ?, as it does have a install.sh Thank you. --Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
On Thu, 2015-03-19 at 01:36 +1100, doiggl@velocitynet.com.au wrote:
Hello,
It extracts to Komodo-IDE-8.5.4-86985-linux-x86 # ll total 116 drwxr-xr-x 5 root users 120 Aug 13 2014 INSTALLDIR -rw-r--r-- 1 root users 24662 Aug 13 2014 install.html -rwxr-xr-x 1 root users 1278 Aug 13 2014 install.sh -rw-r--r-- 1 root users 16717 Aug 13 2014 license.txt -rw-r--r-- 1 root users 65262 Aug 13 2014 relnotes.html drwxr-xr-x 2 root users 136 Aug 13 2014 support
Fails on /var/tmp/rpm-tmp.ljaqAk: line 28: ./install.sh: No such file or directory
How can I get it extract to the correct spot ?, as it does have a install.sh Thank you. --Glenn
You can't change where it extracts too, but you can change what RPM is
supposed to expect the directory name will be.
As I said already in my first reply to you:
you can use
%setup -n Komodo-IDE-8.5.4-86985-linux-x86
to override the standard %{name}-%{version} expectation of rpm.
Dominique
--
Dimstar / Dominique Leuenberger
On Wednesday 2015-03-18 15:36, doiggl@velocitynet.com.au wrote:
It extracts to Komodo-IDE-8.5.4-86985-linux-x86 # ll total 116 drwxr-xr-x 5 root users 120 Aug 13 2014 INSTALLDIR -rw-r--r-- 1 root users 24662 Aug 13 2014 install.html -rwxr-xr-x 1 root users 1278 Aug 13 2014 install.sh -rw-r--r-- 1 root users 16717 Aug 13 2014 license.txt -rw-r--r-- 1 root users 65262 Aug 13 2014 relnotes.html drwxr-xr-x 2 root users 136 Aug 13 2014 support
Hm this looks a lot like a prebuilt package, and one with an EULA at that.
Fails on /var/tmp/rpm-tmp.ljaqAk: line 28: ./install.sh: No such file or directory
How can I get it extract to the correct spot ?, as it does have a install.sh
Come on - where is the self-initiative? Make yourself familiar with the environment you have. Start with pwd ls -l and so on. See what it outputs then figure out if you are actually in the right directory. The only other reason ENOENT may be given at execution time is that an interpreter in the chain (#! or DT_INTERP) is not found, and that seems very unlikely. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 This is kind of the package which is not allowed on OBS - have proprietary license with strict usage cases, doesn't contain any sources - prebuilt, paid. 18.03.2015 17:16, Jan Engelhardt пишет:
On Wednesday 2015-03-18 15:36, doiggl@velocitynet.com.au wrote:
It extracts to Komodo-IDE-8.5.4-86985-linux-x86 # ll total 116 drwxr-xr-x 5 root users 120 Aug 13 2014 INSTALLDIR -rw-r--r-- 1 root users 24662 Aug 13 2014 install.html -rwxr-xr-x 1 root users 1278 Aug 13 2014 install.sh -rw-r--r-- 1 root users 16717 Aug 13 2014 license.txt -rw-r--r-- 1 root users 65262 Aug 13 2014 relnotes.html drwxr-xr-x 2 root users 136 Aug 13 2014 support
Hm this looks a lot like a prebuilt package, and one with an EULA at that.
Fails on /var/tmp/rpm-tmp.ljaqAk: line 28: ./install.sh: No such file or directory
How can I get it extract to the correct spot ?, as it does have a install.sh
Come on - where is the self-initiative? Make yourself familiar with the environment you have. Start with
pwd ls -l
and so on. See what it outputs then figure out if you are actually in the right directory.
The only other reason ENOENT may be given at execution time is that an interpreter in the chain (#! or DT_INTERP) is not found, and that seems very unlikely.
-----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVC89fAAoJEHRzCo0swmJSxZAP/1cnZYJKEw8svH+9asXjFYr8 jyAW0J46jMGTeUysqUrM4Hkt+ZZD1SgREx5GxPWV74wiQtB4yaY8ajT6JjMRihLK spNGHvF+DFXeLmC6rPY3JiFVFELfxrikcS1go1soNW8yBA6nSOGDj49SBF5UYrJk qCjF3IBF30V4qLQ0zEM8EAXUO/xLae9MmMCRWULP64eI49gZPMZRezFtWprRuHAf iUhWsrHotCuCJHO6A0m8TYjwEkUiGAmNprDA55shHSe46RFebfSHf5V8mNzE4w32 rWG2vT9jaQT5GIsv3F88EZZhiE0w3CyXSUaNjcM4oZ6FL/X75Z/Gd2Ge+k/Qr7Ut yuYfU8kORE1Rc/WBjSddNXDk3iLZPLpLRgGDpDV8SkbcFB4x1s9K7BbxI4WyckCX ZjqZTcWzCqqjENGwbYo/RYaZjryUOztHESO7qKBYhX/bpBgJISOsVs9YrJ9NvY+H msSG+Hqe9HslO7zT1mHDRR9IzMx6cgBGrz3KVhEEQgl3RmEpobm8M83FGiQHoKTY tlqYHIKwoD4ryy56bLAOJcNBWW2lBYEYWoPG9Jw43n/3aER8DmtIuQJyfhjZ66dL p7NrWZy2JZg2xm5v1Vh89g4RRq967s5MvqUsZD/SZeMNNHtT/p5GXwQq4gCs+PUS dk2bvccXHoSmnBv80ETG =q6VI -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Please, ignore previous message, it was related to Komodo IDE not Edit one, which is OSS. 20.03.2015 9:42, Opensuse user пишет:
This is kind of the package which is not allowed on OBS - have proprietary license with strict usage cases, doesn't contain any sources - prebuilt, paid.
18.03.2015 17:16, Jan Engelhardt пишет:
On Wednesday 2015-03-18 15:36, doiggl@velocitynet.com.au wrote:
It extracts to Komodo-IDE-8.5.4-86985-linux-x86 # ll total 116 drwxr-xr-x 5 root users 120 Aug 13 2014 INSTALLDIR -rw-r--r-- 1 root users 24662 Aug 13 2014 install.html -rwxr-xr-x 1 root users 1278 Aug 13 2014 install.sh -rw-r--r-- 1 root users 16717 Aug 13 2014 license.txt -rw-r--r-- 1 root users 65262 Aug 13 2014 relnotes.html drwxr-xr-x 2 root users 136 Aug 13 2014 support
Hm this looks a lot like a prebuilt package, and one with an EULA at that.
Fails on /var/tmp/rpm-tmp.ljaqAk: line 28: ./install.sh: No such file or directory
How can I get it extract to the correct spot ?, as it does have a install.sh
Come on - where is the self-initiative? Make yourself familiar with the environment you have. Start with
pwd ls -l
and so on. See what it outputs then figure out if you are actually in the right directory.
The only other reason ENOENT may be given at execution time is that an interpreter in the chain (#! or DT_INTERP) is not found, and that seems very unlikely.
-----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVC9CZAAoJEHRzCo0swmJSb3AQAKfDiO4Pkzu4ql+3RmZDaUYL R6fHcIMAUTvleGGkUKRrzkZnBtB2XzFEgv59qqGbLAy7dMzVj8e3fS9MWSFhNEMB QYy2JfYgRTxM4FfRtRE9novEa0fqPifvCIzL4AZKGj0Ur/nL2XrrJR9VvIdWoAeE Kay/TQf66G6h/nRkLkeRBlQstnsAPsCfKkd73yZPxRMOVZNKZRxAHUefB7wVxpwR MS24EsDULp2s+GC+dag02dfj8GNipTn/u99AYb2l0ks/uVKwKRDlZOZ0QjCFlEC5 ZXzdqCirGeccwANQQGyhhoHfTadMvy2XkfDL3phFkW3dUkHIsK80b7YdY8QcwpbH aLizxGy30HgOGlpA8vfZek6BrFNCyw6OPaIH5mmzuZ48APapbY5sXj6ZbM06sbDw G1SlmgjTe+nxgABW+QbwygayKjqJwYHYwtLndPxd4Sr08b2Z+qImbWGAH/k1U4WO aX8v7xbBFf5rr54zJitTIWdzXPsKbykjzlv6S7tvRxtXU/9wS/SeSvarASSwy1zF hqe9EOOy1ARxJk9BPhZTW0e8GD+UAmD+QgUPuXj6rnkFpKoRsRb57wzENs0FshXK YV/yrZ+bnmaxSoOKK4FRhYw5nmPpX9KntXOAm4fnSwrwA7ohpqLX+AHn6b8kRtz8 SfGG4l/d5jv26h/YmrtG =F0Rm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Don't try to use commands blindly. openSUSE have good packaging documentation. Check it out from this start page: https://en.opensuse.org/Portal:Packaging Cheers. 18.03.2015 17:16, Jan Engelhardt пишет:
On Wednesday 2015-03-18 15:36, doiggl@velocitynet.com.au wrote:
It extracts to Komodo-IDE-8.5.4-86985-linux-x86 # ll total 116 drwxr-xr-x 5 root users 120 Aug 13 2014 INSTALLDIR -rw-r--r-- 1 root users 24662 Aug 13 2014 install.html -rwxr-xr-x 1 root users 1278 Aug 13 2014 install.sh -rw-r--r-- 1 root users 16717 Aug 13 2014 license.txt -rw-r--r-- 1 root users 65262 Aug 13 2014 relnotes.html drwxr-xr-x 2 root users 136 Aug 13 2014 support
Hm this looks a lot like a prebuilt package, and one with an EULA at that.
Fails on /var/tmp/rpm-tmp.ljaqAk: line 28: ./install.sh: No such file or directory
How can I get it extract to the correct spot ?, as it does have a install.sh
Come on - where is the self-initiative? Make yourself familiar with the environment you have. Start with
pwd ls -l
and so on. See what it outputs then figure out if you are actually in the right directory.
The only other reason ENOENT may be given at execution time is that an interpreter in the chain (#! or DT_INTERP) is not found, and that seems very unlikely.
-----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJVC9cVAAoJEHRzCo0swmJSIlkQAKWsq1WuzsZrbT058IPZqQLv KTb3VcOlyuBeAnI9ncRax/3n4Tc3g/Vxb3gv4g1M+UZ+m1m39DmGe1wYYDXBKAJZ 2Epgg8vRKVQ6SbXXZmt+HdwKGi2U9Iz9ulUC6PB7+PC3a18O59QJghq8rDTGdYPC S6TubwvmxdzAkl40RVJqBvm1DBp8igp7u+FL9SbRBn5qezLkeMQIoJz3pbyF9SoN 7E5XZg9WEca0ROh0fpkSpJBr4smx/+ynpkASVv+h3/8lDEGR8Ju6Mnf+tm4KZH7t 1LUGN/m+M4ZQ7vDF3vlZFtEgL9eY9NEs8PLpZmsph7B3ZVCGNhjIOXvfHJhPXlQC pAhK4y0j4NmXoAB04Ok24fajxdDWmHF7uUOViT93/DLRP+/bB41cH0XZhn/ZtqF9 nKQ5hxvVMoNWMvYsYcQG4N2NpdaGOcizp1Ifb1CA88kH9grPpfsl3D+eS6nIaDfi S2Nfhp+J8Nt52QUI2/buSwg045PiKMSx3e0KfFZbtoCG+0/KDLu4WkffaEi1LRPg G8+HixB34snwyOVIloFhekRFQkiLFoWKDjOMDfygYpYJ6UV/tlLctVAyhLJzNXDy Mkzu9lFs3SENl2cTQwJTCVtcubi2C0OVNABLeNV+vCUTPJWoA57s313aQFOu8UZ0 jKShqRA6aRXSlyCUp44h =FAN/ -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hello, On Thu, 19 Mar 2015, doiggl@velocitynet.com.au wrote: [..]
How can I get it extract to the correct spot ?, as it does have a install.sh
Have a read-up of the basics here: http://www.rpm.org/max-rpm/ It's quite dated, but mostly still correct. Of course, the SUSE macros are not in there, but the basics. For the openSUSE stuff, I have e.g. these links: https://en.opensuse.org/openSUSE:Packaging_Conventions_RPM_Macros https://en.opensuse.org/openSUSE:Specfile_guidelines https://en.opensuse.org/openSUSE:Build_Service_Tips_and_Tricks https://en.opensuse.org/openSUSE:Packaging_checks HTH, -dnh -- alias woman='man -a' -- Volker Birk -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (5)
-
David Haller
-
Dimstar / Dominique Leuenberger
-
doiggl@velocitynet.com.au
-
Jan Engelhardt
-
Opensuse user