Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737714 - dev-ruby/ruby-sdl-2.1.2-r2 : rubysdl_joystick.c:(.text+<snip>): undefined reference to SDL_JoystickClose
Summary: dev-ruby/ruby-sdl-2.1.2-r2 : rubysdl_joystick.c:(.text+<snip>): undefined ref...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-18 07:21 UTC by Toralf Förster
Modified: 2020-08-21 15:02 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.44 KB, text/plain)
2020-08-18 07:21 UTC, Toralf Förster
Details
dev-ruby:ruby-sdl-2.1.2-r2:20200818-004640.log (dev-ruby:ruby-sdl-2.1.2-r2:20200818-004640.log,79.46 KB, text/plain)
2020-08-18 07:21 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,154.26 KB, text/plain)
2020-08-18 07:21 UTC, Toralf Förster
Details
environment (environment,91.12 KB, text/plain)
2020-08-18 07:21 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,29.93 KB, application/x-bzip)
2020-08-18 07:21 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.60 KB, application/x-bzip)
2020-08-18 07:21 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 2020-08-18 07:21:37 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rubysdl_joystick.o: in function `Joystick_free':
rubysdl_joystick.c:(.text+0x57): undefined reference to `SDL_JoystickClose'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rubysdl_joystick.o: in function `Joystick_s_update':
rubysdl_joystick.c:(.text+0x81): undefined reference to `SDL_JoystickUpdate'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: rubysdl_joystick.o: in function `Joystick_s_num':

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200814-212555

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.45.2 *
The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Aug 18 12:05:51 AM UTC 2020
/var/db/repos/libressl	Mon Aug 10 09:13:35 AM UTC 2020

emerge -qpvO dev-ruby/ruby-sdl
[ebuild  N    ] dev-ruby/ruby-sdl-2.1.2-r2  USE="mpeg truetype -image -mixer -sge" RUBY_TARGETS="ruby25 -ruby26"
Comment 1 Toralf Förster gentoo-dev 2020-08-18 07:21:39 UTC
Created attachment 655192 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-08-18 07:21:41 UTC
Created attachment 655194 [details]
dev-ruby:ruby-sdl-2.1.2-r2:20200818-004640.log
Comment 3 Toralf Förster gentoo-dev 2020-08-18 07:21:43 UTC
Created attachment 655196 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-08-18 07:21:45 UTC
Created attachment 655198 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-08-18 07:21:47 UTC
Created attachment 655200 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-08-18 07:21:49 UTC
Created attachment 655202 [details]
logs.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-08-21 15:02:50 UTC
The bug has been closed via the following commit(s):

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

commit d0d628e61e0e1999cfc9354695bb1d526161836d
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2020-08-21 09:34:24 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2020-08-21 15:01:41 +0000

    dev-ruby/ruby-sdl: fix libsdl dependency
    
    Joystick support is required.
    
    Closes: https://bugs.gentoo.org/737714
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 dev-ruby/ruby-sdl/ruby-sdl-2.1.2-r3.ebuild | 65 ++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)