Control: tag -1 +moreinfo Thanks for the bug report Andreas.
On Sun, 2017-09-24 at 22:20 +0200, Andreas Beckmann wrote: > Source: apport > Version: experimental > Severity: serious > Justification: fails to build from source > > Hi, > > apport FTBFS in a current sid/experimental environment: > > https://buildd.debian.org/status/package.php?p=apport&suite=experimen > tal > > debian/rules override_dh_auto_clean > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_clean > python setup.py clean -a > Could not determine system package manager. Copy appropriate > backends/packaging* to apport/packaging_impl.py > dh_auto_clean: python setup.py clean -a returned exit code 1 > debian/rules:10: recipe for target 'override_dh_auto_clean' failed > make[1]: *** [override_dh_auto_clean] Error 1 > The failure seems to be coming from here: if len(sys.argv) >= 2 and sys.argv[1] != 'sdist' and not os.path.exists('apport/packaging_impl.py'): if os.path.exists('/etc/apt/sources.list'): print('Installing apt/dpkg packaging backend.') shutil.copy('backends/packaging-apt-dpkg.py', 'apport/packaging_impl.py') elif os.path.exists('/usr/bin/rpm'): print('Installing RPM packaging backend.') shutil.copy('backends/packaging_rpm.py', 'apport/packaging_impl.py') else: print('Could not determine system package manager. Copy appropriate backends/packaging* to apport/packaging_impl.py') sys.exit(1) Isn't '/etc/apt/sources.list' and expected file ? What environment are you building it under ? Irrespective, I think a better check would be to look out for '/usr/bin/apt' or maybe '/usr/bin/dpkg' -- Ritesh Raj Sarraf | http://people.debian.org/~rrs Debian - The Universal Operating System
signature.asc
Description: This is a digitally signed message part