Package Details: libudev0 182-3

Git Clone URL: https://aur.archlinux.org/libudev0.git (read-only, click to copy)
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: None
Last Packager: proninyaroslav
Votes: 45
Popularity: 0.000000
First Submitted: 2014-09-28 15:00 (UTC)
Last Updated: 2016-03-21 12:03 (UTC)

Latest Comments

Anfasa commented on 2018-09-12 16:32 (UTC)

Getting the exact same issue as Odusseus3215. I've tried a few workarounds but none have worked so far.

Odusseus3215 commented on 2018-06-29 13:37 (UTC)

Hi, I got an 'usbutils not found' error when trying to install the package. I have usbutils-010-1 installed. Any idea?

Thanks

checking for /usr/share/hwdata/pci.ids... yes checking for /usr/share/misc/pci.ids... no checking for USBUTILS... no configure: error: Package requirements (usbutils >= 0.82) were not met:

Package 'usbutils', required by 'virtual:world', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.

Alternatively, you may set the environment variables USBUTILS_CFLAGS and USBUTILS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. ==> ERROR: A failure occurred in build(). Aborting...

kaptoxic commented on 2017-08-31 20:38 (UTC)

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 (UTC)

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!

commented on 2017-07-03 15:29 (UTC)

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 (UTC)

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 (UTC) (edited on 2017-07-01 01:12 (UTC) by haximilian)

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 (UTC)

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 (UTC)

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

WorMzy commented on 2016-04-11 14:43 (UTC)

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.

proninyaroslav commented on 2016-04-11 14:37 (UTC)

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

Alad commented on 2016-04-11 14:23 (UTC)

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

proninyaroslav commented on 2016-03-21 12:06 (UTC)

@WorMzy Thank you very very much! New version is now available for download.

WorMzy commented on 2016-03-21 10:55 (UTC) (edited on 2016-03-21 10:58 (UTC) by WorMzy)

I've fixed the build failures and removed the license file (you don't need to install common licenses included in the licenses package): http://pastie.org/private/riac8o5nj6gazqrquqpeag

jdarch commented on 2016-02-26 09:44 (UTC) (edited on 2016-02-26 09:45 (UTC) by jdarch)

It looks like the availability of some files has changed (with a change in gan external package), I suppose one should look into how they can(or should) be obtained now.

proninyaroslav commented on 2016-02-25 10:37 (UTC)

The problem is not in the PKGBUILD. I think that the blame gperf.

lviggiani commented on 2016-02-25 09:06 (UTC)

Same here while installing from yaourt

bburlein commented on 2016-02-24 10:21 (UTC) (edited on 2016-02-24 10:24 (UTC) by bburlein)

hi jdarch, i am getting this error when running "makepkg -sri": 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 ==> ERROR: A failure occurred in build(). Aborting... please help! here is the full output: [bill@mbp libudev0]$ makepkg -sri ==> Making package: libudev0 182-2 (Wed Feb 24 05:17:10 EST 2016) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (1) gperf-3.0.4-6 Total Installed Size: 0.21 MiB :: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [############################################] 100% (1/1) checking package integrity [############################################] 100% (1/1) loading package files [############################################] 100% (1/1) checking for file conflicts [############################################] 100% (1/1) checking available disk space [############################################] 100% :: Processing package changes... (1/1) installing gperf [############################################] 100% ==> Retrieving sources... -> Found udev-182.tar.xz ==> Validating source files with sha256sums... udev-182.tar.xz ... Passed ==> Extracting sources... -> Extracting udev-182.tar.xz with bsdtar ==> Starting prepare()... autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 ${ACLOCAL_FLAGS} autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'. libtoolize: copying file 'build-aux/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: /usr/bin/autoconf --force autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /usr/bin/automake line 3936. configure.ac:10: installing 'build-aux/compile' configure.ac:9: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' autoreconf: Leaving directory `.' ==> Removing existing $pkgdir/ directory... ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking whether make supports nested variables... (cached) yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gawk... (cached) gawk checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtkdoc-check... no checking for gtkdoc-rebase... no checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for xsltproc... /usr/bin/xsltproc checking for library containing clock_gettime... none required checking for BLKID... yes checking for KMOD... yes checking for /usr/share/pci.ids... no checking for /usr/share/hwdata/pci.ids... yes checking for /usr/share/misc/pci.ids... no checking for USBUTILS... yes checking for USB database location... /usr/share/hwdata/usb.ids checking for PCI database location... /usr/share/hwdata/pci.ids checking for gperf... /usr/bin/gperf checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes In file included from /usr/include/sys/time.h:21:0, from /usr/include/linux/input.h:12, from <stdin>:1: /usr/include/features.h:331:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/docs/Makefile config.status: creating src/docs/version.xml config.status: creating src/gudev/docs/Makefile config.status: creating src/gudev/docs/version.xml config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands udev 182 ======== prefix: /usr rootprefix: /usr sysconfdir: /etc bindir: /usr/bin libdir: /usr/lib rootlibdir: /usr/lib libexecdir: /usr/lib/udev datarootdir: ${prefix}/share mandir: ${datarootdir}/man includedir: ${prefix}/include include_prefix: /usr/include systemdsystemunitdir: /usr/lib/systemd/system firmware path: \"/usr/lib/firmware/updates/\", \"/usr/lib/firmware/\" usb.ids: /usr/share/hwdata/usb.ids pci.ids: /usr/share/hwdata/pci.ids compiler: gcc cflags: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong ldflags: -Wl,-O1,--sort-common,--as-needed,-z,relro xsltproc: /usr/bin/xsltproc gperf: /usr/bin/gperf logging: yes debug: no selinux: no man pages yes gudev: no gintrospection: no keymap: yes mtd_probe: yes rule_generator: no floppy: no 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 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Packages (1) gperf-3.0.4-6 Total Removed Size: 0.21 MiB :: Do you want to remove these packages? [Y/n] y :: Processing package changes... (1/1) removing gperf [############################################] 100%

davidva commented on 2014-12-29 06:31 (UTC)

Thanks, This package solves problems with some programs as Atraci, Popcorntime, Spotify and others.

jdarch commented on 2014-09-29 09:44 (UTC)

Please add a comment if you encounter issues.