Bug#964214: libdebhelper-perl: dh_auto_configure cannot do out-of-tree builds for qmake buildsystem

2024-04-21 Thread Jiri Palecek

On Sat, 4 Jul 2020 00:01:15 +0200 Niels Thykier wrote:
> Thorsten Glaser:
> > Package: libdebhelper-perl
> > Version: 13.1
> > Severity: normal
> >
> > Apparently, dh7 fails to tell qmake the location of the source
directory
> > when attempting an out-of-tree build:
> >
> >
> > […]
> >
> >
> > The qmake invocation syntax error message is somewhat misleading,
> > but looking at the invocation command line it becomes somewhat clearer.
> >
>
> Interesting. I am not sure out of source builds have ever been
> supported by qmake (at least not correctly at any rate). If you know
> how to do it, then I am happy to look at fixing it.

Qmake does indeed support out of source builds (and for a long time -
you can find questions about it on the forums from 2010). You can check
a possible implementation of debhelper support for it in MR 125.

Regards

    Jiri Palecek



Bug#964214: libdebhelper-perl: dh_auto_configure cannot do out-of-tree builds for qmake buildsystem

2020-07-03 Thread Thorsten Glaser
severity 964214 wishlist
tags 964214 + help
thanks

Hi Niels,

>Interesting.  I am not sure out of source builds have ever been
>supported by qmake (at least not correctly at any rate).  If you know
>how to do it, then I am happy to look at fixing it.

this is my first contact with qmake either, and the KDE/Qt
maintainers are happy it’s used less and less as well…

Sorry,
//mirabilos
-- 
18:47⎜ well channels… you see, I see everything in the
same window anyway  18:48⎜ i know, you have some kind of
telnet with automatic pong 18:48⎜ haha, yes :D
18:49⎜ though that's more tinyirc – sirc is more comfy



Bug#964214: libdebhelper-perl: dh_auto_configure cannot do out-of-tree builds for qmake buildsystem

2020-07-03 Thread Niels Thykier
Thorsten Glaser:
> Package: libdebhelper-perl
> Version: 13.1
> Severity: normal
> 
> Apparently, dh7 fails to tell qmake the location of the source directory
> when attempting an out-of-tree build:
> 
> 
> […]
> 
> 
> The qmake invocation syntax error message is somewhat misleading,
> but looking at the invocation command line it becomes somewhat clearer.
> 

Interesting.  I am not sure out of source builds have ever been
supported by qmake (at least not correctly at any rate).  If you know
how to do it, then I am happy to look at fixing it.

~Niels



Bug#964214: libdebhelper-perl: dh_auto_configure cannot do out-of-tree builds for qmake buildsystem

2020-07-03 Thread Thorsten Glaser
Package: libdebhelper-perl
Version: 13.1
Severity: normal

Apparently, dh7 fails to tell qmake the location of the source directory
when attempting an out-of-tree build:


[…]
dpkg-source: info: building polyphone in polyphone_2.2.0+dfsg0-1.dsc
 debian/rules binary
dh binary --sourcedir=sources -B
   dh_update_autotools_config -O--sourcedir=sources -O-B
   dh_autoreconf -O--sourcedir=sources -O-B
   dh_auto_configure -O--sourcedir=sources -O-B
install -d 
/tmp/buildd/polyphone-2.2.0\+dfsg0/debian/.debhelper/generated/_source/home 
/tmp/buildd/polyphone-2.2.0\+dfsg0/debian/.debhelper/generated/_source/xdg-runtime-dir
install -d obj-x86_64-linux-gnu
cd obj-x86_64-linux-gnu && qmake -makefile "QMAKE_CFLAGS_RELEASE=-g -O2 
-fdebug-prefix-map=/tmp/buildd/polyphone-2.2.0+dfsg0=. -fstack-protector-strong 
-Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 " 
"QMAKE_CFLAGS_DEBUG=-g -O2 
-fdebug-prefix-map=/tmp/buildd/polyphone-2.2.0+dfsg0=. -fstack-protector-strong 
-Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 " 
"QMAKE_CXXFLAGS_RELEASE=-g -O2 
-fdebug-prefix-map=/tmp/buildd/polyphone-2.2.0+dfsg0=. -fstack-protector-strong 
-Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 " 
"QMAKE_CXXFLAGS_DEBUG=-g -O2 
-fdebug-prefix-map=/tmp/buildd/polyphone-2.2.0+dfsg0=. -fstack-protector-strong 
-Wformat -Werror=format-security  -Wdate-time -D_FORTIFY_SOURCE=2 " 
"QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" 
"QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now -Wl,--as-needed" QMAKE_STRIP=: 
PREFIX=/usr
Usage: /usr/lib/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
[…]


The qmake invocation syntax error message is somewhat misleading,
but looking at the invocation command line it becomes somewhat clearer.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages libdebhelper-perl depends on:
ii  perl  5.30.3-4

libdebhelper-perl recommends no packages.

libdebhelper-perl suggests no packages.

-- no debconf information