Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 696856

Summary: dev-libs/hyperscan-5.2.0 : /.../goughcompile.cpp:1295:16: error: redundant move in return statement [-Werror=redundant-move]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Christian Roessner <c>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:hyperscan-5.2.0:20191006-162231.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-10-06 16:42:31 UTC
/var/tmp/portage/dev-libs/hyperscan-5.2.0/work/hyperscan-5.2.0/src/nfa/goughcompile.cpp: In member function ‘virtual std::unique_ptr<ue2::raw_report_info> ue2::{anonymous}::gough_build_strat::gatherReports(std::vector<unsigned int>&, std::vector<unsigned int>&, u8*, ReportID*) const’:
/var/tmp/portage/dev-libs/hyperscan-5.2.0/work/hyperscan-5.2.0/src/nfa/goughcompile.cpp:1295:16: error: redundant move in return statement [-Werror=redundant-move]
 1295 |     return move(ri);
      |            ~~~~^~~~
/var/tmp/portage/dev-libs/hyperscan-5.2.0/work/hyperscan-5.2.0/src/nfa/goughcompile.cpp:1295:16: note: remove ‘std::move’ call

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-libressl-20191002-062823

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.38.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 06 Oct 2019 15:07:13 +0000

emerge -qpvO dev-libs/hyperscan
[ebuild  N    ] dev-libs/hyperscan-5.2.0  USE="-static-libs" CPU_FLAGS_X86="ssse3" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-10-06 16:42:34 UTC
Created attachment 591988 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-10-06 16:42:37 UTC
Created attachment 591990 [details]
dev-libs:hyperscan-5.2.0:20191006-162231.log
Comment 3 Toralf Förster gentoo-dev 2019-10-06 16:42:40 UTC
Created attachment 591992 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-10-06 16:42:43 UTC
Created attachment 591994 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-10-06 16:42:46 UTC
Created attachment 591996 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-10-06 16:42:48 UTC
Created attachment 591998 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-10-06 16:42:51 UTC
Created attachment 592000 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2019-10-08 14:35:52 UTC
The bug has been closed via the following commit(s):

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

commit 1193c695e7acd1c77848779e1d6c9f5dc3d8a82d
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2019-10-08 11:36:14 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2019-10-08 14:35:20 +0000

    dev-libs/hyperscan: Fix build for gcc9.x
    
    Closes: https://bugs.gentoo.org/685618
    Closes: https://bugs.gentoo.org/691384
    Closes: https://bugs.gentoo.org/696856
    Package-Manager: Portage-2.3.76, Repoman-2.3.17
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 dev-libs/hyperscan/hyperscan-5.1.1.ebuild | 8 +++++++-
 dev-libs/hyperscan/hyperscan-5.2.0.ebuild | 8 +++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)