Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Apr 2022 15:22:33 +0200
From:      "Herbert J. Skuhra" <herbert@gojira.at>
To:        questions@freebsd.org
Subject:   Re: libxml2 Port Blocking Upgrades
Message-ID:  <87pmlr90bq.wl-herbert@gojira.at>
In-Reply-To: <46eabc8d-3b45-984c-6ad8-b36167f57b82@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> <5627cce982c4063a660dabc438ccf7a1a409e631.camel@mail.ru> <46eabc8d-3b45-984c-6ad8-b36167f57b82@tinka.africa>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 08 Apr 2022 10:03:49 +0200, Mark Tinka wrote:
> =

> =

> =

> 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=3D"-L/usr/local/lib"
> XML2_LIBS=3D"-lxml2 -lz -llzma -pthread=A0 -licudata -licui18n -licuu=
c -lm"
> XML2_INCLUDEDIR=3D"-I/usr/local/include/libxml2"
> MODULE_VERSION=3D"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)
> > =A0${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.

And in the Makefile in e.g.:

/usr/ports/textproc/libxslt/work/libxslt-1.1.35/libxslt'?

Can you also post
/usr/ports/textproc/libxslt/work/libxslt-1.1.35/config.log?

Are all other installed ports up-to-date? What's in /etc/make.conf?
Have you tried to install the libxml2 package and then build libxslt?

I still cannot reproduce this issue on any of my systems.

--
Herbert



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87pmlr90bq.wl-herbert>