NetBSD Problem Report #51239

From www@NetBSD.org  Tue Jun 14 12:29:59 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id F31157A474
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 14 Jun 2016 12:29:58 +0000 (UTC)
Message-Id: <20160614122958.0E87C7AAA2@mollari.NetBSD.org>
Date: Tue, 14 Jun 2016 12:29:58 +0000 (UTC)
From: topiarz@post.cz
Reply-To: topiarz@post.cz
To: gnats-bugs@NetBSD.org
Subject: compiling mate-power-manager hangs complaining of missing libintl.la
X-Send-Pr-Version: www-1.0

>Number:         51239
>Category:       pkg
>Synopsis:       compiling mate-power-manager hangs complaining of missing libintl.la
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    youri
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 14 12:30:00 +0000 2016
>Closed-Date:    Wed Dec 06 02:38:25 +0000 2017
>Last-Modified:  Wed Dec 06 02:38:25 +0000 2017
>Originator:     Petr Topiarz
>Release:        pkgsrc current (date June 14 2016)
>Organization:
Petr Topiarz
>Environment:
NetBSD 6.1.5 NetBSD 6.1.5 (GENERIC) i386
>Description:
compiling mate-power-manager does not succseed complaining of missing library:
/usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/lib/libintl.la

So I believe it could be fixed by changing some configuration/compilation options, however I do not know how. I fixed it by copying the library there manually.
>How-To-Repeat:
populate pkgsrc with current and compile meta-pkgs/mate

>Fix:
It is a dirty hack but...
when it hangs complaining about missing library just do:

cp  /usr/pkg/lib/libintl.la /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/lib/

and the system succeeds in compiling and installing the package

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 14 Jun 2016 12:41:42 +0000
State-Changed-Why:
Please include the actual error that you can see before
you copy in the library. Thanks.


State-Changed-From-To: feedback->open
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Tue, 14 Jun 2016 12:53:27 +0000
State-Changed-Why:
Feedback provided.


From: Petr Topiarz <topiarz@post.cz>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org,
	wiz@NetBSD.org
Subject: Re: pkg/51239 (compiling mate-power-manager hangs complaining of
 missing libintl.la)
Date: Tue, 14 Jun 2016 14:52:05 +0200

 Here it goes:

 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h: In function 'G_IS_LIST_MODEL':
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36:1: warning: 'g_list_model_get_type' is deprecated (declared at /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36): Not available before 2.44
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h: In function 'G_LIST_MODEL_GET_IFACE':
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36:1: warning: 'g_list_model_get_type' is deprecated (declared at /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36): Not available before 2.44
 In file included from /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gio.h:169:0,
                  from /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/libupower-glib/up-client.h:30,
                  from /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/libupower-glib/upower.h:39,
                  from gpm-engine.c:27:
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h: In function 'G_LIST_STORE':
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h:36:1: warning: 'g_list_store_get_type' is deprecated (declared at /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h:36): Not available before 2.44
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h: In function 'G_IS_LIST_STORE':
 /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h:36:1: warning: 'g_list_store_get_type' is deprecated (declared at /usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h:36): Not available before 2.44
   CCLD     mate-power-manager
 libtool: link: cannot find the library `/usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/lib/libintl.la' or unhandled argument `/usr/pkgsrc/sysutils/mate-power-manager/work/.buildlink/lib/libintl.la'
 gmake[3]: *** [Makefile:1137: mate-power-manager] Error 1
 gmake[3]: Leaving directory '/usr/pkgsrc/sysutils/mate-power-manager/work/mate-power-manager-1.14.0/src'
 gmake[2]: *** [Makefile:982: all] Error 2
 gmake[2]: Leaving directory '/usr/pkgsrc/sysutils/mate-power-manager/work/mate-power-manager-1.14.0/src'
 gmake[1]: *** [Makefile:488: all-recursive] Error 1
 gmake[1]: Leaving directory '/usr/pkgsrc/sysutils/mate-power-manager/work/mate-power-manager-1.14.0'
 gmake: *** [Makefile:420: all] Error 2
 *** Error code 2

 Stop.
 make: stopped in /usr/pkgsrc/sysutils/mate-power-manager
 *** Error code 1

 Stop.
 make: stopped in /usr/pkgsrc/sysutils/mate-power-manager
 T40# 

 On Tue, Jun 14, 2016 at 12:41:43PM +0000, wiz@NetBSD.org wrote:
 > Synopsis: compiling mate-power-manager hangs complaining of missing libintl.la
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: wiz@NetBSD.org
 > State-Changed-When: Tue, 14 Jun 2016 12:41:42 +0000
 > State-Changed-Why:
 > Please include the actual error that you can see before
 > you copy in the library. Thanks.
 > 
 > 
 > 

 -- 
 Petr Topiarz
 -------------------------------------
 Sent by Mutt - by hackers for hackers

Responsible-Changed-From-To: pkg-manager->youri
Responsible-Changed-By: hauke@NetBSD.org
Responsible-Changed-When: Tue, 14 Jun 2016 14:22:51 +0000
Responsible-Changed-Why:
Over to MATE maintainer.


State-Changed-From-To: open->feedback
State-Changed-By: jmcneill@NetBSD.org
State-Changed-When: Tue, 22 Aug 2017 12:11:50 +0000
State-Changed-Why:
Can you update upower to 0.99.4nb1 and try again?


From: "Jared D. McNeill" <jmcneill@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/51239 CVS commit: pkgsrc/sysutils/upower
Date: Tue, 22 Aug 2017 12:10:42 +0000

 Module Name:	pkgsrc
 Committed By:	jmcneill
 Date:		Tue Aug 22 12:10:42 UTC 2017

 Modified Files:
 	pkgsrc/sysutils/upower: Makefile

 Log Message:
 Make sure the configure script picks up the correct copy of libintl.

 PR# pkg/51239
 PR# pkg/51246


 To generate a diff of this commit:
 cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/upower/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

From: Petr Topiarz <topiarz@post.cz>
To: gnats-bugs@NetBSD.org, youri@NetBSD.org, gnats-admin@netbsd.org,
 pkgsrc-bugs@netbsd.org
Cc: 
Subject: Re: PR/51239 CVS commit: pkgsrc/sysutils/upower
Date: Tue, 5 Sep 2017 13:54:05 +0200

 F I X E D ! T H A N K   Y O U !!!
 Got back from holiday, updated pkgsrc's upower, recompiled mate and wow! 
 It works now!
 Great job!
 Peter

 On 08/22/17 14:15, Jared D. McNeill wrote:
 > The following reply was made to PR pkg/51239; it has been noted by GNATS.
 >
 > From: "Jared D. McNeill" <jmcneill@netbsd.org>
 > To: gnats-bugs@gnats.NetBSD.org
 > Cc:
 > Subject: PR/51239 CVS commit: pkgsrc/sysutils/upower
 > Date: Tue, 22 Aug 2017 12:10:42 +0000
 >
 >   Module Name:	pkgsrc
 >   Committed By:	jmcneill
 >   Date:		Tue Aug 22 12:10:42 UTC 2017
 >   
 >   Modified Files:
 >   	pkgsrc/sysutils/upower: Makefile
 >   
 >   Log Message:
 >   Make sure the configure script picks up the correct copy of libintl.
 >   
 >   PR# pkg/51239
 >   PR# pkg/51246
 >   
 >   
 >   To generate a diff of this commit:
 >   cvs rdiff -u -r1.7 -r1.8 pkgsrc/sysutils/upower/Makefile
 >   
 >   Please note that diffs are not public domain; they are subject to the
 >   copyright notices on the relevant files.
 >   

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Wed, 06 Dec 2017 02:38:25 +0000
State-Changed-Why:
confirmed fixed, thanks


>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.