NetBSD Problem Report #53460

From tron@zhadum.org.uk  Thu Jul 19 15:02:37 2018
Return-Path: <tron@zhadum.org.uk>
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 "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 197B97A157
	for <gnats-bugs@gnats.netbsd.org>; Thu, 19 Jul 2018 15:02:37 +0000 (UTC)
Message-Id: <20180719150230.0442D2008ACD2B@excalibur.zhadum.org.uk>
Date: Thu, 19 Jul 2018 16:02:29 +0100 (BST)
From: tron@zhadum.org.uk
Reply-To:
To: gnats-bugs@gnats.netbsd.org
Cc:
Subject: "qt5-qtbase" fails shared library check under macOS High Sierra
X-Send-Pr-Version: 3.113.1
X-GNATS-Notify:

>Number:         53460
>Category:       pkg
>Synopsis:       "qt5-qtbase" fails shared library check under macOS High Sierra
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ryoon
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 19 15:05:00 +0000 2018
>Closed-Date:    Thu Aug 09 04:19:50 +0000 2018
>Last-Modified:  Thu Aug 09 04:19:50 +0000 2018
>Originator:     tron@zhadum.org.uk
>Release:        Darwin 17.7.0
>Organization:
-
>Environment:
System: Darwin excalibur.zhadum.org.uk 17.7.0 Darwin Kernel Version 17.7.0: Thu Jun 21 22:53:14 PDT 2018; root:xnu-4570.71.2~1/RELEASE_X86_64 x86_64

macOS High Sierra 10.13.6

>Description:
The "x11/qt5-qtbase" package (required by "net/wireshark") successfuly
builds on my macOS system but fails at the packaging stage:

=> Checking for missing run-time search paths in qt5-qtbase-5.11.1
ERROR: qt5/plugins/platforms/libqcocoa.dylib: relative library path: libqcocoa.dylib
ERROR: qt5/plugins/printsupport/libcocoaprintersupport.dylib: relative library path: libcocoaprintersupport.dylib
ERROR: qt5/plugins/printsupport/libcocoaprintersupport.dylib: missing library: libcocoaprintersupport.dylib
ERROR: qt5/plugins/styles/libqmacstyle.dylib: relative library path: libqmacstyle.dylib
ERROR: qt5/plugins/styles/libqmacstyle.dylib: missing library: libqmacstyle.dylib
ERROR: qt5/plugins/bearer/libqgenericbearer.dylib: relative library path: libqgenericbearer.dylib
ERROR: qt5/plugins/generic/libqtuiotouchplugin.dylib: relative library path: libqtuiotouchplugin.dylib
ERROR: qt5/plugins/imageformats/libqgif.dylib: relative library path: libqgif.dylib
ERROR: qt5/plugins/imageformats/libqico.dylib: relative library path: libqico.dylib
ERROR: qt5/plugins/imageformats/libqico.dylib: missing library: libqico.dylib
ERROR: qt5/plugins/imageformats/libqjpeg.dylib: relative library path: libqjpeg.dylib
ERROR: qt5/plugins/platforms/libqminimal.dylib: relative library path: libqminimal.dylib
ERROR: qt5/plugins/platforms/libqminimal.dylib: missing library: libqminimal.dylib
ERROR: qt5/plugins/platforms/libqoffscreen.dylib: relative library path: libqoffscreen.dylib
ERROR: qt5/plugins/platformthemes/libqflatpak.dylib: relative library path: libqflatpak.dylib
ERROR: qt5/plugins/sqldrivers/libqsqlite.dylib: relative library path: libqsqlite.dylib
*** Error code 1

Disabling the pkgsrc developer option avoids this problem. But I'm not
sure how well the resulting binary package will work.

>How-To-Repeat:
pkgsrc/x11/qt5-qtbase
bmake PKG_DEVELOPER=yes USE_DESTDIR=yes package

