Bug 203207 - games-strategy/dopewars does not depend on dev-libs/glib, so on a new install compile will fail
Bug#: 203207 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: paul@parad1se.net
Component: Games
URL: 
Summary: games-strategy/dopewars does not depend on dev-libs/glib, so on a new install compile will fail
Keywords:  
Status Whiteboard: 
Opened: 2007-12-24 08:11 0000
Description:   Opened: 2007-12-24 08:11 0000
Just got a new dedicated server...no glib. My friends and I play dopewars, so I
tried to emerge it and make a server (I don't have glib installed yet). Emerge
failed as glib was not installed yet. 

configure: error: Cannot find glib - aborting

Fix obviously was emerging glib and then emerging dopewars. Then it worked
fine.

Reproducible: Always

Steps to Reproduce:
1. Make sure you don't have glib installed,
2. Emerge dopewars
Actual Results:  
It fails.

Expected Results:  
It compiles.

N/a.

------- Comment #1 From Tupone Alfredo 2007-12-24 11:07:20 0000 -------
Fixed on 1.5.12-r1

Thanks

------- Comment #2 From Paul Merlin 2007-12-24 19:25:35 0000 -------
Uh, I said it was working before I actually tried it. I assumed it would
actually work if glib was installed. Once I merged glib, and tried to emerge
dopewars, it failed.

checking for newterm in -lncurses... yes
checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** Could not run GTK+ test program, checking why...
*** 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.
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
configure: WARNING: Cannot find GTK+
checking for glib-config... no
checking for GLIB - version >= 1.2.0... no
*** The glib-config script installed by GLIB could not be found
*** If GLIB was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GLIB_CONFIG environment variable to the
*** full path to glib-config.
configure: error: Cannot find glib - aborting

Yet other programs which depend on glib (irssi, etc) can find it and work
perfectly fine. wtf? Dopewars works fine on my other boxes, although, this box
is running ~amd64 with hardened profile. 

------- Comment #3 From Tupone Alfredo 2007-12-25 01:24:23 0000 -------
hmm, have you tested the 1.5.12-r1 yet? 

------- Comment #4 From Mr. Bones. 2008-04-08 00:19:36 0000 -------
*** Bug 216536 has been marked as a duplicate of this bug. ***

------- Comment #5 From RGK 2008-05-11 08:25:34 0000 -------
should games-strategy/dopewars-1.5.12 be masked and
games-strategy/dopewars-1.5.12-r1 be unmasked?

Since 1.5.12 does not work and 1.5.12-r1 does.

------- Comment #6 From Mr. Bones. 2008-05-13 00:36:38 0000 -------
bugzilla

------- Comment #7 From Mr. Bones. 2008-05-13 00:37:08 0000 -------
dopewars-1.5.12-r1 works.