Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Apr 2008 14:43:26 -0400
From:      Naram Qashat <cyberbotx@cyberbotx.com>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: CALL FOR TESTERS: linux-f8 infrastructure ports
Message-ID:  <48079A4E.5070400@cyberbotx.com>
In-Reply-To: <83445250@bb.ipt.ru>
References:  <200804090052.10898.aline@riseup.net>	<200804091752.57284.aline@riseup.net> <62101822@bb.ipt.ru>	<200804101126.11075.aline@riseup.net> <53131614@bb.ipt.ru>	<29877906@bb.ipt.ru> <48068CAA.3040604@cyberbotx.com>	<60240839@bb.ipt.ru> <48078215.7040107@cyberbotx.com> <83445250@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov wrote:
> On Thu, 17 Apr 2008 13:00:05 -0400 Naram Qashat wrote:
>> Boris Samorodov wrote:
>>> On Wed, 16 Apr 2008 19:32:58 -0400 Naram Qashat wrote:
>>>
>>>> As of using the latest patch set (5), I found that a few Linux
>>> Seems that you have some inconsistency at the (linux) ports system.
>>>
>>> The patchset gives all (which I have so far) changes to linux
>>> infrastructure ports. Plus _some_ (included since pathset 5)
>>> patches for non-infrastructure linux ports. Other linux ports
>>> should be patched manually. You may look at provided patches
>>> or my earlier messages for reference (it's easy BTW).
> 
>> When I ran install.sh, it all worked except for the patch to skype,
> 
> I'll take care of it at the next patch set. There is no reason in
> installing unpatched port -- it mat mess you (linux) libraries up.
> 
>> which failed at RUN_DEPENDS because it had been changed since your
>> diff.  Otherwise everything else patched.
> 
> And you didn't patch manyally emulators/linux-ePSXe! Or did you?

No, I hadn't patched emulators/linux-ePSXe myself, but I did this time based on 
your recommendation below.

>>> If you not transfer ports (which you are going to install) to
>>> USE_LINUX_APPS then you will end up with a mess of both fc4 and
>>> f8 linux infrastructure ports.
>>>
>>>> applications I use do not work:
>>>> 1) emulators/linux-ePSXe refuses to run:
>>> I'll include a patch for this port at the next patchset.
>>>
>>>> ./epsxe: error while loading shared libraries: libgmodule-1.2.so.0:
>>>> cannot open shared object file: No such file or directory
>>>> From what I can see, that file was in linux_base-fc4 because it's a
>>>> part of glib 1.2, but fc6 and up use glib 2 instead.  It's possible
>>>> that there would need to be a port for glib 1.2 specifically for
>>>> programs like ePSXe that still use it.
>>> Should be fixed by linux_base-f8-8_3, the new revision has just been
>>> committed.
>>>
>>>> 2) multimedia/linux-realplayer also refuses to run:
>>>> /usr/local/lib/RealPlayer/realplay.bin: error while loading shared
>>>> libraries: libexpat.so.0: cannot open shared object file: No such file
>>>> or directory
>>> While it's possible to commit a new port (actually, I have one)
>>> textproc/linux-f8-expat1 which installs libexpat.so.0 but so far
>>> I can't reproduce your error:
>>> -----
>>> % pkg_info -W /usr/local/lib/RealPlayer/realplay.bin
>>> /usr/local/lib/RealPlayer/realplay.bin was installed by package 
>> linux-realplayer-10.0.9.809.20070726
>>> % file /usr/local/lib/RealPlayer/realplay.bin
>>> /usr/local/lib/RealPlayer/realplay.bin: ELF 32-bit LSB executable,
>>> Intel 
>> 80386, version 1 (GNU/Linux), for GNU/Linux 2.2.5, dynamically linked
>> (uses shared libs), stripped
>>> % ldd /usr/local/lib/RealPlayer/realplay.bin | grep expat
>>> 	libexpat.so.1 => /lib/libexpat.so.1 (0x28cf8000)
>>> -----
> 
>> Strangely, while the pkg_info and file commands come up the same, I
>> get the following when I do the ldd:
> 
>> [12:50:38 kirby /celes/test-f8]# ldd
>> /usr/local/lib/RealPlayer/realplay.bin | grep expat
>>         libexpat.so.1 => /lib/libexpat.so.1 (0x28caa000)
>>         libexpat.so.0 => not found
> 
> That may be a sympton of mixing fc4 and f8 ports.