>Fix:
Not known

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->ryoon
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Thu, 19 Jul 2018 15:06:46 +0000
Responsible-Changed-Why:
Over to maintainer.
Ryo: if you are unable to test / fix on macOS, feel free to reassign
to macos-pkg-people.


From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53460 ("qt5-qtbase" fails shared library check under macOS
 High Sierra)
Date: Thu, 19 Jul 2018 16:22:16 +0100

 On Thu, Jul 19, 2018 at 03:06:46PM +0000, bsiegert@NetBSD.org wrote:
 > Synopsis: "qt5-qtbase" fails shared library check under macOS High Sierra

 The "qt5-qtdeclarative" package has exactly the same problem.
 I suspect other "qt5-*" packages are affected as well.
 I'm now compiling "wireshark" with "PKG_DEVELOPER" set to "no" to
 test whether the result will actually work.

 	Kind regards

 -- 
 Matthias Scheler                                 https://zhadum.org.uk/

From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/53460 ("qt5-qtbase" fails shared library check under macOS
 High Sierra)
Date: Thu, 19 Jul 2018 18:52:07 +0100

 On Thu, Jul 19, 2018 at 03:25:01PM +0000, Matthias Scheler wrote:
 >  On Thu, Jul 19, 2018 at 03:06:46PM +0000, bsiegert@NetBSD.org wrote:
 >  > Synopsis: "qt5-qtbase" fails shared library check under macOS High Sierra
 >  
 >  The "qt5-qtdeclarative" package has exactly the same problem.
 >  I suspect other "qt5-*" packages are affected as well.
 >  I'm now compiling "wireshark" with "PKG_DEVELOPER" set to "no" to
 >  test whether the result will actually work.

 I could build all the packages with "PKG_DEVELOPER" set to "no" and
 Wireshark seems to work.

 	Kind regards

 -- 
 Matthias Scheler                                 https://zhadum.org.uk/

From: "Min Sik Kim" <minskim@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53460 CVS commit: pkgsrc/x11/qt5-qtbase
Date: Thu, 26 Jul 2018 02:16:05 +0000

 Module Name:	pkgsrc
 Committed By:	minskim
 Date:		Thu Jul 26 02:16:05 UTC 2018

 Modified Files:
 	pkgsrc/x11/qt5-qtbase: Makefile.common

 Log Message:
 x11/qt5-*: Fix install_name on Darwin

 This should fix PR 53460.


 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/x11/qt5-qtbase/Makefile.common

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

From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: PR/53460 CVS commit: pkgsrc/x11/qt5-qtbase
Date: Thu, 26 Jul 2018 10:03:08 +0100

 On Thu, Jul 26, 2018 at 02:20:01AM +0000, Min Sik Kim wrote:
 > From: "Min Sik Kim" <minskim@netbsd.org>
 > To: gnats-bugs@gnats.NetBSD.org
 > Cc: 
 > Subject: PR/53460 CVS commit: pkgsrc/x11/qt5-qtbase
 > Date: Thu, 26 Jul 2018 02:16:05 +0000
 > 
 >  Module Name:	pkgsrc
 >  Committed By:	minskim
 >  Date:		Thu Jul 26 02:16:05 UTC 2018
 >  
 >  Modified Files:
 >  	pkgsrc/x11/qt5-qtbase: Makefile.common
 >  
 >  Log Message:
 >  x11/qt5-*: Fix install_name on Darwin
 >  
 >  This should fix PR 53460.
 >  
 >  
 >  To generate a diff of this commit:
 >  cvs rdiff -u -r1.26 -r1.27 pkgsrc/x11/qt5-qtbase/Makefile.common

 It *does* fix PR pkg/53460.

 I've rebuilt all the "qt5" packages on my macOS system which succeeded
 even with "PKG_DEVELOPER" set to "yes".

 	Thank you very much

 -- 
 Matthias Scheler                                 https://zhadum.org.uk/

State-Changed-From-To: open->closed
State-Changed-By: minskim@NetBSD.org
State-Changed-When: Thu, 09 Aug 2018 04:19:50 +0000
State-Changed-Why:
Fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.