linux_base-f8 giving me guff

Kostik Belousov kostikbel at gmail.com
Tue Apr 29 10:15:43 UTC 2008


On Tue, Apr 29, 2008 at 10:46:10AM +0400, Boris Samorodov wrote:
> (drop freebsd-ports@ from cross posting)
> 
> On Tue, 29 Apr 2008 07:50:01 +0300 Kostik Belousov wrote:
> > On Mon, Apr 28, 2008 at 05:37:18PM -0500, Scot Hetzel wrote:
> > > On Mon, Apr 28, 2008 at 5:16 PM, Walter Venable <weaseal at gmail.com> wrote:
> > > > /usr/ports/emulators/linux_base-f8 $ sudo make
> > > > ===>  linux_base-f8-8_3 compat.linux.osrelease: 2.4.2 is not supported.
> > > > *** Error code 1
> > > >
> > > > Stop in /usr/ports/emulators/linux_base-f8.
> > > >
> > > > Ok -- I get it, linux kernel 2.4.2 isn't supported.  How do I get around
> > > > this issue?  I'm running 6.3-RELEASE-p2...
> > > 
> > > sysctl compat.linux.osrelease=2.6.16
> 
> > The question that seems to be relevant there is why the port refuses to
> > install with some compat.linux.osrelease value ? Does port run some
> > linux binary during install time (unlikely) ?
> 
> Any linux port that installs a shared library (including linux_base
> ports) runs linux ldconfig while (at the very end of) installing.
> Since that ldconfig cannot run with such an old kernel it stops with
> the error.

Thank you for the explanation. I propose the error condition to be
ignored, or warning to be printed etc. The ability to install linux-base
and app ports without even loading linux.ko seems to be too useful.

> 
> > I think the port should ignore even absence of the linux.ko; the value
> > of the linux.osrelease is purely runtime issue as opposed to the install
> > time.
> 
> 
> WBR
> -- 
> bsam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-emulation/attachments/20080429/d709b8c7/attachment.pgp


More information about the freebsd-emulation mailing list