Created attachment 723604 [details] Emerge log Build dev-lang/R-4.1.0-r1 fails on the x86 platform at the configuration stage with the message "configure error: --with-x=yes (default) and X11 headers/libs are not available". But USE="icu lapack lto nls -X -doc".
Can reproduce if I don't have xorg-proto installed (although that fails with USE=X as well given dep isn't declared).
The same bug appears under amd64.
I wrote a patch that fixes this bug and created a pull request (#21626).If my request is accepted, the bug can be closed.
It is an interesting observation. Why doesn't --without-x work, but --with-x=no works? The autoconf documentation says they are equivalent. https://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node/External-Software.html
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ca7094608362020c06f80bb01ee6b872c029c0 commit b5ca7094608362020c06f80bb01ee6b872c029c0 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: 2021-07-16 11:51:51 +0000 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: 2021-07-16 11:52:39 +0000 dev-lang/R: fix econf arguments. mjo has forgotten to append '\' to include the arguments after lto. Reference: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b3b5b20fe9c71906a674908c8dd08d38706804b Closes: https://bugs.gentoo.org/801928 Closes: https://github.com/gentoo/gentoo/pull/21626 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Benda Xu <heroxbd@gentoo.org> dev-lang/R/R-4.1.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4803567eced7665d91c9862e725524bf358f75b commit c4803567eced7665d91c9862e725524bf358f75b Author: Sam James <sam@gentoo.org> AuthorDate: 2021-07-18 02:47:42 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-07-18 02:48:29 +0000 dev-lang/R: revbump for fixed econf arguments We need to revbump for cases like this to ensure that the user's preferences/USE flags were fully respected (and done so correctly). Fixes: b5ca7094608362020c06f80bb01ee6b872c029c0 Bug: https://bugs.gentoo.org/801928 Signed-off-by: Sam James <sam@gentoo.org> dev-lang/R/{R-4.1.0-r1.ebuild => R-4.1.0-r2.ebuild} | 0 1 file changed, 0 insertions(+), 0 deletions(-)