Package: check Version: 0.10.0-3 Severity: normal Tags: patch Hello,
check build-depends on subunit, and subunit build-depends on check. It happens that check has a disable flag against that build, but subunit doesn't. The attached patch thus adds a stage1 profile to the check package, thus allowing to build a version of check that can then be used to build subunit, which can then be used to build the full unstaged check. Samuel -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.4.0 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages check depends on: ii dpkg 1.18.4 ii install-info 6.1.0.dfsg.1-1 pn libsubunit-dev <none> ii mawk 1.3.3-17 check recommends no packages. check suggests no packages. -- no debconf information -- Samuel <y> t1 faich <y> les programmes ils segfaultent jamais quand on veut -+- #ens-mim en plein débogage -+-
--- debian/rules.original 2016-03-01 00:33:42.478666936 +0100 +++ debian/rules 2016-03-01 00:34:49.468419406 +0100 @@ -1,5 +1,11 @@ #!/usr/bin/make -f +ifneq ($(DEB_BUILD_PROFILES),stage1) +ENABLE_SUBUNIT=--enable-subunit +else +ENABLE_SUBUNIT= +endif + %: dh $@ --buildsystem=autoconf --with autoreconf @@ -11,12 +17,12 @@ dh_auto_configure --builddirectory build-standard -- --prefix=/usr \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ --host=$(DEB_HOST_GNU_TYPE) \ - --infodir=/usr/share/info --disable-shared --enable-subunit + --infodir=/usr/share/info --disable-shared $(ENABLE_SUBUNIT) CFLAGS="-fPIC $(CFLAGS)" dh_auto_configure --builddirectory build-pic -- --prefix=/usr --host=$(DEB_HOST_GNU_TYPE) \ --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \ - --infodir=/usr/share/info --disable-shared --enable-subunit + --infodir=/usr/share/info --disable-shared $(ENABLE_SUBUNIT) override_dh_auto_build: dh_auto_build --builddirectory build-standard --- debian/control.original 2016-03-01 00:33:19.828752383 +0100 +++ debian/control 2016-03-01 00:33:26.618726675 +0100 @@ -2,7 +2,7 @@ Section: devel Priority: optional Maintainer: Robert Lemmen <rober...@semistable.com> -Build-Depends: debhelper (>= 9), mawk, texinfo, dh-autoreconf, pkg-config, libsubunit-dev +Build-Depends: debhelper (>= 9), mawk, texinfo, dh-autoreconf, pkg-config, libsubunit-dev <!stage1> Build-Conflicts: gawk Standards-Version: 3.9.6 Homepage: http://check.sourceforge.net/ @@ -13,7 +13,7 @@ Architecture: any Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} -Depends: ${misc:Depends}, dpkg (>= 1.15.4) | install-info, mawk, libsubunit-dev +Depends: ${misc:Depends}, dpkg (>= 1.15.4) | install-info, mawk, libsubunit-dev <!stage1> Description: unit test framework for C Check features a simple interface for defining unit tests, putting little in the way of the developer. Tests are run in a separate