Yeah, that seemed to be the problem, once I got linux-xorg-libs uninstalled, 
RealPlayer works.  Although it refused to exit and froze, I had to CTRL+C in the 
console to kill it.

I also got some other Gtk errors about libbonoboui missing this time.

>> I even rebuilt RealPlayer and got the same result.
> 
>>> And RealPlayer works fine for me.
>>>
>>>> This probably means that a newer version of RealPlayer needs to be in
>>>> the ports or a version that works with Fedora 8 needs to be in the
>>>> ports separate from the current one.
>>>> 3) www/linux-kmopozer seems to start, but just sits there and never
>>>> actually 
>> runs.
>>> Runs here.
>>>
>>>> 4) net/skype starts, but when it brings up the EULA, I get what's in
>>>> the following image:
>>>> http://kirby.cyberbotx.com/skype_problem.png
>>> Can't reproduce, works fine here.
>>>
>>>> 5) www/linux-flashplayer9, when used with www/nspluginwrapper, causes
>>>> Firefox to freeze until npviewer.bin is killed.  I also get the
>>>> following messages in the console:
>>> Sorry, I don't use this port so can't comment here.
>>>
>>>> (npviewer.bin:36559): Gtk-WARNING **: libqt-mt.so.3: cannot open
>>>> shared object file: No such file or directory
>>>> (npviewer.bin:36559): Gtk-WARNING **: libqt-mt.so.3: cannot open
>>>> shared object file: No such file or directory
>>>> *** NSPlugin Wrapper *** ERROR: NPP_Destroy() wait for reply: Message timeout
>>>> *** NSPlugin Wrapper *** ERROR: NPClass::Invalidate() invoke: Connection closed
>>>> *** NSPlugin Wrapper *** ERROR: NP_Shutdown() invoke: Connection closed
>>>> The first NSPlugin Wrapper error comes up before I kill off the
>>>> npviewer.bin process, and the last two messages come up when I kill
>>>> it.  Also, when I use nspluginwrapper -l to see what plugins are
>>>> installed, that command segfaults. It even does so after I remove the
>>>> flash plugin from the browser plugins folder with the command.  Here's
>>>> what is in my /usr/local/lib/browser_plugins:
>>>> [19:30:34 kirby /celes/test-f8]# ls /usr/local/lib/browser_plugins/
>>>> .firefox.keep        libjavaplugin_oji.so npplugger.so         openvrml.la
>>>> .thunderbird.keep    libvlcplugin.so      npsidplug.so         openvrml.so
>>>> helix.so             nphelix.xpt          npwrapper.nppdf.so
>>>> Out of all the Linux applications I have installed, only acroread8
>>>> runs without flaws.  However, I do get the following if I run it in
>>>> the console:
>>>> rm: cannot remove
>>>> /home/cyberbotx/.adobe/Acrobat/8.0/Preferences/mozilla/prefs.js':
>>>> Function not implemented
>>>> (acroread:36425): Gtk-WARNING **: libqt-mt.so.3: cannot open shared
>>>> object file: No such file or directory
>>>> (acroread:36425): Gtk-WARNING **: libqt-mt.so.3: cannot open shared
>>>> object file: No such file or directory
>>> You may try to install x11-toolkits/linux-f8-qt33 here. But an absence
>>> of this port shouldn't prevent a program from running.

Installing x11-toolkits/linux-f8-qt33 did indeed get rid of those messages.

