FTBFS in Lunar against doctest 2.4.9

Bug #2006772 reported by Dan Bungert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
notcurses (Debian)
New
Unknown
notcurses (Ubuntu)
Fix Released
Undecided
Dan Bungert

Bug Description

notcurses will FTBFS on recent Lunar, as follows:

In file included from /tmp/autopkgtest.ydP0gv/build.79w/real-tree/src/tests/main.h:9,
                 from /tmp/autopkgtest.ydP0gv/build.79w/real-tree/src/tests/bitmap.cpp:1:
/usr/include/doctest/doctest.h: In instantiation of ‘static void doctest::detail::filldata<T*>::fill(std::ostream*, const T*) [with T = int(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int); std::ostream = std::basic_ostream<char>]’:
/usr/include/doctest/doctest.h:1025:26: required from ‘void doctest::detail::filloss(std::ostream*, const T&) [with T = int (*)(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int); std::ostream = std::basic_ostream<char>]’
/usr/include/doctest/doctest.h:1038:16: required from ‘doctest::String doctest::detail::toStream(const T&) [with T = int (*)(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int)]’
/usr/include/doctest/doctest.h:1046:28: required from ‘static doctest::String doctest::detail::StringMakerBase<true>::convert(const T&) [with T = int (*)(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int)]’
/usr/include/doctest/doctest.h:1079:35: required from ‘doctest::String doctest::toString(const T&) [with T = int (*)(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int); typename detail::types::enable_if<(! detail::types::is_enum<T>::value), bool>::type <anonymous> = true]’
/usr/include/doctest/doctest.h:1476:32: required from ‘doctest::detail::Expression_lhs<L>::operator doctest::detail::Result() [with L = int (*&)(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int)]’
/tmp/autopkgtest.ydP0gv/build.79w/real-tree/src/tests/bitmap.cpp:20:7: required from here
/usr/include/doctest/doctest.h:1166:49: error: invalid conversion from ‘int (*)(const tinfo*, const ncpile*, sprixel*, fbuf*, int, int)’ to ‘const void*’ [-fpermissive]
 1166 | filldata<const void*>::fill(stream, in);

notcurses-3.0.9 fixes this

Dan Bungert (dbungert)
Changed in notcurses (Ubuntu):
assignee: nobody → Dan Bungert (dbungert)
Dan Bungert (dbungert)
Changed in notcurses (Ubuntu):
status: New → Fix Committed
Dan Bungert (dbungert)
summary: - FTBFS in Lunar
+ FTBFS in Lunar against doctest 2.4.9
Revision history for this message
nick black (dankamongmen) wrote :

so this is a known flaw in doctest 2.4.9, which has been repaired upstream, but 2.4.10 has not yet been released (doctest underwent a change in maintainership this summer). several other distros have taken in the patch to fix doctest. would you like me to find it?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package notcurses - 3.0.7+dfsg.1-1ubuntu2

---------------
notcurses (3.0.7+dfsg.1-1ubuntu2) lunar; urgency=medium

  * Cherry-pick workaround for FTBFS with doctest 2.4.9 (LP: #2006772)

 -- Dan Bungert <email address hidden> Thu, 09 Feb 2023 12:17:33 -0700

Changed in notcurses (Ubuntu):
status: Fix Committed → Fix Released
Changed in notcurses (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.