From owner-freebsd-emulation@freebsd.org Tue Feb 9 17:07:48 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 1B298AA388F for ; Tue, 9 Feb 2016 17:07:48 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 67CA910A4 for ; Tue, 9 Feb 2016 17:07:47 +0000 (UTC) (envelope-from miguelmclara@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id 78so119520714lfy.3 for ; Tue, 09 Feb 2016 09:07:47 -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=DgHpjpVSAvX7DLFG62g1xFXnbeBPujSc2uolmfJSTeA=; b=JCaaB6D8RVfi4s4bs1Uu2DDSn4rhg3O8xYzB+2jcpHzCI0W6pO/LthKPjyV3WK15Xa ZvfhVAk42CuwG0+4Cj8sTl8WG77RO/MX/JTtXFEEOz/TztgoqWjT1CBYrC12sFlotX7X sNsX/TAxAOGXWqCP4/TpA+Bf9po8e3ZiO7NgODTevVI9i+UIawJimMh1ijERjN7UCKpB Tf2Pdys2ZMi55Og/KNoI9xAaR+CI4EQBSgpwtkyDynnqlNoTLQWjfQc05uSSLb4omqd8 h04fX5AN4P4Q2LvovJcw+tgRb4JVDQ6BAOTwrUpsyGbKqoe1+2tM7aA2+T3c4mAkhHLi MKig== 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=DgHpjpVSAvX7DLFG62g1xFXnbeBPujSc2uolmfJSTeA=; b=fkT1yuRzS2q3JSIAWjjv+saeYWDueoXEYVLqsa9/AgDdGlf+Cknc5g172/pKxGJbGR 3raUVR46A87wT3enwClGH9Mm3jwjWhItrlr3XLBAc6UuuR1ulDl7qEuiUDTLK+x7DjId 5aHYQEYGSjZCj5O+wwmElvZjO6aVhSVt+eponv3gd5JIGlubwvbU79SisBLPuNwRtdHn AHOpZFMhBiqJ0WWh9K85PJo7Kazq/Eg7B7Gs2WXZOV2NUBOOwNNXFb31vLYfoEMxtyOB iOQDBYLtI2aO/SGPoFLXzgryI84RMQ2rH8gJbsW0vuBwzLsOEWIJTTpcdxJHXQXdYB4o /qDQ== X-Gm-Message-State: AG10YOQPiJ3fPVUVomFD5R/8f8Z2F6fqgoOLT7Ne8isnI63cn77KylkJdUhWf22g7Vt365jDijAiEWsVmElnQg== X-Received: by 10.25.79.212 with SMTP id d203mr12144225lfb.115.1455037665360; Tue, 09 Feb 2016 09:07:45 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.19.94 with HTTP; Tue, 9 Feb 2016 09:07:05 -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:07:05 +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:07:48 -0000 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 __Martin >>> >> >> >