Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444918

Summary: app-arch/libarchive-3.0.4-r1 -- getvfsbyname failed error occurs, doesn't work in x86 chroot on amd64-fbsd
Product: Gentoo/Alt Reporter: Yuta SATOH <>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: FreeBSD   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 363579, 462580    
Attachments: patch for freebsd-sources-9.1_rc3.ebuild

Description Yuta SATOH 2012-11-27 11:33:33 UTC
This problem has been fixed in the upstream (see URL).
However, fix is not included in FreeBSD 9.1

If you feel need, please add patch to freebsd-sources-9.1_rc3

need to rebuild kernel.

Reproducible: Always

Steps to Reproduce:
1. mkdir /i386
2. tar xjpf stage3-i686-freebsd-9.0.tar.bz2 -C /i386
3. cd /i386
4. mkdir `pwd`/usr/portage
5. mount -t devfs devfs `pwd`/dev
6. mount -t nullfs /usr/portage `pwd`/usr/portage
7. mount -t nullfs /usr/portage/distfiles `pwd`/usr/portage/distfiles
8. chroot /i386 /bin/bash
9. emerge libarchive
10. cd /usr/share/gnuconfig
11. tar cjpf /tmp/test.tar.bz2 .

Actual Results:  
# tar cjpf /tmp/test.tar.bz2 .
tar: getvfsbyname failed: No such file or directory
tar: Error exit delayed from previous errors.
Comment 1 Yuta SATOH 2012-11-27 11:36:22 UTC
Created attachment 330718 [details, diff]
patch for freebsd-sources-9.1_rc3.ebuild
Comment 2 Yuta SATOH 2012-11-27 11:38:48 UTC
Created attachment 330720 [details, diff]
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-01-15 07:29:10 UTC
How about 3.1.1?
Comment 4 Yuta SATOH 2013-01-15 12:22:54 UTC
(In reply to comment #3)
> How about 3.1.1?

Issues has not been resolved in 3.1.1.

This issues has been fixed in FreeBSD 9.2 or later version.
or apply attached patch to kernel.
Comment 5 Yuta SATOH 2017-07-22 21:25:30 UTC
freebsd-sources-9.1 is too old. Please use the newer version.