Ticket #228 (assigned defect)
Trying to build xapian package for dapper fails during fakeroot apt-get source -b xapian-core
| Reported by: | rhatch | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Build system | Version: | 1.0.5 |
| Severity: | normal | Keywords: | |
| Cc: | richard | Blocked By: | |
| Operating System: | Linux | Blocking: |
Description
Building ubuntu dapper or gutsy gives a similar failure for command fakeroot apt-get source -b xapian-core.
g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include
-I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long -fno-gnu-keywords -Wundef -Wshadow -fvisibility=hidden -O2 -c ../api/editdistance.cc -o api/editdistance.o >/dev/null 2>&1 /bin/sh ./libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include -I../languages -Ilanguages -I../queryparser
-Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align
-Wno-multichar -Wno-long-long -fno-gnu-keywords -Wundef -Wshadow -fvisibility=hidden -O2 -c -o api/error.lo ../api/error.cc
g++ -DHAVE_CONFIG_H -I. -I.. -I../common -I../include -I./include
-I../languages -Ilanguages -I../queryparser -Wall -W -Wredundant-decls -Wpointer-arith -Wcast-qual -Wcast-align -Wno-multichar -Wno-long-long -fno-gnu-keywords -Wundef -Wshadow -fvisibility=hidden -O2 -c ../api/error.cc -fPIC -DPIC -o api/.libs/error.o In file included from ../api/error.cc:25: ../common/safeerrno.h:25:3: error: #error You must #include <config.h> before #include "safeerrno.h" make[3]: *** [api/error.lo] Error 1 make[3]: Leaving directory `/home/rhatch/xapian-core-1.0.5/xapian-core-1.0.5/build' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/rhatch/xapian-core-1.0.5/xapian-core-1.0.5/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/rhatch/xapian-core-1.0.5/xapian-core-1.0.5/build' make: *** [build-stamp] Error 2 Build command 'cd xapian-core-1.0.5 && dpkg-buildpackage -b -uc' failed. E: Child process failed
Prior to this failure the command below does not seem to work. sudo apt-get build-dep xapian-core Reading package lists... Done Building dependency tree... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
