Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 534246 - net-misc/tor-0.2.6.2_alpha: link against -lsystemd instead of -lsystemd-daemon
Summary: net-misc/tor-0.2.6.2_alpha: link against -lsystemd instead of -lsystemd-daemon
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Anthony Basile
URL: https://trac.torproject.org/projects/...
Whiteboard:
Keywords:
: 534530 534736 535812 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-01-01 20:45 UTC by Hristo Venev
Modified: 2015-01-07 20:16 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hristo Venev 2015-01-01 20:45:34 UTC
-lsystemd-daemon was removed a long time ago. Use the libraries provided by pkg-config
--- a/configure.ac
+++ b/configure.ac
@@ -130,7 +130,7 @@
 
 if test x$have_systemd = xyes; then
     AC_DEFINE(HAVE_SYSTEMD,1,[Have systemd])
-    TOR_SYSTEMD_LIBS="-lsystemd-daemon"
+    TOR_SYSTEMD_LIBS="${SYSTEMD_LIBS}"
 fi
 AC_SUBST(TOR_SYSTEMD_LIBS)
 

Possibly
--- a/configure.ac
+++ b/configure.ac
@@ -123,7 +123,7 @@
     have_systemd=no;
 else
     PKG_CHECK_MODULES(SYSTEMD,
-        [libsystemd-daemon],
+        [libsystemd],
         have_systemd=yes,
         have_systemd=no)
 fi


Reproducible: Always
Comment 1 Marc Schiffbauer gentoo-dev 2015-01-02 14:00:00 UTC
Seems I have the same problem here.
Comment 2 Anthony Basile gentoo-dev 2015-01-02 15:40:37 UTC
(In reply to Marc Schiffbauer from comment #1)
> Seems I have the same problem here.

This is a repeat of the same issue in stunnel.  systemd folks decided to change the names of things.

See: https://www.stunnel.org/pipermail/stunnel-users/2014-October/004809.html

I'll get a fix upstream.
Comment 3 Anthony Basile gentoo-dev 2015-01-02 15:41:33 UTC
Oops.  I meant CONFIRMED.
Comment 4 Anthony Basile gentoo-dev 2015-01-02 15:42:57 UTC
Its already reported upstream.
Comment 5 Anthony Basile gentoo-dev 2015-01-03 14:04:43 UTC
Upstream is aware of the issue and it will be resolved there.  Since this is an alpha and will never go stable on gentoo, I'm not going to backport anything but just wait for the next release.
Comment 6 Anthony Basile gentoo-dev 2015-01-04 22:07:47 UTC
*** Bug 534530 has been marked as a duplicate of this bug. ***
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-05 07:55:31 UTC
Please leave it open until the bug is resolved.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2015-01-05 07:55:40 UTC
*** Bug 534736 has been marked as a duplicate of this bug. ***
Comment 9 Anthony Basile gentoo-dev 2015-01-06 19:33:00 UTC
This is resolved upstream.  I'm not backporting it.  It will be out in the next release 0.2.6.3.

https://gitweb.torproject.org/tor.git/commit/?id=fcc78e5f8a3249eadfea31db1aca6884b31c1873
Comment 10 Anthony Basile gentoo-dev 2015-01-06 19:51:02 UTC
*** Bug 535812 has been marked as a duplicate of this bug. ***