Public bug reported:

12:41:51 viking-1.2.1$ lsb_release -rd
Description:    Ubuntu 12.04 LTS
Release:        12.04
12:41:59 viking-1.2.1$ apt-cache policy viking
viking:
  Installed: 1.2.1-3build1
  Candidate: 1.2.1-3build1
  Version table:
 *** 1.2.1-3build1 0
        500 http://mirror.de.leaseweb.net/ubuntu/ precise/universe amd64 
Packages
        100 /var/lib/dpkg/status

Steps to reproduce in Ubuntu 12.04:
1. apt-get source viking
2. cd viking-1.2.1/
3. dpkg-buildpackage -rfakeroot

Error message:
-----------------------------------------------------------------
...
src/Makefile.am:18: XP was already defined in condition TRUE, which includes 
condition HAVE_XSLTPROC ...
configure.ac:321: ... `XP' previously defined here
src/icons/Makefile.am:263: `%'-style pattern rules are a GNU make extension
configure.ac:341: required file `doc/reference/Makefile.in' not found
make[1]: *** [Makefile.in] Error 1
make[1]: Leaving directory `/stor/Software/viking-1.2.1'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-----------------------------------------------------------------

I've tried reaming the XP variable in "configure.ac", but then it fails later 
with:
configure.ac:341: required file `doc/reference/Makefile.in' not found

After commenting out those lines (the if...then block that tries to load that 
missing file) it stops at:
-----------------------------------------------------------------
...
Removing patch 0003-Add-missing-lz.patch
Restoring src/Makefile.am

Removing patch 0001-disable-po-check.patch
Restoring po/Makefile.in.in

Patch GPSD-API-v5.patch does not remove cleanly (refresh it or enforce with -f)
dh_quilt_unpatch: quilt --quiltrc /dev/null pop -a || test $? = 2 returned exit 
code 1
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
-----------------------------------------------------------------

** Affects: viking (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/996476

Title:
  viking build error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/viking/+bug/996476/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to