Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2022 08:57:53 +0300
From:      Kalashnikov Ilya <kalashnikovi@mail.ru>
To:        questions@freebsd.org
Subject:   Re: libxml2 Port Blocking Upgrades
Message-ID:  <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru>
In-Reply-To: <711b74f9-d53f-b4a1-686b-ff0c1d58b312@tinka.africa>
References:  <77f02d06-0252-e8d2-f53f-0fa39fc0d58b@tinka.africa> <CAN6yY1s3q3bRUNm_hZzxFB1Y_1i5z-F2dyCUYYxvWRcbs7WjMw@mail.gmail.com> <8d1e18fb-9888-25bb-87dd-b3ac2f47559f@tinka.africa> <Yk7GVG9FA0ZZA2EX@doctor.nl2k.ab.ca> <23c640c7-29c1-7eb0-1e15-8b3da916cff4@tinka.africa> <20220407121855.caaf6ec77583fc8c0f93d781@sohara.org> <711b74f9-d53f-b4a1-686b-ff0c1d58b312@tinka.africa>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-rJJFK3xN/QFVkP746W7i
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hi Mark.

If this actual...
Below fragment your build output:
> mv -f .deps/transform.Tpo .deps/transform.Plo
> =C2=A0/bin/sh ../libtool=C2=A0 --tag=3DCC=C2=A0=C2=A0 --mode=3Dlink cc -
> I/usr/local/include/libxml2 -I/usr/local/include=C2=A0 -O2 -pipe=C2=A0 -f=
stack-
> protector-strong -isystem /usr/local/include -fno-strict-aliasing=C2=A0 -
> Wall -Wextra -Wformat=3D2 -Wmissing-format-attribute -Wshadow -Wl,--
> version-script=3D./libxslt.syms -version-info 2:35:1 -fstack-protector-
> strong -L/usr/local/lib=C2=A0 -o libxslt.la -rpath /usr/local/lib
> attrvt.lo xslt.lo xsltlocale.lo xsltutils.lo pattern.lo templates.lo
> variables.lo keys.lo numbers.lo extensions.lo extra.lo functions.lo
> namespaces.lo imports.lo attributes.lo documents.lo preproc.lo
> transform.lo security.lo=C2=A0 -L/usr/local/lib -lxml2 -lz -llzma -pthrea=
d
> -licudata -licui18n -licuuc -lm=C2=A0=C2=A0 -lm
> =C2=A0libtool: link: cc -shared=C2=A0 -fPIC -DPIC=C2=A0 .libs/attrvt.o .l=
ibs/xslt.o
> .libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o
> .libs/templates.o .libs/variables.o .libs/keys.o .libs/numbers.o
> .libs/extensions.o .libs/extra.o .libs/functions.o .libs/namespaces.o
> .libs/imports.o .libs/attributes.o .libs/documents.o .libs/preproc.o
> .libs/transform.o .libs/security.o=C2=A0=C2=A0 -L/usr/local/lib
> /usr/local/lib/libxml2.a -lz -llzma -licudata -licui18n -licuuc -lm=C2=A0
> -O2 -fstack-protector-strong -Wl,--version-script=3D./libxslt.syms -
> fstack-protector-strong -pthread=C2=A0=C2=A0 -pthread -Wl,-soname -
> Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.35
> =C2=A0cc: error: no such file or directory: '/usr/local/lib/libxml2.a'

You have: libxml2-2.9.13

I think problem in invalid output from /usr/local/bin/xml2-config
May be your system contains files from previous version of libxml2
(before 2.9.13).
libxml2 package contain files which use for building libxslt (they are
sh-scripts):
/usr/local/bin/xml2-config
/usr/local/lib/xml2Conf.sh (not used by libxslt, but check it)

- Check please output from xml2-config --libs
It must not contain libxml2.a
- Check libxml2 package checksums:
pkg check -s libxml2

By method of excluding:
If those files is last and returns correct output(without libxml2.a) -
the problem in libxslt.

Problem can be in configure-file (make -C /usr/ports/textproc/libxslt
extract)
=C2=A0${PORTS_DIR}/textproc/libxslt/work/libxslt-xxx/configure: $XML_CONFIG
--libs
Variable LIBXML_LIBS must not contain /usr/local/lib/libxml2.a


--=-rJJFK3xN/QFVkP746W7i
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html><head></head><body><div>Hi Mark.</div><div><br></div><div>If this act=
ual...</div><div>Below fragment your build output:</div><blockquote type=3D=
"cite" style=3D"margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-le=
ft:1ex"><div>mv -f .deps/transform.Tpo .deps/transform.Plo</div><div>&nbsp;=
/bin/sh ../libtool&nbsp; --tag=3DCC&nbsp;&nbsp; --mode=3Dlink cc -I/usr/loc=
al/include/libxml2 -I/usr/local/include&nbsp; -O2 -pipe&nbsp; -fstack-prote=
ctor-strong -isystem /usr/local/include -fno-strict-aliasing&nbsp; -Wall -W=
extra -Wformat=3D2 -Wmissing-format-attribute -Wshadow -Wl,--version-script=
=3D./libxslt.syms -version-info 2:35:1 -fstack-protector-strong -L/usr/loca=
l/lib&nbsp; -o libxslt.la -rpath /usr/local/lib attrvt.lo xslt.lo xsltlocal=
e.lo xsltutils.lo pattern.lo templates.lo variables.lo keys.lo numbers.lo e=
xtensions.lo extra.lo functions.lo namespaces.lo imports.lo attributes.lo d=
ocuments.lo preproc.lo transform.lo security.lo&nbsp; -L/usr/local/lib -lxm=
l2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm&nbsp;&nbsp; -lm</div=
><div>&nbsp;libtool: link: cc -shared&nbsp; -fPIC -DPIC&nbsp; .libs/attrvt.=
o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o .libs/pattern.o .libs/t=
emplates.o .libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.=
o .libs/extra.o .libs/functions.o .libs/namespaces.o .libs/imports.o .libs/=
attributes.o .libs/documents.o .libs/preproc.o .libs/transform.o .libs/secu=
rity.o&nbsp;&nbsp; -L/usr/local/lib <b><font color=3D"#ff0000">/usr/local/l=
ib/libxml2.a</font></b> -lz -llzma -licudata -licui18n -licuuc -lm&nbsp; -O=
2 -fstack-protector-strong -Wl,--version-script=3D./libxslt.syms -fstack-pr=
otector-strong -pthread&nbsp;&nbsp; -pthread -Wl,-soname -Wl,libxslt.so.1 -=
o .libs/libxslt.so.1.1.35</div><div>&nbsp;cc: error: no such file or direct=
ory: '/usr/local/lib/libxml2.a'</div></blockquote><div><br></div><div>You h=
ave: libxml2-2.9.13</div><div><br></div><div style=3D"caret-color: rgb(0, 0=
, 0); color: rgb(0, 0, 0); font-family: Cantarell; font-size: 14.6859130859=
375px; font-style: normal; font-variant-caps: normal; letter-spacing: norma=
l; text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4);=
 -webkit-text-stroke-width: 0px; text-decoration: none;"><span style=3D"fon=
t-weight: normal;">I think problem in invalid output from </span><b>/usr/lo=
cal/bin/xml2-config</b></div><div style=3D"caret-color: rgb(0, 0, 0); color=
: rgb(0, 0, 0); font-family: Cantarell; font-size: 14.6859130859375px; font=
-style: normal; font-variant-caps: normal; font-weight: normal; letter-spac=
ing: normal; orphans: auto; text-align: start; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-t=
ap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; tex=
t-decoration: none;">May be your system contains files from previous versio=
n of libxml2 (before 2.9.13).</div><div style=3D"caret-color: rgb(0, 0, 0);=
 color: rgb(0, 0, 0); font-family: Cantarell; font-size: 14.6859130859375px=
; font-style: normal; font-variant-caps: normal; font-weight: normal; lette=
r-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text=
-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -we=
bkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0p=
x; text-decoration: none;">libxml2 package contain files which use for buil=
ding libxslt (they are sh-scripts):</div><div>/usr/local/bin/xml2-config</d=
iv><div>/usr/local/lib/xml2Conf.sh (not used by libxslt, but check it)</div=
><div><br></div><div>- Check please output from <b>xml2-config --libs</b></=
div><div>It must not contain libxml2.a</div><div>- Check libxml2 package ch=
ecksums:</div><div>pkg check -s libxml2</div><div><br></div><div>By method =
of excluding:</div><div>If those files is last and returns correct output(w=
ithout libxml2.a) - the problem in libxslt.</div><div><br></div><div>Proble=
m can be in configure-file (make -C /usr/ports/textproc/libxslt extract)</d=
iv><div>&nbsp;${PORTS_DIR}/textproc/libxslt/work/libxslt-xxx/configure: $XM=
L_CONFIG --libs</div><div>Variable LIBXML_LIBS must not contain /usr/local/=
lib/libxml2.a</div><div><br></div><div style=3D"caret-color: rgb(0, 0, 0); =
color: rgb(0, 0, 0); font-family: Cantarell; font-size: 14.6859130859375px;=
 font-style: normal; font-variant-caps: normal; font-weight: normal; letter=
-spacing: normal; text-align: start; text-transform: none; white-space: nor=
mal; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -w=
ebkit-text-stroke-width: 0px; text-decoration: none;"></div><div style=3D"c=
aret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Cantarell; font=
-size: 14.6859130859375px; font-style: normal; font-variant-caps: normal; f=
ont-weight: normal; letter-spacing: normal; text-align: start; text-transfo=
rm: none; white-space: normal; word-spacing: 0px; -webkit-tap-highlight-col=
or: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: no=
ne;"></div><div><span></span></div></body></html>

--=-rJJFK3xN/QFVkP746W7i--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5627cce982c4063a660dabc438ccf7a1a409e631.camel>