Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 654420

Summary: games-emulation/gens-2.15.5-r1 : configure: error: *** GTK+ version 2.4.0 not found!
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: monsieurp, tanekliang
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-emulation:gens-2.15.5-r1:20180430-112001.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-30 13:27:03 UTC
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: *** GTK+ version 2.4.0 not found!

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/games-emulation/gens-2.15.5-r1/work/gens-2.15.5/config.log

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl_20180425-211002

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv games-emulation/gens
[ebuild  N    ] games-emulation/gens-2.15.5-r1
Comment 1 Toralf Förster gentoo-dev 2018-04-30 13:27:06 UTC
Created attachment 529094 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-30 13:27:09 UTC
Created attachment 529096 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-30 13:27:13 UTC
Created attachment 529098 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-30 13:27:16 UTC
Created attachment 529100 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-30 13:27:19 UTC
Created attachment 529102 [details]
games-emulation:gens-2.15.5-r1:20180430-112001.log
Comment 6 Toralf Förster gentoo-dev 2018-04-30 13:27:22 UTC
Created attachment 529104 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-30 13:27:25 UTC
Created attachment 529106 [details]
temp.tbz2
Comment 8 triplejam 2018-07-15 02:42:31 UTC
Hi, I got this to build manually without portage. Maybe the steps I took will help to figure out the root issue if you haven't yet.

1. Applied all the patches except the as-needed patch against a stock copy of gens-2.15.5-r1. Also did the sed command.
2. Ran aclocal and automake in the directory
3. Applied the as-needed patch
4. Made sure all the 32 bit versions of the gtk / gdk / pango dependencies were installed
5. Ran 'i386' in the shell to change the enviroment
6. Ran 'CFLAGS="-m32" ./configure --disable-gtktest --disable-sdltest'
7. Changed the include directories for glib in the makefiles from lib64 to lib32
8. Ran 'make'
Comment 9 Michael Perlov 2018-08-14 15:29:20 UTC
USE=abi_x86_32 emerge gtk+:2 will fix the problem
Comment 10 Larry the Git Cow gentoo-dev 2020-11-21 20:39:04 UTC
The bug has been closed via the following commit(s):

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

commit 02744bab811337194c9f27182e6e912020034221
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-21 20:38:14 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-21 20:38:14 +0000

    games-emulation/gens: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/654420
    Closes: https://bugs.gentoo.org/712982
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../gens/files/gens-2.15.5-fno-common.patch        | 58 ++++++++++++++++++++++
 .../gens/files/gens-2.15.5-zlib-OF.patch           |  7 +++
 games-emulation/gens/gens-2.15.5-r1.ebuild         | 48 ------------------
 games-emulation/gens/gens-2.15.5-r2.ebuild         | 50 +++++++++++++++++++
 4 files changed, 115 insertions(+), 48 deletions(-)