pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/48946: QtDeclarative 5.2.1 can't be built



The following reply was made to PR pkg/48946; it has been noted by GNATS.

From: Richard PALO <richard%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
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@localhost 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
 


Home | Main Index | Thread Index | Old Index