Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QNX 7.x bsdtar broken : (3 Items)
   
QNX 7.x bsdtar broken  
Hi all,

# use -i tar   
QNX_BUILDID=(GNU)e6eae59479764ad68539563a3d0e0f09
NAME=bsdtar
DESCRIPTION=libarchive tar
DATE=2020/06/13-19:36:42-EDT
STATE=lookup
HOST=sdp710-node1
USER=builder
VERSION=7.1.0
TAGID=710-SDP-472

# ls -l  
total 0
drwxr-xr-x   2 root      root              0 Jan 12 21:57 m1
# tar -cf m1.tar.gz m1
tar: statvfs failed
tar: Error exit delayed from previous errors.
# 

Is this a know problem?

I have the same problem under 7.0 !
gnutar, delivered first for 7.0,   works.

Any ideas?

-Michael
Re: QNX 7.x bsdtar broken  
Is it possible you're running the command from within /tmp while it's linked to /dev/shmem?


If so, try running it anywhere else but there.


-Eric

________________________________
From: Michael Tasche <community-noreply@qnx.com>
Sent: Thursday, January 12, 2023 3:10:52 PM
To: ostech-core_os
Subject: QNX 7.x bsdtar broken

Hi all,

# use -i tar
QNX_BUILDID=(GNU)e6eae59479764ad68539563a3d0e0f09
NAME=bsdtar
DESCRIPTION=libarchive tar
DATE=2020/06/13-19:36:42-EDT
STATE=lookup
HOST=sdp710-node1
USER=builder
VERSION=7.1.0
TAGID=710-SDP-472

# ls -l
total 0
drwxr-xr-x   2 root      root              0 Jan 12 21:57 m1
# tar -cf m1.tar.gz m1
tar: statvfs failed
tar: Error exit delayed from previous errors.
#

Is this a know problem?

I have the same problem under 7.0 !
gnutar, delivered first for 7.0,   works.

Any ideas?

-Michael



_______________________________________________

OSTech
http://community.qnx.com/sf/go/post122115
To cancel your subscription to this discussion, please e-mail ostech-core_os-unsubscribe@community.qnx.com
Attachment: HTML sf-attachment-mime40873 2.44 KB
Re: QNX 7.x bsdtar broken  
No, 

I have tested all filesystems.
bsdtar uses statvfs() and pathconf(). The QNX procnto and/or filesystem returns incorrect errors.

!!! e.g. pathconf(_PC_REC_XFER_ALIGN) returns -1 and does not set errno!!!

-Michael


> Is it possible you're running the command from within /tmp while it's linked 
> to /dev/shmem?
> 
> 
> If so, try running it anywhere else but there.
> 
> 
> -Eric
> 
> ________________________________
> From: Michael Tasche <community-noreply@qnx.com>
> Sent: Thursday, January 12, 2023 3:10:52 PM
> To: ostech-core_os
> Subject: QNX 7.x bsdtar broken
> 
> Hi all,
> 
> # use -i tar
> QNX_BUILDID=(GNU)e6eae59479764ad68539563a3d0e0f09
> NAME=bsdtar
> DESCRIPTION=libarchive tar
> DATE=2020/06/13-19:36:42-EDT
> STATE=lookup
> HOST=sdp710-node1
> USER=builder
> VERSION=7.1.0
> TAGID=710-SDP-472
> 
> # ls -l
> total 0
> drwxr-xr-x   2 root      root              0 Jan 12 21:57 m1
> # tar -cf m1.tar.gz m1
> tar: statvfs failed
> tar: Error exit delayed from previous errors.
> #
> 
> Is this a know problem?
> 
> I have the same problem under 7.0 !
> gnutar, delivered first for 7.0,   works.
> 
> Any ideas?
> 
> -Michael
> 
> 
> 
> _______________________________________________
> 
> OSTech
> http://community.qnx.com/sf/go/post122115
> To cancel your subscription to this discussion, please e-mail ostech-core_os-
> unsubscribe@community.qnx.com