cpio -dumpl damages the files?

From: Alexey Shuvaev <shuvaev_at_physik.uni-wuerzburg.de>
Date: Thu, 26 Jun 2008 13:05:21 +0200
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_at_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_at_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.
Received on Thu Jun 26 2008 - 09:05:25 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC