From owner-freebsd-emulation@freebsd.org Tue Feb 9 17:27:34 2016 Return-Path: Delivered-To: freebsd-emulation@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86C0EAA2068 for ; Tue, 9 Feb 2016 17:27:34 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com [IPv6:2a00:1450:4010:c07::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E96C31C3B for ; Tue, 9 Feb 2016 17:27:33 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lf0-x230.google.com with SMTP id m1so121337244lfg.0 for ; Tue, 09 Feb 2016 09:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7oIDTtjivji/MA0e7Uf8rRVatv2DokMsHFcYb+K9x9M=; b=qa+ARbkBumS6CShIszc0t8KOo4iCFE6llYXlSMjX1xa1ozEbR3S3qfhxeAMT0UCs73 UYly+DAsJ78fYwWLfydHrQrkZ7K0J0HNAouR7PZJA55jb/Q71Zd5rnxMCJiWbn5dkxBW 51FTlf8HpgH+hF+U2x1IT20kqqcty0IIoNE6LnPOm621lMwMMDOiMYCe7ChKIOdU5qaS CtKFHLpPncCsePVMn23EtphBDv5CStXtT8nXhNZ+O989lTb0OkzIQK0BOIDpwRTJBZB0 DGynTRH9SDSiVQ33GXvv7PZI/Z1q6j9gOHgg/ftkS13JXigBXTCh+JH6sN0/+kjze08y leqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=7oIDTtjivji/MA0e7Uf8rRVatv2DokMsHFcYb+K9x9M=; b=CfZp0rKoeBOs37hQGJMxyvutPqDNaqgdYDmfn7MNkdGDO2cswW6wnoB/fRa/OHUe4u /lx81cSiyxlI/9dc3VeEtu2b0dvJhp4dPPCH3mQcRIAK1/G5tkGGjh7e6LLei9reEQcY iQRc6u8dYMaID5+Xjjp3CJeZ1tAiDCTT8bQMmoRU+beaFFaovumWSy8LQWL8jMQP9f4Q X5OhlVmo6cdb2x28C2lJdzfN9krtBMPo1VXb+gnRWhDydQgI9wr/Ish3cPpQeRAkSPh6 VVOzwnWavTxrCjFpStgKXuzxj3FqloncXMyMYgKVgXyn8XcG57Dran7vswEZEZP7U2Fb WH2g== X-Gm-Message-State: AG10YOT9AZneroCWf7d1tabphvglSz+2JuOZXc039jL/MVyXa0M6vGC3RxFTLDtlfuNUNhopcvlZSaZ+vIAlcQ== X-Received: by 10.25.79.212 with SMTP id d203mr12174634lfb.115.1455038851906; Tue, 09 Feb 2016 09:27:31 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.19.94 with HTTP; Tue, 9 Feb 2016 09:26:52 -0800 (PST) In-Reply-To: References: <56AD3AB6.4050404@meixner.dk> <56AD7502.7020604@meixner.dk> <201602081819.u18IJcIY011408@higson.cam.lispworks.com> <201602091326.u19DQ5EU010981@higson.cam.lispworks.com> From: Miguel C Date: Tue, 9 Feb 2016 17:26:52 +0000 Message-ID: Subject: Re: Call for Testing: CentOS c6_64 ports now with 32bit libraries. To: Martin Simmons Cc: Johannes Jost Meixner , "freebsd-emulation@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 09 Feb 2016 17:27:34 -0000 On Tue, Feb 9, 2016 at 5:07 PM, Miguel C wrote: > > > On Tue, Feb 9, 2016 at 4:46 PM, Miguel C wrote: > >> >> >> On Tue, Feb 9, 2016 at 4:30 PM, Miguel C wrote: >> >>> >>> >>> >>> >>> On Tue, Feb 9, 2016 at 1:26 PM, Martin Simmons >>> wrote: >>> >>>> >>>>> On Mon, 8 Feb 2016 21:26:55 +0000, Miguel C said: >>>> > >>>> > --089e011770cf92b957052b48ded9 >>>> > Content-Type: text/plain; charset=UTF-8 >>>> > >>>> > On Mon, Feb 8, 2016 at 6:19 PM, Martin Simmons >>>> wrote: >>>> > >>>> > > >>>>> On Mon, 8 Feb 2016 01:17:45 +0000, Miguel C said: >>>> > > > >>>> > > > On Sun, Jan 31, 2016 at 3:05 AM, Miguel C >>> > >>>> > > wrote: >>>> > > > >>>> > > > > >>>> > > > > >>>> > > > > On Sun, Jan 31, 2016 at 2:44 AM, Johannes Jost Meixner < >>>> > > > > johannes@meixner.dk> wrote: >>>> > > > > >>>> > > > >> -----BEGIN PGP SIGNED MESSAGE----- >>>> > > > >> Hash: SHA256 >>>> > > > >> >>>> > > > >> Hi Miguel, >>>> > > > >> >>>> > > > >> you'll have to svn up to the latest portstree, apply the patch, >>>> > > > >> update/reinstall the relevant packages (in this case, >>>> > > > >> devel/linux-c6-devtools), and try again. >>>> > > > >> >>>> > > > >> I'm actually using git, but I'm assuming master branch is in >>>> sync >>>> > > with svn >>>> > > > > >>>> > > > > FYI linux-skype_oss_wrapper still fails to build after the >>>> patch with: >>>> > > > >>>> > > > Stop. >>>> > > > make: stopped in >>>> > > > >>>> /usr/home/miguelc/gitstuff/freebsd-ports/audio/linux-skype_oss_wrapper >>>> > > > [miguelc@r2d2:~/gitstuff/freebsd-ports/audio/linux-skype_oss_wrapper >>>> ]% >>>> > > > sudo make MAKE_JOBS_UNSAFE=yes >>>> > > > ===> Building for linux-skype_oss_wrapper-0.1.1 >>>> > > > /compat/linux/usr/bin/gcc -m32 libpulse.o -o libpulse.so.0 >>>> > > > -fstack-protector -shared -lpthread >>>> > > > /usr/bin/ld: cannot find /lib/libpthread.so.0 >>>> > > > collect2: ld returned 1 exit status >>>> > > > *** Error code 1 >>>> > > > >>>> > > > I can see libpthread.so in /compat/linux/usr/lib >>>> > > > >>>> > > > find /compat/linux/ -name 'libpthread*' >>>> > > > /compat/linux/lib64/libpthread-2.12.so >>>> > > > /compat/linux/lib64/libpthread.so.0 >>>> > > > /compat/linux/usr/lib/libpthread.so.0 >>>> > > > /compat/linux/usr/lib/libpthread_nonshared.a >>>> > > > /compat/linux/usr/lib/libpthread.so >>>> > > > /compat/linux/usr/lib64/libpthread_nonshared.a >>>> > > > /compat/linux/usr/lib64/libpthread.so >>>> > > >>>> > > Just an idea: have you installed the 32-bit glibc? That should >>>> provide >>>> > > /compat/linux/lib/libpthread.so.0 etc. >>>> > > >>>> > > >>>> > Hum, I was under the impression that 32-bit libs would still be >>>> installed >>>> > alongside... wasn't that the purpose of the PATCH? >>>> >>>> Sorry, you are right, it should be installed by linux_base-c6. >>>> >>>> Nevertheless, you are somehow missing at least these files: >>>> >>>> /compat/linux/lib/libpthread-2.12.so >>>> /compat/linux/lib/libpthread.so.0 >>>> >>>> Do you have the two libc files below? >>>> >>>> /compat/linux/lib/libc-2.12.so >>>> /compat/linux/lib/libc.so.6 >>>> >>>> If not, then I suspect your linux_base-c6 doesn't contain the patch. >>>> >>>> >>> I was just looking into that acctually cause my "/compat/usr/lib" only >>> shows this: >>> ``` >>> drwxr-xr-x 3 root wheel 3B Feb 7 23:30 alsa >>> lrwxr-xr-x 1 root wheel 14B Jul 23 2015 cpp -> ../usr/bin/cpp >>> drwxr-xr-x 2 root wheel 3B Jan 31 00:58 lsb >>> drwxr-xr-x 2 root wheel 2B Jan 31 00:57 modules >>> drwxr-xr-x 6 root wheel 6B Feb 7 23:30 terminfo >>> drwxr-xr-x 3 root wheel 3B Jan 31 00:59 udev >>> ``` >>> >>> However I do have the patch (or had the one from the other day, maybe I >>> need to update, I noticed a few more changes were made) >>> >>> I wonder how to do that without wiping the ports dir and refetch? >>> I'm using git, so I guess If I can revert the arc patch I can maybe "git >>> pull" again and then re-apply arc patch on top of the updated ports tree? >>> >>> replying to myself, arc patch creates a new branch, so I just need to go >> back to master :) >> >>> >>> >>> >> > linux-skype4 finally builds successfully, still can't run it due to: > % skype > ERROR: ld.so: object '/usr/lib/libv4l/v4l2convert.so' from LD_PRELOAD > cannot be preloaded: ignored. > /usr/local/share/skype/skype: error while loading shared libraries: > libXv.so.1: cannot open shared object file: No such file or directory > > Regarding libv4l > ``` > ll /compat/linux/usr/lib | grep v4l > drwxr-xr-x 2 root wheel 6B Feb 9 17:00 libv4l > -rwxr-xr-x 1 root wheel 16K Aug 22 2010 libv4l1.so.0 > -rwxr-xr-x 1 root wheel 39K Aug 22 2010 libv4l2.so.0 > -rwxr-xr-x 1 root wheel 116K Aug 22 2010 libv4lconvert.so.0 > ``` > > Seems to be looking in the wrong place, or the libv4l port is installing > to the worn place (one of the two) > > investigating why lbXv is not present > Solved xorg-libs needs to be updated to, guess the best thing is to "pkg delete linux-\*" first and start from scratch :) > > __Martin >>>> >>> >>> >> >