[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: pkglint make update failed
From:       Marijan Unetić <marijan.unetic () epta ! hr>
Date:       2005-12-29 9:50:28
Message-ID: 43B3B164.6050607 () epta ! hr
[Download RAW message or body]

And, pkgsrc is nullmounted with rw.

Marijan


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.
>
> Marijan
>
> Julio M. Merino Vidal wrote:
>
>> On 12/29/05, Marijan Unetić <marijan.unetic@epta.hr> wrote:
>>  
>>
>>> Hi,
>>>
>>> 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 ->
>>> /pkg_comp/obj/pkgsrc/pkgtools/pkglint/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 <jmmv84@gmail.com>
>> The Julipedia - http://julipedia.blogspot.com/
>> The NetBSD Project - http://www.NetBSD.org/
>>  
>>
>
>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic