You are not logged in.

#1 2009-09-01 03:07:21

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,226
Website

dump trying to compile with selinux

OK, so there's a new version of dump out, but even with the --disable-transselinux option to configure, it still attempts to link against selinux stuff:

gcc  -o dump itime.o main.o optr.o tape.o traverse.o unctime.o ../common/dumprmt.o  -L../compat/lib -lcompat -lext2fs -lcom_err -lz -lbz2 -lblkid -luuid -ldevmapper -lselinux -lsepol
/usr/bin/ld: cannot find -lselinux
collect2: ld returned 1 exit status
make[1]: *** [dump] Error 1
make[1]: Leaving directory `/home/fukawi2/AUR-packages/dump/src/dump-0.4b42/dump'
make: *** [all] Error 1
==> ERROR: Build Failed.
pkgname=dump
pkgver=0.4b42
pkgrel=1
pkgdesc="Standard *nix for performing backups to tapedrive from ext2 and ext3 filesystems"
arch=(i686 x86_64)
url="http://dump.sourceforge.net/"
license=('custom')
depends=('e2fsprogs')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('7202465ed687da2540a7b2b44a09f1b9')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --mandir=/usr/share/man \
    --with-manowner=root \
    --with-mangrp=root \
    --with-manmode=644 \
    --with-bingrp=root \
    --disable-readline \
    --disable-transselinux

  make || return 1
}

package() {
  cd $srcdir/$pkgname-$pkgver

  make prefix=$pkgdir/usr install

  install -Dm644 COPYRIGHT $pkgdir/usr/share/licenses/dump/COPYRIGHT
}

I've filed a bug with the dump maintainers, but is there something we can do on this end to get it working in the meantime?

Offline

Board footer

Powered by FluxBB