debxo 0.3 release

Erik Garrison erik at laptop.org
Mon Nov 17 15:04:28 EST 2008


On Mon, Nov 17, 2008 at 01:42:17PM -0500, luke at laptop.org wrote:
> On 2008-11-17, Erik Garrison <erik at laptop.org> wrote:
> >
> > I believe you can resolve these warnings by running the locale-gen
> > utility.
> 
> I had already run that, and the discouraging results pasted in the top
> of the pastebin.

The error message and its location in the source [1]:

  /* Map the header and all the administration data structures.  */
  p = mmap64 (NULL, total, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0);
  if (p == MAP_FAILED)
    {
      int errval = errno;
      unlink (fname);
      error (EXIT_FAILURE, errval, _("cannot map archive header"));
    }

... suggest that the problem is that localegen is trying to do a shared
writeable mmap.  These do not work on jffs2 [2].

I don't know the best way to proceed, but it would appear we need to
raise the issue with upstream.  It will not be fixed in jffs2.

That said, I am running debxo 0.3 base and not seeing the same error
messages.  (I see that the locale is set to "POSIX" immediately after
installation.)

Erik

[1] http://ftp.gnu.org/gnu/glibc/glibc-2.7.tar.gz
[2] http://www.infradead.org/pipermail/linux-mtd/2003-March/007166.html



More information about the Devel mailing list