[Nix-dev] compile error in arch linux

L42y i at l42y.com
Thu Jan 13 03:16:28 CET 2011


hi, all.
i'm an arch linux user and i want to build a nix-svn package for personal
use. i make a PKGBUILD file, here is it:

# Maintainer: L42y <423300 at gmail.com>
pkgname=nix-svn
pkgver=24855
pkgrel=1
pkgdesc="Nix is a purely functional package manager."
arch=('i686' 'x86_64')
url="http://nixos.org/nix/"
license=('LGPL')
makedepends=('subversion')
provides=('nix')
conflicts=('nix')

_svntrunk=https://svn.nixos.org/repos/nix/nix/trunk
_svnmod=nix

build() {
  cd "$srcdir"

  if [ -d $_svnmod/.svn ]; then
    (cd $_svnmod && svn up -r $pkgver)
  else
    svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
  fi

  msg "SVN checkout done or server timeout"
  msg "Starting make..."

  rm -rf "$srcdir/$_svnmod-build"
  cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
  cd "$srcdir/$_svnmod-build/externals"
  wget http://www.bzip.org/1.0.5/bzip2-1.0.5.tar.gz
  cd "$srcdir/$_svnmod-build"

  ./bootstrap.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd "$srcdir/$_svnmod-build"
  make DESTDIR="$pkgdir/" install
}

but every time i run makepkg to build it, it report these error :

cp /docbook-xsl-missing/images/callouts/*.gif images/callouts
cp: cannot stat `/docbook-xsl-missing/images/callouts/*.gif': No such file
or directory

but i can build nix ( http://aur.archlinux.org/packages.php?ID=16354 )
successful
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110113/6b8d3827/attachment.html 


More information about the nix-dev mailing list