| Summary: | sci-libs/shogun-5.0.0 : /.../NeuralNetworkFileReader.cpp:54:6: error: is_error was not declared in this scope | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
| Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | treecleaner |
| Priority: | Normal | Keywords: | PMASKED |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Deadline: | 2020-10-25 | ||
| Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sci-libs:shogun-5.0.0:20180121-202637.log.bz2 temp.tbz2 shogun-5.0.0-NeuralNetworkFileReader_is_error.diff shogun-5.0.0-SerializableJsonFile_is_error.diff shogun-5.0.0-SerializableJsonReader00_is_error.diff |
||
Created attachment 515762 [details]
emerge-info.txt
Created attachment 515764 [details]
emerge-history.txt
Created attachment 515766 [details]
environment
Created attachment 515768 [details]
etc.portage.tbz2
Created attachment 515770 [details]
logs.tbz2
Created attachment 515772 [details]
sci-libs:shogun-5.0.0:20180121-202637.log.bz2
Created attachment 515774 [details]
temp.tbz2
I have the same issue. Is there not any patch? shogun is EAPI 6, please try this upstream patch: https://github.com/shogun-toolbox/shogun/pull/4104/files Created attachment 540730 [details, diff]
shogun-5.0.0-NeuralNetworkFileReader_is_error.diff
Created attachment 540732 [details, diff]
shogun-5.0.0-SerializableJsonFile_is_error.diff
Created attachment 540734 [details, diff]
shogun-5.0.0-SerializableJsonReader00_is_error.diff
With the three patches I created following the link in Comment 9 I was again able to emerge shogun. Package removed. |
^~~~~ /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0/src/shogun/io/NeuralNetworkFileReader.cpp: In member function ‘virtual shogun::CNeuralNetwork* shogun::CNeuralNetworkFileReader::read_file(const char*)’: /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0/src/shogun/io/NeuralNetworkFileReader.cpp:54:6: error: ‘is_error’ was not declared in this scope if (is_error(json_network)) ^~~~~~~~ /var/tmp/portage/sci-libs/shogun-5.0.0/work/shogun-5.0.0/src/shogun/io/NeuralNetworkFileReader.cpp:54:6: note: suggested alternative: ‘mc_error’ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0-desktop-plasma-systemd_libressl_20180117-220140 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.2.0 * Available Python interpreters, in order of preference: [1] python3.5 [2] python2.7 (fallback) [3] jython2.7 (fallback) Available Ruby profiles: [1] ruby22 (with Rubygems) * [2] ruby23 (with Rubygems) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.6.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpv sci-libs/shogun