rlibtool x86_64-pc-linux-gnu-gcc -include /var/tmp/portage/net-dns/bind-tools-9.16.13/work/bind-9.16.13/config.h -I/var/tmp/portage/net-dns/bind-tools-9.16.13/work/bind-9.16.13 -I../../.. -I./include -I./../unix/include -I./../pthreads/include -I../include -I./../include -I./.. -I/usr/include/libxml2 -Os -pipe -march=native -fdiagnostics-color=always -Os -pipe -march=native -fdiagnostics-color=always -Wimplicit-function-declaration -Wno-error=implicit-function-declaration -DDIG_SIGCHASE -pthread -fPIC -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -Wno-missing-field-initializers -fno-strict-aliasing -c uv-compat.c rlibtool: error: --mode must be specified. make[2]: *** [Makefile:205: netmgr.o] Error 2 make[2]: *** Waiting for unfinished jobs.... rlibtool: error: --mode must be specified. rlibtool: error: --mode must be specified. make[2]: *** [Makefile:205: tcp.o] Error 2 make[2]: *** [Makefile:205: uverr2result.o] Error 2 rlibtool: error: --mode must be specified. rlibtool: error: --mode must be specified. make[2]: *** [Makefile:205: uv-compat.o] Error 2 make[2]: *** [Makefile:205: tlsdns.o] Error 2 rlibtool: error: --mode must be specified. rlibtool: error: --mode must be specified. make[2]: *** [Makefile:205: tcpdns.o] Error 2 make[2]: *** [Makefile:205: udp.o] Error 2 make[2]: Leaving directory '/var/tmp/portage/net-dns/bind-tools-9.16.13/work/bind-9.16.13/lib/isc/netmgr' make[1]: *** [Makefile:198: subdirs] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-dns/bind-tools-9.16.13/work/bind-9.16.13/lib/isc' make: *** [Makefile:84: subdirs] Error 1 make: Leaving directory '/var/tmp/portage/net-dns/bind-tools-9.16.13/work/bind-9.16.13/lib' * ERROR: net-dns/bind-tools-9.16.13::gentoo failed (compile phase): * emake failed
Created attachment 692619 [details] bind-tools-9.16.13:20210320-034145.log buildlog
fails for me with rlibtool, libtool, lld, bfd, bash and dash
(In reply to Alessandro Barbieri from comment #2) > fails for me with [...] libtool [...] When testing this, should just not set LIBTOOL instead of LIBTOOL=libtool In this case it's failing because LIBTOOL is set at all, otherwise it works just fine.
Technically not a slibtool issue, but I'll mark it as such as it's only a problem if trying to use alternate libtool. Haven't tried but I assume this affects net-dns/bind as well.
I can't unset variables in /etc/portage/env
> I can't unset variables in /etc/portage/env I set it in make.conf: MAKEFLAGS='LIBTOOL=rlibtool' And if needed in /etc/portage/env/libtool.conf: MAKEFLAGS=''
Seems fixed in the bind upstream git repo already. I bisected it to the following to commits. https://gitlab.isc.org/isc-projects/bind9/-/commit/1628f5865acb2d472ce4adf71fc78ac99094fa1c https://gitlab.isc.org/isc-projects/bind9/-/commit/37b9511ce1dd9ba66a6620c5ff617016eb81188f
*** Bug 781182 has been marked as a duplicate of this bug. ***
*** Bug 789798 has been marked as a duplicate of this bug. ***
*** Bug 913562 has been marked as a duplicate of this bug. ***
*** Bug 925501 has been marked as a duplicate of this bug. ***