touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #104593
[Bug 1477299] Re: please fix building apt using gcc-snapshot
This bug was fixed in the package apt - 1.0.9.10ubuntu7
---------------
apt (1.0.9.10ubuntu7) wily; urgency=medium
* cherry pick 353c135 to fix build failure with gcc-snapshot
(LP: #1477299)
-- Michael Vogt <michael.vogt@xxxxxxxxxx> Fri, 18 Sep 2015 10:02:55
+0200
** Changed in: apt (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1477299
Title:
please fix building apt using gcc-snapshot
Status in apt package in Ubuntu:
Fix Released
Bug description:
please fix building apt using gcc-snapshot. I'd like to check the
possible wrong-code issue with the GCC trunk version. The build fails
with:
In file included from ../build/include/apt-pkg/algorithms.h:35:0,
from /scratch/doko/tmp/apt-1.0.9.10ubuntu4/cmdline/apt-get.cc:31:
../build/include/apt-pkg/depcache.h: In member function 'bool pkgDepCache::MarkAndSweep()':
../build/include/apt-pkg/depcache.h:406:11: warning: 'template<class> class std::auto_ptr' is deprecated [-Wd
eprecated-declarations]
std::auto_ptr<InRootSetFunc> f(GetRootSetFunc());
^
In file included from /usr/lib/gcc-snapshot/include/c++/6.0.0/memory:81:0,
from ../build/include/apt-pkg/depcache.h:48,
from ../build/include/apt-pkg/algorithms.h:35,
from /scratch/doko/tmp/apt-1.0.9.10ubuntu4/cmdline/apt-get.cc:31:
/usr/lib/gcc-snapshot/include/c++/6.0.0/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
/scratch/doko/tmp/apt-1.0.9.10ubuntu4/cmdline/apt-get.cc: In function 'bool DoDownload(CommandLine&)':
/scratch/doko/tmp/apt-1.0.9.10ubuntu4/cmdline/apt-get.cc:633:36: error: no matching function for call to 'APT::CacheSetHelper::CacheSetHelper(std::ostream&)'
APT::CacheSetHelper helper(c0out);
^
In file included from /scratch/doko/tmp/apt-1.0.9.10ubuntu4/cmdline/apt-get.cc:34:0:
../build/include/apt-pkg/cacheset.h:49:2: note: candidate: APT::CacheSetHelper::CacheSetHelper(bool, GlobalError::MsgType)
CacheSetHelper(bool const ShowError = true,
^
../build/include/apt-pkg/cacheset.h:49:2: note: no known conversion for argument 1 from 'std::ostream {aka std::basic_ostream<char>}' to 'bool'
../build/include/apt-pkg/cacheset.h:39:7: note: candidate: constexpr APT::CacheSetHelper::CacheSetHelper(const APT::CacheSetHelper&)
class CacheSetHelper { /*{{{*/
^
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1477299/+subscriptions
References