Date: Tue, 9 Feb 2016 17:26:52 +0000 From: Miguel C <miguelmclara@gmail.com> To: Martin Simmons <martin@lispworks.com> Cc: Johannes Jost Meixner <johannes@meixner.dk>, "freebsd-emulation@freebsd.org" <freebsd-emulation@freebsd.org> Subject: Re: Call for Testing: CentOS c6_64 ports now with 32bit libraries. Message-ID: <CADGo8CV1O6RW_riMxH7qE2cEmCbtOwJmGuYgpvzmSfsW8mdu6w@mail.gmail.com> In-Reply-To: <CADGo8CXO=PV4kabsiWGnBBh2AQhV9BHbU6eNkxRqzTMgZi-yaQ@mail.gmail.com> References: <56AD3AB6.4050404@meixner.dk> <CADGo8CWrKUXNFL1=o_CePfjxt-mhje-b=s=urWdko4_1Lh=m5Q@mail.gmail.com> <56AD7502.7020604@meixner.dk> <CADGo8CWiePH3b83XMxvE7WEFAw=OJgnB5xruw%2BdkTQiOqGrdZQ@mail.gmail.com> <CADGo8CXFoy%2BzWPY5A6R15rY6cdj2eWAmM0jTRTX3h6X=kCfQ0g@mail.gmail.com> <201602081819.u18IJcIY011408@higson.cam.lispworks.com> <CADGo8CW5Cq%2Bc_TGF=wOU1H-H-6xV08am3yCpsQG5CBdbujgudw@mail.gmail.com> <201602091326.u19DQ5EU010981@higson.cam.lispworks.com> <CADGo8CUWg79%2Bqb%2BtdQOVPUS-kw1qvK7vrmGv4d48VL6ePTbgPg@mail.gmail.com> <CADGo8CU_%2BNBXV6rNiwjmCvCOriivkKWquiTB_7F75bHOcSYTbw@mail.gmail.com> <CADGo8CXO=PV4kabsiWGnBBh2AQhV9BHbU6eNkxRqzTMgZi-yaQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 9, 2016 at 5:07 PM, Miguel C <miguelmclara@gmail.com> wrote: > > > On Tue, Feb 9, 2016 at 4:46 PM, Miguel C <miguelmclara@gmail.com> wrote: > >> >> >> On Tue, Feb 9, 2016 at 4:30 PM, Miguel C <miguelmclara@gmail.com> wrote: >> >>> >>> >>> >>> >>> On Tue, Feb 9, 2016 at 1:26 PM, Martin Simmons <martin@lispworks.com> >>> 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 <martin@lispworks.com> >>>> wrote: >>>> > >>>> > > >>>>> On Mon, 8 Feb 2016 01:17:45 +0000, Miguel C said: >>>> > > > >>>> > > > On Sun, Jan 31, 2016 at 3:05 AM, Miguel C <miguelmclara@gmail.com >>>> > >>>> > > 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 >>>> >>> >>> >> >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CV1O6RW_riMxH7qE2cEmCbtOwJmGuYgpvzmSfsW8mdu6w>