Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858200 - dev-python/tweedledum-1.1.1 - /.../string_utf8.cpp: error: no matching function for call to format(const char32_t [6], uint32_t)
Summary: dev-python/tweedledum-1.1.1 - /.../string_utf8.cpp: error: no matching functi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gábor Oszkár Dénes
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 856748
  Show dependency tree
 
Reported: 2022-07-15 14:16 UTC by Toralf Förster
Modified: 2022-07-18 00:53 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,20.77 KB, text/plain)
2022-07-15 14:16 UTC, Toralf Förster
Details
dev-python:tweedledum-1.1.1:20220715-035024.log (dev-python:tweedledum-1.1.1:20220715-035024.log,44.71 KB, text/plain)
2022-07-15 14:16 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,89.66 KB, application/x-bzip)
2022-07-15 14:16 UTC, Toralf Förster
Details
environment (environment,134.23 KB, text/plain)
2022-07-15 14:16 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,52.23 KB, application/x-bzip)
2022-07-15 14:16 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.28 KB, application/x-bzip)
2022-07-15 14:16 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,37.41 KB, application/x-bzip)
2022-07-15 14:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-07-15 14:16:30 UTC
too long lines were shrinked:

[55/73] Building CXX object CMakeFiles/_tweedledum.dir/src/Utils/Visualization/string_utf8.cpp.o
FAILED: CMakeFiles/_tweedledum.dir/src/Utils/Visualization/string_utf8.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DABC_NAMESPACE=pabc -DABC_NO_USE_READLINE -DDISABLE_NAUTY -DFMT_HEADER_ONLY=1 -DLIN64 -D_tweedledum_EXPORTS -I/var/tmp/portage/dev-python/tweedledum-1.1.1/work/tweedledum-1.1.1/include -I/var/tmp/portage/dev-python/tweedledum-1.1.1/work/tweedledum-1.1.1/external/abc
/var/tmp/portage/dev-python/tweedledum-1.1.1/work/tweedledum-1.1.1/src/Utils/Visualization/string_utf8.cpp: In lambda function:
/var/tmp/portage/dev-python/tweedledum-1.1.1/work/tweedledum-1.1.1/src/Utils/Visualization/string_utf8.cpp:328:26: error: no matching function for call to format(const char32_t [6], uint32_t)’
  328 |               fmt::format(U"{:>2}", wire - diagram.num_qubits());
      |               ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220708-230006

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-10.3.1
 [3] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.5
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.0 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.3_p7 [openjdk-17]
2)	Eclipse Temurin JDK 11.0.15_p10 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
4)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
5)	Eclipse Temurin JRE 17.0.3_p7 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-11 
  [4]   openjdk-bin-17  system-vm
  [5]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit c2df6c2d2a7243222a67dca68081dd3a021d2441
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 15 03:03:36 2022 +0000

    2022-07-15 03:03:35 UTC

emerge -qpvO dev-python/tweedledum
[ebuild  N    ] dev-python/tweedledum-1.1.1  USE="-test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9"
Comment 1 Toralf Förster gentoo-dev 2022-07-15 14:16:31 UTC
Created attachment 791492 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-07-15 14:16:33 UTC
Created attachment 791495 [details]
dev-python:tweedledum-1.1.1:20220715-035024.log
Comment 3 Toralf Förster gentoo-dev 2022-07-15 14:16:34 UTC
Created attachment 791498 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-07-15 14:16:36 UTC
Created attachment 791501 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-07-15 14:16:37 UTC
Created attachment 791504 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-07-15 14:16:38 UTC
Created attachment 791507 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-07-15 14:16:39 UTC
Created attachment 791510 [details]
temp.tar.bz2
Comment 8 Michael Mair-Keimberger (iamnr3) 2022-07-17 20:06:41 UTC
I was trying to install dev-python/tweedledum too and failed at the same file. However, i was also downgrading dev-libs/libfmt to 8.0.1-r1 and 8.1.1-r1 and it fails with them too.
It works only with =dev-libs/libfmt-7.1.2 (didn't test 7.1.3).
Anyway i guess this package is already longer broken, not just since with libfmt-9.
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-17 20:10:59 UTC
Need to cherry-pick bits of https://github.com/boschmitt/tweedledum/commit/e73beb23a3feeba02a851e3f8131e3c85a29de2b I guess.
Comment 10 Larry the Git Cow gentoo-dev 2022-07-17 20:31:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ffc533170a70241b357e7fca450f2b23efdacab

commit 8ffc533170a70241b357e7fca450f2b23efdacab
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-17 20:29:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-17 20:29:33 +0000

    dev-python/tweedledum: fix build w/ newer fmt
    
    Closes: https://bugs.gentoo.org/858200
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/tweedledum/Manifest                     |  1 +
 ...dum-1.1.1.ebuild => tweedledum-1.1.1-r1.ebuild} | 23 ++++++++++++++++------
 2 files changed, 18 insertions(+), 6 deletions(-)