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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
Hi Mark.

If this actual...
Below fragment your build output:
> mv -f .deps/transform.Tpo .deps/transform.Plo
>  /bin/sh ../libtool  --tag=CC   --mode=link cc -
> I/usr/local/include/libxml2 -I/usr/local/include  -O2 -pipe  -fstack-
> protector-strong -isystem /usr/local/include -fno-strict-aliasing  -
> Wall -Wextra -Wformat=2 -Wmissing-format-attribute -Wshadow -Wl,--
> version-script=./libxslt.syms -version-info 2:35:1 -fstack-protector-
> strong -L/usr/local/lib  -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  -L/usr/local/lib -lxml2 -lz -llzma -pthread
> -licudata -licui18n -licuuc -lm   -lm
>  libtool: link: cc -shared  -fPIC -DPIC  .libs/attrvt.o .libs/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   -L/usr/local/lib
> /usr/local/lib/libxml2.a -lz -llzma -licudata -licui18n -licuuc -lm 
> -O2 -fstack-protector-strong -Wl,--version-script=./libxslt.syms -
> fstack-protector-strong -pthread   -pthread -Wl,-soname -
> Wl,libxslt.so.1 -o .libs/libxslt.so.1.1.35
>  cc: 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)
 ${PORTS_DIR}/textproc/libxslt/work/libxslt-xxx/configure: $XML_CONFIG
--libs
Variable LIBXML_LIBS must not contain /usr/local/lib/libxml2.a


[-- Attachment #2 --]
<html><head></head><body><div>Hi Mark.</div><div><br></div><div>If this actual...</div><div>Below fragment your build output:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>mv -f .deps/transform.Tpo .deps/transform.Plo</div><div>&nbsp;/bin/sh ../libtool&nbsp; --tag=CC&nbsp;&nbsp; --mode=link cc -I/usr/local/include/libxml2 -I/usr/local/include&nbsp; -O2 -pipe&nbsp; -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing&nbsp; -Wall -Wextra -Wformat=2 -Wmissing-format-attribute -Wshadow -Wl,--version-script=./libxslt.syms -version-info 2:35:1 -fstack-protector-strong -L/usr/local/lib&nbsp; -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&nbsp; -L/usr/local/lib -lxml2 -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/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&nbsp;&nbsp; -L/usr/local/lib <b><font color="#ff0000">/usr/local/lib/libxml2.a</font></b> -lz -llzma -licudata -licui18n -licuuc -lm&nbsp; -O2 -fstack-protector-strong -Wl,--version-script=./libxslt.syms -fstack-protector-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 directory: '/usr/local/lib/libxml2.a'</div></blockquote><div><br></div><div>You have: libxml2-2.9.13</div><div><br></div><div style="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; letter-spacing: normal; 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="font-weight: normal;">I think problem in invalid output from </span><b>/usr/local/bin/xml2-config</b></div><div style="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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">May be your system contains files from previous version of libxml2 (before 2.9.13).</div><div style="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; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">libxml2 package contain files which use for building libxslt (they are sh-scripts):</div><div>/usr/local/bin/xml2-config</div><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 checksums:</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(without libxml2.a) - the problem in libxslt.</div><div><br></div><div>Problem can be in configure-file (make -C /usr/ports/textproc/libxslt extract)</div><div>&nbsp;${PORTS_DIR}/textproc/libxslt/work/libxslt-xxx/configure: $XML_CONFIG --libs</div><div>Variable LIBXML_LIBS must not contain /usr/local/lib/libxml2.a</div><div><br></div><div style="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: normal; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"></div><div style="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: normal; word-spacing: 0px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;"></div><div><span></span></div></body></html>
home | help

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