You are not logged in.

#1 2009-02-18 03:39:47

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

[Solved]Wicked-git

When trying to compile wicked-git, I get this output:

yaourt -S wicked-git
==> Resuming previous build

==> Downloading wicked-git PKGBUILD from AUR...
tar: Record size = 7 blocks

    
      First Submitted: Thu, 29 May 2008 12:23:16 +0000    
wicked-git 20090112-1 (Unsupported): Wicked widgets for the development version of the awesome window manager
==>  Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
==>   ----------------------------------------------
==>n


==> wicked-git dependencies:
 - awesome (already installed)
 - git (already installed)
==>  Continue the building of wicked-git ? [Y/n]
==>   ----------------------------------------------
==>y


==> Building and installing package
mkdir: cannot create directory `/var/abs/local/yaourtbuild': Permission denied
==> WARNING: Unable to write in /var/abs/local/yaourtbuild/wicked-git directory. Using /tmp directory
==> Determining latest git revision...
  -> Version found: 20090217
==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:39:34 PST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Removing existing pkg/ directory...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to git server....
Initialized empty Git repository in /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/.git/
fatal: The remote end hung up unexpectedly
==> GIT checkout done or server timeout
luac: cannot open /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua: No such file or directory
install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua': No such file or directory
install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.luac': No such file or directory
install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.7.gz': No such file or directory
==> ERROR: Build Failed.
    Aborting...
Error: Makepkg was unable to build wicked-git package.

It seems that it cannot connect to the git page, but I can get to the page fine.

Last edited by Reasons (2009-02-18 04:33:27)

Offline

#2 2009-02-18 03:48:46

SamC
Member
From: Calgary
Registered: 2008-05-13
Posts: 611
Website

Re: [Solved]Wicked-git

Try it with makepkg, just to make sure.

Offline

#3 2009-02-18 04:00:12

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: [Solved]Wicked-git

No change. hmm

[reasons // ~/Desktop/wicked] yaourt -G wicked-git
--2009-02-17 19:59:48--  http://aur.archlinux.org/packages/wicked-git/wicked-git.tar.
gz
Resolving aur.archlinux.org... 66.211.213.17
Connecting to aur.archlinux.org|66.211.213.17|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 646 [application/x-gzip]
Saving to: `wicked-git.tar.gz'

100%[===========================================>] 646         --.-K/s   in 0s      

2009-02-17 19:59:48 (95.4 MB/s) - `wicked-git.tar.gz' saved [646/646]

[reasons // ~/Desktop/wicked] makepkg 
==> Determining latest git revision...
  -> Version found: 20090217
==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:59:50 PST 2009)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==> Validating source files with md5sums...
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to git server....
Initialized empty Git repository in /home/shawn/Desktop/wicked/src/wicked/.git/
fatal: The remote end hung up unexpectedly
==> GIT checkout done or server timeout
luac: cannot open /home/shawn/Desktop/wicked/src/wicked/wicked.lua: No such file or d
irectory
install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.lua': No such file
 or directory
install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.luac': No such fil
e or directory
install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.7.gz': No such fil
e or directory
==> ERROR: Build Failed.
    Aborting...
[reasons // ~/Desktop/wicked]

Offline

#4 2009-02-18 04:22:20

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [Solved]Wicked-git

Is that a contiguous log? If so, you did it wrong. There was already a PKGBUILD in that folder, and makepkg used it and the files - you need to extract the tar.gz first for makepkg to work. Download the tar.gz into a clean folder, extract it, and makepkg.

Offline

#5 2009-02-18 04:28:02

Reasons
Member
From: Washington
Registered: 2007-11-04
Posts: 572

Re: [Solved]Wicked-git

Ranguvar wrote:

Is that a contiguous log? If so, you did it wrong. There was already a PKGBUILD in that folder, and makepkg used it and the files - you need to extract the tar.gz first for makepkg to work. Download the tar.gz into a clean folder, extract it, and makepkg.

There is no tar.gz, it is using git, it only has a PKGBUILD, here it is:

# Contributor:  Lucas de Vries <lucasdevries@gmail.com>
arch=(i686 x86_64)
pkgname=wicked-git
pkgver=20090217
pkgrel=1
pkgdesc="Wicked widgets for the development version of the awesome window manager"
license=('GPL')
url="http://git.glacicle.com/?p=awesome/wicked.git;a=summary"

depends=('awesome')
makedepends=('git')
conflicts=('wicked' 'wicked-svn')
provides=('wicked')

_gitroot=git://git.glacicle.com/awesome/wicked.git
_gitname=wicked

source=()
md5sums=()

build() {
  cd $startdir/src
  msg "Connecting to git server...."

  if [ -d $startdir/src/$_gitname ] ; then
      cd $_gitname && git pull origin
      msg "The local files are updated."
  else
      git clone $_gitroot
  fi

  msg "GIT checkout done or server timeout"

  luac -o $startdir/src/wicked/wicked.luac $startdir/src/wicked/wicked.lua
  install -D -m644 $startdir/src/wicked/wicked.lua $startdir/pkg/usr/share/awesome/lib/wicked.lua
  install -D -m644 $startdir/src/wicked/wicked.luac $startdir/pkg/usr/share/awesome/lib/wicked.luac
  install -D -m644 $startdir/src/wicked/wicked.7.gz $startdir/pkg/usr/share/man/man7/wicked.7.gz

EDIT - I can get a tar from their site, trying that now.

EDIT2 - Worked, thread solved.

Last edited by Reasons (2009-02-18 04:33:13)

Offline

Board footer

Powered by FluxBB