Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895226 - net-misc/xmrig-6.19.0 - /.../HttpResponse.cpp: error: m_id was not declared in this scope
Summary: net-misc/xmrig-6.19.0 - /.../HttpResponse.cpp: error: m_id was not declared i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Smith
URL: https://github.com/xmrig/xmrig/pull/3214
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-18 08:43 UTC by Toralf Förster
Modified: 2023-02-20 16:16 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.22 KB, text/plain)
2023-02-18 08:43 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,56.19 KB, application/x-bzip)
2023-02-18 08:43 UTC, Toralf Förster
Details
environment (environment,102.25 KB, text/plain)
2023-02-18 08:43 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,50.29 KB, application/x-bzip)
2023-02-18 08:43 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.39 KB, application/x-bzip)
2023-02-18 08:43 UTC, Toralf Förster
Details
net-misc:xmrig-6.19.0:20230218-074446.log (net-misc:xmrig-6.19.0:20230218-074446.log,122.24 KB, text/plain)
2023-02-18 08:43 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.60 KB, application/x-bzip)
2023-02-18 08:43 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 2023-02-18 08:43:07 UTC
   31 | class HttpResponse
      |       ^~~~~~~~~~~~
/var/tmp/portage/net-misc/xmrig-6.19.0/work/xmrig-6.19.0/src/base/net/http/HttpResponse.h:31:7: note:                 xmrig::HttpResponse::HttpResponse(const xmrig::HttpResponse&)
/var/tmp/portage/net-misc/xmrig-6.19.0/work/xmrig-6.19.0/src/base/net/http/HttpResponse.h:31:7: note:                 xmrig::HttpResponse::HttpResponse()
/var/tmp/portage/net-misc/xmrig-6.19.0/work/xmrig-6.19.0/src/base/net/http/HttpResponse.h:31:7: note: class xmrig::HttpResponse defined here
/var/tmp/portage/net-misc/xmrig-6.19.0/work/xmrig-6.19.0/src/base/net/http/HttpResponse.cpp: In member function bool xmrig::HttpResponse::isAlive() const:
/var/tmp/portage/net-misc/xmrig-6.19.0/work/xmrig-6.19.0/src/base/net/http/HttpResponse.cpp:52:33: error: m_id was not declared in this scope
   52 |     auto ctx = HttpContext::get(m_id);
      |                                 ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-j4-20230216-050018

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --jobserver-style=pipe"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit afcd6c56d316197a7538f4d5ab4b9c1971e9d172
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Feb 18 06:16:53 2023 +0000

    2023-02-18 06:16:52 UTC

emerge -qpvO net-misc/xmrig
[ebuild  N    ] net-misc/xmrig-6.19.0  USE="hwloc opencl ssl -donate" CPU_FLAGS_X86="sse4_1"
Comment 1 Toralf Förster gentoo-dev 2023-02-18 08:43:08 UTC
Created attachment 852558 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-18 08:43:09 UTC
Created attachment 852560 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-02-18 08:43:11 UTC
Created attachment 852562 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-18 08:43:12 UTC
Created attachment 852564 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-18 08:43:13 UTC
Created attachment 852566 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-18 08:43:14 UTC
Created attachment 852568 [details]
net-misc:xmrig-6.19.0:20230218-074446.log
Comment 7 Toralf Förster gentoo-dev 2023-02-18 08:43:15 UTC
Created attachment 852570 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2023-02-20 16:16:01 UTC
The bug has been closed via the following commit(s):

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

commit c23ab12438ae3a329ba70a674f7fff87ad843901
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-02-20 16:14:53 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-02-20 16:15:35 +0000

    net-misc/xmrig: fix build with gcc 13
    
    Closes: https://bugs.gentoo.org/895226
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 net-misc/xmrig/files/xmrig-6.18.1-gcc-13.patch     | 70 ++++++++++++++++++++++
 ...{xmrig-6.18.1.ebuild => xmrig-6.18.1-r1.ebuild} |  3 +-
 ...{xmrig-6.19.0.ebuild => xmrig-6.19.0-r1.ebuild} |  1 +
 net-misc/xmrig/xmrig-9999.ebuild                   |  3 +-
 4 files changed, 75 insertions(+), 2 deletions(-)