From nobody Fri Apr 8 08:03:49 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 1FBDA1AA5946 for ; Fri, 8 Apr 2022 08:03:58 +0000 (UTC) (envelope-from mark@tinka.africa) Received: from the-host.tinka.africa (the-host.tinka.africa [105.22.37.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZW3c2Pdfz3pQ6 for ; Fri, 8 Apr 2022 08:03:56 +0000 (UTC) (envelope-from mark@tinka.africa) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tinka.africa; s=tinka; h=In-Reply-To:From:References:To:Subject: MIME-Version:Date:Message-ID:Content-Type:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=qZMLaGogNrYp+wuAbwkuxZMvZukZemRY38oWXyWYpiM=; b=RJdsgAJLOr/XlnHbR4paHChMK bTKI/qQW9Erzpo1dEqerD6lkM29I10/Z8iC1DdQizXDRwchxVH0lcuw9SPpRyocDe45YfJNIklLUE hljT7f35vnytR7zWJc5TdLw2zONtoXJ1n7oaP3wbUBfIe+/gFaNBakgDlimuaJRAAKHDDFhJ08P3g ZYqDRS3PDUGsm5hRzaF9uWTWmF0yU0yAHwqdB1l5ERJkY/n4dzeviABcQe0PQWmflN8DX361YjIR1 zy6LAbPdSdzaUWXUqaJn0tTuZJ3lmMdfkmLq58QkNvmKmKWg5I2A9GCrwQZ9fl7qgjhkyHAQdVkOm p/oE595Ow==; Received: from localhost ([127.0.0.1]) by the-host.tinka.africa with esmtp (Exim 4.92.1) (envelope-from ) id RA0H2F-000IZ3-E6 for questions@freebsd.org; Fri, 08 Apr 2022 10:03:51 +0200 Content-Type: multipart/alternative; boundary="------------eMOHu2awZQf1ESh9r6DbVfZp" Message-ID: <46eabc8d-3b45-984c-6ad8-b36167f57b82@tinka.africa> Date: Fri, 8 Apr 2022 10:03:49 +0200 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 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: libxml2 Port Blocking Upgrades Content-Language: en-US To: questions@freebsd.org 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> <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru> From: Mark Tinka In-Reply-To: <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru> X-Rspamd-Queue-Id: 4KZW3c2Pdfz3pQ6 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=tinka.africa header.s=tinka header.b=RJdsgAJL; dmarc=pass (policy=none) header.from=tinka.africa; spf=pass (mx1.freebsd.org: domain of mark@tinka.africa designates 105.22.37.14 as permitted sender) smtp.mailfrom=mark@tinka.africa X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[tinka.africa:s=tinka]; FREEFALL_USER(0.00)[mark]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:105.22.37.14]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[tinka.africa:+]; HFILTER_HELO_2(1.00)[the-host.tinka.africa]; DMARC_POLICY_ALLOW(-0.50)[tinka.africa,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MLMMJ_DEST(0.00)[questions]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:37100, ipnet:105.16.0.0/12, country:MU]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N This is a multi-part message in MIME format. --------------eMOHu2awZQf1ESh9r6DbVfZp Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 4/8/22 07:57, Kalashnikov Ilya wrote: > 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 Yes, this file is present. > /usr/local/lib/xml2Conf.sh (not used by libxslt, but check it) This one too, with the following contents: # # Configuration file for using the XML library in GNOME applications # XML2_LIBDIR="-L/usr/local/lib" XML2_LIBS="-lxml2 -lz -llzma -pthread  -licudata -licui18n -licuuc -lm" XML2_INCLUDEDIR="-I/usr/local/include/libxml2" MODULE_VERSION="xml2-2.9.13" > > - Check please output from *xml2-config --libs* > It must not contain libxml2.a #xml2-config --libs -L/usr/local/lib -lxml2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm -ldl # > - Check libxml2 package checksums: > pkg check -s libxml2 #pkg check -s libxml2 Checking libxml2: 100% # > > 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 I checked /usr/ports/textproc/libxslt/work/libxslt-1.1.35/configure, and there is no mention of libxml2.a anywhere in the file. Mark. --------------eMOHu2awZQf1ESh9r6DbVfZp Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

On 4/8/22 07:57, Kalashnikov Ilya wrote:

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

Yes, this file is present.


/usr/local/lib/xml2Conf.sh (not used by libxslt, but check it)

This one too, with the following contents:

#
# Configuration file for using the XML library in GNOME applications
#
XML2_LIBDIR="-L/usr/local/lib"
XML2_LIBS="-lxml2 -lz -llzma -pthread  -licudata -licui18n -licuuc -lm"
XML2_INCLUDEDIR="-I/usr/local/include/libxml2"
MODULE_VERSION="xml2-2.9.13"



- Check please output from xml2-config --libs
It must not contain libxml2.a

#xml2-config --libs
-L/usr/local/lib -lxml2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm -ldl
#


- Check libxml2 package checksums:
pkg check -s libxml2

#pkg check -s libxml2
Checking libxml2: 100%
#



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

I checked /usr/ports/textproc/libxslt/work/libxslt-1.1.35/configure, and there is no mention of libxml2.a anywhere in the file.

Mark.
--------------eMOHu2awZQf1ESh9r6DbVfZp--