Subject: Re: pkglint make update failed
To: =?UTF-8?B?TWFyaWphbiBVbmV0acSH?= <firstname.lastname@example.org>
From: =?UTF-8?B?TWFyaWphbiBVbmV0acSH?= <email@example.com>
Date: 12/29/2005 10:50:28
And, pkgsrc is nullmounted with rw.
Marijan Unetić wrote:
> I changed WRKDIR_BASENAME to work.bulk.
> It is so since pkg_comp config file has a name bulk.conf.
> I got:
> /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ć <firstname.lastname@example.org> 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
>> 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
>> if you do this.
>> Julio M. Merino Vidal <email@example.com>
>> The Julipedia - http://julipedia.blogspot.com/
>> The NetBSD Project - http://www.NetBSD.org/