NetBSD Problem Report #49436

From www@NetBSD.org  Sun Nov 30 17:30:37 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 C0420A567D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 30 Nov 2014 17:30:37 +0000 (UTC)
Message-Id: <20141130173036.B97D1A6528@mollari.NetBSD.org>
Date: Sun, 30 Nov 2014 17:30:36 +0000 (UTC)
From: richard@netbsd.org
Reply-To: richard@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: py27-qt4 "No such file or directory" errors
X-Send-Pr-Version: www-1.0

>Number:         49436
>Category:       pkg
>Synopsis:       py27-qt4 "No such file or directory" errors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 30 17:35:00 +0000 2014
>Closed-Date:    Fri Sep 21 11:34:39 +0000 2018
>Last-Modified:  Fri Sep 21 11:34:39 +0000 2018
>Originator:     Richard PALO
>Release:        pkgsrc current
>Organization:
>Environment:
SunOS omnis 5.11 illumos-gate-c40eb28 i86pc i386 i86pc

>Description:
When building py-qt4 I get the following:

>richard@omnis:/home/richard/src/logs$ grep '\<error:\>' x11/py27 qt4-4.11.1 
>x11/py27-qt4-4.11.1:cfgtest_QtDBus.cpp:1:29: fatal error: qdbusconnection.h: No such file or directory
>x11/py27-qt4-4.11.1:cfgtest_QtAssistant.cpp:1:30: fatal error: qassistantclient.h: No such file or directory
>x11/py27-qt4-4.11.1:cfgtest_QAxContainer.cpp:1:23: fatal error: qaxobject.h: No such file or directory

>How-To-Repeat:
bmake...
>Fix:
The first error is relatively easy:
>diff --git a/x11/py-qt4/Makefile b/x11/py-qt4/Makefile
>index 72cd166..e5b882f 100644
>--- a/x11/py-qt4/Makefile
>+++ b/x11/py-qt4/Makefile
>@@ -72,6 +72,7 @@ do-configure:
> # needs the QtXmlPatterns fix
> BUILDLINK_API_DEPENDS.qt4-libs+=       qt4-libs>=4.6.1nb3
> .include "../../x11/qt4-libs/buildlink3.mk"
>+.include "../../x11/qt4-qdbus/buildlink3.mk"
> BUILDLINK_API_DEPENDS.qt4-tools+=      qt4-tools>=4.4.0nb1
> BUILDLINK_DEPMETHOD.qt4-tools=         full
> .include "../../x11/qt4-tools/buildlink3.mk"

This patch causes some additional files needing to be added to PLIST.

The second is curious as I can find qassistantclient.h provided in qt3-libs/PLIST but not in qt4-libs..

The last one is even more a mystery

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Fri, 21 Sep 2018 11:34:39 +0000
State-Changed-Why:
applied by markd who saw the same bug in Makefile:1.83
thanks for the patch!


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