Date: Wed, 09 Apr 2008 01:10:10 +0400 From: Boris Samorodov <bsam@ipt.ru> To: "Sean C. Farley" <scf@FreeBSD.org> Cc: freebsd-emulation@FreeBSD.org Subject: Re: linux_base-f8/Linux emulation notes Message-ID: <06768573@bb.ipt.ru> In-Reply-To: <05090334@bs1.sp34.ru> (Boris Samorodov's message of "Tue\, 01 Apr 2008 18\:40\:17 %2B0400") References: <alpine.BSF.1.10.0803281759380.49718@thor.farley.org> <05090334@bs1.sp34.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 01 Apr 2008 18:40:17 +0400 Boris Samorodov wrote: > On Fri, 28 Mar 2008 19:06:41 -0500 (CDT) Sean C. Farley wrote: > > Here are some general notes about linux_base-f8 and linux emulation > > (mostly) in general. Other than these notes, almost (see #7) all > > appears to work for me with RELENG_7 (after latest commit today), > > linux_base-f8 and compat.linux.osrelease=2.6.16. Thank you. > Sean, thank you for your testing and feedback! > > 1. I noticed that linux-glib conflicts at least with the glib20.mo files > > and glib2.sh. Is linux-glib even needed if linux_base-f8 is > > installed? No, linux-glib is not needed (it is now included into linux_base-f8). > > Messages from acroread8: > > rm: cannot remove `/home/sean/.adobe/Acrobat/8.0/Preferences/mozilla/prefs.js': Function not implemented > > (acroread:76704): Gtk-WARNING **: Locale not supported by C library. > > Using the fallback 'C' locale. > I have that message even with all Fedora 8 infrastructure ports. :-( > > Fontconfig error: "conf.d", line 1: not well-formed (invalid token) > > Fontconfig error: "conf.d", line 1: not well-formed (invalid token) > This seems to be a result of recent config changes of fontconfig and > should go away with new f8 ports. I installed a patched acroread8: ----- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/print/acroread8/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- Makefile 7 Jan 2008 14:02:37 -0000 1.2 +++ Makefile 8 Apr 2008 18:29:58 -0000 @@ -17,15 +17,13 @@ MAINTAINER= hrs@FreeBSD.org COMMENT= Adobe Reader for view, print, and search PDF documents (${ADOBE_LANG}) -RUN_DEPENDS= acroreadwrapper>=0.0.20071020:${PORTSDIR}/print/acroreadwrapper \ - ${LINUXBASE}/usr/lib/libgtk-x11-2.0.so.0:${PORTSDIR}/x11-toolkits/linux-gtk2 \ - ${LINUXBASE}/usr/lib/libpango-1.0.so.0:${PORTSDIR}/x11-toolkits/linux-pango \ - ${LOCALBASE}/lib/linux-nvu/libgtkembedmoz.so:${PORTSDIR}/www/linux-nvu +RUN_DEPENDS= acroreadwrapper>=0.0.20071020:${PORTSDIR}/print/acroreadwrapper +# ${LOCALBASE}/lib/linux-nvu/libgtkembedmoz.so:${PORTSDIR}/www/linux-nvu RESTRICTED= Must fill out redistribution form at http://www.adobe.com/products/acrobat/distribute.html ONLY_FOR_ARCHS= amd64 i386 USE_LINUX= yes -USE_X_PREFIX= yes +USE_LINUX_APPS= gtk2 pango #USE_GNOME= desktopfileutils NO_BUILD= yes PLIST_SUB= ACRODIR=${ACRODIR} \ ----- with f8 infrastructure ports and that error disappeared. > > (acroread:76704): Gdk-WARNING **: gdk_property_get(): length value has wrapped in calculation (did you pass G_MAXLONG?) New f8 infrastructure ports remove that message. > > 2. I am not sure what is throwing the "Function not implemented" > > message. Running rm (FreeBSD or Linux binary) works. The Linux > > binary works even if executed from with /compat/linux/bin/bash. > I didn't see such a message with acroread7. Should try acroread8 to > reproduce it. Reproduced with acroread8. The actual message is about fstatat64 not implemented. They seem to be harmless but kib committed implementation of at-functions to CURRENT, so the message should go away. > > I checked with ktrace -d and linux_kdump. I do not see prefs.js > > mentioned, and the message does not show itself. ENOSYS nor 38 was > > found in the dump. > > 3. What is missing to make glibc happy with locales (LANG=en_US.UTF-8)? > Anybody? > > 4. Is an update needed for some other linux port to fix the Gdk-WARNING? > > Do other linux-* ports need updating to more current versions? > > Currently, they are fc4-level. > Those messages with _g[dt]k_ are not very informative... ...but go away with f8 linux infrastructure ports. > > 5. The "Beyond Adobe Reader" window that acroread shows if not run > > with a file to load is blank. According to this FAQ[1] #10 by Adobe, > > it could be a problem with gtkembedmoz (installed by the linux-nvu > > port). > I don't see this with acroread7. Confirmed with acroread8. And I don't install linux-nvu. BTW what is the purpose ot that window? To show an error message or smth else? WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?06768573>