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

Bug#809726: marked as done (apt: please allow building without libgtest-dev under the <nocheck> build profile)



Your message dated Fri, 08 Jan 2016 21:49:36 +0000
with message-id <E1aHeue-00020J-N4@franck.debian.org>
and subject line Bug#809726: fixed in apt 1.2~exp1
has caused the Debian Bug report #809726,
regarding apt: please allow building without libgtest-dev under the <nocheck> build profile
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.)


-- 
809726: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=809726
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: apt
Version: 1.1.10
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap

Hi Don, Julian and Michael,

Thank you for your continuing support in making this crazy bootstrap
thingy work from the apt side. It now cross builds fine, but I have
still an itch to scratch. I'd like to avoid pulling libgtest-dev into
the bootstrap set. Fortunately, libgtest-dev is only used for testing
apt and apt correctly implements DEB_BUILD_OPTIONS=nocheck now. So this
bug is about getting rid of the Build-Depends. Simply removing it (by
adding a build profile) is not sufficient however as configure fails
hard, so an additional bit is necessary to cover for that. So here you
have a patch. Hope you like it.

Helmut
diff --minimal -Nru apt-1.1.10/debian/changelog apt-1.1.10+nmu1/debian/changelog
--- apt-1.1.10/debian/changelog	2015-12-30 00:41:26.000000000 +0100
+++ apt-1.1.10+nmu1/debian/changelog	2016-01-03 14:11:36.000000000 +0100
@@ -1,3 +1,11 @@
+apt (1.1.10+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Allow building without libgtest-dev under the <nocheck> build profile
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 03 Jan 2016 14:11:03 +0100
+
 apt (1.1.10) unstable; urgency=medium
 
   [ David Kalnischkies ]
diff --minimal -Nru apt-1.1.10/debian/control apt-1.1.10+nmu1/debian/control
--- apt-1.1.10/debian/control	2015-12-30 00:41:26.000000000 +0100
+++ apt-1.1.10+nmu1/debian/control	2016-01-03 14:08:44.000000000 +0100
@@ -9,7 +9,7 @@
  gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.4~),
  zlib1g-dev, libbz2-dev, liblzma-dev,
  xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.34-2),
- autotools-dev, autoconf, automake, libgtest-dev,
+ autotools-dev, autoconf, automake, libgtest-dev <!nocheck>,
  g++ (>= 4:5.2)
 Build-Depends-Indep: doxygen, w3m, graphviz
 Build-Conflicts: autoconf2.13, automake1.4
diff --minimal -Nru apt-1.1.10/debian/rules apt-1.1.10+nmu1/debian/rules
--- apt-1.1.10/debian/rules	2015-12-30 00:41:26.000000000 +0100
+++ apt-1.1.10+nmu1/debian/rules	2016-01-03 14:10:40.000000000 +0100
@@ -60,6 +60,11 @@
 override BLD := ./build
 endif
 
+# When building without <nocheck>, the header is available and thus the test is
+# successful. When building with <nocheck>, the header is missing, but we still
+# pretend it to be available, because configure would fail otherwise.
+export ac_cv_header_gtest_gtest_h=yes
+
 # APT Programs in apt-utils
 APT_UTILS=ftparchive sortpkgs extracttemplates
 

--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 1.2~exp1

We believe that the bug you reported is fixed in the latest version of
apt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 809726@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Andres Klode <jak@debian.org> (supplier of updated apt package)

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


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 08 Jan 2016 21:41:10 +0100
Source: apt
Binary: apt libapt-pkg5.0 libapt-inst2.0 apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source
Version: 1.2~exp1
Distribution: experimental
Urgency: medium
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description:
 apt        - commandline package manager
 apt-doc    - documentation for APT
 apt-transport-https - https download transport for APT
 apt-utils  - package management related utility programs
 libapt-inst2.0 - deb package format runtime library
 libapt-pkg-dev - development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - documentation for APT development
 libapt-pkg5.0 - package management runtime library
