You are not logged in.
Hi there,
I get following error after yaourt -Syu; yaourt -S awesome:
-> Found awesome.desktop
==> Validating source files with md5sums...
awesome-3.4.11.tar.xz ... Passed
awesome.desktop ... Passed
==> Validating source files with sha256sums...
awesome-3.4.11.tar.xz ... Passed
awesome.desktop ... Passed
==> Extracting Sources...
-> Extracting awesome-3.4.11.tar.xz with bsdtar
==> Starting build()...
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `mkdir -p .build-(none)-x86_64-unknown-linux-gnu-4.6.2'
make: *** [cmake] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build awesome.Is there a way to solve this problem?
Thanks a lot.
Offline
I installed awesome from repo.archlinux.fr. If still fail to build, it's an alternative.
小香猪杀手@cc98.org
Offline
...
Thanks a lot! It works for me.
Offline
you should report this on the package's aur page, others might be facing a similar issue. Otherwise, mark the thread solved.
https://aur.archlinux.org/packages.php?ID=41362
Last edited by x33a (2012-02-22 09:17:19)
Offline
Looks to me like a problem with your hostname.
From the Makefile:
./Makefile:builddir=.build-$(shell hostname)-$(shell gcc -dumpmachine)-$(shell gcc -dumpversion)edit: And by the way, I do not recommend the archlinux.fr repository since they usually lag behind library .so version bumps and it's likely to end up with a broken system after such an upgrade.
edit2: Temporary fix:
makepkg -o
sed -i 's/${builddir}/"&"/g' src/awesome-3.4.11/Makefile
makepkg -eLast edited by xduugu (2012-02-22 10:09:46)
Offline
you should report this on the package's aur page, others might be facing a similar issue.
Yes. I have the same problem. My hostname is "(none)" too.
xduugu, I tried your Temporary fix but in the last step (makepkg -e) I get an error.
The error is saying:
...
==> Starting build()...
patching file spawn.c
Reversed (or previously applied) patch detected! Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file spawn.c.rej
==> ERROR: A failure occurred in buil().
Aborting...Offline
Try to remove /tmp/yaourt-tmp-<your_username> directory. It's very likely that there are patched files left after previous build attempt.
Offline
You shouldn't need this fix as it is already included in the current PKGBUILD. Just try to grab the latest PKGBUILD and run makepkg on it.
Offline
To Atragor: I do not have such file in /tmp.
To xduugu: I am not sure how to grab the latest PKGBUILD. Could you help me please?
Offline
Basically, it's
$ wget https://aur.archlinux.org/packages/aw/awesome/awesome.tar.gz \
tar xaf awesome.tar.gz \
cd awesome \
makepkg -isrThere is a detailed instruction in the wiki how to use the AUR.
Offline
Ow, by latest pkgbuild was meant latest awesome package. Well I used the latest pkgbuild.
I downloaded it via links, extracted, enter dir and ran makepkg -s.
I tried it by your way (commands you wrote) but the same error remains.
blah blah blah...
==> Starting build()...
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `mkdir -p .build-(none)-x86_64-unknown-linux-gnu-4.6.2'
make: *** [cmake] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build awesome.Error caused by hostname "(none)". That's why I tried Temporary fix later.
Edit: makepkg -s is working fine. An error appears while running "sudo pacman -U awesome.*.tar.xz".
Last edited by Vergil333 (2012-04-14 10:10:37)
Offline
Edit: makepkg -s is working fine. An error appears while running "sudo pacman -U awesome.*.tar.xz".
Could you paste the Error?
Offline
@Vergil333
Please download the awesome package (/PKGBUILD) and try again. It should work now.
Offline
xduugu: Working! Really thanks to everyone ![]()
Offline