Your message dated Mon, 12 Mar 2012 09:17:38 +0000
with message-id <[email protected]>
and subject line Bug#663146: fixed in avfs 1.0.0-4
has caused the Debian Bug report #663146,
regarding avfs: extfs doesn't work because there are no files in the expected 
place
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
663146: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663146
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Source: avfs
Source-Version: 1.0.0-4

We believe that the bug you reported is fixed in the latest version of
avfs, which is due to be installed in the Debian FTP archive:

avfs_1.0.0-4.diff.gz
  to main/a/avfs/avfs_1.0.0-4.diff.gz
avfs_1.0.0-4.dsc
  to main/a/avfs/avfs_1.0.0-4.dsc
avfs_1.0.0-4_amd64.deb
  to main/a/avfs/avfs_1.0.0-4_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated avfs package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 12 Mar 2012 09:30:40 +0100
Source: avfs
Binary: avfs
Architecture: source amd64
Version: 1.0.0-4
Distribution: unstable
Urgency: low
Maintainer: Michael Meskes <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 avfs       - virtual filesystem to access archives, disk images, remote locati
Closes: 663146
Changes: 
 avfs (1.0.0-4) unstable; urgency=low
 .
   * Made avfs look for extfs in the right place.
     Thanks to Ivan Krylov <[email protected]> (Closes: #663146)
   * Bumped Standards-Version to 3.9.3, no changes needed.
Checksums-Sha1: 
 859ad15e800e49d51e80a83fbe17d99866750028 1006 avfs_1.0.0-4.dsc
 b615c7d53a9801ca19b2aafabf17f20f59796c82 7382 avfs_1.0.0-4.diff.gz
 a1c6d5797f49fca200929380dad743e56fdaef52 512368 avfs_1.0.0-4_amd64.deb
Checksums-Sha256: 
 2723026c5d99d4c0d1385dfafa27d9a4500d9501a3b80d69736d64b99b96b5f5 1006 
avfs_1.0.0-4.dsc
 7610bd338f59b21b14e86bf8770dc7be15d601ed60afbc47d8e21ef09f759be5 7382 
avfs_1.0.0-4.diff.gz
 5525abf0876435119f85dc662c8099dffa750a6047282f6ccc8e34e0819937e1 512368 
avfs_1.0.0-4_amd64.deb
Files: 
 13d0164d7b06be4b094991bdbb82e0f2 1006 utils extra avfs_1.0.0-4.dsc
 2660e98b9b3100bb8fc223a651aa934e 7382 utils extra avfs_1.0.0-4.diff.gz
 8b88a8fc77cbce8a925440fbe927b3db 512368 utils extra avfs_1.0.0-4_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFPXbgBVkEm8inxm9ERAjknAJ4+aSVAAdTCYkyIYquYetTlWrIfEACeIWnK
7OUaunfjn5BvoYJb11/TrGQ=
=h3cj
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to