Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 452892 - sys-fs/udev-197-r3 installs libsystemd-daemon but not related man pages
Summary: sys-fs/udev-197-r3 installs libsystemd-daemon but not related man pages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: udev maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-19 02:02 UTC by Marien Zwart (RETIRED)
Modified: 2013-01-19 18:24 UTC (History)
2 users (show)

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


Attachments
Install sd-daemon.h (udev-sd-daemon.patch,734 bytes, patch)
2013-01-19 06:03 UTC, Mike Gilbert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2013-01-19 02:02:15 UTC
sys-fs/udev-197-r3 installs /usr/lib64/libsystemd-daemon.so and /usr/lib64/pkgconfig/libsystemd-daemon.pc but not /usr/include/systemd/sd-daemon.h (and neither does the corresponding version of systemd). This makes pulseaudio-3.0[systemd] not build:

checking for SYSTEMD... yes
...
modules/module-console-kit.c:35:31: fatal error: systemd/sd-daemon.h: No such file or directory
compilation terminated.
make[3]: *** [module_console_kit_la-module-console-kit.lo] Error 1

(the "SYSTEMD" check is $PKG_CONFIG --exists --print-errors " libsystemd-login libsystemd-daemon ").

It looks like this library was moved from systemd to udev because libudev gained a dependency on it. Please make sure all interesting files are still installed by either systemd or udev. Looking at the Makefile that's mainly systemd/sd-daemon.h and some manpages.

You might also want to block versions of systemd that still install this library, to prevent collision-protect-related problems.
Comment 1 Mike Gilbert gentoo-dev 2013-01-19 06:03:09 UTC
Created attachment 336088 [details, diff]
Install sd-daemon.h

Here's a patch to install sd-daemon.h with udev.

Adding the missing manpages will be a pain using this method.

I would suggest a different strategy for building and installing udev. I think it would be better to patch Makefile.am rather than messing about with make targets.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-19 08:50:36 UTC
AFAIK William's already working on that. Aside from sd-daemon.h, there's a bunch of revelant manpages.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-01-19 13:47:31 UTC
Fixed in -r3, -r4 and 9999
Comment 4 Mike Gilbert gentoo-dev 2013-01-19 16:17:09 UTC
Re-opening due to man pages still missing.
Comment 5 Mike Gilbert gentoo-dev 2013-01-19 17:15:22 UTC
I think this is the list, if I didn't miss anything:

MANPAGES += \
    man/sd-daemon.3 \
    man/sd_notify.3 \
    man/sd_listen_fds.3 \
    man/sd_is_fifo.3 \
    man/sd_booted.3

MANPAGES_ALIAS += \
    man/sd_is_socket.3 \
    man/sd_is_socket_unix.3 \
    man/sd_is_socket_inet.3 \
    man/sd_is_mq.3 \
    man/sd_notifyf.3 \
    man/SD_LISTEN_FDS_START.3 \
    man/SD_EMERG.3 \
    man/SD_ALERT.3 \
    man/SD_CRIT.3 \
    man/SD_ERR.3 \
    man/SD_WARNING.3 \
    man/SD_NOTICE.3 \
    man/SD_INFO.3 \
    man/SD_DEBUG.3
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-01-19 18:24:13 UTC
(In reply to comment #5)
> I think this is the list, if I didn't miss anything:
> 
> MANPAGES += \
>     man/sd-daemon.3 \
>     man/sd_notify.3 \
>     man/sd_listen_fds.3 \
>     man/sd_is_fifo.3 \
>     man/sd_booted.3
> 
> MANPAGES_ALIAS += \
>     man/sd_is_socket.3 \
>     man/sd_is_socket_unix.3 \
>     man/sd_is_socket_inet.3 \
>     man/sd_is_mq.3 \
>     man/sd_notifyf.3 \
>     man/SD_LISTEN_FDS_START.3 \
>     man/SD_EMERG.3 \
>     man/SD_ALERT.3 \
>     man/SD_CRIT.3 \
>     man/SD_ERR.3 \
>     man/SD_WARNING.3 \
>     man/SD_NOTICE.3 \
>     man/SD_INFO.3 \
>     man/SD_DEBUG.3

These installed now.