Date: Tue, 29 Apr 2008 13:14:59 +0300 From: Kostik Belousov <kostikbel@gmail.com> To: Boris Samorodov <bsam@ipt.ru> Cc: freebsd-emulation@freebsd.org, Scot Hetzel <swhetzel@gmail.com>, Walter Venable <weaseal@gmail.com> Subject: Re: linux_base-f8 giving me guff Message-ID: <20080429101459.GX18958@deviant.kiev.zoral.com.ua> In-Reply-To: <42172269@ipt.ru> References: <48164CD5.9030109@gmail.com> <790a9fff0804281537p27003437p10ff1d9bf7c7bff@mail.gmail.com> <20080429045001.GW18958@deviant.kiev.zoral.com.ua> <42172269@ipt.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
--QU4HcMF0gOtcBmJ3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 29, 2008 at 10:46:10AM +0400, Boris Samorodov wrote: > (drop freebsd-ports@ from cross posting) >=20 > 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@gmail.com> w= rote: > > > > /usr/ports/emulators/linux_base-f8 $ sudo make > > > > =3D=3D=3D> 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 a= round > > > > this issue? I'm running 6.3-RELEASE-p2... > > >=20 > > > sysctl compat.linux.osrelease=3D2.6.16 >=20 > > 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) ? >=20 > 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. >=20 > > 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. >=20 >=20 > WBR > --=20 > bsam --QU4HcMF0gOtcBmJ3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkgW9SMACgkQC3+MBN1Mb4gu6gCfaHMo3lSCuICMuZL5gHKV3sYS UzEAoNTkFh23emOM2+1ttPFU5SOhnYUU =fvbb -----END PGP SIGNATURE----- --QU4HcMF0gOtcBmJ3--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080429101459.GX18958>