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

Bug 838994

Summary: dev-ros/roscpp-1.15.14 - /.../function_template.hpp: error: expression cannot be used as a function
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: ros
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-ros:roscpp-1.15.14:20220417-085505.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-04-17 16:39:31 UTC
too long lines were shrinked:

/usr/include/boost/function/function_template.hpp:940:38:   required from 'void boost::function2<R, T1, T2>::assign_to(Functor) [with Functor = std::nullptr_t; R = bool; T0 = const boost::shared_ptr<ros::Connection>&; T1 = const ros::Header&]'
/usr/include/boost/function/function_template.hpp:720:22:   required from 'boost::function2<R, T1, T2>::function2(Functor, typename boost::enable_if_<(! boost::is_integral<Functor>::value), int>::type) [with Functor = std::nullptr_t; R = bool; T0 = const boost::shared_ptr<ros::Connection>&; T1 = con
/usr/include/boost/function/function_template.hpp:1086:16:   required from 'boost::function<R(T0, T1)>::function(Functor, typename boost::enable_if_<(! boost::is_integral<Functor>::value), int>::type) [with Functor = std::nullptr_t; R = bool; T0 = const boost::shared_ptr<ros::Connection>&; T1 = cons
/var/tmp/portage/dev-ros/roscpp-1.15.14/work/ros_comm-1.15.14/clients/roscpp/src/libros/subscription.cpp:586:29:   required from here
/usr/include/boost/function/function_template.hpp:137:22: error: expression cannot be used as a function
  137 |           return (*f)(BOOST_FUNCTION_ARGS);
      |                  ~~~~^~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-j4-20220417-060035

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.1 *
clang/llvm (if any):
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26
  [2]   ruby27 *
php cli:

  HEAD of ::gentoo
commit 379e627f45f380b19ca4d4a3a37c8f8566144422
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 17 08:25:05 2022 +0000

    2022-04-17 08:24:58 UTC

emerge -qpvO dev-ros/roscpp
[ebuild  N    ] dev-ros/roscpp-1.15.14  USE="-test" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10" ROS_MESSAGES="cxx python (-eus) -lisp -nodejs"
Comment 1 Toralf Förster gentoo-dev 2022-04-17 16:39:34 UTC
Created attachment 771266 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-17 16:39:35 UTC
Created attachment 771269 [details]
dev-ros:roscpp-1.15.14:20220417-085505.log
Comment 3 Toralf Förster gentoo-dev 2022-04-17 16:39:37 UTC
Created attachment 771272 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-17 16:39:39 UTC
Created attachment 771275 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-17 16:39:40 UTC
Created attachment 771278 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-17 16:39:41 UTC
Created attachment 771281 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-04-17 16:39:44 UTC
Created attachment 771284 [details]
temp.tar.bz2