NetBSD Problem Report #48946

From www@NetBSD.org  Tue Jun 24 17:53:46 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 19E0EA653F
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Jun 2014 17:53:46 +0000 (UTC)
Message-Id: <20140624175345.158FDA6545@mollari.NetBSD.org>
Date: Tue, 24 Jun 2014 17:53:45 +0000 (UTC)
From: alex.v.wolf@gmail.com
Reply-To: alex.v.wolf@gmail.com
To: gnats-bugs@NetBSD.org
Subject: QtDeclarative 5.2.1 can't be built
X-Send-Pr-Version: www-1.0

>Number:         48946
>Category:       pkg
>Synopsis:       QtDeclarative 5.2.1 can't be built
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 24 17:55:00 +0000 2014
>Closed-Date:    Sun Jun 03 21:18:55 +0000 2018
>Last-Modified:  Sun Jun 03 21:18:55 +0000 2018
>Originator:     Alexander Wolf
>Release:        6.1.4
>Organization:
Altai State Pedagogical Academy
>Environment:
NetBSD aw-netbsd.uni-altai.ru 6.1.4 NetBSD 6.1.4 (GENERIC) amd64
>Description:
QtDeclarative 5.2.1 can't be built because this package require run QmlTest, which can't be built.
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:
From: Richard PALO <richard@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/48946: QtDeclarative 5.2.1 can't be built
Date: Sun, 17 Jul 2016 07:24:03 +0200

 Le 24/06/14 19:55, alex.v.wolf@gmail.com a écrit :
 >> Number:         48946
 >> Category:       pkg
 >> Synopsis:       QtDeclarative 5.2.1 can't be built
 >> Confidential:   no
 >> Severity:       serious
 >> Priority:       medium
 >> Responsible:    pkg-manager
 >> State:          open
 >> Class:          sw-bug
 >> Submitter-Id:   net
 >> Arrival-Date:   Tue Jun 24 17:55:00 +0000 2014
 >> Originator:     Alexander Wolf
 >> Release:        6.1.4
 >> Organization:
 > Altai State Pedagogical Academy
 >> Environment:
 > NetBSD aw-netbsd.uni-altai.ru 6.1.4 NetBSD 6.1.4 (GENERIC) amd64
 >> Description:
 > QtDeclarative 5.2.1 can't be built because this package require run QmlTest, which can't be built.
 >> How-To-Repeat:
 > 
 >> Fix:
 > 
 > 

 To get this to build finally on SunOS i386, I needed to manually patch the generated Makefile
 as follows (we're at 5.5.1 now):
 > richard@omnis:/home/richard$ pkgdiff /tmp/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-opensource-src-5.5.1/src/qmltest/Makefile
 > $NetBSD$
 > 
 > --- /tmp/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-opensource-src-5.5.1/src/qmltest/Makefile.orig	2016-07-17 02:55:29.002104424 +0000
 > +++ /tmp/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-opensource-src-5.5.1/src/qmltest/Makefile
 > @@ -36,7 +36,7 @@ DISTNAME      = Qt5QuickTest5.5.1
 >  DISTDIR = /tmp/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-opensource-src-5.5.1/src/qmltest/.obj/Qt5QuickTest5.5.1
 >  LINK          = $(LIBTOOL) --mode=link g++ -version-info 10:1:5 -rpath /opt/local/qt5/lib
 >  LFLAGS       += -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib -Wl,-R/usr/lib -fuse-ld=gold -pthread -Wl,-rpath,/opt/local/qt5/lib -shared
 > -LIBS         += $(SUBLIBS) -L/opt/local/lib -L/usr/lib -L/opt/local/qt5/lib -lQt5Widgets /opt/local/qt5/lib/libQt5Gui.la /opt/local/qt5/lib/libQt5Core.la -lQt5Gui -lQt5Core -lpthread -lrt -L/tmp/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-opensource-src-5.5.1/lib -lQt5Quick -L/opt/local/lib -L/usr/lib -L/opt/local/qt5/lib /opt/local/qt5/lib/libQt5Qml.la /opt/local/qt5/lib/libQt5Core.la -lQt5Qml -lQt5Test -lQt5Gui -lQt5Network -lQt5Core -lpthread -lrt -Wl,-R/opt/local/lib -lGL
 > +LIBS         += $(SUBLIBS) -L/opt/local/lib -L/usr/lib -L/opt/local/qt5/lib -lQt5Widgets /opt/local/qt5/lib/libQt5Gui.la /opt/local/qt5/lib/libQt5Core.la -lQt5Gui -lQt5Core -lpthread -lrt -L/tmp/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-opensource-src-5.5.1/lib -lQt5Quick -L/opt/local/lib -L/usr/lib -L/opt/local/qt5/lib /opt/local/qt5/lib/libQt5Core.la -lQt5Qml -lQt5Test -lQt5Gui -lQt5Network -lQt5Core -lpthread -lrt -Wl,-R/opt/local/lib -lGL
 >  AR            = ar cqs
 >  RANLIB        = 
 >  LIBTOOL       = libtool --silent

 notice the suppression of '/opt/local/qt5/lib/libQt5Qml.la' redundant and erroneous with '-lQt5Qml' being present.

 Hopefully somebody with more knowledge of the Qt make system can get the Makefile generated correctly....

 -- 
 Richard PALO

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 03 Jun 2018 21:18:55 +0000
State-Changed-Why:
Looks like this got fixed in the meantime and there are binary packages for qt5-qtdeclarative. Feel free to report another bug or reply if you are still having issues.


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