Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755524 - [science overlay] sci-biology/edena-3.131028 : logWriter.cpp: error: cannot convert std::fstream {aka std::basic_fstream<char>} to bool in return
Summary: [science overlay] sci-biology/edena-3.131028 : logWriter.cpp: error: cannot c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-19 13:09 UTC by Toralf Förster
Modified: 2021-06-02 12:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.89 KB, text/plain)
2020-11-19 13:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,47.03 KB, text/plain)
2020-11-19 13:09 UTC, Toralf Förster
Details
environment (environment,43.88 KB, text/plain)
2020-11-19 13:09 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.75 KB, application/x-bzip)
2020-11-19 13:09 UTC, Toralf Förster
Details
sci-biology:edena-3.131028:20201119-111717.log (sci-biology:edena-3.131028:20201119-111717.log,3.49 KB, text/plain)
2020-11-19 13:09 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 2020-11-19 13:09:50 UTC
x86_64-pc-linux-gnu-g++ -o logWriter.o -c -O2 -pipe -march=native -fno-diagnostics-color  -pthread logWriter.cpp
logWriter.cpp: In member function ‘bool logWriter::open(std::string, bool)’:
logWriter.cpp:131:12: error: cannot convert ‘std::fstream’ {aka ‘std::basic_fstream<char>’} to ‘bool’ in return
  131 |     return out; //T/F
      |            ^~~
      |            |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_science-20201116-220441

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu Nov 19 10:35:34 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-biology/edena
[ebuild  N    ] sci-biology/edena-3.131028
Comment 1 Toralf Förster gentoo-dev 2020-11-19 13:09:52 UTC
Created attachment 673003 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-11-19 13:09:53 UTC
Created attachment 673006 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-19 13:09:55 UTC
Created attachment 673009 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-11-19 13:09:56 UTC
Created attachment 673012 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-11-19 13:09:57 UTC
Created attachment 673015 [details]
sci-biology:edena-3.131028:20201119-111717.log
Comment 6 Lucas Mitrak 2021-05-30 00:35:23 UTC
This bug has been fixed by Andrew Ammerlaan in the commit: https://github.com/gentoo/sci/commit/8d827409929ea539b3d778434137bb718af49a0f
Comment 7 Lucas Mitrak 2021-05-30 00:40:06 UTC
In addition, I tested it in a docker image using ebuildtester and it works.