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

Bug 687128

Summary: sys-process/usbtop-0.2 : /.../usb_stats.h:45:1: error: expected class-name before { token
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Rick Farina (Zero_Chaos) <zerochaos>
Status: RESOLVED FIXED    
Severity: normal CC: burcheri.massimo+bugs-gentoo, cloos, dan, josef64
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-process:usbtop-0.2:20190601-082655.log
temp.tbz2

Description Toralf Förster gentoo-dev 2019-06-01 08:37:02 UTC
                 from /var/tmp/portage/sys-process/usbtop-0.2/work/usbtop-release-0.2/include/usbtop/buses.h:34,
                 from /var/tmp/portage/sys-process/usbtop-0.2/work/usbtop-release-0.2/src/buses.cpp:37:
/var/tmp/portage/sys-process/usbtop-0.2/work/usbtop-release-0.2/include/usbtop/usb_stats.h:45:1: error: expected class-name before ‘{’ token
   45 | {
      | ^
/var/tmp/portage/sys-process/usbtop-0.2/work/usbtop-release-0.2/include/usbtop/usb_stats.h:85:1: error: expected class-name before ‘{’ token

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-desktop_libressl_20190526-141358

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

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

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

emerge -qpvO sys-process/usbtop
[ebuild  N    ] sys-process/usbtop-0.2
Comment 1 Toralf Förster gentoo-dev 2019-06-01 08:37:05 UTC
Created attachment 578308 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-06-01 08:37:07 UTC
Created attachment 578310 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-06-01 08:37:10 UTC
Created attachment 578312 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-06-01 08:37:13 UTC
Created attachment 578314 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-06-01 08:37:16 UTC
Created attachment 578316 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-06-01 08:37:18 UTC
Created attachment 578318 [details]
sys-process:usbtop-0.2:20190601-082655.log
Comment 7 Toralf Förster gentoo-dev 2019-06-01 08:37:21 UTC
Created attachment 578320 [details]
temp.tbz2
Comment 8 josef.95 2019-07-19 16:23:29 UTC
Same error here. I think this is probably a issue with the new boost-1.70.0 version.
Updating (rename) usbtop-0.2 to the new usbtop-1.0 release works for me.
Comment 9 Larry the Git Cow gentoo-dev 2019-09-10 09:12:14 UTC
The bug has been closed via the following commit(s):

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

commit 9aa84c73e81846cc06841055412b300ee889cdc9
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2019-09-10 09:11:56 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2019-09-10 09:12:08 +0000

    sys-process/usbtop: Bump to version 1.0
    
    Closes: https://bugs.gentoo.org/687128
    Package-Manager: Portage-2.3.75, Repoman-2.3.17
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 sys-process/usbtop/Manifest          |  1 +
 sys-process/usbtop/usbtop-1.0.ebuild | 29 +++++++++++++++++++++++++++++
 2 files changed, 30 insertions(+)