Closes: 160743 747094 806775 809522 809726
Changes:
 apt (1.2~exp1) experimental; urgency=medium
 .
   [ Beatrice Torracca ]
   * Italian manpages translation update (Closes: 809522)
 .
   [ David Kalnischkies ]
   * add optional support for comments in pkgTagFile
   * support comments in debian/control parsing (Closes: 806775)
   * properly parse comments in apt_preferences and deb822-style sources
   * include all compressed Packages/Sources files in Release file
   * use one 'store' method to rule all (de)compressors
   * ensure compression cleanup even without lists-cleanup
   * allow pdiff bootstrap from all supported compressors
   * keep compressed indexes in a low-cost format
   * support '-' and no parameter for stdin in apt-helper cat-file
   * tests: limit autotest-functionname generation to sane characters
   * use filesize of compressed pdiffs for the limit if possible
   * remove uncompressed leftover partial file before pdiff bootstrap
 .
   [ Michael Vogt ]
   * Add support for APT::Periodic::CleanInterval.
     Thanks to Martin-Éric Racine
   * Add bash-completion support for the "apt" command (Closes: #747094)
   * Add new APT::Keep-Downloaded-Packages option (Closes: #160743)
 .
   [ Julian Andres Klode ]
   * Change compressor costs to be 100 apart
   * apt-cache: stats: Average is over used, not all, buckets
   * Increase APT::Cache-HashTableSize default to 50503
   * travis: pull liblz4-dev from wily
   * FileFd: (native) LZ4 support
   * apt-helper: cat-file: Add -C/--compress option
   * CopyFile: Use 64 * 1024 instead of 64000 as buffer size
   * acquire: Allow parallelizing methods without hosts
   * rred: Run in parallel
   * Introduce internal APT::StringView class
   * Switch performance critical code to use APT::StringView
   * pkgCacheGenerator::StoreString: Get rid of std::string
   * pkgCacheGenerator: CurMd5.Value() cannot be empty
   * AvailableDescriptionLanguages: Use one string for all iterations
   * NEWS: Document recompression of indices
   * Store the size of strings in the cache
   * libapt-pkg5.0: Add Breaks appstream (<< 0.9.0-3~)
 .
   [ Helmut Grohne ]
   * Allow building without libgtest-dev under <nocheck> build profile
     (Closes: #809726)
Checksums-Sha1:
 22e87947e9869105fbf22b60d55cdb7689a60256 2332 apt_1.2~exp1.dsc
 38ebcd3628da58b8bcd28e937468986840727f75 2012668 apt_1.2~exp1.tar.xz
Checksums-Sha256:
 f85f0b8f02043f6413b80a00899ecc5801a079a98af480db797a9958b1f7cc29 2332 apt_1.2~exp1.dsc
 2d511c4ea24943d6f1ba27100a38f83dbebbcdf82dd341d73021a68c411a8813 2012668 apt_1.2~exp1.tar.xz
Files:
 8172190561577d767e2b13dd23b1118c 2332 admin important apt_1.2~exp1.dsc
 42257cb92ca1f04d14ebc198a190bed4 2012668 admin important apt_1.2~exp1.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJWkCAwAAoJENc8OeVlgLOG6NwQALWIRsTiqu1/UVafNHOdQ8x/
35T7sbODZ0Wo2aKHdlr9GGaCRlAQdH6SnrDC/BFzSVEfaAEAP0vzg70QKEINiPMb
2oi0TxZ7AcFmuvn6hceqh//fD+EBJKD5BAevh5+0mIoISoKbqW+YTMkn4PzNzfXm
mB8C6wklGG8gE5qDonD4cJmWO4C9uKPqFKlanxFMQYjuKPj2x5Ld/PqfxacKSiWF
6Tumi+QpCdEW48UThkYaFumoEi97ATCtfnCcUgvD9+dvVT4cuKecg1bEJukBP+7/
DjHJIhzkryVQMmoTpuHCHWVrs61TmshteEjMdUuUvUIP3Dp2l4QfwVBpEx2yfK1/
9pAEGrikXE54fu4ppf3a4MaNrFOYGJNHbGhqnvfxb4xf49xuc/Rrp4jNfavpSF1x
YaxontgG6ecYo0JmX6ij9URGgeVzMpt2nOjPXYll5/DvI+AKV7YK+SwJQsspGfly
mYDfkvuC5Wp2TKYhxnsx3tkgY0PoZpd1tHmoZaHGIu4mBot1I6skztWlq0ivRBaw
0uNrrZ/tgRWpTi06clh6FdOlo9DGsyIAapOlFIYMAPAoNzYnupjEFjjtrUhxa/hj
ZvkZlISE4L8ay379scHaVqZ+vDR/D0+NRCmyJze7OjffqAE/W3a9zHiBx4L7CKyg
r1pyQrg5ZO9zuzRGGqBo
=H8WT
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: