🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #200

Bug#1150269: marked as done (pytorch: FTBFS: error: no matching function for call to ‘format_decimal<char>(std::ostreambuf_iter...

#200
From: Debian Bug Tracking System
Date: Fri, 09 Oct 2026 06:30
627 lines
35146 bytes
This is a multi-part message in MIME format...

------------=_1791526987-325052-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Fri, 09 Oct 2026 06:19:09 +0000
with message-id <E1xF3wj-0000000FDgE-2hnz@fasolo.debian.org>
and subject line Bug#1150269: fixed in pytorch 2.12.1+dfsg-2
has caused the Debian Bug report #1150269,
regarding pytorch: FTBFS: error: no matching function for call to =E2=80=98=
format_decimal<char>(std::ostreambuf_iterator<char, std::char_traits<char> =
>&, unsigned int&, int)=E2=80=99
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.)


--=20
1150269: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1150269
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1791526987-325052-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 7 Oct 2026 19:58:59 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-107.3 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
	FOURLA,FROMDEVELOPER,FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_PASS,
	USER_IN_DKIM_WELCOMELIST autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 145; hammy, 150; neutral, 264; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <sramacher@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:33370)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sramacher@debian.org>)
	id 1xEXn1-004urY-0e
	for submit@bugs.debian.org;
	Wed, 07 Oct 2026 19:58:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:Content-Transfer-Encoding:Content-Type
	:MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=6DKA3r5LtvzvzD8rIN0fv+pFEhOKjm5+z3e/byQ4woU=; b=watyAesuMp7kkiMTDu/MZsQvV3
	CzgyNcnyOZZ9aNOJ+/h2S6WgNLy89Vpi53cXzL9FYWRfsi67eQobgMkMZEGfOpRf7uVH2kfKwiffy
	pVTcZzs3hxBwMYRRH+RvQPJzW816rt2UDwWRW16t09seirr86kt/UoSEqQ+xVMu/jDh/uPgqv+8sb
	Z5uzPZK2XFifiKzxF8tXR1s+U4idjRqkTssf+rxYa0Ul8uks2XG6q0hrFeOlQHnMmLqfPQSvIlKA5
	4nUfq2FuT9VLXQPV/aseB9Uhh4Ys6x61LCKmAbYdvQcdtifaF806o2Dj1fz4eosi7zHTCEt5tLezH
	WAAaqkJg==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sramacher@debian.org>)
	id 1xEXmz-004zXx-2X
	for submit@bugs.debian.org;
	Wed, 07 Oct 2026 19:58:57 +0000
Received: by jupiter.ramacher.at (Postfix, from userid 1000)
	id 6E0181000DFB7; Wed, 07 Oct 2026 21:58:57 +0200 (CEST)
Date: Wed, 7 Oct 2026 21:58:57 +0200
From: Sebastian Ramacher <sramacher@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: pytorch: FTBFS: error: no =?utf-8?Q?matchi?=
 =?utf-8?Q?ng_function_for_call_to_=E2=80=98format=5Fdecimal=3Cchar=3E=28s?=
 =?utf-8?Q?td=3A=3Aostreambuf=5Fiterator=3Cchar=2C_std=3A=3Achar=5Ftraits?=
 =?utf-8?B?PGNoYXI+ID4mLCB1bnNpZ25lZCBpbnQmLCBpbnQp4oCZ?=
Message-ID: <asakgXdvhT8pzWgI@ramacher.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Reportbug-Version: 13.2.0+nmu1
X-Debian-User: sramacher
Delivered-To: submit@bugs.debian.org

Source: pytorch
Version: 2.12.1+dfsg-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the pa=
st)
X-Debbugs-Cc: sramacher@debian.org

Dear maintainer,

pytorch FTBFS with the new fmtlib:

  FAILED: [code=3D1] caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/=
Formatting.cpp.o
  /usr/bin/c++ -DAT_PER_OPERATOR_HEADERS -DBUILD_ONEDNN_GRAPH -DCAFFE2_BUIL=
D_MAIN_LIB -DDNNL_EXPERIMENTAL_UKERNEL -DENABLE_IPC_FABRIC -DHAVE_MALLOC_US=
ABLE_SIZE=3D1 -DHAVE_MMAP=3D1 -DHAVE_POSIX_FALLOCATE=3D1 -DHAVE_SHM_OPEN=3D=
1 -DHAVE_SHM_UNLINK=3D1 -DKINETO_NAMESPACE=3Dlibkineto -DMINIZ_DISABLE_ZIP_=
READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=3D1 -DONNX_ML=3D1 -DONNX_NAMESPACE=
=3Donnx -DTORCH_ENABLE_LLVM -DUSE_C10D_GLOO -DUSE_C10D_MPI -DUSE_DISTRIBUTE=
D -DUSE_EXTERNAL_MZCRC -DUSE_RPC -DUSE_TENSORPIPE -D_FILE_OFFSET_BITS=3D64 =
-Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/build/reproduci=
ble-path/pytorch-2.12.1+dfsg/build/aten/src -I/build/reproducible-path/pyto=
rch-2.12.1+dfsg/aten/src -I/build/reproducible-path/pytorch-2.12.1+dfsg/bui=
ld -I/build/reproducible-path/pytorch-2.12.1+dfsg -I/usr/lib/llvm-21/includ=
e -I/build/reproducible-path/pytorch-2.12.1+dfsg/moodycamel -I/build/reprod=
ucible-path/pytorch-2.12.1+dfsg/torch/csrc/api -I/build/reproducible-path/p=
ytorch-2.12.1+dfsg/torch/csrc/api/include -I/build/reproducible-path/pytorc=
h-2.12.1+dfsg/caffe2/aten/src/TH -I/build/reproducible-path/pytorch-2.12.1+=
dfsg/build/caffe2/aten/src/TH -I/build/reproducible-path/pytorch-2.12.1+dfs=
g/build/caffe2/aten/src -I/build/reproducible-path/pytorch-2.12.1+dfsg/buil=
d/caffe2/../aten/src -I/build/reproducible-path/pytorch-2.12.1+dfsg/torch/c=
src -I/build/reproducible-path/pytorch-2.12.1+dfsg/torch/headeronly -I/buil=
d/reproducible-path/pytorch-2.12.1+dfsg/third_party/miniz-3.0.2 -I/build/re=
producible-path/pytorch-2.12.1+dfsg/debian/kineto/libkineto/include -I/buil=
d/reproducible-path/pytorch-2.12.1+dfsg/debian/kineto/libkineto/src -I/buil=
d/reproducible-path/pytorch-2.12.1+dfsg/third_party/cpp-httplib -I/build/re=
producible-path/pytorch-2.12.1+dfsg/third_party/nlohmann/include -I/build/r=
eproducible-path/pytorch-2.12.1+dfsg/build/vulkan -I/build/reproducible-pat=
h/pytorch-2.12.1+dfsg/aten/../third_party/VulkanMemoryAllocator -I/build/re=
producible-path/pytorch-2.12.1+dfsg/aten/src/ATen/.. -I/build/reproducible-=
path/pytorch-2.12.1+dfsg/c10/.. -I/build/reproducible-path/pytorch-2.12.1+d=
fsg/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/build/reproducibl=
e-path/pytorch-2.12.1+dfsg/aten/src/ATen/native/quantized/cpu/qnnpack/src -=
I/build/reproducible-path/pytorch-2.12.1+dfsg/aten/src/ATen/native/quantize=
d/cpu/qnnpack/deps/clog/include -I/build/reproducible-path/pytorch-2.12.1+d=
fsg/third_party/flatbuffers/include -isystem /build/reproducible-path/pytor=
ch-2.12.1+dfsg/cmake/../third_party/googletest/googlemock/include -isystem =
/build/reproducible-path/pytorch-2.12.1+dfsg/cmake/../third_party/googletes=
t/googletest/include -isystem /build/reproducible-path/pytorch-2.12.1+dfsg/=
cmake/../third_party/eigen -isystem /usr/include/oneapi/dnnl -isystem /buil=
d/reproducible-path/pytorch-2.12.1+dfsg/INTERFACE -isystem /usr/include/con=
currentqueue -isystem /build/reproducible-path/pytorch-2.12.1+dfsg/caffe2 -=
isystem /usr/lib/x86_64-linux-gnu/openmpi/include -isystem /usr/lib/x86_64-=
linux-gnu/openmpi/include/openmpi -Wdate-time -D_FORTIFY_SOURCE=3D2 -g -O2 =
-ffile-prefix-map=3D/build/reproducible-path/pytorch-2.12.1+dfsg=3D. -fstac=
k-protector-strong -fstack-clash-protection -Wformat -Werror=3Dformat-secur=
ity -fcf-protection -Wno-dangling-reference  -I/usr -fvisibility-inlines-hi=
dden -DUSE_PTHREADPOOL -DUSE_KINETO -DLIBKINETO_NOCUPTI -DLIBKINETO_NOROCTR=
ACER -DLIBKINETO_NOXPUPTI=3DON -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DUSE_VU=
LKAN -DUSE_VULKAN_API -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -DC10_NOD=
EPRECATED -Wall -Wextra -Werror=3Dreturn-type -Werror=3Dnon-virtual-dtor -W=
error=3Drange-loop-construct -Werror=3Dbool-operation -Wnarrowing -Wno-miss=
ing-field-initializers -Wno-unknown-pragmas -Wno-unused-parameter -Wno-stri=
ct-overflow -Wno-strict-aliasing -Wno-stringop-overflow -Wsuggest-override =
-Wno-psabi -Wno-error=3Dold-style-cast -faligned-new -Wno-maybe-uninitializ=
ed -fno-math-errno -fno-trapping-math -Werror=3Dformat -Wno-dangling-refere=
nce -Wno-error=3Ddangling-reference -Wno-stringop-overflow -DHAVE_AVX512_CP=
U_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -O2 -g -DNDEBUG -fPIC -fdiagnostics=
-color=3Dalways -DTORCH_USE_LIBUV -DCAFFE2_USE_GLOO -Wall -Wextra -Wdepreca=
ted -Wunused -Wno-unused-parameter -Wno-missing-field-initializers -Wno-arr=
ay-bounds -Wno-unknown-pragmas -Wno-strict-overflow -Wno-strict-aliasing -W=
redundant-move -Wno-interference-size -Wno-maybe-uninitialized -fvisibility=
=3Dhidden -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen=
/core/Formatting.cpp.o -MF caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen=
/core/Formatting.cpp.o.d -o caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATe=
n/core/Formatting.cpp.o -c /build/reproducible-path/pytorch-2.12.1+dfsg/ate=
n/src/ATen/core/Formatting.cpp
  In file included from /usr/include/fmt/compile.h:15,
                   from /build/reproducible-path/pytorch-2.12.1+dfsg/aten/s=
rc/ATen/core/Formatting.cpp:3:
  /usr/include/fmt/format.h: In instantiation of =E2=80=98constexpr OutputI=
t fmt::v11::detail::write_exponent(int, OutputIt) [with Char =3D char; Outp=
utIt =3D std::ostreambuf_iterator<char, std::char_traits<char> >]=E2=80=99:
  /usr/include/fmt/format.h:2373:34:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::do_write_float(OutputIt, const DecimalFP&, const fm=
t::v11::format_specs&, fmt::v11::sign, locale_ref) [with Char =3D char; Out=
putIt =3D std::ostreambuf_iterator<char, std::char_traits<char> >; DecimalF=
P =3D dragonbox::decimal_fp<double>; Grouping =3D fallback_digit_grouping<c=
har>]=E2=80=99
   2373 |       return write_exponent<Char>(output_exp, it);
        |              ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:2453:57:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::write_float(OutputIt, const DecimalFP&, const fmt::=
v11::format_specs&, fmt::v11::sign, locale_ref) [with Char =3D char; Output=
It =3D std::ostreambuf_iterator<char, std::char_traits<char> >; DecimalFP =
=3D dragonbox::decimal_fp<double>]=E2=80=99
   2452 |     return do_write_float<Char, OutputIt, DecimalFP,
        |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2453 |                           fallback_digit_grouping<Char>>(out, f, =
specs, s, loc);
        |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~=
~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:3310:31:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::write_float(OutputIt, T, fmt::v11::format_specs, lo=
cale_ref) [with Char =3D char; OutputIt =3D std::ostreambuf_iterator<char, =
std::char_traits<char> >; T =3D double]=E2=80=99
   3310 |       return write_float<Char>(out, dec, specs, s, loc);
        |              ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:3347:33:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::write(OutputIt, T, fmt::v11::format_specs, locale_r=
ef) [with Char =3D char; OutputIt =3D std::ostreambuf_iterator<char, std::c=
har_traits<char> >; T =3D double; typename std::enable_if<std::integral_con=
stant<bool, (std::is_floating_point<T>::value || std::is_same<T, __float128=
>::value)>::value, int>::type <anonymous> =3D 0]=E2=80=99
   3347 |              : write_float<Char>(out, value, specs, loc);
        |                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:3633:23:   required from =E2=80=98constexpr dec=
ltype (ctx.out()) fmt::v11::detail::native_formatter<T, Char, TYPE>::format=
(const T&, FormatContext&) const [with FormatContext =3D fmt::v11::generic_=
context<std::ostreambuf_iterator<char, std::char_traits<char> >, char>; T =
=3D double; Char =3D char; fmt::v11::detail::type TYPE =3D fmt::v11::detail=
::type::double_type; decltype (ctx.out()) =3D std::ostreambuf_iterator<char=
, std::char_traits<char> >]=E2=80=99
   3633 |     return write<Char>(ctx.out(), val, specs_, ctx.locale());
        |            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/compile.h:220:22:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::spec_field<Char, T, N>::format(OutputIt, const Args=
& ...) const [with OutputIt =3D std::ostreambuf_iterator<char, std::char_tr=
aits<char> >; Args =3D {double, int}; Char =3D char; T =3D double; int N =
=3D 0]=E2=80=99
    220 |     return fmt.format(get_arg_checked<T, N>(args...), ctx);
        |            ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/compile.h:460:19:   required from =E2=80=98constexpr Out=
putIt fmt::v11::format_to(OutputIt, const CompiledFormat&, const Args& ...)=
 [with OutputIt =3D std::ostreambuf_iterator<char, std::char_traits<char> >=
; CompiledFormat =3D detail::spec_field<char, double, 0>; Args =3D {double,=
 int}; typename std::enable_if<detail::is_compiled_format<CompiledFormat>::=
value, int>::type <anonymous> =3D 0]=E2=80=99
    460 |   return cf.format(out, args...);
        |          ~~~~~~~~~^~~~~~~~~~~~~~
  /usr/include/fmt/compile.h:500:26:   required from =E2=80=98constexpr Out=
putIt fmt::v11::format_to(OutputIt, const S&, Args&& ...) [with OutputIt =
=3D std::ostreambuf_iterator<char, std::char_traits<char> >; S =3D at::<lam=
bda()>::FMT_COMPILE_STRING; Args =3D {double&, const int&}; typename std::e=
nable_if<detail::is_compiled_string<S>::value, int>::type <anonymous> =3D 0=
]=E2=80=99
    500 |     return fmt::format_to(out, compiled, std::forward<Args>(args)=
=2E..);
        |            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~
  /build/reproducible-path/pytorch-2.12.1+dfsg/aten/src/ATen/core/Formattin=
g.cpp:159:21:   required from here
    159 |       fmt::format_to(out_it, FMT_G, val, pf.width);
        |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:1501:32: error: no matching function for call t=
o =E2=80=98format_decimal<char>(std::ostreambuf_iterator<char, std::char_tr=
aits<char> >&, unsigned int&, int)=E2=80=99
   1501 |     return format_decimal<Char>(out, uexp, count_digits(uexp));
        |            ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    =E2=80=A2 there are 2 candidates
      =E2=80=A2 candidate 1: =E2=80=98template<class Char, class UInt> cons=
