Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 777441 - >=net-dns/bind-tools-9.16.13 rlibtool: error: --mode must be specified (when using MAKEFLAGS='LIBTOOL=rlibtool')
Summary: >=net-dns/bind-tools-9.16.13 rlibtool: error: --mode must be specified (when ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mikle Kolyada
URL:
Whiteboard:
Keywords:
: 781182 789798 (view as bug list)
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-03-21 01:14 UTC by Alessandro Barbieri
Modified: 2021-05-13 15:45 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
bind-tools-9.16.13:20210320-034145.log (bind-tools-9.16.13:20210320-034145.log,63.49 KB, text/plain)
2021-03-21 01:14 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2021-03-21 01:14:07 UTC
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
Comment 1 Alessandro Barbieri 2021-03-21 01:14:25 UTC
Created attachment 692619 [details]
bind-tools-9.16.13:20210320-034145.log

buildlog
Comment 2 Alessandro Barbieri 2021-03-21 01:37:24 UTC
fails for me with rlibtool, libtool, lld, bfd, bash and dash
Comment 3 Ionen Wolkens gentoo-dev 2021-03-21 08:49:29 UTC
(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.
Comment 4 Ionen Wolkens gentoo-dev 2021-03-21 09:13:08 UTC
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.
Comment 5 Alessandro Barbieri 2021-03-21 12:35:35 UTC
I can't unset variables in /etc/portage/env
Comment 6 orbea 2021-03-21 20:39:04 UTC
> 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=''
Comment 7 orbea 2021-03-22 00:45:42 UTC
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
Comment 8 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2021-04-08 18:25:21 UTC
*** Bug 781182 has been marked as a duplicate of this bug. ***
Comment 9 Mikle Kolyada archtester Gentoo Infrastructure gentoo-dev Security 2021-05-13 15:44:59 UTC
*** Bug 789798 has been marked as a duplicate of this bug. ***