NetBSD Problem Report #44304

From www@NetBSD.org  Sat Jan  1 02:26:39 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 8EC6963B89F
	for <gnats-bugs@gnats.NetBSD.org>; Sat,  1 Jan 2011 02:26:39 +0000 (UTC)
Message-Id: <20110101022639.3B6BF63B87A@www.NetBSD.org>
Date: Sat,  1 Jan 2011 02:26:39 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: x11/wxGTK24 configure fails to find GTK2+ on NetBSD/i386-5.1_STABLE
X-Send-Pr-Version: www-1.0

>Number:         44304
>Category:       pkg
>Synopsis:       x11/wxGTK24 configure fails to find GTK2+ on NetBSD/i386-5.1_STABLE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 01 02:30:00 +0000 2011
>Closed-Date:    Sat Dec 19 00:32:29 +0000 2015
>Last-Modified:  Sat Dec 19 00:32:29 +0000 2015
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.1_STABLE, pkgsrc-current (pre-pkgsrc-2010Q4)
>Organization:
>Environment:
NetBSD plextwo.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (PLEXOR) #30: Thu Dec 23 22:50:30 CST 2010  sysop@6gun.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/PLEXOR i386

>Description:
As previously mentioned in pkg/43943, building x11/wxGTK24 fails during
the configure phase with:

[...]
checking for TIFFError in -ltiff... yes
checking for GTK+ version... 
checking for pkg-config... /d0/build/pkgsrc/x11/wxGTK24/work/.tools/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.
configure: error: 
Please check that gtk-config is in path, the directory
where GTK+ libraries are installed (returned by
'gtk-config --libs' command) is in LD_LIBRARY_PATH or
equivalent variable and GTK+ is version 1.2.3 or above.

*** Error code 1

Stop.
make: stopped in /d0/nbsd/pkgsrc/x11/wxGTK24
[...]

>How-To-Repeat:
Attempt to build x11/wxGTK24 on NetBSD/i386-5.1_STABLE.  (-current had
no problem when last tried).
>Fix:
Workaround:

A patch posted by obache@ in pkg/43943 allowed x11/wxGTK24 to build and
install.  For the current revision of affected files:

Index: mk/buildlink3/bsd.buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/buildlink3/bsd.buildlink3.mk,v
retrieving revision 1.209
diff -u -p -r1.209 bsd.buildlink3.mk
--- mk/buildlink3/bsd.buildlink3.mk     3 Dec 2010 18:59:20 -0000       1.209
+++ mk/buildlink3/bsd.buildlink3.mk     1 Jan 2011 01:49:43 -0000
@@ -500,7 +500,7 @@ CFLAGS+=    ${_flag_}
 CXXFLAGS+=     ${_flag_}
 .  endif
 .endfor
-.for _flag_ in ${BUILDLINK_LDFLAGS}
+.for _flag_ in ${BUILDLINK_LDFLAGS:N${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX}} ${BUILDLINK_LDFLAGS:M${COMPILER_RPATH_FLAG}${X11BASE}/lib${LIBABISUFFIX}}
 .  if empty(LDFLAGS:M${_flag_:S/:/\\:/g})
 LDFLAGS+=      ${_flag_}
 .  endif



>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44304 (x11/wxGTK24 configure fails to find GTK2+ on
 NetBSD/i386-5.1_STABLE)
Date: Fri, 18 Dec 2015 17:26:06 -0600 (CST)

 NetBSD-5 is EOL and x11/wxGTK24 has been removed from pkgsrc (2015Q4).

 This PR is no-longer relevant and may be closed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 00:32:29 +0000
State-Changed-Why:
NetBSD 5 is EOL. Thanks for the update!
Also wxGTK24 is gone.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.