From nobody Fri Apr 8 05:57:53 2022 X-Original-To: questions@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CF0391A86486 for ; Fri, 8 Apr 2022 05:58:02 +0000 (UTC) (envelope-from kalashnikovi@mail.ru) Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZSGK5qRkz3CGx for ; Fri, 8 Apr 2022 05:58:01 +0000 (UTC) (envelope-from kalashnikovi@mail.ru) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail4; h=MIME-Version:Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=kF8eDPgSWVKk866r+4ubReQgodNDuPfVFJxRWKczAY4=; t=1649397481;x=1650002881; b=zyY4ecK1rtHmFXPWcADQLIWVBhVaoZ9Fi1N0GmzdTciRCoRzzoM/8RdOXzwoCDzMS+xZY1rCnBRs2r+lo5EgaAGtQTV79z9T4tSo9drmMcKQJdK9HjoGtKbWumVlSZA5VHGXWVemRhMGzrxOqviKEZS8TIR9x1uIOevdPPmmLdTjjK+1aSVHSDKEvjTDAHXNe4zA/CRD2T+ofPZJbZP9gAd1sYjn3GRkD0/wadCVYNDuODKIftQkM+DjoKdWkA4BKMqIxJ2ZJy+WyxWqqlCGn+zfWfEBf1RjNSkTZlA2PUdImyudIHL4pU00LbAjWXa8pj9gJEjHktzZ8VnAd3gsqg==; Received: by smtp37.i.mail.ru with esmtpa (envelope-from ) id 1nchd3-0004CX-Sz for questions@freebsd.org; Fri, 08 Apr 2022 08:57:54 +0300 Message-ID: <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru> Subject: Re: libxml2 Port Blocking Upgrades From: Kalashnikov Ilya To: questions@freebsd.org Date: Fri, 08 Apr 2022 08:57:53 +0300 In-Reply-To: <711b74f9-d53f-b4a1-686b-ff0c1d58b312@tinka.africa> References: <77f02d06-0252-e8d2-f53f-0fa39fc0d58b@tinka.africa> <8d1e18fb-9888-25bb-87dd-b3ac2f47559f@tinka.africa> <23c640c7-29c1-7eb0-1e15-8b3da916cff4@tinka.africa> <20220407121855.caaf6ec77583fc8c0f93d781@sohara.org> <711b74f9-d53f-b4a1-686b-ff0c1d58b312@tinka.africa> Content-Type: multipart/alternative; boundary="=-rJJFK3xN/QFVkP746W7i" User-Agent: Evolution 3.44.0 FreeBSD GNOME Team List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD9B63E071AA8307CB889E09FEE874B0378E68B8BE5201B9DF8182A05F5380850407BBCCF2B082AF05CA22C8F14CCB496235C457A881A4CACFE100510F1631F3983 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE776377A057133B646EA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F79006371E4BC0E00C009995EA1F7E6F0F101C6723150C8DA25C47586E58E00D9D99D84E1BDDB23E98D2D38BEBC5CAB6D411FFA6D005E49F5A9F6C4078FC25DF179CE62F20879F7C8C5043D14489FFFB0AA5F4BF176DF2183F8FC7C084ED00A64A654CBE8941B15DA834481FA18204E546F3947C2FFDA4F57982C5F4F6B57BC7E64490618DEB871D839B7333395957E7521B51C2DFABB839C843B9C08941B15DA834481F8AA50765F790063783E00425F71A4181389733CBF5DBD5E9B5C8C57E37DE458BD9DD9810294C998ED8FC6C240DEA76428AA50765F7900637B695DC592B97CA35D81D268191BDAD3DBD4B6F7A4D31EC0BEA7A3FFF5B025636D81D268191BDAD3D78DA827A17800CE79CA0AEDD937563A1EC76A7562686271EEC990983EF5C03292E808ACE2090B5E14AD6D5ED66289B5259CC434672EE63711DD303D21008E298D5E8D9A59859A8B6B372FE9A2E580EFC725E5C173C3A84C3D27EA2B1546FA1FC35872C767BF85DA2F004C90652538430E4A6367B16DE6309 X-8FC586DF: 6EFBBC1D9D64D975 X-C1DE0DAB: 0D63561A33F958A584F7B4B4576127D52AD398C7B67DF4FF304CAA3BD2C4B3DCD59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75B66DA94168EAEAEF8E8E86DC7131B365E7726E8460B7C23C X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340B06C327CE4A70E8256F967E86FBF851A079686BA5E165B359636D6B96BE9866AFF53ACE4D4DBE831D7E09C32AA3244C33FCA5684C23C1A00DECC041FE65E32485803964308724803EB3F6AD6EA9203E X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojzDs61/8Pi1E7PHLmvPUD1Q== X-Mailru-Sender: 583F1D7ACE8F49BD5E1C3EABFEEA46B266DC354C41DD24044392A70DC35C6C476497AF73A1C7799B40F400BF26A3C69C3DDE9B364B0DF28982E6386775D73E19E66B5C1DBFD5D09D67EA787935ED9F1B X-Mras: Ok X-Rspamd-Queue-Id: 4KZSGK5qRkz3CGx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=mail.ru header.s=mail4 header.b=zyY4ecK1; dmarc=pass (policy=reject) header.from=mail.ru; spf=pass (mx1.freebsd.org: domain of kalashnikovi@mail.ru designates 94.100.177.97 as permitted sender) smtp.mailfrom=kalashnikovi@mail.ru X-Spamd-Result: default: False [-4.10 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[mail.ru:s=mail4]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[mail.ru:dkim]; FREEMAIL_FROM(0.00)[mail.ru]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.997]; RCPT_COUNT_ONE(0.00)[1]; R_SPF_ALLOW(-0.20)[+ip4:94.100.176.0/20]; DKIM_TRACE(0.00)[mail.ru:+]; DMARC_POLICY_ALLOW(-0.50)[mail.ru,reject]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[questions]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[mail.ru]; ASN(0.00)[asn:47764, ipnet:94.100.176.0/20, country:RU]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[94.100.177.97:from] X-ThisMailContainsUnwantedMimeParts: N --=-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
Hi Mark.

If this act= ual...
Below fragment your build output:
mv -f .deps/transform.Tpo .deps/transform.Plo
 = /bin/sh ../libtool  --tag=3DCC   --mode=3Dlink cc -I/usr/loc= al/include/libxml2 -I/usr/local/include  -O2 -pipe  -fstack-prote= ctor-strong -isystem /usr/local/include -fno-strict-aliasing  -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  -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  -L/usr/local/lib -lxm= l2 -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/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   -L/usr/local/lib /usr/local/l= ib/libxml2.a -lz -llzma -licudata -licui18n -licuuc -lm  -O= 2 -fstack-protector-strong -Wl,--version-script=3D./libxslt.syms -fstack-pr= otector-strong -pthread   -pthread -Wl,-soname -Wl,libxslt.so.1 -= o .libs/libxslt.so.1.1.35
 cc: error: no such file or direct= ory: '/usr/local/lib/libxml2.a'

You h= ave: libxml2-2.9.13

I think problem in invalid output from /usr/lo= cal/bin/xml2-config
May be your system contains files from previous versio= n of libxml2 (before 2.9.13).
libxml2 package contain files which use for buil= ding 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 ch= ecksums:
pkg check -s libxml2

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

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

--=-rJJFK3xN/QFVkP746W7i--