Unable to compile twidge on xenial
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
twidge (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Steps to reproduce:
1. Install Ubuntu 16.04 and enable deb-src
2. Install twidge build-dependencies:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get build-dep twidge
3. Try to compile unpatched package:
apt-get source twidge --compile
Expected results:
* twidge is compiled successfully
Actual results:
* twidge is not compiled, shows errors as follows:
$ apt-get source twidge --compile
Reading package lists... Done
NOTICE: 'twidge' packaging is maintained in the 'Git' version control system at:
git://github.
Please use:
git clone git://github.
to retrieve the latest (possibly unreleased) updates to the package.
Skipping already downloaded file 'twidge_1.1.2.dsc'
Skipping already downloaded file 'twidge_
Need to get 0 B of source archives.
Skipping unpack of already unpacked source in twidge-1.1.2
dpkg-buildpackage: source package twidge
dpkg-buildpackage: source version 1.1.2
dpkg-buildpackage: source distribution unstable
dpkg-buildpackage: source changed by John Goerzen <email address hidden>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build twidge-1.1.2
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
dh_auto_clean -- clean-code
make -j1 clean clean-code
make[1]: Entering directory '/home/
./setup clean
cleaning...
cd libsrc && ../setup clean
/bin/sh: 1: cd: can't cd to libsrc
Makefile:21: recipe for target 'clean-code' failed
make[1]: [clean-code] Error 2 (ignored)
rm -rf dist libsrc/dist *.ho *.hi *.o *.a setup *~
rm -f `find . -name "*~"` `find . -name "*.o"`
rm -f `find . -name "*.cm*"`
cd doc && scons -c && scons -c html pdf text ps
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Cleaning targets ...
scons: done cleaning targets.
rm -rf doc/.sconsign* .depend test
rm -f doc/manpage* doc/*.1
make[1]: 'clean-code' is up to date.
make[1]: Leaving directory '/home/
# -/usr/bin/make clean-code
rm -rf debian/tmp-doc
dh_clean
debian/rules build
dh_testdir
# Add here commands to configure the package.
touch configure-stamp
dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory '/home/
ghc -package Cabal Setup.lhs -o setup
[1 of 1] Compiling Main ( Setup.lhs, Setup.o )
Linking setup ...
./setup configure
Configuring twidge-1.1.2...
setup: At least the following dependencies are missing:
text >=0.11.2.0 && <0.12
Makefile:6: recipe for target 'all' failed
make[1]: *** [all] Error 1
make[1]: Leaving directory '/home/
debian/rules:34: recipe for target 'build-stamp' failed
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Build command 'cd twidge-1.1.2 && dpkg-buildpackage -b -uc' failed.
E: Sub-process dpkg-source returned an error code (1)
Note: inspired by this AskUbuntu question - https:/
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: twidge 1.1.2
ProcVersionSign
Uname: Linux 4.4.0-112-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 29 21:31:25 2018
InstallationDate: Installed on 2018-01-04 (25 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
SourcePackage: twidge
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | added: ftbfs |