Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2008 13:05:21 +0200
From:      "Alexey Shuvaev" <shuvaev@physik.uni-wuerzburg.de>
To:        kientzle@freebsd.org
Cc:        freebsd-current@freebsd.org
Subject:   cpio -dumpl damages the files?
Message-ID:  <20080626110521.GA68764@wep4017.physik.uni-wuerzburg.de>

next in thread | raw e-mail | index | archive | help
Hello!

Yesterday I have encountered a strange problem
trying to build math/qtiplot, the compiler exited with errors during
the build. After examining the situation it appeared that math/qtiplot3d-qt4
have installed damaged include files. In a nutshell the problem is that
bsdcpio damages the files:

[wep4020] ~> uname -a
FreeBSD wep4020 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Thu Jun 26 10:18:38 CEST 2008     root@wep4020:/usr/obj/usr/src/sys/GENERIC  i386
[wep4020] ~> mkdir aaa bbb
[wep4020] ~> echo bla-bla-bla > aaa/test
[wep4020] ~> hd aaa/test 
00000000  62 6c 61 2d 62 6c 61 2d  62 6c 61 0a              |bla-bla-bla.|
0000000c
[wep4020] ~> cpio --version
bsdcpio 0.9.11b -- libarchive 2.5.4b
[wep4020] ~> cd aaa/
[wep4020] ~/aaa> cpio -dumpl ../bbb/
test
[wep4020] ~/aaa> hd test 
00000000  00 00 00 00 00 00 00 00  00 00 00 00              |............|
0000000c
[wep4020] ~/aaa> hd ../bbb/test 
00000000  00 00 00 00 00 00 00 00  00 00 00 00              |............|
0000000c

The same behavior on the
[wep4017] ~> uname -a
FreeBSD wep4017.physik.uni-wuerzburg.de 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Wed May 28 10:16:42 CEST 2008     root@wep4017.physik.uni-wuerzburg.de:/usr/obj/usr/src/sys/GENERIC  amd64

Given that there was a discussion recently about the usage of bsdcpio
in ports system (COPYTREE_* macros), I am wondering if this is
my local problem or someone have noticed this also?

Alexey.



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