Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 764497 - games-puzzle/nudoku-2.1.0 fails to compile (checking for ncurses... no)
Summary: games-puzzle/nudoku-2.1.0 fails to compile (checking for ncurses... no)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
: 764935 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-01-08 20:02 UTC by Agostino Sarubbo
Modified: 2022-05-13 20:12 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,8.41 KB, text/plain)
2021-01-08 20:02 UTC, Agostino Sarubbo
Details
1-config.log (1-config.log,12.66 KB, text/plain)
2021-01-08 20:02 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-01-08 20:02:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: games-puzzle/nudoku-2.1.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-01-08 20:02:44 UTC
Created attachment 681976 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-08 20:02:45 UTC
Created attachment 681979 [details]
1-config.log

1-config.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-01-08 20:02:46 UTC
Possible context of error(s):

configure: error: in `/var/tmp/portage/games-puzzle/nudoku-2.1.0/work/nudoku-2.1.0':
Comment 4 Agostino Sarubbo gentoo-dev 2021-01-11 11:35:00 UTC
*** Bug 764935 has been marked as a duplicate of this bug. ***
Comment 5 Agostino Sarubbo gentoo-dev 2021-06-08 12:50:56 UTC
I can still reproduce
Comment 6 Matt Neimeyer 2021-08-17 20:06:44 UTC
Solution for me:

emerge -a pkg_config
cd /etc/portage/
mkdir env
echo PKG_CONFIG=\"/user/bin/pkg-config\" > env/with_pkg-config.conf
echo games-puzzle/nudoku with_pkg-config.conf >> package.env
emerge -a nudoku

Not sure why just emerging pkg_config didn't work. I needed to set the PKG_CONFIG as well but this fixed the problem for me.
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-17 20:44:03 UTC
(In reply to Matt Neimeyer from comment #6)
> Solution for me:
> 
> emerge -a pkg_config

That doesn't exist!

> cd /etc/portage/
> mkdir env
> echo PKG_CONFIG=\"/user/bin/pkg-config\" > env/with_pkg-config.conf
> echo games-puzzle/nudoku with_pkg-config.conf >> package.env
> emerge -a nudoku
> 
> Not sure why just emerging pkg_config didn't work. I needed to set the
> PKG_CONFIG as well but this fixed the problem for me.

... it really doesn't build without setting PKG_CONFIG?

Can you show me:
- emerge -pv1 dev-util/pkgconfig
- emerge -pv1 virtual/pkgconfig dev-util/pkgconf
please? Do not install / make any changes.
Comment 8 Larry the Git Cow gentoo-dev 2022-05-13 20:12:53 UTC
The bug has been closed via the following commit(s):

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

commit ff966cb209c335d24b84891d174c2f0dcaa5e863
Author:     Philipp Rösner <rndxelement@protonmail.com>
AuthorDate: 2022-05-09 20:32:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-13 20:12:42 +0000

    games-puzzle/nudoku: fix pkgconf
    
    On some systems the Autotools could not find the path to pkgconf in
    configure.ac due to a missing call to PKG_PROG_PKG_CONFIG.
    
    Closes: https://bugs.gentoo.org/764497
    Signed-off-by: Philipp Rösner <rndxelement@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../nudoku/files/nudoku-2.1.0-ncurses-link.patch   | 42 ++++++++++++----------
 1 file changed, 23 insertions(+), 19 deletions(-)