Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 922230 - dev-util/mingw64-toolchain-11.0.0_p2 missing sys-apps/texinfo in BDEPEND
Summary: dev-util/mingw64-toolchain-11.0.0_p2 missing sys-apps/texinfo in BDEPEND
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-16 16:10 UTC by Esteve Varela Colominas
Modified: 2024-01-17 06:55 UTC (History)
1 user (show)

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


Attachments
build log (build.log,179.88 KB, application/octet-stream)
2024-01-16 16:10 UTC, Esteve Varela Colominas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2024-01-16 16:10:10 UTC
Created attachment 882423 [details]
build log

tin
Comment 1 Ionen Wolkens gentoo-dev 2024-01-16 16:20:26 UTC
Guess could check if I can (easily) stop it from using it instead, this does not install documentation so it's just a waste.
Comment 2 Ionen Wolkens gentoo-dev 2024-01-16 16:43:27 UTC
(In reply to Ionen Wolkens from comment #1)
> Guess could check if I can (easily) stop it from using it instead, this does
> not install documentation so it's just a waste.
...nope, tried a few things but it's quite insistent. Not worth making a convoluted workaround so I'll just add the dep.
Comment 3 Ionen Wolkens gentoo-dev 2024-01-16 16:45:41 UTC
(In reply to Ionen Wolkens from comment #2)
> (In reply to Ionen Wolkens from comment #1)
> > Guess could check if I can (easily) stop it from using it instead, this does
> > not install documentation so it's just a waste.
> ...nope, tried a few things but it's quite insistent. Not worth making a
> convoluted workaround so I'll just add the dep.
Oh wait, looked at the binutils ebuild and guess it's not so bad to do the same.
Comment 4 Esteve Varela Colominas 2024-01-16 17:26:38 UTC
I think you can also MAKEINFO=true yeah
Comment 5 Larry the Git Cow gentoo-dev 2024-01-16 17:52:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90dae1b4ae07d6bb6fc650743269f5b55a8995c3

commit 90dae1b4ae07d6bb6fc650743269f5b55a8995c3
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2024-01-16 16:51:07 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2024-01-16 17:52:05 +0000

    dev-util/mingw64-toolchain: prevent makeinfo usage
    
    This does not install .info pages (that is left to binutils+gcc
    real packages), so little reason to depend on texinfo(makeinfo)
    and generate them for nothing.
    
    Could possibly come back as an issue if use gcc snapshots (that
    lack pre-gen info pages), and unsure if this same workaround will
    work for gcc (currently only binutils is trying to use it).
    
    MAKEINFO=: on ./configure is not necessary (and is insufficient
    to stop usage given it is not respected in Makefiles), but it
    prevents a command not found QA notice.
    
    That aside, generally hard for texinfo to be missing unless
    depclean build deps, so BDEPEND would not have been too wasteful.
    
    Closes: https://bugs.gentoo.org/922230
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 dev-util/mingw64-toolchain/mingw64-toolchain-11.0.0_p2.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Comment 6 Esteve Varela Colominas 2024-01-16 21:57:30 UTC
Hehe, you're right, I was running a @world update in an emerge --root I had just created. That said, I think issues like this are gonna become more relevant as time goes on and binrepos get more use. Do we have any good way to test ebuilds with only DEPEND and BDEPEND installed?
Comment 7 Esteve Varela Colominas 2024-01-16 21:57:37 UTC
Hehe, you're right, I was running a @world update in an emerge --root I had just created. That said, I think issues like this are gonna become more relevant as time goes on and binrepos get more use. Do we have any good way to test ebuilds with only DEPEND and BDEPEND installed?
Comment 8 Ionen Wolkens gentoo-dev 2024-01-16 22:10:25 UTC
(In reply to Esteve Varela Colominas from comment #7)
> Do we have any good way to test ebuilds with only DEPEND and BDEPEND installed?
Not really, not that you can't just `emerge -c --with-bdeps=n` to get rid of them on a whim (and then restore binpkg build deps as-needed). Shame unmerging/merging a wall of bdeps is pretty slow even with binpkgs though.

Minimal'ish checks would be something like stage3 -> emerge --onlydeps yourpackage -> emerge -c --with-bdeps=n -> emerge yourpackage

Not that I bother going that far in my current workflow, but will fix when someone reports anything.
Comment 9 Esteve Varela Colominas 2024-01-17 06:55:11 UTC
Yeah... You kinda need an extra clean beforehand too, as you might end up building some things from source in the second round. I wish there was just a way to --depclean-except-bdeps <package>. Oh well.