NetBSD Problem Report #51246

From www@NetBSD.org  Wed Jun 15 08:11:18 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 917647A3D7
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 15 Jun 2016 08:11:18 +0000 (UTC)
Message-Id: <20160615081117.1A0F37AAB1@mollari.NetBSD.org>
Date: Wed, 15 Jun 2016 08:11:17 +0000 (UTC)
From: topiarz@post.cz
Reply-To: topiarz@post.cz
To: gnats-bugs@NetBSD.org
Subject: mate-session-manager will not compile - similar to #51239
X-Send-Pr-Version: www-1.0

>Number:         51246
>Category:       pkg
>Synopsis:       mate-session-manager will not compile - similar to #51239
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 15 08:15:00 +0000 2016
>Last-Modified:  Wed Jun 15 09:10:01 +0000 2016
>Originator:     Petr Topiarz
>Release:        pkgsrc-current
>Organization:
Petr Topiarz
>Environment:
NetBSD T40.openunix.eu 6.1.5 NetBSD 6.1.5 (GENERIC) i386
>Description:
Compiling meta-pkgs/mate hangs when it comes to x11/mate-session-manager
complaining of a missing library, exactly like in BUG #51239.

In file included from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib.h:110:0,
                 from gsm-manager.c:34:
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_autoptr_cleanup_GOptionGroup':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:63:1: warning: 'g_option_group_unref' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/goption.h:372): Not available before 2.44
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_autoptr_cleanup_GVariantDict':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:86:1: warning: 'g_variant_dict_unref' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/gvariant.h:448): Not available before 2.40
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_auto_cleanup_GVariantDict':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:87:1: warning: 'g_variant_dict_clear' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/gvariant.h:442): Not available before 2.40
In file included from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/gio.h:168:0,
                 from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/libupower-glib/up-client.h:30,
                 from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/libupower-glib/upower.h:39,
                 from gsm-manager.c:42:
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h: In function 'G_LIST_MODEL':
/usr/pkgsrc/x11/mate-session-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/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36): Not available before 2.44
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h: In function 'G_IS_LIST_MODEL':
/usr/pkgsrc/x11/mate-session-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/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36): Not available before 2.44
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h: In function 'G_LIST_MODEL_GET_IFACE':
/usr/pkgsrc/x11/mate-session-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/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/glistmodel.h:36): Not available before 2.44
In file included from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/gio.h:169:0,
                 from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/libupower-glib/up-client.h:30,
                 from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/libupower-glib/upower.h:39,
                 from gsm-manager.c:42:
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h: In function 'G_LIST_STORE':
/usr/pkgsrc/x11/mate-session-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/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h:36): Not available before 2.44
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h: In function 'G_IS_LIST_STORE':
/usr/pkgsrc/x11/mate-session-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/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/gio/gliststore.h:36): Not available before 2.44
gsm-manager.c: At top level:
gsm-manager.c:1147:1: warning: 'manager_perhaps_lock' defined but not used
  CC       mate_session-gsm-session-save.o
In file included from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib.h:110:0,
                 from gsm-session-save.c:23:
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_autoptr_cleanup_GOptionGroup':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:63:1: warning: 'g_option_group_unref' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/goption.h:372): Not available before 2.44
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_autoptr_cleanup_GVariantDict':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:86:1: warning: 'g_variant_dict_unref' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/gvariant.h:448): Not available before 2.40
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_auto_cleanup_GVariantDict':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:87:1: warning: 'g_variant_dict_clear' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/gvariant.h:442): Not available before 2.40
  CC       mate_session-gsm-xsmp-server.o
In file included from /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib.h:110:0,
                 from gsm-xsmp-server.c:33:
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_autoptr_cleanup_GOptionGroup':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:63:1: warning: 'g_option_group_unref' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/goption.h:372): Not available before 2.44
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_autoptr_cleanup_GVariantDict':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:86:1: warning: 'g_variant_dict_unref' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/gvariant.h:448): Not available before 2.40
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h: In function 'glib_auto_cleanup_GVariantDict':
/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/glib-autocleanups.h:87:1: warning: 'g_variant_dict_clear' is deprecated (declared at /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/include/glib/glib-2.0/glib/gvariant.h:442): Not available before 2.40
  CCLD     mate-session
libtool: link: cannot find the library `/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/lib/libintl.la' or unhandled argument `/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/lib/libintl.la'
gmake[3]: *** [Makefile:629: mate-session] Error 1
gmake[3]: Leaving directory '/usr/pkgsrc/x11/mate-session-manager/work/mate-session-manager-1.14.0/mate-session'
gmake[2]: *** [Makefile:521: all] Error 2
gmake[2]: Leaving directory '/usr/pkgsrc/x11/mate-session-manager/work/mate-session-manager-1.14.0/mate-session'
gmake[1]: *** [Makefile:499: all-recursive] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/x11/mate-session-manager/work/mate-session-manager-1.14.0'
gmake: *** [Makefile:431: all] Error 2
*** Error code 2

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

Stop.
make: stopped in /usr/pkgsrc/x11/mate-session-manager
T40# 

>How-To-Repeat:
install pkgsrc-current on i386 machine with 6.1.5 base
cd /usr/pkgsrc/x11/mate-session-manager
make install
>Fix:
The help, just as in BUG #51239 is to copy to library there by hand:
cp /usr/pkg/lib/libintl.la /usr/pkgsrc/x11/mate-session-manager/work/.buildlink/lib/

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/51246: mate-session-manager will not compile - similar to
 #51239
Date: Wed, 15 Jun 2016 10:21:26 +0200

 On Wed, Jun 15, 2016 at 08:15:00AM +0000, topiarz@post.cz wrote:
 >   CCLD     mate-session
 > libtool: link: cannot find the library `/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/lib/libintl.la' or unhandled argument 

 My guess: you have libintl.la mentioned in one of the
 /usr/pkg/lib/*.la files even though it shouldn't be there.
 Rebuilding the package to which that file belongs may fix this.
  Thomas

From: Petr Topiarz <topiarz@post.cz>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51246: mate-session-manager will not compile - similar to
 #51239
Date: Wed, 15 Jun 2016 10:43:45 +0200

 On Wed, Jun 15, 2016 at 08:25:00AM +0000, Thomas Klausner wrote:
 > The following reply was made to PR pkg/51246; it has been noted by GNATS.
 > 
 > From: Thomas Klausner <wiz@NetBSD.org>
 > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
 > Cc: 
 > Subject: Re: pkg/51246: mate-session-manager will not compile - similar to
 >  #51239
 > Date: Wed, 15 Jun 2016 10:21:26 +0200
 > 
 >  On Wed, Jun 15, 2016 at 08:15:00AM +0000, topiarz@post.cz wrote:
 >  >   CCLD     mate-session
 >  > libtool: link: cannot find the library `/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/lib/libintl.la' or unhandled argument 
 >  
 >  My guess: you have libintl.la mentioned in one of the
 >  /usr/pkg/lib/*.la files even though it shouldn't be there.
 >  Rebuilding the package to which that file belongs may fix this.
 >   Thomas
 >  

 Hi Tomas,
 I have everything "from the factory", that means default, so I do not know what to do exactly, but I believe it should compile all when I go to the meta packageand  the maintainer of mate or another should fix the builds or dependencies if they are wrong. 

 in other words, I do not have libintl.la mentioned anywhere else extra but what is in the pkgsrc from the authors of the pkgs

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

From: Kamil Rytarowski <n54@gmx.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/51246: mate-session-manager will not compile - similar to
 #51239
Date: Wed, 15 Jun 2016 11:07:31 +0200

 On 15.06.2016 10:45, Petr Topiarz wrote:
 > The following reply was made to PR pkg/51246; it has been noted by GNATS.
 > 
 > From: Petr Topiarz <topiarz@post.cz>
 > To: gnats-bugs@NetBSD.org
 > Cc: 
 > Subject: Re: pkg/51246: mate-session-manager will not compile - similar to
 >  #51239
 > Date: Wed, 15 Jun 2016 10:43:45 +0200
 > 
 >  On Wed, Jun 15, 2016 at 08:25:00AM +0000, Thomas Klausner wrote:
 >  > The following reply was made to PR pkg/51246; it has been noted by GNATS.
 >  > 
 >  > From: Thomas Klausner <wiz@NetBSD.org>
 >  > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
 >  > Cc: 
 >  > Subject: Re: pkg/51246: mate-session-manager will not compile - similar to
 >  >  #51239
 >  > Date: Wed, 15 Jun 2016 10:21:26 +0200
 >  > 
 >  >  On Wed, Jun 15, 2016 at 08:15:00AM +0000, topiarz@post.cz wrote:
 >  >  >   CCLD     mate-session
 >  >  > libtool: link: cannot find the library `/usr/pkgsrc/x11/mate-session-manager/work/.buildlink/lib/libintl.la' or unhandled argument 
 >  >  
 >  >  My guess: you have libintl.la mentioned in one of the
 >  >  /usr/pkg/lib/*.la files even though it shouldn't be there.
 >  >  Rebuilding the package to which that file belongs may fix this.
 >  >   Thomas
 >  >  
 >  
 >  Hi Tomas,
 >  I have everything "from the factory", that means default, so I do not know what to do exactly, but I believe it should compile all when I go to the meta packageand  the maintainer of mate or another should fix the builds or dependencies if they are wrong. 
 >  
 >  in other words, I do not have libintl.la mentioned anywhere else extra but what is in the pkgsrc from the authors of the pkgs
 >  
 >  -- 
 >  Petr Topiarz
 >  -------------------------------------
 >  Sent by Mutt - by hackers for hackers
 >  
 > 

 I'm reproducing it on NetBSD-current.

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.