>>>> I use KDE3 and have the gtk-qt-engines port installed, telling it to
>>>> try to skin GTK applications as QT, so maybe this is related to that.
>>>> As an aside, kompozer brings up the same 2 Gtk-WARNING messages, yet
>>>> doesn't run at all.
>>>> I also noticed the following in my all.log file when running Linux applications:
>>>> Apr 16 19:27:03 kirby kernel: 128
>>>> Apr 16 19:27:03 kirby kernel: linux_sys_futex: unknown op 128
>>>> Apr 16 19:27:03 kirby last message repeated 2136 times
>>>> Occasionally, op 129 comes up as well.  Not sure if the latest updates
>>>> to 7.0 would fix this or not, I'm still using a src updated from
>>>> RELENG_7_0 and not from RELENG_7 yet.
>>> Those messages should go away at the lastest RELENG_7.
>>>
>>> Can you please show an output of the command:
>>> $ pkg_info -xI '^linux'
>>>
>>> Seems that you have a mix of both fc4 and f8 ports.
>>>
> 
>> Here's the output:
> 
>> [12:51:23 kirby /celes/test-f8]# pkg_info -xI '^linux'
>> linux-divx4linux-5.0.20030428_3 Linux binary release of DivX (TM) Codec
>> linux-epsxe-1.6.0_3 A Sony Playstation emulator (Linux version)
> 
> This port should be converted to new world order (manually for now). ;-)
> 
>> linux-f8-alsa-lib-1.0.15 The Advanced Linux Sound Architecture libraries (Fedora 8)
>> linux-f8-atk-1.20.0 Accessibility Toolkit (Linux Fedora 8)
>> linux-f8-cairo-1.4.14 Vector graphics library Cairo (Linux Fedora 8)
>> linux-f8-expat-2.0.1 PLEASE, place a comment here
>> linux-f8-fontconfig-2.4.2 An XML-based font configuration API for X
>> Windows (Linux Fe
>> linux-f8-gtk-1.2.10 Gtk+ library (Linux Fedora 8)
>> linux-f8-gtk2-2.12.5 GTK+ library, version 2.X (Linux Fedora 8)
>> linux-f8-jpeg-6b    RPM of libjpeg (Linux Fedora 8)
>> linux-f8-libsigc++20-2.0.18 Callback Framework for C++ (Linux Fedora 8)
>> linux-f8-openssl-0.9.8b The OpenSSL toolkit (Linux Fedora 8)
>> linux-f8-pango-1.18.4 Pango library (Linux Fedora 8)
>> linux-f8-png-1.2.22 RPM of the PNG lib (Linux Fedora 8)
>> linux-f8-scim-libs-1.4.7 Smart Common Input Method libraries (Linux Fedora 8)
>> linux-f8-tiff-3.8.2 RPM of the TIFF library (Linux Fedora 8)
>> linux-f8-xorg-libs-7.3 Xorg libraries (Linux Fedora 8)
>> linux-flashplugin-9.0r115 Adobe Flash Player NPAPI Plugin
> 
> The same.
> 
>> linux-hicolor-icon-theme-0.5_1 A high-color icon theme shell from the
>> FreeDesktop project
>> linux-kompozer-0.7.10 A complete Web Authoring System
>> linux-peops-softgpu-1.17_1 A PSEmu Pro GPU plugin using a software X11
>> renderer (Linux
>> linux-peops-spu-1.9_2 A PSEmu Pro SPU plugin using the OSS interface (Linux versi
>> linux-pete-xgl2gpu-2.8 A PSEmu Pro GPU plugin using a modern OpenGL renderer (Linu
> 
> The same for the last three ports.
> 
>> linux-realplayer-10.0.9.809.20070726 Linux RealPlayer 10 from RealNetworks
>> linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
> 
> Yes, as I suspected. This port should not present at your
> system and should be removed. Well, it may share some files
> with linux-f8-xorg-libs-7.3 though.
> 
> Please, update manually the needed ports to use USE_LINUX_APPS.
> 
>> linux_base-f8-8_2   Base set of packages needed in Linux mode (for i386/amd64)
> 
> 
> WBR

Naram Qashat



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