Re: libxml2 Port Blocking Upgrades

From: Kalashnikov Ilya <kalashnikovi_at_mail.ru>
Date: Thu, 07 Apr 2022 11:51:13 UTC
Try to remove libxslt and build again.
1. mkdir ~/packages
2. pkg create -o ~/packages libxslt
3. pkg remove -f libxslt
4. make -C /usr/ports/textproc/libxslt clean
5. make -C /usr/ports/textproc/libxslt install
6. make -C /usr/ports/textproc/libxslt clean

To restore old package:
  pkg add ~/packages/libxslt-xxx

On Thu, 2022-04-07 at 13:28 +0200, Mark Tinka wrote:
>  A bit more build data, if it helps:
>  
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT documents.lo -MD -MP -MF
> .deps/documents.Tpo -c documents.c  -fPIC -DPIC -o .libs/documents.o
>  mv -f .deps/namespaces.Tpo .deps/namespaces.Plo
>  /bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
> -I..  -I.. -I../libxslt -isystem /usr/local/include -
> 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 -MT
> preproc.lo -MD -MP -MF .deps/preproc.Tpo -c -o preproc.lo preproc.c
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT preproc.lo -MD -MP -MF
> .deps/preproc.Tpo -c preproc.c  -fPIC -DPIC -o .libs/preproc.o
>  mv -f .deps/imports.Tpo .deps/imports.Plo
>  /bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
> -I..  -I.. -I../libxslt -isystem /usr/local/include -
> 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 -MT
> transform.lo -MD -MP -MF .deps/transform.Tpo -c -o transform.lo
> transform.c
>  mv -f .deps/numbers.Tpo .deps/numbers.Plo
>  /bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.
> -I..  -I.. -I../libxslt -isystem /usr/local/include -
> 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 -MT
> security.lo -MD -MP -MF .deps/security.Tpo -c -o security.lo
> security.c
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT transform.lo -MD -MP -MF
> .deps/transform.Tpo -c transform.c  -fPIC -DPIC -o .libs/transform.o
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT security.lo -MD -MP -MF
> .deps/security.Tpo -c security.c  -fPIC -DPIC -o .libs/security.o
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT documents.lo -MD -MP -MF
> .deps/documents.Tpo -c documents.c -o documents.o >/dev/null 2>&1
>  mv -f .deps/xsltutils.Tpo .deps/xsltutils.Plo
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT security.lo -MD -MP -MF
> .deps/security.Tpo -c security.c -o security.o >/dev/null 2>&1
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT attributes.lo -MD -MP -MF
> .deps/attributes.Tpo -c attributes.c -o attributes.o >/dev/null 2>&1
>  mv -f .deps/documents.Tpo .deps/documents.Plo
>  mv -f .deps/pattern.Tpo .deps/pattern.Plo
>  mv -f .deps/security.Tpo .deps/security.Plo
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT preproc.lo -MD -MP -MF
> .deps/preproc.Tpo -c preproc.c -o preproc.o >/dev/null 2>&1
>  mv -f .deps/xslt.Tpo .deps/xslt.Plo
>  mv -f .deps/attributes.Tpo .deps/attributes.Plo
>  mv -f .deps/preproc.Tpo .deps/preproc.Plo
>  libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I.. -I../libxslt -
> isystem /usr/local/include -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 -MT transform.lo -MD -MP -MF
> .deps/transform.Tpo -c transform.c -o transform.o >/dev/null 2>&1
>  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'
>  gmake[4]: *** [Makefile:544: libxslt.la] Error 1
>  gmake[4]: Leaving directory
> '/usr/ports/textproc/libxslt/work/libxslt-1.1.35/libxslt'
>  gmake[3]: *** [Makefile:645: all-recursive] Error 1
>  gmake[3]: Leaving directory
> '/usr/ports/textproc/libxslt/work/libxslt-1.1.35'
>  gmake[2]: *** [Makefile:448: all] Error 2
>  gmake[2]: Leaving directory
> '/usr/ports/textproc/libxslt/work/libxslt-1.1.35'
>  ===> Compilation failed unexpectedly.
>  Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
> failure to
>  the maintainer.
>  *** Error code 1
>  
>  Stop.
>  make[1]: stopped in /usr/ports/textproc/libxslt
>  *** Error code 1
>  
>  Stop.
>  make: stopped in /usr/ports/textproc/libxslt
>  
>  Mark.