All, Calvin,
Building in a clean chroot has changed significantly on Arch. My TDE build
relies on being able to create and index a 'local' repo in $CHROOT/root/repo and
add packages and update the index as each package is built. The appropriate
entry is in $CHROOT/root/etc/pacman.conf:
[local]
Server = file:///repo
The files are copied to $CHROOT/root/repo and the index built with:
repo-add local.db.tar.gz *.xz
A stub PKGBUILD is then created with:
depends=('apetag-git'
'libkarma'
'libnjb'
'libutempter'
'mt-daapd'
'musepack-tools-svn'
'tde-tqt3'
'wv2'
'xmedcon')
Now 'sudo mkchrootpkg -c -r $CHROOT' results in the following error:
21:25 phoinix:/dat_f/tde/stub> sudo makechrootpkg -c -r $CHROOT
==> Creating clean working copy [david]...done
==> Making package: tde-stub 0.1-1 (Thu Jan 16 21:25:34 CST 2014)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Retrieving sources...
==> Making package: tde-stub 0.1-1 (Thu Jan 16 21:25:34 CST 2014)
==> WARNING: Using a PKGBUILD without a package() function is deprecated.
==> Checking runtime dependencies...
warning: database file for 'local' does not exist
==> Installing missing dependencies...
warning: database file for 'local' does not exist
error: target not found: apetag-git
error: target not found: libkarma
error: target not found: libnjb
error: target not found: mt-daapd
error: target not found: musepack-tools-svn
error: target not found: tde-tqt3
error: target not found: wv2
error: target not found: xmedcon
==> ERROR: 'pacman' failed to install missing dependencies.
==> ERROR: Build failed, check /dat_e/ch14/david/build
Calvin, do you know what changed in chroot building on Arch that causes the
local repo to no longer be found? I've posted on arch-general as well.
--
David C. Rankin, J.D.,P.E.
Show replies by date