From owner-freebsd-emulation@FreeBSD.ORG Thu Sep 4 07:43:07 2014 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F08081B8 for ; Thu, 4 Sep 2014 07:43:06 +0000 (UTC) Received: from graal.it-profi.org.ua (graal.shurik.kiev.ua [193.239.74.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 77B701F25 for ; Thu, 4 Sep 2014 07:43:05 +0000 (UTC) Received: from [217.76.201.82] (helo=thinkpad.it-profi.org.ua) by graal.it-profi.org.ua with esmtpa (Exim 4.84 (FreeBSD)) (envelope-from ) id 1XPRFO-0004Of-Mb for freebsd-emulation@freebsd.org; Thu, 04 Sep 2014 10:14:22 +0300 Message-ID: <54081149.8010604@shurik.kiev.ua> Date: Thu, 04 Sep 2014 10:14:17 +0300 From: Alexandr Krivulya User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-emulation@freebsd.org Subject: Re: net-im/skype-[devel] won't connect References: <20140813153823.E448F601EF@smtp.hushmail.com> <2193543.8WxQXG9cXZ@notebook.com> <2207400.sXHmFWe1Da@notebook.com> In-Reply-To: <2207400.sXHmFWe1Da@notebook.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 217.76.201.82 X-SA-Exim-Mail-From: shuriku@shurik.kiev.ua X-SA-Exim-Scanned: No (on graal.it-profi.org.ua); SAEximRunCond expanded to false X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2014 07:43:07 -0000 I have removed linux-f10 from my CURRENT and install linux-f20 and skype-4.3.0.37_1,1 from https://github.com/vassilisl/freebsd-linux_base-f20. Now I cannot start skype because of error: /usr/local/share/skype/skype: error while loading shared libraries: /usr/lib/libQtDBus.so.4: ELF file OS ABI invalid linux_enable present in rc.conf. What else do I need to setup? 03.09.2014 10:34, Artyom Mirgorodskiy пишет: > Thank you! > > On Tuesday 02 September 2014 22:49:22 Henry Hu wrote: >> On Tue, Sep 2, 2014 at 3:47 AM, Artyom Mirgorodskiy < >> artyom.mirgorodsky@gmail.com> wrote: >> >>> This is fantastic! Can you please share compiled library? As I understand >>> this library should be compiled for linux. I don't have linux at this time >>> >> Here it is. >> >> >>> On Monday 01 September 2014 19:12:33 Henry Hu wrote: >>>> On Mon, Aug 18, 2014 at 11:27 AM, Vassilis Laganakos < >>> vassilis@einval.com> >>>> wrote: >>>> >>>>> Hi Artyom, >>>>> >>>>> On Mon, Aug 18, 2014 at 06:16:02PM +0300, Artyom Mirgorodskiy wrote: >>>>>> So I try again to run pulse audio and got the following error in >>> syslog: >>>>>> linux: pid 95238 (pacat): syscall ppoll not implemented >>>>>> >>>>>> Anybody can help how to implement this syscall on linuxulator? >>>>>> >>>>> Didn't get the chance to update the thread on the work on this (albeit >>> for >>>>> -f20). I have an implementation for that syscall, as well for >>> fstatfs64, >>>>> and >>>>> seems to be working. Just need to test it a bit more and I'll push it >>> for >>>>> formal review and more testing :) >>>>> >>>>> I did push the linux-f20-pulseaudio-libs and related packages in the >>> git >>>>> repo for the -f20 libs the weekend. >>>>> >>>> Finally it works... >>>> First, compile this to an .so and use LD_PRELOAD to load it: >>>> >>>> #include >>>> #include >>>> #include >>>> #include >>>> #include >>>> >>>> typedef int pa_bool_t; >>>> >>>> typedef struct pa_mutex_t { >>>> pthread_mutex_t mutex; >>>> } pa_mutex; >>>> >>>> char* pa_machine_id() { >>>> char buf[256]; >>>> assert(gethostname(buf, sizeof(buf)) == 0); >>>> return strdup(buf); >>>> } >>>> >>>> pa_mutex* pa_mutex_new(pa_bool_t recursive, pa_bool_t inherit_priority) { >>>> // we don't support inherit_priority for now >>>> pa_mutex *m; >>>> pthread_mutexattr_t attr; >>>> >>>> assert(pthread_mutexattr_init(&attr) == 0); >>>> >>>> if (recursive) >>>> assert(pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE) >>> == >>>> 0); >>>> >>>> m = malloc(sizeof(pa_mutex)); >>>> >>>> assert(pthread_mutex_init(&m->mutex, &attr) == 0); >>>> >>>> return m; >>>> } >>>> >>>> This solves the connection problem with pulse audio, but you still can't >>>> make calls or send messages. You need the experimental epoll patch from >>>> http://lev.vlakno.cz/~rdivacky/patches/linux_epoll.patch for the epoll >>>> syscall. You may also need to disable shared memory at the server side of >>>> pulse audio by changing /usr/local/etc/pulse/daemon.conf. >>>> >>>> Then it works. Sound input / sound output / webcam all ok. >>>> >>>> The main problems: >>>> 1. pa_machine_id returns dbus' machine id, where on freebsd it should >>>> return the machine's name. >>>> 2. priority inherited mutexes are not supported by the linux emulation >>>> layer yet >>>> 3. epoll is not implemented >>>> >>>> >>>>> Cheers, >>>>> Vassilis >>>>> >>>>>> On Wednesday 13 August 2014 22:09:22 Vassilis Laganakos wrote: >>>>>>> Hi, >>>>>>> >>>>>>> On Wed, Aug 13, 2014 at 10:47:25AM -0500, Scot Hetzel wrote: >>>>>>>> On Wed, Aug 13, 2014 at 10:38 AM, Kenta S. >>> wrote: >>>>>>>>> Hello. This afternoon when I try to sign onto Skype, I get: >>>>>>>>> >>>>>>>>> "Periodic UIC Update Failed" >>>>>>>>> >>>>>>>>> I haven't updated ports recently. Does anyone have an idea? >>>>>>>>> I heard Skype was closing down old versions. >>>>>>>>> >>>>>>>> I had received the following e-mail from Skype a few days ago: >>>>>>>> >>>>>>>> On Fri, Aug 8, 2014 at 7:53 PM, Skype >>>> wrote: >>>>>>>>> Your Skype for Linux version is being retired. >>>>>>>>> Update today. » >>>>>>>>> Can't see this email properly? Forgotten your password? >>>>>>>>> Your Skype for Linux version is being retired. Update today. >>>>>>>>> Dear swhetzel, >>>>>>>>> >>>>>>>>> We are now retiring older versions of Skype and it appears >>> that at >>>>> some >>>>>>>>> point you signed into Skype with one of these. To continue >>> signing >>>>> into >>>>>>>>> Skype on Linux you'll need to download the latest version. The >>> new >>>>>>>>> version comes with improved performance, the latest features >>> and >>>>>>>>> security updates, so you'll get the best possible Skype >>> experience. >>>>>>>>> If you're on the latest version of Skype, the above will not >>> apply. >>>>>>>>> Update now at http://www.skype.com/download. >>>>>>>> Someone will need to update the Skype port to the latest Linux >>>>> version >>>>>>>> and see if it works on our current version of Linux emulation. >>>>>>>> >>>>>>> I've read in various places (and tested myself with a couple of >>>>> version on >>>>>>> Linux) that any version before skype 4.3.0.37 will not connect. >>>>>>> >>>>>>> The skype port at: >>>>> https://github.com/vassilisl/freebsd-ports/tree/master/net-im/skype4 >>>>>>> will connect (if you use the f20 ports >>>>> https://github.com/vassilisl/freebsd-linux_base-f20 ;) ) >>>>>>> but it doesn't have sound working. Both xmj and I are working on >>>>> getting >>>>>>> that version of Skype on c6 and f20 linux emulation bases >>>>> respectivelly, >>>>>>> which basically means get it to talk to pulseaudio. >>>>>>> >>>>>>> If anyone has experience with that, please shout! :) >>>>>>> >>>>>>> Regards, >>>>>>> Vassilis >>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>>> Artyom Mirgorodskiy >>>> >>>> >>> -- >>> Artyom Mirgorodskiy >>> >> >>