Package: avfs Version: 1.0.0-3 Severity: normal Dear Maintainer, as (I suppose) extfs files were moved to /usr/share according to the Debian policy, avfs should be told to look for it there, but not in /usr/lib. Otherwise, MC extfs support in AVFS is not present.
The symptoms are: 1) AVFS-based programs (avfsd, worker) cannot use MC extfs (they return "no such file or directory" when one is trying to open files which should be supported, like 7-Zip archives) 2) There are messages in syslog, like this: avfs[$pid]: Could not open extfs config file /usr/lib/avfs/extfs/extfs.ini: No such file or directory As we can see, avfs-1.0.0/modules/extfs.c: --- cut here: start --- static int extfs_init(struct vmodule *module) { <...> extfs_dir = av_get_config("moduledir"); extfs_dir = av_stradd(extfs_dir, "/extfs", NULL); extfs_conf = av_stradd(NULL, extfs_dir, "/extfs.ini", NULL); fd = open(extfs_conf, O_RDONLY); if(fd == -1) { res = -errno; av_log(AVLOG_WARNING, "Could not open extfs config file %s: %s", extfs_conf, strerror(errno)); av_free(extfs_conf); av_free(extfs_dir); return res; } --- cut here: end --- what does av_get_config() do? avfs-1.0.0/src/sysdeps.c: --- cut here: start --- char *av_get_config(const char *param) { <...> if(strcmp(param, "moduledir") == 0) val = MODULE_DIR; --- cut here: end --- and after the avfs ./configure we can find the MODULE_DIR definition: ../src/info.h:#define MODULE_DIR "/usr/lib/avfs" Also, ${moduledir} is defined at ./configure-time, but there is no ../configure option for it: ../configure:moduledir='${libdir}/avfs' (line 24297) so I suggest the following patch to ./configure: --- cut here: start --- --- avfs-1.0.0.orig/configure +++ avfs-1.0.0/configure @@ -24294,7 +24294,7 @@ LIBS="$LIBS -pthread" fi -moduledir='${libdir}/avfs' +moduledir='${datarootdir}/avfs' --- cut here: end --- After applying it the following lines in debian/rules were unneeded: --- cut here: start --- # Move the scripts to /usr/share mv $(CURDIR)/debian/avfs/usr/lib/avfs $(CURDIR)/debian/avfs/usr/share --- cut here: end --- When I installed the AVFS version built with these patches, `worker` became able to open 7-Zip archives via MC extfs #u7z module. Best regards, Ivan Krylov. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.2.0-1-686-pae (SMP w/4 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages avfs depends on: ii fuse 2.8.6-4 ii libc6 2.13-26 ii libfuse2 2.8.6-4 avfs recommends no packages. Versions of packages avfs suggests: pn arj <none> pn cdparanoia <none> pn lha <none> pn p7zip 9.20.1~dfsg.1-4 pn p7zip-full 9.20.1~dfsg.1-4 pn rpm <none> pn unzip 6.0-5 pn wget 1.13.4-2 pn zip <none> pn zoo <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org