Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916118 - media-libs/libsdl2-2.28.4: SDL_hid_init(): Failed loading udev_device_get_action: /usr/lib64/libSDL2-2.0.so.0: undefined symbol: _udev_device_get_action
Summary: media-libs/libsdl2-2.28.4: SDL_hid_init(): Failed loading udev_device_get_act...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-22 13:39 UTC by Michał Górny
Modified: 2023-10-22 18:07 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-10-22 13:39:02 UTC
I've noticed this while working with dev-python/PySDL2 test suite.

The reproducer:

```
#include <SDL.h>
#include <SDL_hidapi.h>

int main() {
	SDL_hid_init();
	printf("%s\n", SDL_GetError());

	return 0;
}
```

$ gcc repro.c $(pkg-config --cflags --libs sdl2)
$ ./a.out 
Failed loading udev_device_get_action: /usr/lib64/libSDL2-2.0.so.0: undefined symbol: _udev_device_get_action
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-10-22 17:30:03 UTC
Per upstream this is working as intended, and pysdl2 was wrong.  FWICS pysdl2 was already fixed in git, so nothing to do here.
Comment 2 Larry the Git Cow gentoo-dev 2023-10-22 18:07:06 UTC
The bug has been referenced in the following commit(s):

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

commit 3825b89edbaf421648a3aacc290951fd030d7a07
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-10-22 18:06:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-10-22 18:06:17 +0000

    dev-python/PySDL2: update test skip comment
    
    Bug: https://bugs.gentoo.org/916118
    Bug: https://bugs.gentoo.org/916120
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/PySDL2/PySDL2-0.9.16.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)