Date: Fri, 8 Apr 2022 10:03:49 +0200 From: Mark Tinka <mark@tinka.africa> To: questions@freebsd.org Subject: Re: libxml2 Port Blocking Upgrades Message-ID: <46eabc8d-3b45-984c-6ad8-b36167f57b82@tinka.africa> In-Reply-To: <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru> 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> <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <body> <br> <br> <div class="moz-cite-prefix">On 4/8/22 07:57, Kalashnikov Ilya wrote:<br> <br> </div> <blockquote type="cite" cite="mid:5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru"> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <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> </blockquote> <br> Yes, this file is present.<br> <br> <br> <blockquote type="cite" cite="mid:5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru"> <div>/usr/local/lib/xml2Conf.sh (not used by libxslt, but check it)</div> </blockquote> <br> This one too, with the following contents:<br> <br> #<br> # Configuration file for using the XML library in GNOME applications<br> #<br> XML2_LIBDIR="-L/usr/local/lib"<br> XML2_LIBS="-lxml2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm"<br> XML2_INCLUDEDIR="-I/usr/local/include/libxml2"<br> MODULE_VERSION="xml2-2.9.13"<br> <br> <br> <blockquote type="cite" cite="mid:5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru"> <div><br> </div> <div>- Check please output from <b>xml2-config --libs</b></div> <div>It must not contain libxml2.a</div> </blockquote> <br> #xml2-config --libs<br> -L/usr/local/lib -lxml2 -lz -llzma -pthread -licudata -licui18n -licuuc -lm -ldl<br> #<br> <br> <br> <blockquote type="cite" cite="mid:5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru"> <div>- Check libxml2 package checksums:</div> <div>pkg check -s libxml2</div> </blockquote> <br> #pkg check -s libxml2<br> Checking libxml2: 100%<br> #<br> <br> <br> <blockquote type="cite" cite="mid:5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru"> <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> ${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> </blockquote> <br> I checked /usr/ports/textproc/libxslt/work/libxslt-1.1.35/configure, and there is no mention of libxml2.a anywhere in the file.<br> <br> Mark.<br> </body> </html> --------------eMOHu2awZQf1ESh9r6DbVfZp--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46eabc8d-3b45-984c-6ad8-b36167f57b82>