[Bug 1206234] Re: Hardcoded "-nocache" in Buildsystem/qmake.pm
Launchpad Bug Tracker
1206234 at bugs.launchpad.net
Sat Oct 28 15:53:51 UTC 2017
This bug was fixed in the package debhelper - 10.10.5ubuntu1
---------------
debhelper (10.10.5ubuntu1) bionic; urgency=medium
* Merge from current Debian unstable. Remaining changes:
- Generate ddebs from debhelper instead of pkg-create-dbgsym
+ Make debhelper Conflict/Replace pkg-create-dbgsym to force it off.
+ Mirror udeb code in dh_builddeb to allow us to alter file extension.
+ Set dbgsym Package-Type to ddeb to get correct debian/files output.
- dh_installchangelogs: Do not install upstream changelog in compat
level 7 and higher to avoid pointlessly bloating installed packages.
debhelper (10.10.5) unstable; urgency=medium
* meson.pm: Add missing import of generated_file that broke
cross building.
* Dh_Lib: Fix regression where an empty line before the source
paragraph in d/control would cause parse error.
(Closes: #879762)
-- Gianfranco Costamagna <locutusofborg at debian.org> Fri, 27 Oct 2017
08:01:25 +0200
** Changed in: debhelper (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1206234
Title:
Hardcoded "-nocache" in Buildsystem/qmake.pm
Status in debhelper package in Ubuntu:
Fix Released
Bug description:
From this bug https://bugreports.qt-
project.org/browse/QTCREATORBUG-9840?focusedCommentId=210535&page=com.atlassian.jira.plugin.system.issuetabpanels
:comment-tabpanel#comment-210535
Problem with build qtcreator 2.8.0 with -nocache specified. Because
qtcreator is "unfair" recursive qmake project.
In my PPA i rewrote debian/rules like:
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS)
CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
# Upstream changelog
upstream_changes := $(wildcard dist/changes-*)
%:
dh $@ --parallel --list-missing --dbg-package=qtcreator-dbg --buildsystem=qmake_qt4 --builddirectory=builddir
override_dh_auto_configure:
mkdir -p builddir
cd builddir && qmake -makefile "IDE_LIBRARY_BASENAME=lib/$(DEB_HOST_MULTIARCH)" IDE_PACKAGE_MODE=1 USE_SYSTEM_BOTAN=1 "QMAKE_CFLAGS_RELEASE=${CFLAGS} ${CPPFLAGS}" "QMAKE_CXXFLAGS_RELEASE=${CXXFLAGS} ${CPPFLAGS}" "QMAKE_LFLAGS_RELEASE=${LDFLAGS}" "QMAKE_STRIP=:" "PREFIX=/usr" "../qtcreator.pro" -r
override_dh_auto_install:
ifneq (,$(filter qtcreator-doc, $(shell dh_listpackages)))
dh_auto_build -- qch_docs
endif
dh_auto_install --destdir=debian/tmp/usr
dh_auto_build -- install_docs INSTALL_ROOT=$(CURDIR)/debian/tmp/usr
override_dh_auto_clean:
dh_auto_clean
override_dh_installdocs:
dh_installdocs -pqtcreator $(upstream_changes)
dh_installdocs --remaining-packages
override_dh_makeshlibs:
# qtcreator doesn't provide any public libraries
override_dh_builddeb:
dh_builddeb -- -Zxz
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1206234/+subscriptions
More information about the foundations-bugs
mailing list