Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 May 2017 06:10:48 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Stefan Esser <se@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r440289 - in head/games: . gogrepo gogrepo/files
Message-ID:  <20170510061048.GA54245@FreeBSD.org>
In-Reply-To: <201705062033.v46KXeSw040580@repo.freebsd.org>
References:  <201705062033.v46KXeSw040580@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, May 06, 2017 at 08:33:40PM +0000, Stefan Esser wrote:
> New Revision: 440289
> URL: https://svnweb.freebsd.org/changeset/ports/440289
> 
> Log:
>   Batch downloader for games distributed by GOG.com (Good Old Games).
>   
>   A number of Linux games distributed by GOG.com should be usable under
>   Linux emulation on FreeBSD, but none has actually been tested.

I'd be surprised (pleasantly) to find out that any of current or past
Linuxish games work these days.  There are two main issues I'm aware of:

1. Current linux_base_c7 ports provide libGL (or some other part of Mesa)
that wants libudev for driver detection, it does not find one, and fails.
As a result, even those games that used to work before, now do not (e.g.,
`games/linux-quake4' or `games/linux-doom3') [1,4,5,6]

2. Linuxolator would attempt to load native (FreeBSD) library when looking
for libraries required by Linux binary [2,3].  It often happens because on
Linux' /usr/local is rarely used, so FreeBSD's /usr/local comes into play;
it can be "fixed" by creating local/lib -> ../lib symlink, but the problem
#1 still prevents games (libGL-linked programs in general) from running.
This is the case for `games/linux-quake4'.

I'm not sure how to fix #1 other than stop using linux_base from ports and
manually create /compat/linux environment from some not-very-recent Ubuntu
that comes with pre-libudev Mesa.

./danfe

P.S.  It's sadly ironic how the root problem (= Linux sucks) while not to
be expected affecting us still tangentially does.

[1] https://lists.freebsd.org/pipermail/freebsd-x11/2017-March/019111.html
[2] https://lists.freebsd.org/pipermail/freebsd-emulation/2006-October/002719.html
[3] https://lists.freebsd.org/pipermail/freebsd-questions/2008-June/177429.html
[4] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=118230
[5] https://forums.freebsd.org/threads/10654/
[6] https://forums.freebsd.org/threads/44452/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170510061048.GA54245>