Source: google-authenticator
Version: 20170702-2
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Dear Maintainer,

I do:
   apt-get source google-authenticator
   cd google-authenticator-20170702
   fakeroot make -f debian/rules binary

and see ...

make[3]: Entering directory 
'/home/peterc/src/work/oauth/google-authenticator-20170702/libpam'
FAIL: tests/pam_google_authenticator_unittest
=================================================
   google-authenticator 1.03: ./test-suite.log
=================================================

# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/pam_google_authenticator_unittest
=============================================

pam_google_authenticator_unittest: 
tests/pam_google_authenticator_unittest.c:335: main: Assertion 
`num_prompts_shown == (expected_bad_prompts_shown)' failed.
Secret file "/tmp/.google_authenticator_GjoQkr" must be owned by "peterc"
FAIL tests/pam_google_authenticator_unittest (exit status: 1)

============================================================================
Testsuite summary for google-authenticator 1.03
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to hab...@google.com
============================================================================
make[3]: *** [Makefile:1283: test-suite.log] Error 1



It turns out you can't build the whole thing in one step

I needed to do:
  make -f debian/rules binary
  ....
  create-stamp debian/debhelper-build-stamp
  dh_testroot -O--sourcedirectory=libpam
  dh_testroot: You must run this as root (or use fakeroot).
make: *** [debian/rules:13: binary] Error 255

then repeat with
  fakeroot make -f debian/rules binary


Peter C
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf, armel, i386, powerpc, arm64, riscv64

Kernel: Linux 5.0.0-rc4-00001-g4aa9fc2a435a (SMP w/8 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to