On Fri, 2009-08-07 at 16:31 +1000, Allan McRae wrote:
Eric BĂ©langer wrote:
Hi,
Here (inline and attached) are a couple of patches for makechrootpkg.
==> Remove error message when namcap is not installed in chroot (not sure why this line was added as installing namcap in chroot will dirty it). Also added a check on the PKGBUILD.
This was apparently added as namcap has issues checking a package for which the dependencies are not installed on your system. The deps will have obvioulsy been installed into the chroot. Saying that, I agree that namcap (and thus python) should not be in a clean chroot and I just deleted that line in the version I am using.
Allan
What about installing namcap in the chroot after building the package, and removing it again after that? Anyways, running pacman -U on the resulting packages and installing dependencies should fix the namcap run on the host system also. It's good to test what you actually package, you're not the first one who introduces a syntax error in the .install scriptlet :P