Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2016 16:30:43 +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:  <CADGo8CUWg79%2Bqb%2BtdQOVPUS-kw1qvK7vrmGv4d48VL6ePTbgPg@mail.gmail.com>
In-Reply-To: <201602091326.u19DQ5EU010981@higson.cam.lispworks.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>

next in thread | previous in thread | raw e-mail | index | archive | help
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?




> __Martin
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADGo8CUWg79%2Bqb%2BtdQOVPUS-kw1qvK7vrmGv4d48VL6ePTbgPg>