Bug#366933: [Pkg-kde-extras] Bug#366933: libkipi - FTBFS: error: libkipi/interface.h: No such file or directory

Achim Bohnet ach at mpe.mpg.de
Fri May 12 15:03:21 UTC 2006


On Friday 12 May 2006 09:58, Bastian Blank wrote:
> Package: libkipi
> Version: 0.1.3-1
> Severity: serious
> 
> There was an error while trying to autobuild your package:

Hi Bastian,

I had alreaday a look at the m68k failure yesterday, which fails for the same reason :(
> 
> > Automatic build of libkipi_0.1.3-1 on debian01 by sbuild/s390 85
> [...]
> >  g++ -DHAVE_CONFIG_H -I. -I/build/buildd/libkipi-0.1.3/./libkipi/libkipi -I../.. -I. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -g -Wall -O2 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c libkipi_la.all_cpp.cpp  -fPIC -DPIC -o .libs/libkipi_la.all_cpp.o
> > In file included from /build/buildd/libkipi-0.1.3/./libkipi/libkipi/interface.cpp:32,
> >                  from libkipi_la.all_cpp.cpp:2:
> > /build/buildd/libkipi-0.1.3/./libkipi/libkipi/pluginloader.h:25:31: error: libkipi/interface.h: No such file or directory
[...]
> > make: *** [debian/stamp-makefile-build] Error 2
> > ******************************************************************************
> > Build finished at 20060510-2356
> > FAILED [dpkg-buildpackage died]

Bug seems obvious.  Includedirs miss

        -I.. and -I$(srcdir)/..

but when I build libkipi in an svn checkout there are additional

        -I../../libkipi -I../../../libkipi

if /bin/sh ../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../libkipi/libkipi -I../.. -I. -I../../libkipi -I../../../libkipi -I/usr/include/kde -I/usr/share/qt3/include -I.   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long ...

At least in Kubuntu/Dapper when I delete libkipi*-dev and debuild 0.1.3
it fails too.  Ditto for plain configure; make.  Same on me.

kde-imaging developers:

does configure; make with libkipi-0.1.3 work for you when you remove _all other_ installations
of libkipi from the system, so the only kipi header files are in the srcdir or libkipi?
I'm a bit confused by the fact that an build from svn works.

If other system break too.  We should add something

INCLUDES = -I.. -$(srcdir)/..  <more here?>  $(all_includes)

in libkipi/libkipi/Makefile.am

I can only look into this later.  No time right now.

Achim

-- 
  To me vi is Zen.  To use vi is to practice zen. Every command is
  a koan. Profound to the user, unintelligible to the uninitiated.
  You discover truth everytime you use it.
                                      -- reddy at lion.austin.ibm.com




More information about the pkg-kde-extras mailing list