On Fri, Sep 04, 2015 at 07:50:57PM +0200, Michael Biebl wrote: > 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.
Hi Michael, Sorry to bug you again. I'm building 2.3.8-1 now, but the problem with systemd-ask-password remains. It is correctly detected in the build proccess (log attached), but still does not work. checking for systemd-ask-password... /bin/systemd-ask-password Current Build-Depends: debhelper (>= 7.0.50~), libssl-dev (>> 0.9.8g-9), liblzo2-dev, libpam0g-dev, libpkcs11-helper1-dev, pkg-config, dpkg-dev (>= 1.16.1), iproute2 [linux-any], net-tools [!linux-any], dh-systemd (>= 1.5), libsystemd-dev [linux-any], systemd [linux-any] Any hints would be appreciated. I could upload 2.3.7-2 just to easy the transition now if you want. Thanks, Alberto -- Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico mailto/sip: a...@inittab.org | en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55