Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jun 2009 06:06:22 +0400
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        freebsd-current@FreeBSD.org
Subject:   Re: libarchive extattr i386/amd64 syscall issue
Message-ID:  <20090604020622.GA19897@hades.panopticon>
In-Reply-To: <20090604010719.GC15659@hades.panopticon>
References:  <20090604010719.GC15659@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
* Dmitry Marakasov (amdmi3@amdmi3.ru) wrote:

For ones experiencing the same problem, this patch worked for me. It
disables extattr support in libarchive, but tar now works.

--- libarchive.patch begins here ---
--- src/lib/libarchive/config_freebsd.h.orig	2009-06-04 05:03:22.000000000 +0400
+++ src/lib/libarchive/config_freebsd.h	2009-06-04 05:03:41.000000000 +0400
@@ -34,8 +34,8 @@
 #define	HAVE_ACL_SET_FD_NP 1
 #define	HAVE_ACL_SET_FILE 1
 #define	HAVE_ACL_USER 1
-#define	HAVE_EXTATTR_GET_FILE 1
-#define	HAVE_EXTATTR_LIST_FILE 1
+#define	HAVE_EXTATTR_GET_FILE 0
+#define	HAVE_EXTATTR_LIST_FILE 0
 #define	HAVE_EXTATTR_SET_FD 1
 #define	HAVE_EXTATTR_SET_FILE 1
 #define	HAVE_SYS_ACL_H 1
--- libarchive.patch ends here ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru    http://www.amdmi3.ru



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