Summary: | net-dns/avahi-0.6.31-r8 is using /usr/$(get_libdir)/systemd/system | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Tsoy <alexander> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pacho, systemd |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276, 554784 |
Forgot to mention: I'm using profile with SYMLINK_LIB=no LIBDIR_x86=lib I don't use systemd and can't really test, so I don't want to just guess what change I'm supposed to make and then add it to an ebuild which is 1/2 way done to being stabilized across all arches. Can you provide a tested patch. Also, if I can get an ack from the systemd team I'll add it. His +/- one-liner is just fine :P. I'll test it and commit for you. + 04 Aug 2015; Michał Górny <mgorny@gentoo.org> avahi-0.6.31-r8.ebuild: + Fix systemd service install directory, bug #556650 by Alexander Tsoy. Feel free to revbump if you consdier the change important enough. (In reply to Michał Górny from comment #4) > + 04 Aug 2015; Michał Górny <mgorny@gentoo.org> avahi-0.6.31-r8.ebuild: > + Fix systemd service install directory, bug #556650 by Alexander Tsoy. > > Feel free to revbump if you consdier the change important enough. No rev bump which is why I wanted to be careful with this. I am surprised how I didn't miss the QA warning (and, also, the link is alive in my case). But thanks for catching it! (In reply to Pacho Ramos from comment #6) As I mentioned in Comment #1, I have SYMLINK_LIB=no LIBDIR_x86=lib in my profile, thus I don't have /usr/lib -> /usr/lib64 symlink. |
systemdsystemunitdir is "/usr/lib/systemd/system". So please use systemd_get_unitdir(): - multilib_is_native_abi && dosym avahi-daemon.service /usr/$(get_libdir)/systemd/system/dbus-org.freedesktop.Avahi.service + multilib_is_native_abi && dosym avahi-daemon.service $(systemd_get_unitdir)/dbus-org.freedesktop.Avahi.service From the build log: * QA Notice: Symbolic link /usr/lib64/systemd/system/dbus-org.freedesktop.Avahi.service points to /usr/lib64/systemd/system/avahi-daemon.service which does not exist. >>> /usr/lib64/systemd/system/dbus-org.freedesktop.Avahi.service -> avahi-daemon.service $ qlist avahi | grep systemd /usr/lib/systemd/system/avahi-dnsconfd.service /usr/lib/systemd/system/avahi-daemon.socket /usr/lib/systemd/system/avahi-daemon.service /usr/lib64/systemd/system/dbus-org.freedesktop.Avahi.service