Your message dated Tue, 01 Mar 2011 00:47:31 +0000
with message-id <[email protected]>
and subject line Bug#612510: fixed in schroot 1.4.20-1
has caused the Debian Bug report #612510,
regarding build issue with boost 1.46
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 [email protected]
immediately.)


-- 
612510: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612510
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: schroot
Version: 1.4.19

When I build schroot with boost 1.46, I get this error:

sbuild-chroot-config.cc: In member function 'void 
sbuild::chroot_config::add_config_directory(const string&, const string&)':
sbuild-chroot-config.cc:170:32: error: 'class 
boost::filesystem3::directory_entry' has no member named 'leaf

As was suggested on the Fedora development list, substituting 
path().filename().string() for leaf() seems to fix the problem.  I'm attaching 
a 
patch which does this.

-Zach
--- sbuild/sbuild-chroot-config.cc.orig	2011-02-07 09:22:04.000000000 -0800
+++ sbuild/sbuild-chroot-config.cc	2011-02-07 09:22:13.000000000 -0800
@@ -167,7 +167,7 @@
        dirent != end_iter;
        ++dirent)
     {
-      std::string name(dirent->leaf());
+      std::string name(dirent->path().filename().string());
 
       // Skip common directories.
       if (name == "." || name == "..")
--- sbuild/sbuild-run-parts.cc.orig	2011-02-07 10:35:10.000000000 -0800
+++ sbuild/sbuild-run-parts.cc	2011-02-07 10:35:20.000000000 -0800
@@ -81,7 +81,7 @@
        dirent != end_iter;
        ++dirent)
     {
-      std::string name(dirent->leaf());
+      std::string name(dirent->path().filename().string());
 
       // Skip common directories.
       if (name == "." || name == "..")

--- End Message ---
--- Begin Message ---
Source: schroot
Source-Version: 1.4.20-1

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

dchroot-dsa_1.4.20-1_amd64.deb
  to main/s/schroot/dchroot-dsa_1.4.20-1_amd64.deb
dchroot_1.4.20-1_amd64.deb
  to main/s/schroot/dchroot_1.4.20-1_amd64.deb
libsbuild-dev_1.4.20-1_amd64.deb
  to main/s/schroot/libsbuild-dev_1.4.20-1_amd64.deb
libsbuild-doc_1.4.20-1_all.deb
  to main/s/schroot/libsbuild-doc_1.4.20-1_all.deb
schroot-common_1.4.20-1_all.deb
  to main/s/schroot/schroot-common_1.4.20-1_all.deb
schroot-dbg_1.4.20-1_amd64.deb
  to main/s/schroot/schroot-dbg_1.4.20-1_amd64.deb
schroot_1.4.20-1.debian.tar.gz
  to main/s/schroot/schroot_1.4.20-1.debian.tar.gz
schroot_1.4.20-1.dsc
  to main/s/schroot/schroot_1.4.20-1.dsc
schroot_1.4.20-1_amd64.deb
  to main/s/schroot/schroot_1.4.20-1_amd64.deb
schroot_1.4.20.orig.tar.bz2
  to main/s/schroot/schroot_1.4.20.orig.tar.bz2



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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Roger Leigh <[email protected]> (supplier of updated schroot 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 [email protected])


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

Format: 1.8
Date: Mon, 28 Feb 2011 08:10:15 +0000
Source: schroot
Binary: schroot-common libsbuild-dev schroot-dbg libsbuild-doc schroot dchroot 
dchroot-dsa
Architecture: source all amd64
Version: 1.4.20-1
Distribution: unstable
Urgency: low
Maintainer: Debian buildd-tools Developers 
<[email protected]>
Changed-By: Roger Leigh <[email protected]>
Description: 
 dchroot    - Execute commands in a chroot environment
 dchroot-dsa - Execute commands in a chroot environment
 libsbuild-dev - development files for the Debian source builder
 libsbuild-doc - development documentation for the Debian source builder
 schroot    - Execute commands in a chroot environment
 schroot-common - common files for schroot
 schroot-dbg - schroot, dchroot and dchroot-dsa debuggging symbols
Closes: 612510
Changes: 
 schroot (1.4.20-1) unstable; urgency=low
 .
   * New upstream stable release.
   * Add support for the Boost filesystem v3 library, to permit building
     with Boost version 1.46 (Closes: #612510).  Older versions of Boost
     continue to be supported.  Thanks to Zach Carter for the initial
     patch and testing.
   * Build with Boost 1.46
   * Remove versions from build dependencies where the required version
     is also present in stable and oldstable
Checksums-Sha1: 
 3ef1260a1a8bec5e87d4c7a117de3475b7436d91 1527 schroot_1.4.20-1.dsc
 4ae77a3ff14cf9a35c577cf24b2d4e8448a08858 790999 schroot_1.4.20.orig.tar.bz2
 5c332ad8e5072b29de57b7434dd9cedc6e9c4b44 23375 schroot_1.4.20-1.debian.tar.gz
 e74a5912d5100c6864c1702e0e2721013a5550a5 250910 schroot-common_1.4.20-1_all.deb
 0a5b60b5005a9556e8ed1dc693ca26de13062e3b 7184262 libsbuild-doc_1.4.20-1_all.deb
 12a3f48b131528bd360695ef9a6e0d8dedb80ba2 1866200 
libsbuild-dev_1.4.20-1_amd64.deb
 8c8cc8a52caebd1d2ebb95804539beb07297149a 16781904 
schroot-dbg_1.4.20-1_amd64.deb
 b7926d147640fdfa413f192ddbe73591e307ca10 920296 schroot_1.4.20-1_amd64.deb
 1bcaa02039362de68addc3966f30f19f6d24c16e 399810 dchroot_1.4.20-1_amd64.deb
 effc8eafc3d31083718ce7454671dba4935bbfcd 399094 dchroot-dsa_1.4.20-1_amd64.deb
Checksums-Sha256: 
 8fdaa6baccb1d4941494ec2abea464c900d3ae07bf313e1d96a38ce686985c54 1527 
schroot_1.4.20-1.dsc
 3dabe58025775a1f4ac0c30385f96b8968ed0d0c15b051944cbadccc66369390 790999 
schroot_1.4.20.orig.tar.bz2
 8abf9c0762f7564c3e2c070fcc1694bb137f553392567f1b73da62ca63476008 23375 
schroot_1.4.20-1.debian.tar.gz
 73c07352fa22696886944c27bf2b85d26f7bfcbc6dfe3c0ae5bd28e33a383e9f 250910 
schroot-common_1.4.20-1_all.deb
 be76771b7fce00fcecfe142194a24ab3aac4cd132ef67c811f7e214645f5eddc 7184262 
libsbuild-doc_1.4.20-1_all.deb
 259ad5e9f0c82980632df5cb8e2a73298a3ed0460ba3ea971e0f68afede65b70 1866200 
libsbuild-dev_1.4.20-1_amd64.deb
 93928f80f41ac7b0b1e63331201ff048bbd30c28b295d6c028fe16b5365c0acd 16781904 
schroot-dbg_1.4.20-1_amd64.deb
 21231ca4c228809e0e6b725cd8ae6dc30dd70b5d13e6a0c3edeca0462d019350 920296 
schroot_1.4.20-1_amd64.deb
 c5a1797a69be8160c753853e8d75160edee1fdcca980a4032b92e80423071701 399810 
dchroot_1.4.20-1_amd64.deb
 c56b18f11856536d02338679bf45b38749c6d66dcabf3e84bf041f5b678e90bf 399094 
dchroot-dsa_1.4.20-1_amd64.deb
Files: 
 863a8be49cfe7a6cf4b44adf4fccec8a 1527 admin optional schroot_1.4.20-1.dsc
 dd03e8be69d87869a67a65fa1877fee4 790999 admin optional 
schroot_1.4.20.orig.tar.bz2
 883b14d2b96f6dcba689f13e3c05255b 23375 admin optional 
schroot_1.4.20-1.debian.tar.gz
 4b166570835732f2edc80bfbcea58410 250910 admin optional 
schroot-common_1.4.20-1_all.deb
 bc181d5019345a6c2986ba14aa7e2647 7184262 doc optional 
libsbuild-doc_1.4.20-1_all.deb
 656a41e5cd7014926cc0828a14fc9f24 1866200 libdevel optional 
libsbuild-dev_1.4.20-1_amd64.deb
 5359a9f5ddb52067e7a1c04d777f73fa 16781904 debug extra 
schroot-dbg_1.4.20-1_amd64.deb
 53179afaf1c8aec9491e343cef40e558 920296 admin optional 
schroot_1.4.20-1_amd64.deb
 4fec1f5e44b50367f9c96fe0455efd6b 399810 admin optional 
dchroot_1.4.20-1_amd64.deb
 e45ce7e459c01916631cda54d37945c4 399094 admin optional 
dchroot-dsa_1.4.20-1_amd64.deb

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

iEYEAREDAAYFAk1sPQYACgkQVcFcaSW/uEjKKgCg7fPuelx4V3vFgwYQMfWuQz4o
oRIAn1GXXBqlsG8FttGKYOltkXZ10JQG
=S4h9
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to