NetBSD Problem Report #52335

From martin@duskware.de  Sun Jun 25 11:31:39 2017
Return-Path: <martin@duskware.de>
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 AED257A179
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 25 Jun 2017 11:31:39 +0000 (UTC)
From: martin@NetBSD.org
Reply-To: martin@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: all pkgs offering gobj-introspection need to honour the -introspection pkg option
X-Send-Pr-Version: 3.95

>Number:         52335
>Category:       pkg
>Synopsis:       all pkgs offering gobj-introspection need to honour the -introspection pkg option
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 25 11:35:00 +0000 2017
>Closed-Date:    Sun Sep 03 15:44:41 +0000 2017
>Last-Modified:  Sun Sep 03 15:44:41 +0000 2017
>Originator:     Martin Husemann
>Release:        NetBSD 8.99.1
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD night-owl.duskware.de 8.99.1 NetBSD 8.99.1 (NIGHT-OWL) #515: Sat Jun 24 14:01:21 CEST 2017 martin@night-owl.duskware.de:/usr/src/sys/arch/amd64/compile/NIGHT-OWL amd64
Architecture: x86_64
Machine: amd64
>Description:

Since gobject-introspection does reliably not work on some systems,
all pkgs that do .include "../../devel/gobject-introspection/buildlink3.mk"
need to also offer a pkg option "introspection" to disable it.

>How-To-Repeat:
Source code inspection (or try to build some pkgs on an affected system).

>Fix:
n/a

>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52335: all pkgs offering gobj-introspection need to honour
 the -introspection pkg option
Date: Mon, 26 Jun 2017 15:47:59 -0500 (CDT)

 If so inclined, feel free to lift the patches for some packages from
 PR pkg/51266.  They work on pkgsrc-2017Q1 and apply on HEAD as well with
 some small offsets.

 I've compiled a quick list of all packages which include the
 "../../devel/gobject-introspection/buildlink3.mk" file but which have not
 yet been equipped with an "introspection" option.  If interested, I can
 append it.

 -- 
 |/"\ 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

From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52335: all pkgs offering gobj-introspection need to honour
 the -introspection pkg option
Date: Tue, 27 Jun 2017 09:43:48 +0200

 On Mon, Jun 26, 2017 at 08:50:01PM +0000, John D. Baker wrote:
 >  I've compiled a quick list of all packages which include the
 >  "../../devel/gobject-introspection/buildlink3.mk" file but which have not
 >  yet been equipped with an "introspection" option.  If interested, I can
 >  append it.

 Yes, please!
 (Though it will have to wait untill we are out of the freeze again)

 Martin

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52335: all pkgs offering gobj-introspection need to honour
 the -introspection pkg option
Date: Tue, 27 Jun 2017 08:15:55 -0500 (CDT)

 See below.  This was done on pkgsrc-HEAD without applying my local
 patches from PR pkg/51266, so those packages appear in the list.

 It was generated by scanning all "Makefile*" and "*.mk" files for the
 buildlink3 inclusion, scanning again for "introspection" in any line
 which also contained "OPTIONS".  The two lists merged, sorted and only
 the unique lines output.  There are a few false positives as a few
 packages have the the buildlink3 inclusion, but commented out.

 audio/rhythmbox-gtk3
 chat/libfolks
 chat/telepathy-glib
 converters/libkkc
 devel/at-spi2-core
 devel/atk
 devel/libdbusmenu-glib
 devel/libdbusmenu-gtk
 devel/libdbusmenu-gtk3
 devel/libgee
 devel/libgee0.6
 devel/libpeas
 devel/libwnck3
 devel/lua-gi
 devel/p5-Glib-Object-Introspection
 devel/pango
 devel/py-gobject-shared
 devel/py-gobject3
 devel/ruby-gnome2-gio
 devel/ruby-gnome2-gobject-introspection
 editors/gedit3
 geography/osm-gps-map
 graphics/gdk-pixbuf2
 graphics/goocanvas2
 inputmethod/ibus
 inputmethod/ibus-anthy
 meta-pkgs/libdbusmenu
 multimedia/ruby-gnome2-gstreamer
 net/gnome-online-accounts
 net/gssdp
 net/gupnp
 net/gupnp-av
 net/gupnp-dlna
 net/gupnp-igd
 net/libnice
 net/libsoup
 sysutils/gsettings-desktop-schemas
 textproc/gspell
 wip/accountsservice
 wip/aravis
 wip/awesome4
 wip/caribou
 wip/cjs
 wip/colord-gtk
 wip/eina-musicplayer
 wip/evolution-data-server
 wip/gjs
 wip/gsettings-desktop-schemas
 wip/libfolks
 wip/libgda4
 wip/libsocialweb
 wip/lightdm
 wip/sushi
 wip/totem
 wip/totem-pl-parser
 wip/vte
 www/liferea
 www/uhttpmock
 www/webkit-gtk
 x11/gnome-desktop3
 x11/gtk2
 x11/gtk3
 x11/keybinder
 x11/libdesktop-agnostic
 x11/libxklavier
 x11/ruby-gnome2-gtk3


 -- 
 |/"\ 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

From: Patrick Welche <prlw1@cam.ac.uk>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/52335 all pkgs offering gobj-introspection need to honour
 the -introspection pkg option
Date: Thu, 24 Aug 2017 19:12:11 +0100

 gobject-introspection is not optional for running gnome python programs.
 I think this bug is misguided.

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/52335 all pkgs offering gobj-introspection need to honour
 the -introspection pkg option
Date: Thu, 24 Aug 2017 14:12:28 -0500 (CDT)

 On Thu, 24 Aug 2017 18:15:01 +0000 (UTC), Patrick Welche <prlw1@cam.ac.uk>
 wrote:

 > gobject-introspection is not optional for running gnome python programs.
 > I think this bug is misguided.

 The whole "introspection" option business was an attempt to cope with
 the problems first raised in "pkg/51266", later reclassified as
 "toolchain/51266".

 Following this commit:

   http://mail-index.netbsd.org/source-changes/2017/07/19/msg086477.html

 the problems with "gobject-introspection" segfaulting seem to have been
 solved.  This change and one related change to fix ld.elf_so tests on
 sparc are pending pull-up to netbsd-8.

 I hope others beside myself have been testing this.  Once the pull-ups
 are done, toolchain/51266 can be closed and this PR will be obsolete
 and should be closed as well.

 -- 
 |/"\ 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: martin@NetBSD.org
State-Changed-When: Sun, 03 Sep 2017 15:44:41 +0000
State-Changed-Why:
The underlying toolchain issue has been fixed in -current and on the
netbsd-8 branch, so this workaround is not needed any more.


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