[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#305014: kdelibs4: fails to build in a clean environment due to a missing includedir



Package: kdelibs4
Version: 4:3.4.0-0pre3
Severity: serious
Tags: experimental patch
Justification: no longer builds from source

The latest kdelibs4 package from pkg-kde.alioth fails to build on a
clean environment (if kdelibs-dev is not already installed). On
compiling the kio/kssl component some headers cannot be found because
the kdecore/network directory is not among includes. The build stops with this 
error:

In file included from libkssl_la.all_cc.cc:9:
/tmp/kdelibs/kdelibs-3.4.0/kio/kssl/ksslpeerinfo.cc:34:23: kresolver.h:
No such file or directory

The following patch fixes the problem:
http://helion.xcyb.org/patches/17_kio_kssl_include_fix.diff .


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9-1-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages kdelibs4 depends on:
ii  kdelibs-bin            4:3.4.0-0pre3     core binaries for all KDE applicat
ii  kdelibs-data           4:3.4.0-0pre3     core shared data for all KDE appli
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D graphi
ii  libarts1               1.4.0-0pre2       aRts sound system core components
ii  libasound2             1.0.8-3           ALSA library
ii  libaspell15            0.60.2+20050121-2 The GNU Aspell spell-checker runti
ii  libaudio2              1.7-2             The Network Audio System (NAS). (s
ii  libbz2-1.0             1.0.2-5           high-quality block-sorting file co
ii  libc6                  2.3.2.ds1-20      GNU C Library: Shared libraries an
ii  libcomerr2             1.37-2            common error description library
ii  libcupsys2-gnutls10    1.1.23-7          Common UNIX Printing System(tm) - 
ii  libfam0c102            2.7.0-6           client library to control the FAM 
ii  libfontconfig1         2.3.1-2           generic font configuration library
ii  libfreetype6           2.1.7-2.3         FreeType 2 font engine, shared lib
ii  libgcc1                1:3.4.3-12        GCC support library
ii  libice6                6.8.2-10.xcyb     Inter-Client Exchange library
ii  libidn11               0.5.13-1.0        GNU libidn library, implementation
ii  libjasper-1.701-1      1.701.0-2         The JasPer JPEG-2000 runtime libra
ii  libjpeg62              6b-10             The Independent JPEG Group's JPEG 
ii  libkrb53               1.3.6-2           MIT Kerberos runtime libraries
ii  libopenexr2            1.2.2-1           runtime files for the OpenEXR imag
ii  libpcre3               5.0-1             Perl 5 Compatible Regular Expressi
ii  libpng12-0             1.2.8rel-1        PNG library - runtime
ii  libqt3c102-mt          3:3.3.4-2         Qt GUI Library (Threaded runtime v
ii  libsm6                 6.8.2-10.xcyb     X Window System Session Management
ii  libstdc++5             1:3.3.5-12        The GNU Standard C++ Library v3
ii  libtiff4               3.7.2-2           Tag Image File Format (TIFF) libra
ii  libx11-6               6.8.2-10.xcyb     X Window System protocol client li
ii  libxcursor1            1.1.3-1           X cursor management library
ii  libxext6               6.8.2-10.xcyb     X Window System miscellaneous exte
ii  libxft2                2.1.7-1           FreeType-based font drawing librar
ii  libxml2                2.6.16-7          GNOME XML library
ii  libxrandr2             6.8.2-10.xcyb     X Window System Resize, Rotate and
ii  libxrender1            0.9.0-0.xcyb      X Rendering Extension client libra
ii  libxslt1.1             1.1.12-8          XSLT processing library - runtime 
ii  libxt6                 6.8.2-10.xcyb     X Toolkit Intrinsics
ii  xbase-clients          6.8.2-10.xcyb     miscellaneous X clients
ii  xlibs                  6.8.2-10.xcyb     X Window System client libraries m
ii  zlib1g                 1:1.2.2-4         compression library - runtime

-- no debconf information
diff -Nur kdelibs-3.4.0.orig/kio/kssl/Makefile.am kdelibs-3.4.0/kio/kssl/Makefile.am
--- kdelibs-3.4.0.orig/kio/kssl/Makefile.am	2005-04-16 10:31:23.665004944 +0000
+++ kdelibs-3.4.0/kio/kssl/Makefile.am	2005-04-16 10:32:17.328846800 +0000
@@ -3,7 +3,7 @@
 # somewhere else. Another option for the future (needs testing) would be to
 # change SSL_INCLUDES to .../include/openssl and make the source use #include <foo.h>
 # instead of #include <openssl/foo.h>
-INCLUDES=-I$(top_srcdir)/kwallet/client $(all_includes) $(SSL_INCLUDES)
+INCLUDES=-I$(top_srcdir)/kwallet/client -I$(top_srcdir)/kdecore/network $(all_includes) $(SSL_INCLUDES)
 
 noinst_LTLIBRARIES = libkssl.la
 KSSLVERSION=	3.0.0
diff -Nur kdelibs-3.4.0.orig/kio/kssl/Makefile.in kdelibs-3.4.0/kio/kssl/Makefile.in
--- kdelibs-3.4.0.orig/kio/kssl/Makefile.in	2005-04-16 10:31:23.668004488 +0000
+++ kdelibs-3.4.0/kio/kssl/Makefile.in	2005-04-16 10:32:28.753110048 +0000
@@ -527,7 +527,7 @@
 # somewhere else. Another option for the future (needs testing) would be to
 # change SSL_INCLUDES to .../include/openssl and make the source use #include <foo.h>
 # instead of #include <openssl/foo.h>
-INCLUDES = -I$(top_srcdir)/kwallet/client $(all_includes) $(SSL_INCLUDES)
+INCLUDES = -I$(top_srcdir)/kwallet/client -I$(top_srcdir)/kdecore/network $(all_includes) $(SSL_INCLUDES)
 noinst_LTLIBRARIES = libkssl.la
 KSSLVERSION = 3.0.0
 KSSLPATCH = 0
-- 
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://linux.bitdefender.com/

Reply to: