Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950973 - games-board/gnuchess-6.2.9-r1: missing dep on sys-apps/help2man
Summary: games-board/gnuchess-6.2.9-r1: missing dep on sys-apps/help2man
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-09 09:38 UTC by Fabio Rossi
Modified: 2025-03-09 10:21 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabio Rossi 2025-03-09 09:38:12 UTC
On a freshly installed syste I get the following error:

make[1]: Entering directory '/var/tmp/portage/games-board/gnuchess-6.2.9-r1/work/gnuchess-6.2.9/man'
/bin/sh '/var/tmp/portage/games-board/gnuchess-6.2.9-r1/work/gnuchess-6.2.9/missing' help2man --name='GNU Chess' --info-page='gnuchess' ../src/gnuchess -o gnuchess.1
Can't locate Locale/gettext.pm in @INC (you may need to install the Locale::gettext module) (@INC entries checked: /etc/perl /usr/local/lib64/perl5/5.40/x86_64-linux-thread-multi /usr/local/lib64/perl5/5.40 /usr/lib64/perl5/vendor_perl/5.40/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.40 /usr/lib64/perl5/5.40/x86_64-linux-thread-multi /usr/lib64/perl5/5.40) at /usr/bin/help2man line 30.
BEGIN failed--compilation aborted at /usr/bin/help2man line 30.
make[1]: *** [Makefile:563: gnuchess.1] Error 2
make[1]: Leaving directory '/var/tmp/portage/games-board/gnuchess-6.2.9-r1/work/gnuchess-6.2.9/man'
make: *** [Makefile:523: all-recursive] Error 1
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-09 10:17:47 UTC
No, help2man depends on it, and gnuchess only calls help2man. But gnuchess is missing a dep on help2man.
Comment 2 Larry the Git Cow gentoo-dev 2025-03-09 10:21:03 UTC
The bug has been closed via the following commit(s):

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

commit ab2c8ec3463fcffe1fbcb7bfd52fb16ebf346492
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-09 10:19:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-09 10:19:22 +0000

    games-board/gnuchess: BDEPEND on help2man
    
    Bit annoying as it uses `missing` so we don't notice if it's actually
    *absent*, (=> nobody filed a bug until now / noticed the missing dep) but
    if it's present-but-broken (e.g. needs a rebuild for Locale-gettext) then
    it'll be used and bomb out like in the bug as Portage didn't know gnuchess
    was using it so wasn't forced to schedule it after help2man was rebuilt.
    
    Closes: https://bugs.gentoo.org/950973
    Signed-off-by: Sam James <sam@gentoo.org>

 games-board/gnuchess/gnuchess-6.2.9-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)