build update bug

wattie

Verified User
Joined
May 31, 2008
Messages
1,206
Location
Bulgaria
For some reason custombuild is not taking the version of libxslt and libxml2 correctly.

When I do

Code:
./build update
./build update_versions

it is always recompiling and installing the two packages: libxslt and libxml2

While they are built and installed successfully:

Code:
...
Making install in strings
Making install in dynamic
Making install in date
Making install in plugins
 ./install-sh -c -d '/usr/local/bin'
 /usr/bin/install -c xslt-config '/usr/local/bin'
 ./install-sh -c -d '/usr/local/lib'
 /usr/bin/install -c -m 644 xsltConf.sh '/usr/local/lib'
 ./install-sh -c -d '/usr/local/share/aclocal'
 /usr/bin/install -c -m 644 libxslt.m4 '/usr/local/share/aclocal'
 ./install-sh -c -d '/usr/local/lib/pkgconfig'
 /usr/bin/install -c -m 644 libxslt.pc libexslt.pc '/usr/local/lib/pkgconfig'
Done libxslt.

...
config.status: creating python/tests/Makefile
config.status: creating xstc/Makefile
config.status: creating include/libxml/xmlversion.h
config.status: creating xml2-config
config.status: creating libxml-2.0.pc
config.status: creating libxml-2.0-uninstalled.pc
config.status: creating python/setup.py
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Done configuring
Done. Making libxml2-2.9.1...
...

eg - there are no errors during the build, the custombuild is not counting them as updated. In fact it shows wrong version:

Code:
Latest version of libxslt: 1.1.28
Installed version of libxslt: 1

libxslt 1 to 1.1.28 update is available.

Latest version of libxml2: 2.9.1
Installed version of libxml2: 1

libxml2 1 to 2.9.1 update is available.


System: FreeBSD 9.1
 
It is FreeBSD related problem. Please post the output of:
Code:
stat /usr/local/lib/libxml2.so | head -n1

Thank you.
 
Here you go:

Code:
# stat /usr/local/lib/libxml2.so | head -n1
94 12441542 lrwxr-xr-x 1 root wheel 2019715436 13 "May 14 08:01:43 2013" "May 14 08:01:43 2013" "May 14 08:01:43 2013" "May 14 08:01:43 2013" 32768 0 0 /usr/local/lib/libxml2.so
 
Back
Top