debxo 0.3 release

Erik Garrison erik at laptop.org
Mon Nov 17 16:25:57 EST 2008


On Mon, Nov 17, 2008 at 03:43:27PM -0500, Luke Faraone wrote:
> On Mon, Nov 17, 2008 at 15:04, Erik Garrison <erik at laptop.org> wrote:
> 
> > 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.)
> 
> 
> This is very odd.
> 
> I do not experience this problem right after install, but only after
> updating, locale is set to a new version, which may be when this bug is
> introduced.

Immediately after install my glibc version is glibc-2.7-1.  This is
where I have found the above lines of code.

I updated, upgraded, and I still don't get the error.

I did notice this error when building a base image, but it goes away as
soon as the locale package is installed in the chroot.

Erik



More information about the Devel mailing list