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

Bug#918724: marked as done (smtube FTCBFS: runs qmake for the build architecture)



Your message dated Thu, 27 Feb 2025 17:39:58 +0000
with message-id <[🔎] E1tnhra-002skJ-K7@fasolo.debian.org>
and subject line Bug#1098380: Removed package(s) from unstable
has caused the Debian Bug report #918724,
regarding smtube FTCBFS: runs qmake for the build architecture
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
918724: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918724
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: smtube
Version: 18.3.0-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

smtube fails to cross build from source, because it runs qmake for the
build architecture. Since dh_auto_* is unaware of qmake, it doesn't pass
the necessary flags. For cross compiling, one should use
${DEB_HOST_GNU_TYPE}-qmake. Also for using lrelease, you must add
qt5-qmake:native to Build-Depends. After doing both, smtube cross builds
successfully. Please consider applying the attached patch.

Helmut
diff --minimal -Nru smtube-18.3.0/debian/changelog smtube-18.3.0/debian/changelog
--- smtube-18.3.0/debian/changelog	2018-06-27 19:39:11.000000000 +0200
+++ smtube-18.3.0/debian/changelog	2019-01-08 20:13:08.000000000 +0100
@@ -1,3 +1,12 @@
+smtube (18.3.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Build-Depends: qt5-qmake:native for lrelease.
+    + Pass a cross QMAKE to make.
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 08 Jan 2019 20:13:08 +0100
+
 smtube (18.3.0-1) unstable; urgency=medium
 
   [ Ondřej Nový ]
diff --minimal -Nru smtube-18.3.0/debian/control smtube-18.3.0/debian/control
--- smtube-18.3.0/debian/control	2018-06-27 19:39:11.000000000 +0200
+++ smtube-18.3.0/debian/control	2019-01-08 20:13:07.000000000 +0100
@@ -8,6 +8,7 @@
 Build-Depends:
  debhelper (>= 10~),
  libqt5webkit5-dev,
+ qt5-qmake:native,
  qttools5-dev-tools,
  qtscript5-dev,
  zlib1g-dev
diff --minimal -Nru smtube-18.3.0/debian/rules smtube-18.3.0/debian/rules
--- smtube-18.3.0/debian/rules	2018-06-22 09:50:55.000000000 +0200
+++ smtube-18.3.0/debian/rules	2019-01-08 20:12:50.000000000 +0100
@@ -1,8 +1,12 @@
 #!/usr/bin/make -f
 
+include /usr/share/dpkg/architecture.mk
 export QT_SELECT=5
 QMAKE_OPTS = DEFINES+=NO_DEBUG_ON_CONSOLE
 MAKE_OPTS  = PREFIX=/usr QMAKE_OPTS="$(QMAKE_OPTS)"
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+MAKE_OPTS += QMAKE=$(DEB_HOST_GNU_TYPE)-qmake
+endif
 
 override_dh_auto_clean:
 	[ ! -f src/Makefile ] || dh_auto_clean

--- End Message ---
--- Begin Message ---
Version: 21.7.0-1+rm

Dear submitter,

as the package smtube has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1098380

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Paul Tagliamonte (the ftpmaster behind the curtain)

--- End Message ---

Reply to: