Re: pkgsrc NetBSD 6.0/x86_64 2013-06-05 09:18

"OBATA Akio" <[email protected]> Mon, 10 Jun 2013 12:12:29 +0900
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
On Mon, 10 Jun 2013 11:36:44 +0900, Aleksej Saushev <[email protected]> wrote:

> "OBATA Akio" <[email protected]> writes:
>
>> On Mon, 10 Jun 2013 09:14:02 +0900, Jonathan Schleifer <[email protected]> wrote:
>>
>>> Am 10.06.2013 um 01:06 schrieb Krister Walfridsson:
>>>
>>>> wip/objfw-git                                [email protected]
>>>
>>> Hm, I don't really get why it failed. Install worked fine, but package failed:
>>>
>>>> => Creating binary package /scratch/wip/objfw-git/work/.packages/objfw-gitnb20130608.tgz
>>>> ===> Building binary package for objfw-gitnb20130608
>>>> => Creating binary package /dsk3/pbulk/packages/xen5/All/objfw-gitnb20130608.tgz
>>>> /bin/ln -f /scratch/wip/objfw-git/work/.packages/objfw-gitnb20130608.tgz /dsk3/pbulk/packages/xen5/All/objfw-gitnb20130608.tgz 2>/dev/null ||  /bin/cp -pf /scratch/wip/objfw-git/work/.packages/objfw-gitnb20130608.tgz /dsk3/pbulk/packages/xen5/All/objfw-gitnb20130608.tgz
>>>> pkg_add: no pkg found for 'objfw-gitnb20130605', sorry.
>>>> pkg_add: 1 package addition failed
>>>
>>> Why does it build objfw-gitnb20130608.tgz, but then tries to pkg_add objfw-gitnb20130605?
>>
>> Because of the differ of scan date and build date.
>
> The package should have version nevetheless. Currently it is still
> broken, even if though it builds for some.

Packages should have {CVS,SVN,GIT,HG}_TAG, or such packages are not for regular usage.
Another solution is `set CHECKOUT_DATE at the date of starting bulk build'.

-- 
OBATA Akio / [email protected]

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j