Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833900 - sci-mathematics/lean-3.39.1 - /.../widget.h: error: field m_attrs has incomplete type lean::json
Summary: sci-mathematics/lean-3.39.1 - /.../widget.h: error: field m_attrs has incompl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-22 17:02 UTC by Toralf Förster
Modified: 2022-02-22 18:34 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.88 KB, text/plain)
2022-02-22 17:02 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,77.89 KB, application/x-bzip)
2022-02-22 17:02 UTC, Toralf Förster
Details
environment (environment,93.44 KB, text/plain)
2022-02-22 17:02 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.58 KB, application/x-bzip)
2022-02-22 17:02 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.62 KB, application/x-bzip)
2022-02-22 17:02 UTC, Toralf Förster
Details
sci-mathematics:lean-3.39.1:20220222-134539.log (sci-mathematics:lean-3.39.1:20220222-134539.log,112.82 KB, text/plain)
2022-02-22 17:02 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-02-22 17:02:44 UTC
/var/tmp/portage/sci-mathematics/lean-3.39.1/work/lean-3.39.1/src/frontends/lean/widget.h: At global scope:
/var/tmp/portage/sci-mathematics/lean-3.39.1/work/lean-3.39.1/src/frontends/lean/widget.h:60:57: error: return type struct lean::json’ is incomplete
   60 |   json to_json(list<unsigned> const & route = {}) const { return m_ptr->to_json(route); }
      |                                                         ^
/var/tmp/portage/sci-mathematics/lean-3.39.1/work/lean-3.39.1/src/frontends/lean/widget.h:66:10: error: field m_attrs’ has incomplete type lean::json’
   66 |     json m_attrs;
      |          ^~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.58.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
*)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 

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 eda74d422064c369ddda5ec113c2899cbec8057d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 22 12:22:02 2022 +0000

    2022-02-22 12:22:01 UTC

emerge -qpvO sci-mathematics/lean
[ebuild  N    ] sci-mathematics/lean-3.39.1  USE="threads -debug -json"
Comment 1 Toralf Förster gentoo-dev 2022-02-22 17:02:45 UTC
Created attachment 765657 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-22 17:02:46 UTC
Created attachment 765658 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2022-02-22 17:02:48 UTC
Created attachment 765659 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-02-22 17:02:49 UTC
Created attachment 765660 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-02-22 17:02:51 UTC
Created attachment 765661 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-22 17:02:52 UTC
Created attachment 765662 [details]
sci-mathematics:lean-3.39.1:20220222-134539.log
Comment 7 Larry the Git Cow gentoo-dev 2022-02-22 18:34:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=024840070aea8eb50149f8f9d97df53a3f1fb940

commit 024840070aea8eb50149f8f9d97df53a3f1fb940
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2022-02-22 18:32:10 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2022-02-22 18:34:04 +0000

    sci-mathematics/lean: remove USE=json and inherit of optfeature
    
    Closes: https://bugs.gentoo.org/833900
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 sci-mathematics/lean/lean-3.38.0.ebuild | 6 +++---
 sci-mathematics/lean/lean-3.39.1.ebuild | 6 +++---
 sci-mathematics/lean/lean-3.40.0.ebuild | 6 +++---
 sci-mathematics/lean/lean-3.9999.ebuild | 8 ++++----
 sci-mathematics/lean/metadata.xml       | 3 ---
 5 files changed, 13 insertions(+), 16 deletions(-)