bug#278: marked as done (BUILD: problem finding glib when building irssi on Red Hat)

[email protected] (LNX-BBC bug Tracking System) Sat, 11 Oct 2003 16:30:01 -0700
Newsgroups gmane.linux.bbc.bugs
Message-ID <[email protected]>
Your message dated Sat, 11 Oct 2003 18:28:21 -0500
with message-id <[email protected]>
and subject line Test and refile
has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Nick Moffitt
(administrator, LNX-BBC bugs database)

--------------------------------------
Received: (at submit) by bugs.lnx-bbc.org; 17 Jan 2003 15:45:06 +0000
>From [email protected] Fri Jan 17 07:45:06 2003
Received: from h005.c001.snv.cp.net ([209.228.32.119] helo=c001.snv.cp.net)
	by gar.lnx-bbc.org with smtp (Exim 3.36 #1 (Debian))
	id 18ZYg6-0001S5-00
	for <[email protected]>; Fri, 17 Jan 2003 07:45:06 -0800
Received: (cpmta 8659 invoked from network); 17 Jan 2003 07:45:28 -0800
Received: from 209.228.32.129 (HELO mail.immerman-inc.com.criticalpath.net)
  by smtp.register-admin.com (209.228.32.119) with SMTP; 17 Jan 2003 07:45:28 -0800
X-Sent: 17 Jan 2003 15:45:28 GMT
Received: from [138.88.71.70] by mail.immerman-inc.com with HTTP;
    Fri, 17 Jan 2003 07:45:27 -0800 (PST)
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
To: [email protected]
From: "Bill Immerman" <[email protected]>
Subject: Package: irssi
X-Sent-From: [email protected]
Date: Fri, 17 Jan 2003 07:45:27 -0800 (PST)
X-Mailer: Web Mail 5.2.0-3_sol28
Message-Id: <20030117074528.5851.h015.c001.wm@mail.immerman-inc.com.criticalpath.net>

Package: irssi

(Please note: tested patch included below explanation).

On my build system, Red Hat 7.1 (updated), My build stalls at irssi when it
can't find the required version of glib.
It offers to download, but this requires interaction, so the build, going
on in the background, stalls. The real
problem seems to be that the bbc Makefile doesn't set GLIB_CONFIG, so the
build uses the version of
glib-config from the host system, which in my case is too different (and
less recent) from the bbc version to succeed.
Note that although the problem only shows itself on such a system, it is
genuinely a build problem, which happens
to be masked on build systems sufficiently similar to lnx-bbc. I've
encountered, and submitted patches for this problem
on other packages, so it seems to me it might be worth setting globally so
that all packages requiring glib can take
advantage...


Patch that works for me (cvs diff) (Note: I've tested this with path hard
coded to one on my system. I think using DESTDIR
as below will work and is the right generalization, but I haven't yet test
it. Please check for reasonablenes, and check in if
it makes sense.):

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

Index: Makefile
===================================================================
RCS file: /usr/local/var/cvs/gar/net/irssi/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile    15 Dec 2002 09:08:05 -0000      1.8
+++ Makefile    17 Jan 2003 00:04:59 -0000
@@ -29,3 +29,5 @@

 # This should go before any hand-made rules.
 include ../../gar.mk
+
+export GLIB_CONFIG = $(DESTDIR)/bin/glib-config

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

---------------------------------------
Received: (at 278-done) by bugs.lnx-bbc.org; 11 Oct 2003 23:28:24 +0000
>From [email protected] Sat Oct 11 16:28:24 2003
Received: from goose.movealong.org ([69.17.22.121] ident=postfix)
	by gargoyle.lnx-bbc.org with esmtp (Exim 3.35 #1 (Debian))
	id 1A8T9s-0002rn-00
	for <[email protected]>; Sat, 11 Oct 2003 16:28:24 -0700
Received: by goose.movealong.org (Postfix, from userid 1001)
	id 9518344230; Sat, 11 Oct 2003 18:28:21 -0500 (CDT)
Date: Sat, 11 Oct 2003 18:28:21 -0500
From: Nate Riffe <[email protected]>
To: [email protected]
Subject: Test and refile
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-pw: reindeer flotilla
User-Agent: Mutt/1.5.4i

It's a different package now than when this bugs was filed.

-- 
--< ((\))< >----< [email protected] >----< http://www.movealong.org/ >--
pub  1024D/05A058E0 2002-03-07 Nate Riffe (06-Mar-2002) <[email protected]>
     Key fingerprint = 0DAC F5CB D182 3165 D757  C466 CD42 12A8 05A0 58E0