Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 686226 - media-gfx/nomacs-3.12 : /.../DkNoMacs.cpp:1790:8: error: cout is not a member of std
Summary: media-gfx/nomacs-3.12 : /.../DkNoMacs.cpp:1790:8: error: cout is not a member...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://github.com/nomacs/nomacs/pull...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-18 14:37 UTC by Toralf Förster
Modified: 2019-08-15 08:06 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.90 KB, text/plain)
2019-05-18 14:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,287.35 KB, text/plain)
2019-05-18 14:37 UTC, Toralf Förster
Details
environment (environment,87.54 KB, text/plain)
2019-05-18 14:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.08 KB, application/x-bzip)
2019-05-18 14:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.64 KB, application/x-bzip)
2019-05-18 14:37 UTC, Toralf Förster
Details
media-gfx:nomacs-3.12:20190518-142051.log (media-gfx:nomacs-3.12:20190518-142051.log,27.75 KB, text/plain)
2019-05-18 14:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.39 KB, application/x-bzip)
2019-05-18 14:37 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 2019-05-18 14:37:36 UTC
/var/tmp/portage/media-gfx/nomacs-3.12/work/nomacs-3.12/ImageLounge/src/DkGui/DkNoMacs.cpp: In function ‘void nmc::tagWall(const std::__cxx11::list<std::__cxx11::basic_string<char> >&)’:
/var/tmp/portage/media-gfx/nomacs-3.12/work/nomacs-3.12/ImageLounge/src/DkGui/DkNoMacs.cpp:1790:8: error: ‘cout’ is not a member of ‘std’
 1790 |   std::cout << line << std::endl;
      |        ^~~~
/var/tmp/portage/media-gfx/nomacs-3.12/work/nomacs-3.12/ImageLounge/src/DkGui/DkNoMacs.cpp:89:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop-gnome_20190510-222703

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.34.1 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.12.0 [icedtea-8]
*)	IcedTea JDK 3.12.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm

emerge -qpvO media-gfx/nomacs
[ebuild  N    ] media-gfx/nomacs-3.12  USE="jpeg opencv tiff -raw -zip"
Comment 1 Toralf Förster gentoo-dev 2019-05-18 14:37:39 UTC
Created attachment 577178 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-18 14:37:42 UTC
Created attachment 577180 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-05-18 14:37:44 UTC
Created attachment 577182 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-05-18 14:37:47 UTC
Created attachment 577184 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-05-18 14:37:50 UTC
Created attachment 577186 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-18 14:37:52 UTC
Created attachment 577188 [details]
media-gfx:nomacs-3.12:20190518-142051.log
Comment 7 Toralf Förster gentoo-dev 2019-05-18 14:37:55 UTC
Created attachment 577190 [details]
temp.tbz2
Comment 8 Michael Palimaka (kensington) gentoo-dev 2019-06-09 09:18:06 UTC
I sent a patch upstream for review.
Comment 9 Larry the Git Cow gentoo-dev 2019-08-10 01:14:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=846af216a621a08e183997ba8489f846bb2e66ff

commit 846af216a621a08e183997ba8489f846bb2e66ff
Author:     Michael Palimaka <kensington@gentoo.org>
AuthorDate: 2019-08-10 01:13:27 +0000
Commit:     Michael Palimaka <kensington@gentoo.org>
CommitDate: 2019-08-10 01:13:52 +0000

    media-gfx/nomacs: backport upstream patch solving gcc9 build failure
    
    Closes: https://bugs.gentoo.org/686226
    Package-Manager: Portage-2.3.69, Repoman-2.3.17
    Signed-off-by: Michael Palimaka <kensington@gentoo.org>

 media-gfx/nomacs/files/nomacs-3.12-gcc9.patch | 39 +++++++++++++++++++++++++++
 media-gfx/nomacs/nomacs-3.12.ebuild           |  1 +
 2 files changed, 40 insertions(+)