Am 04.09.2015 um 19:22 schrieb Michael Biebl: > Am 04.09.2015 um 19:09 schrieb Alberto Gonzalez Iniesta: >> On Fri, Sep 04, 2015 at 06:59:27PM +0200, Michael Biebl wrote: >>> Am 04.09.2015 um 18:53 schrieb Michael Biebl: >>>> Am 04.09.2015 um 18:08 schrieb Alberto Gonzalez Iniesta: >>> >>>>> So I had to (horribly) hack the configure.ac file. >>>>> >>>>> Anyway, the problem is that once built, the call to systemd-ask-password >>>>> (or >>>>> the request to execute systemd-tty-ask-password-agent, for that matter) >>>>> fails. >>>> >>>> Let's first figure out why the build fails for you. >>> >>> A complete (pbuilder/schroot) log which shows what packages are >>> installed, would be helpful here. > > Is your pbuilder chroot up-to-date? Does it have systemd installed? > > Seems like your configure script doesn't detect systemd-ask-password either: > > checking for systemd-ask-password... no > > That's where your problem with systemd-tty-ask-password-agent is > probably coming from.
Ok, I now understand where the problem is: PKG_CHECK_MODULES([libsystemd], [systemd libsystemd], [], [PKG_CHECK_MODULES([libsystemd], [libsystemd-daemon])] ) This is the configure check. It first tests for libsystemd.pc *and* systemd.pc. If those are not available, it tests for libsystemd-daemon.pc systemd.pc is shipped by the systemd package itself and *not* by libsystemd-dev. Since your pbuilder chroot doesn't have systemd installed, the first check always fails, but if you have libsystemd-daemon-dev around, the fallback succeeds. So, the trivial workaround for that is, to add a Build-Depends on "systemd". This will also make sure that systemd-ask-password is detected properly during build. Eventually, you should forward this issue upstream. It should drop the "systemd" from the pkg-config check, like this: PKG_CHECK_MODULES([libsystemd], [libsystemd], [], [PKG_CHECK_MODULES([libsystemd], [libsystemd-daemon])] ) -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature