Lintian leaves me with error when Build-Depending from qt5-default :-( (Was: C++ / Qt help for Ugene needed)

2015-12-11 Thread Andreas Tille
Hi,

On Thu, Dec 10, 2015 at 08:28:36PM +0100, Gert Wollny wrote:
> On Thu, 2015-12-10 at 14:07 +0100, Andreas Tille wrote:
> > I'd be really delighted if you get this built!
> 
> It should build now, at least here it just did in an freshly updated
> pbuilder environment. 

Thanks to Gert's and Gianfranco's help I made quite some progress.  Currenly
I'm left with a riddle about the role of qt5-default which is a metapackage
and lintian throws an error when Build-Depending from a metapackage.  So I
thought that would be simple and made sure that ugene would Build-Depend
from all of qt5-default's Dependencies which are

   qtbase5-dev, qtchooser

Since qtbase5-dev is in the Build-Depends anyway I simply did

   s/qt5-default/qtchooser/

in the current status of Git ... and ended up in:


...
dh_auto_configure -- UGENE_WITHOUT_NON_FREE=1
qmake -makefile -nocache "QMAKE_CFLAGS_RELEASE=-g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fstack-protector-strong 
-Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2" 
"QMAKE_CXXFLAGS_RELEASE=-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2" 
"QMAKE_CXXFLAGS_DEBUG=-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2" 
QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: 
PREFIX=/usr UGENE_WITHOUT_NON_FREE=1
qmake: could not find a Qt installation of ''
dh_auto_configure: qmake -makefile -nocache QMAKE_CFLAGS_RELEASE=-g -O2 
-fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 
-D_FORTIFY_SOURCE=2 QMAKE_CFLAGS_DEBUG=-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 
QMAKE_CXXFLAGS_RELEASE=-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 
QMAKE_CXXFLAGS_DEBUG=-g -O2 -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -D_FORTIFY_SOURCE=2 
QMAKE_LFLAGS_RELEASE=-Wl,-z,relro QMAKE_LFLAGS_DEBUG=-Wl,-z,relro QMAKE_STRIP=: 
PREFIX=/usr UGENE_WITHOUT_NON_FREE=1 returned exit code 1
debian/rules:21: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 2
make[1]: Leaving directory '/build/ugene-1.19.0+dfsg'


So what else might qt5-default do besides installing dependencies
to make qmake happy?  Should I simply override the lintian error?

Kind regards

Andreas.

-- 
http://fam-tille.de



Re: Lintian leaves me with error when Build-Depending from qt5-default :-( (Was: C++ / Qt help for Ugene needed)

2015-12-11 Thread Jakub Wilk

* Andreas Tille , 2015-12-11, 13:29:
Currenly I'm left with a riddle about the role of qt5-default which is 
a metapackage and lintian throws an error when Build-Depending from a 
metapackage.


If you have a question or doubts about Lintian output, please aways 
quote what Lintian said exactly.


Anyway, contrary to what Lintian might have said, qt5-default is not a 
metapackage. From the package description:


This package sets Qt 5 to be the default Qt version to be used when 
using development binaries like qmake. It provides a default 
configuration for qtchooser, but does not prevent alternative Qt 
installations from being used.


This package should not be used for building Debian packages. Take a 
look at http://pkg-kde.alioth.debian.org/packagingqtstuff.html for more 
information.


--
Jakub Wilk



Re: Lintian leaves me with error when Build-Depending from qt5-default :-( (Was: C++ / Qt help for Ugene needed)

2015-12-11 Thread Gianfranco Costamagna
Hi again,





>Thanks to Gert's and Gianfranco's help I made quite some progress.  Currenly
>I'm left with a riddle about the role of qt5-default which is a metapackage
>and lintian throws an error when Build-Depending from a metapackage.  So I
>thought that would be simple and made sure that ugene would Build-Depend
>from all of qt5-default's Dependencies which are
>
>   qtbase5-dev, qtchooser
>
>Since qtbase5-dev is in the Build-Depends anyway I simply did
>
>   s/qt5-default/qtchooser/
>
>in the current status of Git ... and ended up in:


>So what else might qt5-default do besides installing dependencies
>to make qmake happy?  Should I simply override the lintian error?


I told you in the last mail all the dependencies needed.


https://sources.debian.net/src/qviaggiatreno/2013.7.3-8/debian/rules/
just an
export QT_SELECT=5
in rules should do the trick.

cheers,

G.