[opensuse-buildservice] No such file or directory
Hi, (my second mail. my first mail got caught by the Mlmmj program) I'm new to this so please bear with me. My goal is to build a package that is stable and up to date, and one package that tracks the git-repo and build nightly (or at least weekly) versions. And I also configured the project to build for Ubuntu as it is what I've got in my studio since Jacklab was discontinued. I seem to not be able to build a package (muse). Not even the native rpm for opensuse tumbleweed. I've tried both to branch the package from an earlier version and also create a new one. I also removed two packages (ccaudio2) from the spec file when I created a new package. This is the problem I run into. It can't cd into a the main dir for the package. Funny enough it built right of the bat when I branched the package. I don't understand why it can't cd to the directory. If I run the commands manually it's no problem. [ 90s] + /usr/bin/gzip -dc /home/abuild/rpmbuild/SOURCES/muse-3.0.2.tar.gz [ 90s] + /usr/bin/tar -xof - [ 91s] + STATUS=0 [ 91s] + '[' 0 -ne 0 ']' [ 91s] + cd muse-3.0.2 [ 91s] /var/tmp/rpm-tmp.9tyBTh: line 34: cd: muse-3.0.2: No such file or directory [ 91s] error: Bad exit status from /var/tmp/rpm-tmp.9tyBTh (%prep) https://build.opensuse.org/package/show/home:aggplanta/muse3_deb. https://build.opensuse.org/package/live_build_log/home:aggplanta/muse3_deb/o... Cheers, -- /bengan -- /bengan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2018-03-10 19:51, Bengt Gördén wrote:
[ 91s] /var/tmp/rpm-tmp.9tyBTh: line 34: cd: muse-3.0.2: No such file or directory The directory in this archive is called muse-3.0. muse-3.0.2 does not exist. You need to change the %setup -q and append '-n muse-3.0' (better define a variable with this version and define it at the top of the file).
btw, an up to date muse is in KDE:KDE3: https://build.opensuse.org/package/show/KDE:KDE3/muse Sebastian -- python programming - mail server - photo - video - https://sebix.at cryptographic key at https://sebix.at/DC9B463B.asc and on public keyservers
Den 2018-03-10 kl. 21:15, skrev Sebastian:
On 2018-03-10 19:51, Bengt Gördén wrote:
[ 91s] /var/tmp/rpm-tmp.9tyBTh: line 34: cd: muse-3.0.2: No such file or directory The directory in this archive is called muse-3.0. muse-3.0.2 does not exist. You need to change the %setup -q and append '-n muse-3.0' (better define a variable with this version and define it at the top of the file).
Thank you. Really needed a pair of extra eyes on that. I must have mixed up the files in some way. I actually remember trying to just copy the old 3.0 file to 3.0.2. Must have happened then. Now it's the right file. :\> tar ztvf muse-3.0.2.tar.gz | head -n 1 drwxrwxr-x ddskrjo/ddskrjo 0 2018-01-30 22:02 muse-3.0.2/
btw, an up to date muse is in KDE:KDE3: https://build.opensuse.org/package/show/KDE:KDE3/muse
Ah. Thanks. That make life even easier :) Cheers, -- /bengan -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Bengt Gördén
-
Sebastian