Call for Testing: CentOS c6_64 ports now with 32bit libraries.

Miguel C miguelmclara at gmail.com
Tue Feb 9 17:27:34 UTC 2016


On Tue, Feb 9, 2016 at 5:07 PM, Miguel C <miguelmclara at gmail.com> wrote:

>
>
> On Tue, Feb 9, 2016 at 4:46 PM, Miguel C <miguelmclara at gmail.com> wrote:
>
>>
>>
>> On Tue, Feb 9, 2016 at 4:30 PM, Miguel C <miguelmclara at gmail.com> wrote:
>>
>>>
>>>
>>>
>>>
>>> On Tue, Feb 9, 2016 at 1:26 PM, Martin Simmons <martin at 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 at 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 at gmail.com
>>>> >
>>>> > > wrote:
>>>> > > >
>>>> > > > >
>>>> > > > >
>>>> > > > > On Sun, Jan 31, 2016 at 2:44 AM, Johannes Jost Meixner <
>>>> > > > > johannes at 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 at 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
>>>>
>>>
>>>
>>
>


More information about the freebsd-emulation mailing list