🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #139

Bug#1150310: schroot: FTBFS: undefined reference to `boost::iostreams::file_descriptor::close()

#139
From: Sebastian Ramacher
Date: Thu, 08 Oct 2026 13:00
42 lines
9200 bytes
Source: schroot
Version: 1.6.13-8
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

schroot FTBFS with boost 1.92:

/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `void boost::iostreams::detail::close_impl<boost::iostreams::closable_tag>::close<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, std::_Ios_Openmode)':
/usr/include/boost/iostreams/close.hpp:220:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE10close_implESt13_Ios_Openmode[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE10close_implESt13_Ios_Openmode]+0x41): undefined reference to `boost::iostreams::file_descriptor::close()'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `std::fpos<__mbstate_t> boost::iostreams::detail::seek_device_impl<boost::iostreams::any_tag>::seek<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, long, std::_Ios_Seekdir, std::_Ios_Openmode)':
/usr/include/boost/iostreams/seek.hpp:137:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE13init_put_areaEv[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE13init_put_areaEv]+0x25): undefined reference to `boost::iostreams::file_descriptor::seek(long, std::_Ios_Seekdir)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `long boost::iostreams::detail::write_device_impl<boost::iostreams::output>::write<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, boost::iostreams::char_type_of<boost::iostreams::file_descriptor>::type const*, long)':
/usr/include/boost/iostreams/write.hpp:117:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9sync_implEv[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9sync_implEv]+0x33): undefined reference to `boost::iostreams::file_descriptor::write(char const*, long)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/include/boost/iostreams/write.hpp:117:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE8overflowEi[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE8overflowEi]+0x99): undefined reference to `boost::iostreams::file_descriptor::write(char const*, long)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `long boost::iostreams::detail::read_device_impl<boost::iostreams::input>::read<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, boost::iostreams::char_type_of<boost::iostreams::file_descriptor>::type*, long)':
/usr/include/boost/iostreams/read.hpp:182:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9underflowEv[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9underflowEv]+0x7e): undefined reference to `boost::iostreams::file_descriptor::read(char*, long)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `void boost::iostreams::detail::close_impl<boost::iostreams::closable_tag>::close<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, std::_Ios_Openmode)':
/usr/include/boost/iostreams/close.hpp:220:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE5closeEv[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE5closeEv]+0x10e): undefined reference to `boost::iostreams::file_descriptor::close()'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `boost::iostreams::stream<boost::iostreams::file_descriptor, std::char_traits<char>, std::allocator<char> >::stream<int, boost::iostreams::file_descriptor_flags>(int const&, boost::iostreams::file_descriptor_flags const&, boost::disable_if<boost::is_same<int, boost::iostreams::file_descriptor>, void>::type*)':
/usr/include/boost/iostreams/stream.hpp:144:(.text.startup+0x358): undefined reference to `boost::iostreams::file_descriptor::file_descriptor(int, boost::iostreams::file_descriptor_flags)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `boost::iostreams::file_descriptor boost::iostreams::detail::wrap<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor const&, boost::disable_if<boost::iostreams::is_std_io<boost::iostreams::file_descriptor>, void>::type*)':
/usr/include/boost/iostreams/detail/wrap_unwrap.hpp:53:(.text.startup+0x380): undefined reference to `boost::iostreams::file_descriptor::file_descriptor(boost::iostreams::file_descriptor const&)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `boost::iostreams::detail::concept_adapter<boost::iostreams::file_descriptor>::concept_adapter(boost::iostreams::file_descriptor const&)':
/usr/include/boost/iostreams/detail/adapter/concept_adapter.hpp:67:(.text.startup+0x3b8): undefined reference to `boost::iostreams::file_descriptor::file_descriptor(boost::iostreams::file_descriptor const&)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `boost::iostreams::detail::concept_adapter<boost::iostreams::file_descriptor>::concept_adapter(boost::iostreams::detail::concept_adapter<boost::iostreams::file_descriptor> const&)':
/usr/include/boost/iostreams/detail/adapter/concept_adapter.hpp:38:(.text.startup+0x3d6): undefined reference to `boost::iostreams::file_descriptor::file_descriptor(boost::iostreams::file_descriptor const&)'
/usr/bin/x86_64-linux-gnu-ld.bfd: ../sbuild/libsbuild.a(sbuild-ctty.cc.o): in function `std::fpos<__mbstate_t> boost::iostreams::detail::seek_device_impl<boost::iostreams::any_tag>::seek<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, long, std::_Ios_Seekdir, std::_Ios_Openmode)':
/usr/include/boost/iostreams/seek.hpp:137:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9seek_implElSt12_Ios_SeekdirSt13_Ios_Openmode[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9seek_implElSt12_Ios_SeekdirSt13_Ios_Openmode]+0x69): undefined reference to `boost::iostreams::file_descriptor::seek(long, std::_Ios_Seekdir)'
/usr/bin/x86_64-linux-gnu-ld.bfd: /usr/include/boost/iostreams/seek.hpp:137:(.text._ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9seek_implElSt12_Ios_SeekdirSt13_Ios_Openmode[_ZN5boost9iostreams6detail18indirect_streambufINS0_15file_descriptorESt11char_traitsIcESaIcENS0_8seekableEE9seek_implElSt12_Ios_SeekdirSt13_Ios_Openmode]+0xcd): undefined reference to `boost::iostreams::file_descriptor::seek(long, std::_Ios_Seekdir)'
collect2: error: ld returned 1 exit status

See
https://buildd.debian.org/status/fetch.php?pkg=schroot&arch=amd64&ver=1.6.13-8%2Bb1&stamp=1791429566&raw=0
for details.

Cheers
-- 
Sebastian Ramacher
Technical Details
Message-ID: <NLVT4-4gJa-7@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Sebastian Ramacher <sramacher@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150310: schroot: FTBFS: undefined reference to `boost::iostreams::file_descriptor::close()
Date: Thu, 08 Oct 2026 15:00:02 +0200
Message-ID: <NLVT4-4gJa-7@gated-at.bofh.it>
X-Original-To: Debian Bug Tracking System <submit@bugs.debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Oct  8 12:59:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Sebastian Ramacher <sramacher@debian.org>, 1150310@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: sramacher@debian.org, debian.axhn@manchmal.in-ulm.de
X-Debian-Pr-Message: report 1150310
X-Debian-Pr-Package: src:schroot
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: schroot
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 13.2.0
X-Debian-User: sramacher
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995710
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 42
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Thu, 8 Oct 2026 14:57:13 +0200
X-Original-Message-ID: <aseTKX-pQz1Yai0X@ramacher.at>