texpr Char* fmt::v11::detail::format_decimal(Char*, UInt, int)=E2=80=99
        /usr/include/fmt/format.h:1199:31:
         1199 | FMT_CONSTEXPR FMT_INLINE auto format_decimal(Char* out, UIn=
t value,
              |                               ^~~~~~~~~~~~~~
        =E2=80=A2 template argument deduction/substitution failed:
          =E2=80=A2   cannot convert =E2=80=98out=E2=80=99 (type =E2=80=98s=
td::ostreambuf_iterator<char, std::char_traits<char> >=E2=80=99) to type =
=E2=80=98char*=E2=80=99
            /usr/include/fmt/format.h:1501:33:
             1501 |     return format_decimal<Char>(out, uexp, count_digits=
(uexp));
                  |                                 ^~~
      =E2=80=A2 candidate 2: =E2=80=98template<class Char, class UInt, clas=
s OutputIt, typename std::enable_if<fmt::v11::detail::is_back_insert_iterat=
or<OutputIt>::value, int>::type <anonymous> > constexpr OutputIt fmt::v11::=
detail::format_decimal(OutputIt, UInt, int)=E2=80=99
        /usr/include/fmt/format.h:1207:20:
         1207 | FMT_CONSTEXPR auto format_decimal(OutputIt out, UInt value,=
 int num_digits)
              |                    ^~~~~~~~~~~~~~
        =E2=80=A2 template argument deduction/substitution failed:
  In file included from /usr/include/fmt/format.h:41:
          =E2=80=A2 error: no type named =E2=80=98type=E2=80=99 in =E2=80=
=98struct std::enable_if<false, int>=E2=80=99
            /usr/include/fmt/format.h:1206:11:
             1206 |           FMT_ENABLE_IF(is_back_insert_iterator<OutputI=
t>::value)>
                  |           ^~~~~~~~~~~~~
  /usr/include/fmt/format.h: In instantiation of =E2=80=98OutputIt fmt::v11=
::detail::write_significand(OutputIt, UInt, int) [with Char =3D char; Outpu=
tIt =3D std::ostreambuf_iterator<char, std::char_traits<char> >; UInt =3D l=
ong unsigned int]=E2=80=99:
  /usr/include/fmt/format.h:2429:35:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::do_write_float(OutputIt, const DecimalFP&, const fm=
t::v11::format_specs&, fmt::v11::sign, locale_ref) [with Char =3D char; Out=
putIt =3D std::ostreambuf_iterator<char, std::char_traits<char> >; DecimalF=
P =3D dragonbox::decimal_fp<double>; Grouping =3D fallback_digit_grouping<c=
har>]=E2=80=99
   2429 |     return write_significand<Char>(it, significand, significand_s=
ize);
        |            ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~
  /usr/include/fmt/format.h:2453:57:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::write_float(OutputIt, const DecimalFP&, const fmt::=
v11::format_specs&, fmt::v11::sign, locale_ref) [with Char =3D char; Output=
It =3D std::ostreambuf_iterator<char, std::char_traits<char> >; DecimalFP =
=3D dragonbox::decimal_fp<double>]=E2=80=99
   2452 |     return do_write_float<Char, OutputIt, DecimalFP,
        |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   2453 |                           fallback_digit_grouping<Char>>(out, f, =
specs, s, loc);
        |                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~=
~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:3310:31:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::write_float(OutputIt, T, fmt::v11::format_specs, lo=
cale_ref) [with Char =3D char; OutputIt =3D std::ostreambuf_iterator<char, =
std::char_traits<char> >; T =3D double]=E2=80=99
   3310 |       return write_float<Char>(out, dec, specs, s, loc);
        |              ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:3347:33:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::write(OutputIt, T, fmt::v11::format_specs, locale_r=
ef) [with Char =3D char; OutputIt =3D std::ostreambuf_iterator<char, std::c=
har_traits<char> >; T =3D double; typename std::enable_if<std::integral_con=
stant<bool, (std::is_floating_point<T>::value || std::is_same<T, __float128=
>::value)>::value, int>::type <anonymous> =3D 0]=E2=80=99
   3347 |              : write_float<Char>(out, value, specs, loc);
        |                ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:3633:23:   required from =E2=80=98constexpr dec=
ltype (ctx.out()) fmt::v11::detail::native_formatter<T, Char, TYPE>::format=
(const T&, FormatContext&) const [with FormatContext =3D fmt::v11::generic_=
context<std::ostreambuf_iterator<char, std::char_traits<char> >, char>; T =
=3D double; Char =3D char; fmt::v11::detail::type TYPE =3D fmt::v11::detail=
::type::double_type; decltype (ctx.out()) =3D std::ostreambuf_iterator<char=
, std::char_traits<char> >]=E2=80=99
   3633 |     return write<Char>(ctx.out(), val, specs_, ctx.locale());
        |            ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/compile.h:220:22:   required from =E2=80=98constexpr Out=
putIt fmt::v11::detail::spec_field<Char, T, N>::format(OutputIt, const Args=
& ...) const [with OutputIt =3D std::ostreambuf_iterator<char, std::char_tr=
aits<char> >; Args =3D {double, int}; Char =3D char; T =3D double; int N =
=3D 0]=E2=80=99
    220 |     return fmt.format(get_arg_checked<T, N>(args...), ctx);
        |            ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/compile.h:460:19:   required from =E2=80=98constexpr Out=
putIt fmt::v11::format_to(OutputIt, const CompiledFormat&, const Args& ...)=
 [with OutputIt =3D std::ostreambuf_iterator<char, std::char_traits<char> >=
; CompiledFormat =3D detail::spec_field<char, double, 0>; Args =3D {double,=
 int}; typename std::enable_if<detail::is_compiled_format<CompiledFormat>::=
value, int>::type <anonymous> =3D 0]=E2=80=99
    460 |   return cf.format(out, args...);
        |          ~~~~~~~~~^~~~~~~~~~~~~~
  /usr/include/fmt/compile.h:500:26:   required from =E2=80=98constexpr Out=
putIt fmt::v11::format_to(OutputIt, const S&, Args&& ...) [with OutputIt =
=3D std::ostreambuf_iterator<char, std::char_traits<char> >; S =3D at::<lam=
bda()>::FMT_COMPILE_STRING; Args =3D {double&, const int&}; typename std::e=
nable_if<detail::is_compiled_string<S>::value, int>::type <anonymous> =3D 0=
]=E2=80=99
    500 |     return fmt::format_to(out, compiled, std::forward<Args>(args)=
=2E..);
        |            ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~=
~~~~
  /build/reproducible-path/pytorch-2.12.1+dfsg/aten/src/ATen/core/Formattin=
g.cpp:159:21:   required from here
    159 |       fmt::format_to(out_it, FMT_G, val, pf.width);
        |       ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  /usr/include/fmt/format.h:2247:30: error: no matching function for call t=
o =E2=80=98format_decimal<char>(std::ostreambuf_iterator<char, std::char_tr=
aits<char> >&, long unsigned int&, int&)=E2=80=99
   2247 |   return format_decimal<Char>(out, significand, significand_size);
        |          ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    =E2=80=A2 there are 2 candidates
      =E2=80=A2 candidate 1: =E2=80=98template<class Char, class UInt> cons=
texpr Char* fmt::v11::detail::format_decimal(Char*, UInt, int)=E2=80=99
        /usr/include/fmt/format.h:1199:31:
         1199 | FMT_CONSTEXPR FMT_INLINE auto format_decimal(Char* out, UIn=
t value,
              |                               ^~~~~~~~~~~~~~
        =E2=80=A2 template argument deduction/substitution failed:
          =E2=80=A2   cannot convert =E2=80=98out=E2=80=99 (type =E2=80=98s=
td::ostreambuf_iterator<char, std::char_traits<char> >=E2=80=99) to type =
=E2=80=98char*=E2=80=99
            /usr/include/fmt/format.h:2247:31:
             2247 |   return format_decimal<Char>(out, significand, signifi=
cand_size);
                  |                               ^~~
      =E2=80=A2 candidate 2: =E2=80=98template<class Char, class UInt, clas=
s OutputIt, typename std::enable_if<fmt::v11::detail::is_back_insert_iterat=
or<OutputIt>::value, int>::type <anonymous> > constexpr OutputIt fmt::v11::=
detail::format_decimal(OutputIt, UInt, int)=E2=80=99
        /usr/include/fmt/format.h:1207:20:
         1207 | FMT_CONSTEXPR auto format_decimal(OutputIt out, UInt value,=
 int num_digits)
              |                    ^~~~~~~~~~~~~~
        =E2=80=A2 template argument deduction/substitution failed:
          =E2=80=A2 error: no type named =E2=80=98type=E2=80=99 in =E2=80=
=98struct std::enable_if<false, int>=E2=80=99
            /usr/include/fmt/format.h:1206:11:
             1206 |           FMT_ENABLE_IF(is_back_insert_iterator<OutputI=
t>::value)>
                  |           ^~~~~~~~~~~~~

See
https://buildd.debian.org/status/fetch.php?pkg=3Dpytorch&arch=3Damd64&ver=
=3D2.12.1%2Bdfsg-1%2Bb1&stamp=3D1791370572&raw=3D0
for details.

Cheers
--=20
Sebastian Ramacher

------------=_1791526987-325052-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1150269-close) by bugs.debian.org; 9 Oct 2026 06:19:12 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-112.0 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FREEMAIL_FORGED_REPLYTO,FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,
	PGPSIGNATURE,SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 121; hammy, 150; neutral, 312; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:53938)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xF3wm-001M2c-1E
	for 1150269-close@bugs.debian.org;
	Fri, 09 Oct 2026 06:19:12 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xF3wk-000Nhp-1W
	for 1150269-close@bugs.debian.org;
	Fri, 09 Oct 2026 06:19:10 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=yAxAuriytoMWX7xQbTX+wynvkNU43wEI4EmQndoAMnU=; b=VZNOOIN08Z0MgR6TSjzUBtOcOv
	EtRhn1z9ziZMJqGQ6iMTDf1do1Se/la+esFYC8lJ6Rzv3iX4/cJ75aGjb0U5ib4D6zmAEcNN8y4z3
	TefAS1CKXBOp98ozi/pLcK648nO3CLLOycfhPCgVtdSLP4BxIOf3dJT1DC4v0OmAoFnWf4fmJBpzb
	NQyEfBF9d+fBKr5f72Yx9aS3R7m/JJkcZQXzGg6nf7NbceMCxMoGpnxjwcEFZ0XcFxm08cPnSOBsR
	dsbVYi3fGXT4uHMgJcl5xjV0nkxlEnYY1eyiCzM4vILpcpq/34F2WGcMZmeFQTtt4wH5ivn9D1IhE
	6V8anqsA==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xF3wj-0000000FDgE-2hnz;
	Fri, 09 Oct 2026 06:19:09 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Talha Can Havadar <havadartalha@gmail.com>
To: 1150269-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: pytorch
Debian: DAK
Debian-Changes: pytorch_2.12.1+dfsg-2_source.changes
Debian-Source: pytorch
Debian-Version: 2.12.1+dfsg-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1150269: fixed in pytorch 2.12.1+dfsg-2
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============1154218217939953601=="
Message-Id: <E1xF3wj-0000000FDgE-2hnz@fasolo.debian.org>
Date: Fri, 09 Oct 2026 06:19:09 +0000

--===============1154218217939953601==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: pytorch
Source-Version: 2.12.1+dfsg-2
Done: Talha Can Havadar <havadartalha@gmail.com>

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

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 1150269@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Talha Can Havadar <havadartalha@gmail.com> (supplier of updated pytorch packa=
ge)

(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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 08 Oct 2026 07:40:38 +0000
Source: pytorch
Architecture: source
Version: 2.12.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Talha Can Havadar <havadartalha@gmail.com>
Closes: 1150269
Changes:
 pytorch (2.12.1+dfsg-2) unstable; urgency=3Dmedium
 .
   [ Aron Xu ]
   * d/copyright: exclude __pycache__/*.pyc from repacked tarball
 .
   [ Mo Zhou ]
   * autopkgtest: remove the train-mnist.sh test case.
   * Cleanup patchset after merging the ROCm fix.
   * trivial: quilt patch refresh
   * trivial: cleanup more mess
   * Patch embedded kineto to disable ROCPROF and ROCTRACER.
   * [ROCm] Patch cmake to prevent aotriton download.
   * [ROCm] Require libamdhip64-dev (>=3D 7.1.0~).
   * [ROCm] Require all rocm B-D to be >=3D 7.1.0, and add rocm-device-libs-2=
2.
   * [ROCm] Build depend on composable kernel.
   * [ROCm] minor: use llvm-21 device libs.
   * [ROCm] add amdgcn-tools-21 to dependencies.
   * Get rid of tensorpipe from build dependencies.
   * Get rid of tensorpipe for cuda/rocm variants as well.
   * Reword cuda/rocm build scripts.
   * [CUDA] Attempt to fix CUDA build but we still miss some dependencies.
 .
   [ Talha Can Havadar ]
   * d/{rules, control.rocm}: bump to llvm-22 as whole rocm stack >=3D7.2 rel=
ies
     on llvm-22
   * d/kineto: patch kineto to not raise severity of Wno-dangling-reference
     which is unknown for clang and in rocm kineto builds with -Werror
     causing it to FTBFS
   * d/control.rocm: restrict libfmt-dev to >=3D 11.1.1 as older versions fail
     with clang-22
   * d/p/1070-formatting-fmt11-ostreambuf-iterator.patch: fix format_decimal
     FTBFS (Closes: #1150269)
   * d/rules: disabling flash/mem-eff attention for rocm as it requires aotri=
ton
     And aotriton is not available in debian and not yet vendored in pytorch
     package
   * d/control.rocm: add missing amd-smi dependency
   * d/control.rocm: bump ROCm stack restriction to 7.2
   * d/rules: fix ABI incompatibility hipcc passes clang-abi-compat=3D17
   * d/p/2340-c10d-tests-link-gloo-explicitly.patch: fix linking issue on
     ProcessGroupGlooTest
   * d/rules: filter out RDNA3 (gfx1100, gfx1101, gfx1102) from target list.
     LLVM 22, clang aborts with 'fatal error: error in backend: Unsupported
     instruction : <MCInst 4399 ...>' while compiling Loss.hip. Dropping
     gfx110x here until an upstream LLVM fix lands.
   * d/control: bump llvm-22 to fix libfmt v11 compatibility issues
   * d/*.lintian-overrides: update for renamed/removed tags in lintian 2.141
 .
   [ Alexandre Detiste ]
   * reduce diff between debian/control.*
 .
 pytorch (2.12.1+dfsg-1) unstable; urgency=3Dmedium
 .
   * New upstream bugfix release.
   * d/patches: rebase 2000-version.patch onto 2.12.1.
Checksums-Sha1:
 ec71202d1d3b634ba62731e1dc4904230358dc24 3807 pytorch_2.12.1+dfsg-2.dsc
 1f6db8fcdf7b06bc48800f3bf0c8501344227354 260672 pytorch_2.12.1+dfsg-2.debian=
.tar.xz
 f2957c3064bf63368846dfb4e717adc4a40241ce 15311 pytorch_2.12.1+dfsg-2_amd64.b=
uildinfo
Checksums-Sha256:
 31aee65c6468e903b71de5e6d009829a57fff60adc25a6a5945ba90204e4b09e 3807 pytorc=
h_2.12.1+dfsg-2.dsc
 5470fcaadf7d599ddf887935e305ca05c516a239266bc1b53702289828ce72cb 260672 pyto=
rch_2.12.1+dfsg-2.debian.tar.xz
 6caecd8a5257e1a6a18f9a618a7e13c0d7950dfb468f80356d014ca9dad946b9 15311 pytor=
ch_2.12.1+dfsg-2_amd64.buildinfo
Files:
 7f93c1ba044f7789be65e3f0e1fc3916 3807 science optional pytorch_2.12.1+dfsg-2=
.dsc
 f72380c90c43c49ffd7e1dad983714a3 260672 science optional pytorch_2.12.1+dfsg=
-2.debian.tar.xz
 979acc995c2f33a8cf78b8dc76e2f731 15311 science optional pytorch_2.12.1+dfsg-=
2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEl9DisSUYWvfJX+x3a5gt67/pHCkFAmrIhGAACgkQa5gt67/p
HClFFA/8DfR6ac3rHh89chVOi9dKAuyYjd5I1sU+SduFe8pG/Y5tA/O6kXQwlFMi
glNM1YCr2PRCwR7iu3Fx5EJmCwd8mJCEPiA3AoAceXumaN8hf91hLzS1CBMBpJHX
K3iduZSKQxPoY+pWnl1KPWFBs/sVh5Heva0WfqUGIec10K/aYdNQmk00rQfYwRvR
37up47nlM0V5zCHmB94MzhkwszkSNJwDmK4dimkZ+d6rmbf49paPQDilrGk/Z8H1
O+m0OF5Zh+kImwW8K4FtVOd9Nt1BNm5KLHX8n2RyvdL2253gn7Sr4q8XVdbhnQ/j
VYCIwZjKz+9kq1tAhMqrj8Kb8Ou4nm+vDMJtSeP/FjnM5eSh9vciPU3t4uWx0dkZ
GOlHEnOpp9ug7aSR/azEXGHiI1QeMXaKRiC5Yo9h8uU8RX5HbJHtfsPfkkgg7Vzx
D21aI37RhIF0oe1n2Eje6gRKPE8HAU9S1DXNfRCnGcIpVF35VSc0HMQUB0AMZ4zz
vlJOo3LSIiWsTsD2KQQ9BkeTOj1oV6omndQLF/xJI5kCplz6z97jxQbGfdzyM5zN
G64Ox9cX1ToLCNhmCTe1DL+aDiZLH0Lzhqi7KqMzD0fiwOhaZnzU3ZOuzGo3auwh
eZYavl+so1nNzcIdX90ub4tx5ikyj8CMwkgvX2gr/e9K0u0Jn0Q=3D
=3D0daK
-----END PGP SIGNATURE-----


--===============1154218217939953601==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCasiHXQAKCRCb9qggYcy5
IfiPAP9DbeKgPPolZQ8WY0eEvBHC91Y9bTjsNEWuJWbTCwYLZwD9GBOT7tVXy5Gt
VBTXPdRBROHE4ZNKRtS4KZ+jd8cMhQ0=
=j4jy
-----END PGP SIGNATURE-----

--===============1154218217939953601==--
------------=_1791526987-325052-0--
Technical Details
Message-ID: <NMchb-4puw-13@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NMchb-4puw-15@gated-at.bofh.it> <NLG7D-48Bh-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1150269: marked as done (pytorch: FTBFS: error: no matching  function for call to ‘format_decimal<char>(std::ostreambuf_iterator<char,  std::char_traits<char> >&, unsigned int&, int)’)
Date: Fri, 09 Oct 2026 08:30:01 +0200
Message-ID: <NMchb-4puw-13@gated-at.bofh.it>
References: <NMchb-4puw-15@gated-at.bofh.it> <NLG7D-48Bh-3@gated-at.bofh.it>
X-Original-To: Talha Can Havadar <havadartalha@gmail.com>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct  9 06:23:23 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1150269
X-Debian-Pr-Package: src:pytorch
X-Debian-Pr-Keywords: ftbfs
X-Debian-Pr-Source: pytorch
Reply-To: 1150269@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1791526987-325052-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/833999
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 627
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 09 Oct 2026 06:23:07 +0000
X-Original-Message-ID: <handler.1150269.D1150269.1791526752323082.ackdone@bugs.debian.org>
X-Original-References: <E1xF3wj-0000000FDgE-2hnz@fasolo.debian.org>
 <asakgXdvhT8pzWgI@ramacher.at>