[Debian-med-packaging] Bug#874858: Please help switching edfbrowser to Qt5

Andreas Tille andreas at an3as.eu
Sun Sep 10 05:56:13 UTC 2017


Hi,

I tried to switch edfbrowser[1] from Qt4 to Qt5 since upstream confirmed that
it builds with Qt5.  I tried the following patch:

diff --git a/debian/control b/debian/control
index b5f9eec..a24d609 100644
--- a/debian/control
+++ b/debian/control
@@ -5,8 +5,8 @@ Uploaders: Bas Zoetekouw <bas at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: debhelper (>= 10),
-               libqt4-dev,
-               qt4-qmake
+               qt5-qmake,
+               qtbase5-dev
 Standards-Version: 4.1.0
 Vcs-Browser: https://anonscm.debian.org/cgit/debian-med/edfbrowser.git
 Vcs-Git: https://anonscm.debian.org/git/debian-med/edfbrowser.git


but it ends up in


   dh_auto_configure
        qmake -makefile -nocache "QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now" "QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now" QMAKE_STRIP=: PREFIX=/usr
qmake: could not find a Qt installation of ''
dh_auto_configure: qmake -makefile -nocache "QMAKE_CFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_RELEASE=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_CXXFLAGS_DEBUG=-g -O2 -fdebug-prefix-map=/build/edfbrowser-1.59=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" "QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,-z,now" "QMAKE_LFLAGS_DEBUG=-Wl,-z,relro -Wl,-z,now" QMAKE_STRIP=: PREFIX=/usr returned exit code 1
debian/rules:25: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


Is there any hint to fix my very poor attempt (I have no experience with
Qt at all).

Kind regards

      Andreas.

[1] https://anonscm.debian.org/git/debian-med/edfbrowser.git

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list