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

Bug#539742: marked as done (apt: FTBFS on GNU/kFreeBSD (due to mremap))



Your message dated Mon, 03 Aug 2009 13:02:06 +0000
with message-id <E1MXxB0-00031Q-Tu@ries.debian.org>
and subject line Bug#539742: fixed in apt 0.7.22.1
has caused the Debian Bug report #539742,
regarding apt: FTBFS on GNU/kFreeBSD (due to mremap)
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.)


-- 
539742: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539742
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Severity: important
Version: 0.7.22
Tags: patch
User: glibc-bsd-devel@lists.alioth.debian.org
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

From "man mremap":
"This call is Linux-specific, and should not be used in programs intended to be portable."

Please guard usage of mremap() as shown bellow.
The MREMAP_* defines are available only on Linux architectures,
they can serve as signal of mremap() availability.

Thanks in advance

                        Petr

--- apt-pkg/contrib/mmap.cc
+++ apt-pkg/contrib/mmap.cc
@@ -317,7 +317,7 @@
    but why we should not at least try to grow it before we give up? */
 bool DynamicMMap::Grow()
 {
-#ifdef _POSIX_MAPPED_FILES
+#if defined(_POSIX_MAPPED_FILES) && defined(MREMAP_MAYMOVE) && defined(MREMAP_FIXED)
    unsigned long newSize = WorkSpace + 1024*1024;

    if(Fd != 0)




--- End Message ---
--- Begin Message ---
Source: apt
Source-Version: 0.7.22.1

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:

apt-doc_0.7.22.1_all.deb
  to pool/main/a/apt/apt-doc_0.7.22.1_all.deb
apt-transport-https_0.7.22.1_amd64.deb
  to pool/main/a/apt/apt-transport-https_0.7.22.1_amd64.deb
apt-utils_0.7.22.1_amd64.deb
  to pool/main/a/apt/apt-utils_0.7.22.1_amd64.deb
apt_0.7.22.1.dsc
  to pool/main/a/apt/apt_0.7.22.1.dsc
apt_0.7.22.1.tar.gz
  to pool/main/a/apt/apt_0.7.22.1.tar.gz
apt_0.7.22.1_amd64.deb
  to pool/main/a/apt/apt_0.7.22.1_amd64.deb
libapt-pkg-dev_0.7.22.1_amd64.deb
  to pool/main/a/apt/libapt-pkg-dev_0.7.22.1_amd64.deb
libapt-pkg-doc_0.7.22.1_all.deb
  to pool/main/a/apt/libapt-pkg-doc_0.7.22.1_all.deb



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 539742@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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Format: 1.8
Date: Mon, 03 Aug 2009 12:48:31 +0200
Source: apt
Binary: apt apt-doc libapt-pkg-dev libapt-pkg-doc apt-utils apt-transport-https
Architecture: source all amd64
Version: 0.7.22.1
Distribution: unstable
Urgency: low
Maintainer: APT Development Team <deity@lists.debian.org>
Changed-By: Julian Andres Klode <jak@debian.org>
Description: 
 apt        - Advanced front-end for dpkg
 apt-doc    - Documentation for APT
 apt-transport-https - APT https transport
 apt-utils  - APT utility programs
 libapt-pkg-dev - Development files for APT's libapt-pkg and libapt-inst
 libapt-pkg-doc - Documentation for APT development
Closes: 535362 539731 539742
Changes: 
 apt (0.7.22.1) unstable; urgency=low
 .
   [ Michael Vogt ]
   * cmdline/apt-get.cc:
     - honor APT::Get::Only-Source properly in FindSrc() (thanks to
       Martin Pitt for reporting the problem), also Closes: #535362.
 .
   [ Julian Andres Klode ]
   * apt-pkg/contrib/mmap.cc:
     - Fix FTBFS on GNU/kFreeBSD by disabling DynamicMMap::Grow() on
       non-Linux architectures as it uses mremap (Closes: #539742).
   * apt-pkg/sourcelist.cc:
     - Only warn about missing sources.list if there is no sources.list.d
       and vice versa as only one of them is needed (Closes: #539731).
   * debian/control:
     - Add myself to Uploaders.
     - Increase Standards-Version to 3.8.2.0.
Checksums-Sha1: 
 350bd6a4a3571eeacca3943b69e2afbc8af5b3d1 1219 apt_0.7.22.1.dsc
 569eb15700891200f5dda6eff5389a33fae8738e 2123687 apt_0.7.22.1.tar.gz
 5860943f5f25c96bfd5b8ddb88ae10898ad7face 103948 apt-doc_0.7.22.1_all.deb
 33b39f50a621afdcd3980fa52103764f608d4438 126220 libapt-pkg-doc_0.7.22.1_all.deb
 6e0cdf6b9ed312b2451d45bfda3b005650816093 1636334 apt_0.7.22.1_amd64.deb
 92dc97fc10a6ff706dd2faef75caf60627765016 112806 libapt-pkg-dev_0.7.22.1_amd64.deb
 2cb7fd83defbbf9f5b9e99b94c7fb05ca5301a77 194378 apt-utils_0.7.22.1_amd64.deb
 6d7557c5c51fa5d80c4c69951941a0db9fb261ed 61934 apt-transport-https_0.7.22.1_amd64.deb
Checksums-Sha256: 
 23cbd9b7a8fe7faae8db3d6e1fc0f5395eaeda88cd5fdfc467247a692aa7216d 1219 apt_0.7.22.1.dsc
 499b32076a0f45bb749934b29d330f696b0171923eec8fed4399e8c8f5bb5ac9 2123687 apt_0.7.22.1.tar.gz
 13a3f1c6e033eea0349c503d457a547d668222b5fa4712b9025b11f10683b82b 103948 apt-doc_0.7.22.1_all.deb
 89f51920a8f2d3056b277da3b58c65a559e6ff273caa05b0b78b06743da3ad47 126220 libapt-pkg-doc_0.7.22.1_all.deb
 8830e7c2d59d9c549f40d1ed24c3a1414ddcae9bbfc0b9e54bf8e76ace7d048e 1636334 apt_0.7.22.1_amd64.deb
 ccd2d43a9db8d107c1539ac68d408bdcfa43e264b77a781f87e0d5649edfaabd 112806 libapt-pkg-dev_0.7.22.1_amd64.deb
 cd84b7a9f52ef5ab24e94d177bb77142632eab9797d337873a89168ca64f0c73 194378 apt-utils_0.7.22.1_amd64.deb
 98dab5e8db61ac110d6c09db8bf6174918a2e140d135afe313ef4ae76111e6af 61934 apt-transport-https_0.7.22.1_amd64.deb
Files: 
 d3ac6f1ed0b7cafb4e14ca8286f4b3fc 1219 admin important apt_0.7.22.1.dsc
 871adfcb9c164b6025694c22eb803139 2123687 admin important apt_0.7.22.1.tar.gz
 068dfb23c83db42ae53006469b43803a 103948 doc optional apt-doc_0.7.22.1_all.deb
 4862e7cef5f543444a7fc1992e23bb26 126220 doc optional libapt-pkg-doc_0.7.22.1_all.deb
 570a708b247f39a0cf58c39f893699ec 1636334 admin important apt_0.7.22.1_amd64.deb
 546a007d7a519bb75a7ad5128d60b024 112806 libdevel optional libapt-pkg-dev_0.7.22.1_amd64.deb
 bea31ef27eca5cef72fb07cd5bdb0a3f 194378 admin important apt-utils_0.7.22.1_amd64.deb
 a9fe417e3954b5370d4ca61032f058a1 61934 admin optional apt-transport-https_0.7.22.1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEAREDAAYFAkp20FMACgkQrCpf/gCCPsLOigCeMwPb1RC9qlODf3uoKjTXdZ5Y
Vh0AnjML5Mqu59U2yi64ishwT1u1deGa
=zOVi
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: