Subject: Re: pkglint make update failed
To: Julio M. Merino Vidal <email@example.com>
From: =?UTF-8?B?TWFyaWphbiBVbmV0acSH?= <firstname.lastname@example.org>
Date: 12/29/2005 10:48:43
I changed WRKDIR_BASENAME to work.bulk.
It is so since pkg_comp config file has a name bulk.conf.
/usr/pkg/bin/pkglint -q 1>&2
ERROR: bulk: Only files and directories are allowed in pkgsrc.
ERROR: default: Only files and directories are allowed in pkgsrc.
Julio M. Merino Vidal wrote:
>On 12/29/05, Marijan Unetić <email@example.com> wrote:
>>I was building pkgsrc under pkg_comp chroot tree with
>>pkg_chk of pkgchk.conf predefined list.
>>Everything was running well until pkglint.
>>It fails with:
>>ERROR: default: Only files and directories are allowed in pkgsrc.
>>there is a symbolic link in the /usr/pkgsrc/pkgtools/pkglint
>>lrwxr-xr-x 1 root users 45 Dec 29 03:33 default ->
>>I could try to run without pkglint in the pkg_comp tree,
>>but am curious about this.
>Are you building with a rw pkgsrc? I.e., doesn't REAL_PKGSRC_OPTS
>have '-o ro' in it?
>If so, 'default' is one of the (link to) work directories and pkglint does
>not detect it as such. Try changing WRKDIR_BASENAME in
>pkg_comp's configuration file to 'work.default' or something like that
>(but keeping with 'work.' prefix); I hope pkglint will catch it correctly
>if you do this.
>Julio M. Merino Vidal <firstname.lastname@example.org>
>The Julipedia - http://julipedia.blogspot.com/
>The NetBSD Project - http://www.NetBSD.org/