Package Details: libudev0 182-3

Git Clone URL: https://aur.archlinux.org/libudev0.git (read-only)
Package Base: libudev0
Description: Dynamic library to access udev device information, legacy libudev.so.0.
Upstream URL: https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html
Licenses: GPL
Submitter: jdarch
Maintainer: yaroslav
Last Packager: yaroslav
Votes: 47
Popularity: 0.388880
First Submitted: 2014-09-28 15:00
Last Updated: 2016-03-21 12:03

Latest Comments

kaptoxic commented on 2017-08-31 20:38

Some packages require libudev0-shim, while it is conflicting with this package. I get:
libudev0-shim and libudev.so.0 are in conflict (libudev0). Remove libudev.so.0? [y/N] n
error: unresolvable package conflicts detected

Is it possible to get around this issue?

haximilian commented on 2017-07-05 22:20

bg15407 Ah yes, I don't know why I didn't think to try that before. It's curious that I couldn't get it to build from source though. Either way, thank you very much for helping me fix my problem!

bg15407 commented on 2017-07-03 15:29

sudo pacman -S libudev0

will fix the issue before u install run this command and then run

yaourt -S brackets

WorMzy commented on 2017-07-01 12:48

You can either use the --disable-keymap option that vinsonizer mentioned, or you can add the following to the prepare function:

# lookup_key is wrongly declared
sed -i '39s:.*:const struct key* lookup_key (const char *str, register size_t len);:' src/keymap/keymap.c

haximilian commented on 2017-07-01 01:11

I just attempted to install this package on my machine as a dependency of 'brackets', and I got the following fatal error:


In file included from src/keymap/keymap.c:41:0:
src/keymap/keys-from-name.h:158:1: error: conflicting types for ‘lookup_key’
lookup_key (register const char *str, register size_t len)
^~~~~~~~~~
src/keymap/keymap.c:39:19: note: previous declaration of ‘lookup_key’ was here
const struct key* lookup_key (const char *str, unsigned int len);
^~~~~~~~~~
make[2]: *** [Makefile:2051: src/keymap/keymap-keymap.o] Error 1
make[1]: *** [Makefile:3190: all-recursive] Error 1
make: *** [Makefile:1333: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...


I've tried all of the following commands with no luck:
'makepkg -sri', 'makepkg -C', 'yaourt -S libudev0'

vinsonizer commented on 2017-04-06 10:21

I got this to build by using the --disable-keymap option... but i don't know what that will cause me to miss out on.

WorMzy commented on 2016-06-22 19:16

https://wiki.archlinux.org/index.php/Pacman#.22Failed_to_commit_transaction_.28conflicting_files.29.22_error

WorMzy commented on 2016-04-11 14:43

Try building in a clean chroot or with makepkg's -C flag. If you're using a kernel with non-standard headers, you will need to locate the equivalent to the linux/input-event-codes.h and adjust the prepare function accordingly.

yaroslav commented on 2016-04-11 14:37

@Alad
Download and rebuild again. I don't see this problem in my computer.

Alad commented on 2016-04-11 14:23

Fails with the same error:

GEN src/keymap/keys-from-name.h
(standard input): No keywords in input file!
Makefile:3998: recipe for target 'src/keymap/keys-from-name.h' failed
make: *** [src/keymap/keys-from-name.h] Error 1

All comments