Subject: Re: pkglint make update failed
To: =?UTF-8?B?TWFyaWphbiBVbmV0acSH?= <email@example.com>
From: =?UTF-8?B?TWFyaWphbiBVbmV0acSH?= <firstname.lastname@example.org>
Date: 01/03/2006 09:25:40
old symbolic links in the pkgsrc were left in the pklint directory,
so pkglint again complained for the same reason.
After they were deleted manually everything passed.
pkg_comp, pkg_chk and pkglint are great tools.
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ć <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
>> 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 <firstname.lastname@example.org>
>> The Julipedia - http://julipedia.blogspot.com/
>> The NetBSD Project - http://www.NetBSD.org/