[Xapian-tickets] [Xapian] #228: Trying to build xapian package for dapper fails during fakeroot apt-get source -b xapian-core

Xapian nobody at xapian.org
Thu Jan 15 12:58:08 GMT 2009


#228: Trying to build xapian package for dapper fails during fakeroot apt-get
source -b xapian-core
--------------------------+-------------------------------------------------
 Reporter:  rhatch        |        Owner:  olly      
     Type:  defect        |       Status:  closed    
 Priority:  normal        |    Milestone:            
Component:  Build system  |      Version:  1.0.5     
 Severity:  normal        |   Resolution:  worksforme
 Keywords:                |    Blockedby:            
 Platform:  Linux         |     Blocking:            
--------------------------+-------------------------------------------------
Changes (by olly):

  * status:  assigned => closed
  * resolution:  => worksforme


Old 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.

New 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.

--

Comment:

 No feedback from the reporter for a year, and we can't reproduce this
 ourselves so resolving as WORKSFORME.

 Bob: if you are still seeing this and want us to investigate, please
 attach error.ii as described in comment:11.

-- 
Ticket URL: <http://trac.xapian.org/ticket/228#comment:13>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list