Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Oct 2013 22:18:44 +0400
From:      Boris Samorodov <bsam@passap.ru>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: [10.0-amd64 host and 9.2-i386 jail] cpio: Can't update time for...
Message-ID:  <524C6384.6050508@passap.ru>
In-Reply-To: <20131002174718.GY41229@kib.kiev.ua>
References:  <524C5781.9000500@passap.ru> <20131002174718.GY41229@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
02.10.2013 21:47, Konstantin Belousov пишет:
> On Wed, Oct 02, 2013 at 09:27:29PM +0400, Boris Samorodov wrote:
>> (CCing to the maintainer)
>>
>> Hi All,
>>
>> I've come across a problem and can't diagnose it. Please give me
>> an advice how to proceed.
>>
>> I have a fresh CURRENT amd64 host with 9.2 (9.1 behaves the same)
>> i386 jail. The command "/usr/bin/find -d <input_dir> | /usr/bin/cpio
>> -dumpl <output_dir>" ends with error with diagnostic "cpio: Can't update
>> time for <a directory>".
>>
>> One can reproduce it by installing at 10-amd64 host poudriere, create
>> a 9-i386 jail and try to build devel/tmake port. Full log is here:
>> http://gw.wart.ru/bulk/91-i386-default/2013-10-02_14h52m08s/logs/errors/tmake-1.13.log
>>
>> I've managed to find out that the command...:
>> -----
>> # /usr/bin/find -d /wrkdirs/usr/ports/devel/tmake/work/tmake-1.13/lib
>> | /usr/bin/cpio -dumpl /destdir
>> -----
>>
>> ...fails with diagnostic: "cpio: Can't update time for
>> /destdir/wrkdirs/usr/ports/devel/tmake/work/tmake-1.13/lib".
>>
>> However the following command succeeds (mind the /* after lib):
>> -----
>> # /usr/bin/find -d /wrkdirs/usr/ports/devel/tmake/work/tmake-1.13/lib/*
>> | /usr/bin/cpio -dumpl /destdir
>> -----
>>
>> The directory itself seems quite natural:
>> -----
>> # ls -ldT /wrkdirs/usr/ports/devel/tmake/work/tmake-1.13/lib
>> drwxr-xr-x  53 root  wheel  3264 Jan 28 05:21:45 2004
>> /wrkdirs/usr/ports/devel/tmake/work/tmake-1.13/lib
>> -----
>>
>> There are no problems at 10-amd64 and 10-i386 jails.
>>
>> I'm out of ideas. Thanks for your help.
> ktrace the failing invocation ?

The relevant part is here:
ftp://ftp.wart.ru/pub/misc/bsdcpio-error-cant-update-time-kdump.txt

-- 
WBR, Boris Samorodov (bsam)
FreeBSD Committer, http://www.FreeBSD.org The Power To Serve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?524C6384.6050508>