Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801928 - dev-lang/R-4.1.0-r1 ignores USE="-X"
Summary: dev-lang/R-4.1.0-r1 ignores USE="-X"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-07-12 19:32 UTC by seryymail
Modified: 2021-07-18 02:48 UTC (History)
1 user (show)

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


Attachments
Emerge log (out.txt,30.03 KB, text/plain)
2021-07-12 19:32 UTC, seryymail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description seryymail 2021-07-12 19:32:36 UTC
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".
Comment 1 Ionen Wolkens gentoo-dev 2021-07-12 20:23:44 UTC
Can reproduce if I don't have xorg-proto installed (although that fails with USE=X as well given dep isn't declared).
Comment 2 seryymail 2021-07-13 07:14:21 UTC
The same bug appears under amd64.
Comment 3 seryymail 2021-07-13 14:05:57 UTC
I wrote a patch that fixes this bug and created a pull request (#21626).If my request is accepted, the bug can be closed.
Comment 4 Benda Xu gentoo-dev 2021-07-16 10:26:39 UTC
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
Comment 5 Larry the Git Cow gentoo-dev 2021-07-16 11:52:45 UTC
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(-)
Comment 6 Larry the Git Cow gentoo-dev 2021-07-18 02:48:42 UTC
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(-)