Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgudev 238 build failure #60

Closed
pg83 opened this issue Jul 6, 2023 · 4 comments
Closed

libgudev 238 build failure #60

pg83 opened this issue Jul 6, 2023 · 4 comments

Comments

@pg83
Copy link

pg83 commented Jul 6, 2023

meson.build:48:14: ERROR: Dependency lookup for libudev with method 'pkgconfig' failed: Invalid version, need 'libudev' ['>= 251'] found '243'.

or, if manually patch libgudev's meson.build:

[2/7] Compiling C object gudev/libgudev-1.0.a.p/gudevdevice.c.o
FAILED: gudev/libgudev-1.0.a.p/gudevdevice.c.o 
clang -Igudev/libgudev-1.0.a.p -Igudev -I../src/gudev -I. -I../src -I/ix/store/uLZwZLFmS7MUKLco-lib-glib-ix/include/glib-2.0 -I/ix/store/uLZwZLFmS7MUKLco-lib-glib-ix/lib/glib-2.0/include -I/ix/store/GPIWf4WiE7ZIx2wg-lib-pcre-2/include -I/ix/store/uLZwZLFmS7MUKLco-lib-glib-ix/include -I/ix/store/ZufDx1e6EVfFCuNi-lib-ffi/include -I/ix/store/IZd80D0arFljmJVh-lib-udev-zero/include -fcolor-diagnostics -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -Wno-unknown-warning-option -fPIC -pthread -DHAVE_CONFIG_H -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_GUDEV_COMPILATION -D_GUDEV_WORK_AROUND_DEV_T_BUG '-DG_LOG_DOMAIN="GUdev"' -MD -MQ gudev/libgudev-1.0.a.p/gudevdevice.c.o -MF gudev/libgudev-1.0.a.p/gudevdevice.c.o.d -o gudev/libgudev-1.0.a.p/gudevdevice.c.o -c ../src/gudev/gudevdevice.c
../src/gudev/gudevdevice.c:146:12: error: call to undeclared function 'udev_device_get_current_tags_list_entry'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  for (l = udev_device_get_current_tags_list_entry (device->priv->udevice); l != NULL; l = udev_list_entry_get_next (l))
           ^
../src/gudev/gudevdevice.c:146:12: note: did you mean 'udev_device_get_tags_list_entry'?
/ix/store/IZd80D0arFljmJVh-lib-udev-zero/include/libudev.h:72:25: note: 'udev_device_get_tags_list_entry' declared here
struct udev_list_entry *udev_device_get_tags_list_entry(struct udev_device *udev_device);
                        ^
1 error generated.
@illiliti
Copy link
Owner

illiliti commented Jul 7, 2023

Simply adding a stub of udev_device_get_current_tags_list_entry should be enough to unbreak the build. I'll push this fix and also bump version number when I get home.

@illiliti
Copy link
Owner

99f1bc9
ee32ac5

I can cut a new release for you. Interested?

@pg83
Copy link
Author

pg83 commented Jul 12, 2023

Yes, I'll give it a try.

@illiliti
Copy link
Owner

Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants