NetBSD Problem Report #49277

From www@NetBSD.org  Sun Oct 12 18:23:11 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(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 CCE0FA666D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Oct 2014 18:23:10 +0000 (UTC)
Message-Id: <20141012182309.CD42AA666F@mollari.NetBSD.org>
Date: Sun, 12 Oct 2014 18:23:09 +0000 (UTC)
From: nros@users.sourceforge.net
Reply-To: nros@users.sourceforge.net
To: gnats-bugs@NetBSD.org
Subject: qt5-qtbase build  breaks with gtk2 option enabled
X-Send-Pr-Version: www-1.0

>Number:         49277
>Notify-List:    bsiegert@NetBSD.org
>Category:       pkg
>Synopsis:       qt5-qtbase build  breaks with gtk2 option enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 12 18:25:00 +0000 2014
>Closed-Date:    Sun Feb 21 12:41:38 +0000 2016
>Last-Modified:  Sun Feb 21 12:41:38 +0000 2016
>Originator:     Niclas Rosenvik
>Release:        pkgsrc-2014Q3
>Organization:
>Environment:
NetBSD localhost 6.1.3_PATCH NetBSD 6.1.3_PATCH (GENERIC) amd64
>Description:
building x11/qt5-qtbase breaks because of files in work/.destdir/${PREFIX} that are not in the PLIST when the gtk2 options is enabled.
>How-To-Repeat:
Install x11/qt5-qtbase with PKG_OPTIONS.qt5 = gtk2 set in mk.conf

>Fix:
add:
${PLIST.gtk2}qt5/plugins/platformthemes/libqgtk2.la
to PLIST
and patch options.mk with the following patch.

--- options.mk.orig     2014-10-12 20:03:25.000000000 +0200
+++ options.mk  2014-10-12 20:04:12.000000000 +0200
@@ -2,6 +2,7 @@

 PKG_OPTIONS_VAR=       PKG_OPTIONS.qt5
 PKG_SUPPORTED_OPTIONS= cups debug gtk2
+PLIST_VARS+=           gtk2

 .include "../../mk/bsd.options.mk"

@@ -16,6 +17,7 @@
 .  include "../../devel/glib2/buildlink3.mk"
 .  include "../../x11/gtk2/buildlink3.mk"
 CONFIGURE_ARGS+=       -gtkstyle
+PLIST.gtk2=            yes
 .else
 CONFIGURE_ARGS+=       -no-gtkstyle
 .endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 27 Nov 2014 20:33:32 +0000
Responsible-Changed-Why:
over to maintainer.


From: "Niclas Rosenvik" <nros@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/49277 CVS commit: pkgsrc/x11/qt5-qtbase
Date: Mon, 18 Jan 2016 20:52:43 +0000

 Module Name:	pkgsrc
 Committed By:	nros
 Date:		Mon Jan 18 20:52:43 UTC 2016

 Modified Files:
 	pkgsrc/x11/qt5-qtbase: Makefile PLIST options.mk

 Log Message:
 Fix some stuff in qt5-qtbase.

 Fix gtk2 option. PR pkg/49277.
 Explicitly turn off all database drivers since they might be picked up, as
 shown in joyents linux bulk build.
 Bump pkgrevision.


 To generate a diff of this commit:
 cvs rdiff -u -r1.28 -r1.29 pkgsrc/x11/qt5-qtbase/Makefile
 cvs rdiff -u -r1.10 -r1.11 pkgsrc/x11/qt5-qtbase/PLIST
 cvs rdiff -u -r1.6 -r1.7 pkgsrc/x11/qt5-qtbase/options.mk

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

State-Changed-From-To: open->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 01 Feb 2016 08:46:57 +0000
State-Changed-Why:
fixed?


From: Niclas Rosenvik <nros@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49277 (qt5-qtbase build  breaks with gtk2 option enabled)
Date: Mon, 1 Feb 2016 15:20:51 +0100

 On Mon,  1 Feb 2016 08:46:57 +0000 (UTC)
 dholland@NetBSD.org wrote:

 > Synopsis: qt5-qtbase build  breaks with gtk2 option enabled
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: dholland@NetBSD.org
 > State-Changed-When: Mon, 01 Feb 2016 08:46:57 +0000
 > State-Changed-Why:
 > fixed?
 > 
 > 
 > 

 yes, it's fixed.

State-Changed-From-To: feedback->closed
State-Changed-By: nros@NetBSD.org
State-Changed-When: Sun, 21 Feb 2016 12:41:38 +0000
State-Changed-Why:
This bug has been fixed as seen in the commit message. The change won't be pulled up since it does not effect default builds of the package.


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