textproc/libxml2 does not install libxml2.so.5

Ruslan Mahmatkhanov cvs-src at yandex.ru
Tue Nov 1 11:31:53 UTC 2011


Koop Mast wrote on 01.11.2011 15:09:
> On Tue, 2011-11-01 at 12:58 +0400, Ruslan Mahmatkhanov wrote:
>> Marco Steinbach wrote on 10/31/11 21:00:
>>> Ruslan Mahmatkhanov wrote on 31.10.2011 16:57:
>>>> Marco Steinbach wrote on 31.10.2011 19:21:
>>>>> Hi,
>>>>>
>>>>> I'm trying to use textproc/libxml2 from ports, but it seems, that some
>>>>> files are missing after installation.
>>>>>
>>>>> Subsequently, installing textproc/libxslt fails due to a missing
>>>>> libxml2.so.5, for example.
>>>>>
>>>>> My /etc/make.conf is empty. I'm a bit reluctant to 'fix' this by
>>>>> symlinking, and besides that, libxml2.so.5 is listed in the pkg-plist of
>>>>> libxml2, so I assume something goes wrong locally or the port might need
>>>>> some attention.
>>>>>
>>>>> I've updated the ports tree on the machine just a few minutes ago.
>>>>>
>>>>> Here's some more information:
>>>>>
>>>>> # uname -a
>>>>> FreeBSD 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r226877: Fri Oct 28
>>>>> 07:55:10 UTC 2011 root@:/usr/obj/usr/src/sys/GENERIC amd64
>>>>> # pwd
>>>>> /usr/ports/textproc/libxml2
>>>>> # make -VPKGNAME
>>>>> libxml2-2.7.8_1
>>>>> # make install clean
>>>>> [...]
>>>>> # pkg_info -IX libxml2
>>>>> libxml2-2.7.8_1 XML parser library for GNOME
>>>>> # pkg_info -g libxml2-2.7.8_1
>>>>> Information for libxml2-2.7.8_1:
>>>>>
>>>>> Mismatched Checksums:
>>>>> pkg_info: /usr/local/etc/xml2Conf.sh doesn't exist
>>>>> pkg_info: /usr/local/lib/libxml2.so.5 doesn't exist
>>>>> pkg_info: /usr/local/libdata/pkgconfig/libxml-2.0.pc doesn't exist
>>>>>
>>>>>
>>>>> Hints and/or pointers welcome.
>>>>>
>>>>> MfG CoCo
>>>>
>>>> Yes, it looks like WITH_FBSD10_FIX=yes doesn't works here.
>>>> You may rebuild it with UNAME_r=9.9-CURRENT until the working fix will
>>>> not be committed.
>>>
>>> This doesn't seem to do the trick for me:
>>>
>>> # echo $SHELL
>>> /bin/csh
>>> # setenv UNAME_r 9.9-CURRENT
>>> # echo $UNAME_r
>>> 9.9-CURRENT
>>> # cd /usr/ports/textproc/libxml2
>>> # make install clean
>>> [...]
>>> # pkg_info -g libxml2-2.7.8_1
>>> Information for libxml2-2.7.8_1:
>>>
>>> Mismatched Checksums:
>>> pkg_info: /usr/local/etc/xml2Conf.sh doesn't exist
>>> pkg_info: /usr/local/lib/libxml2.so.5 doesn't exist
>>> pkg_info: /usr/local/libdata/pkgconfig/libxml-2.0.pc doesn't exist
>>>
>>> Am I doing something wrong here ?
>>>
>>> MfG CoCo
>>
>> Lawl, after reboot i found my system broken. I now see the problem.
>> textproc/libxml2 installs libxml2.so.9, not libxml2.so.5 when FBSD10_FIX
>> is enabled. I now will try to check it with FSBD10 fix disabled to make
>> sure that it doesn't change anything that it supposed to be.
>>
>> Koop are all is ok for you with this port?
>>
>
> Ok should be fixed now. This is one of those things that doesn't show up
> in a tinderbox because there isn't any extra cruff around. I still don't
> know how this slipped by, I know I localy tested all the changes, apart
> from tinderbox.
>
> -Koop

I'll try it this evening, thank you. I also believe that this change 
require portrevision bump.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-ports mailing list