Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612074 - media-plugins/kodi-peripheral-joystick-1.2.1 : /.../ButtonMapTranslator.cpp:100:53: error: invalid conversion from ‘int’ to ‘JOYSTICK_DRIVER_PRIMITIVE_TYPE’ [-fpermissive]
Summary: media-plugins/kodi-peripheral-joystick-1.2.1 : /.../ButtonMapTranslator.cpp:1...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-5
  Show dependency tree
 
Reported: 2017-03-08 18:08 UTC by Toralf Förster
Modified: 2017-04-06 14:03 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.62 KB, text/plain)
2017-03-08 18:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,386.09 KB, text/plain)
2017-03-08 18:08 UTC, Toralf Förster
Details
environment (environment,119.88 KB, text/plain)
2017-03-08 18:08 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.60 KB, application/x-bzip)
2017-03-08 18:08 UTC, Toralf Förster
Details
media-plugins:kodi-peripheral-joystick-1.2.1:20170308-031542.log (media-plugins:kodi-peripheral-joystick-1.2.1:20170308-031542.log,16.00 KB, text/plain)
2017-03-08 18:08 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.13 KB, application/x-bzip)
2017-03-08 18:08 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 2017-03-08 18:08:07 UTC
/usr/bin/x86_64-pc-linux-gnu-g++  -DBUILD_KODI_ADDON -DHAVE_LINUX_JOYSTICK -DHAVE_UDEV -Dperipheral_joystick_EXPORTS -I/var/tmp/portage/media-plugins/kodi-peripheral-joystick-1.2.1/work/peripheral.joystick-1.2.1/src -I/usr/include/kodi -I/usr/include/p8-platform   -DNDEBUG -O2 -pipe -march=native -std=c++11 -fPIC   -D_LINUX -DTARGET_POSIX -DTARGET_LINUX -DHAVE_SSE=1 -DHAVE_SSE2=1 -DHAVE_SSE3=1 -DHAVE_SSSE3=1 -DHAVE_SSE4_1=1 -o CMakeFiles/peripheral.joystick.dir/src/buttonmapper/ButtonMapTranslator.cpp.o -c /var/tmp/portage/media-plugins/kodi-peripheral-joystick-1.2.1/work/peripheral.joystick-1.2.1/src/buttonmapper/ButtonMapTranslator.cpp
/var/tmp/portage/media-plugins/kodi-peripheral-joystick-1.2.1/work/peripheral.joystick-1.2.1/src/buttonmapper/ButtonMapTranslator.cpp: In static member function ‘static ADDON::DriverPrimitive JOYSTICK::ButtonMapTranslator::ToDriverPrimitive(const string&, JOYSTICK_DRIVER_PRIMITIVE_TYPE)’:
/var/tmp/portage/media-plugins/kodi-peripheral-joystick-1.2.1/work/peripheral.joystick-1.2.1/src/buttonmapper/ButtonMapTranslator.cpp:100:53: error: invalid conversion from ‘int’ to ‘JOYSTICK_DRIVER_PRIMITIVE_TYPE’ [-fpermissive]
         primitive = ADDON::DriverPrimitive(std::atoi(strPrimitive.substr(1).c_s
                                                     ^
In file included from /var/tmp/portage/media-plugins/kodi-peripheral-joystick-1.2.1/work/peripheral.joystick-1.2.1/src/buttonmapper/ButtonMapTranslator.h:22:0,

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

  This is an unstable amd64 chroot image (named desktop_20170228-191423) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-03-08 18:08:11 UTC
Created attachment 466332 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-08 18:08:14 UTC
Created attachment 466334 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-03-08 18:08:17 UTC
Created attachment 466336 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-03-08 18:08:20 UTC
Created attachment 466338 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-03-08 18:08:23 UTC
Created attachment 466340 [details]
media-plugins:kodi-peripheral-joystick-1.2.1:20170308-031542.log
Comment 6 Toralf Förster gentoo-dev 2017-03-08 18:08:27 UTC
Created attachment 466342 [details]
temp.tbz2
Comment 7 Craig Andrews gentoo-dev 2017-03-17 12:46:25 UTC
Reported upstream: https://github.com/xbmc/peripheral.joystick/issues/91
Comment 8 Craig Andrews gentoo-dev 2017-03-17 20:27:06 UTC
pull request: https://github.com/gentoo/gentoo/pull/4232