pkgsrc-Users archive

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

error building kde4 under current with gcc 4.5



Hi,
just updated my Lenovo T60 to the latest current. Compiling the source tree 
under gcc 4.5 was fine so I decided to recompile the packages. Big mistake,
kde4 compilation bombs out compiling kdepimlibs4 about 2/3 way through:

=> Bootstrap dependency digest>=20010302: found digest-20080510
=> Checksum SHA1 OK for kdepimlibs-4.5.5.tar.bz2
=> Checksum RMD160 OK for kdepimlibs-4.5.5.tar.bz2
===> Installing dependencies for kdepimlibs4-4.5.5nb1
==========================================================================
The following variables will affect the build process of this package,
kdepimlibs4-4.5.5nb1.  Their current value is shown below:

        * FAM_DEFAULT = fam
        * GIFLIB_IMPLEMENTATION = giflib
        * JPEG_DEFAULT = jpeg
        * KRB5_DEFAULT = heimdal
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

Based on these variables, the following variables have been set:

        * FAMBASE (defined, but empty)
        * FAM_TYPE = fam
        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = jpeg
        * KRB5BASE (defined, but empty)
        * KRB5_TYPE = heimdal

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Build dependency automoc4>=0.9.87: found automoc4-0.9.88nb7
=> Build dependency cmake>=2.8.1nb1: found cmake-2.8.5
=> Build dependency perl>=5.0: found perl-5.14.1
=> Build dependency pkg-config>=0.19: found pkg-config-0.25nb1
=> Build dependency x11-links>=0.66: found x11-links-0.66
=> Build dependency qt4-tools>=4.7.2nb1: found qt4-tools-4.7.3
=> Build dependency boost-headers-1.46.*: found boost-headers-1.46.1
=> Full dependency qt4-libs>=4.7.2nb2: found qt4-libs-4.7.3
=> Full dependency qt4-qdbus>=4.7.2nb1: found qt4-qdbus-4.7.3
=> Full dependency boost-libs-1.46.*: found boost-libs-1.46.1
=> Full dependency akonadi>=1.4.0nb3: found akonadi-1.4.0nb5
=> Full dependency cyrus-sasl>=2.1.20nb3: found cyrus-sasl-2.1.23
=> Full dependency gpgme>=1.3.0nb1: found gpgme-1.3.0nb1
=> Full dependency libical>=0.42: found libical-0.44
=> Full dependency kdelibs4>=4.5.5nb3: found kdelibs4-4.5.5nb4
===> Overriding tools for kdepimlibs4-4.5.5nb1
===> Extracting for kdepimlibs4-4.5.5nb1
===> Patching for kdepimlibs4-4.5.5nb1
=> Applying pkgsrc patches for kdepimlibs4-4.5.5nb1
===> Creating toolchain wrappers for kdepimlibs4-4.5.5nb1
src=/usr/X11R7/lib/pkgconfig/fixesproto.pc  
dst=/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/lib/pkgconfig/fixesext.pc;  
/bin/mkdir -p /usr/pkgsrc/misc/kdepimlibs4/work/.build
link/lib/pkgconfig;  if test -f ${src}; then  /bin/ln -sf ${src} ${dst};  fi
===> Configuring for kdepimlibs4-4.5.5nb1
/bin/ln -sf /usr/pkg/qt4/bin/qmake 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/bin/
/bin/mkdir -p /usr/pkgsrc/misc/kdepimlibs4/work/kdepimlibs-4.5.5/_KDE_build
=> Replacing Perl interpreter in mailtransport/kconf_update/migrate-
transports.pl.
=> Fixing locale directory references.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt

snip..snip..snip


Building CXX object akonadi/CMakeFiles/akonadi-kde.dir/typepluginloader.o
In file included from 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered_set.hpp:16:0,
                 from 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/graph/adjacency_list.hpp:21,
                 from 
/usr/pkgsrc/misc/kdepimlibs4/work/kdepimlibs-4.5.5/akonadi/typepluginloader.cpp:36:
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:201:44:
 
error: expected ')' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:213:39:
 
error: declaration of 'operator=' as non-function
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:213:33:
 
error: expected ';' before '(' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:221:9:
 
error: expected ';' before 'allocator_type'
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:354:26:
 
error: 'std::initializer_list' has not been declared
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:354:42:
 
error: expected ',' or '...' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:
 
In member function 'void boost::unordered_set<T, H, P, A>::insert(int)':
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:356:33:
 
error: 'list' was not declared in this scope
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:
 
At global scope:
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:709:49:
 
error: expected ')' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:721:44:
 
error: declaration of 'operator=' as non-function
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:721:38:
 
error: expected ';' before '(' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:729:9:
 
error: expected ';' before 'allocator_type'
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:858:26:
 
error: 'std::initializer_list' has not been declared
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:858:42:
 
error: expected ',' or '...' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:
 
In member function 'void boost::unordered_multiset<T, H, P, A>::insert(int)':
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_set.hpp:860:33:
 
error: 'list' was not declared in this scope
In file included from 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered_map.hpp:16:0,
                 from 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/pending/container_traits.hpp:23,
                 from 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/graph/detail/adjacency_list.hpp:32,
                 from 
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/graph/adjacency_list.hpp:337,
                 from 
/usr/pkgsrc/misc/kdepimlibs4/work/kdepimlibs-4.5.5/akonadi/typepluginloader.cpp:36:
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:
 
At global scope:
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:207:44:
 
error: expected ')' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:219:39:
 
error: declaration of 'operator=' as non-function
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:219:33:
 
error: expected ';' before '(' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:227:9:
 
error: expected ';' before 'allocator_type'
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:362:26:
 
error: 'std::initializer_list' has not been declared
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:362:42:
 
error: expected ',' or '...' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:
 
In member function 'void boost::unordered_map<K, T, H, P, A>::insert(int)':
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:364:33:
 
error: 'list' was not declared in this scope
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:
 
At global scope:
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:763:49:
 
error: expected ')' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:775:44:
 
error: declaration of 'operator=' as non-function
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:775:38:
 
error: expected ';' before '(' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:783:9:
 
error: expected ';' before 'allocator_type'
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:916:26:
 
error: 'std::initializer_list' has not been declared
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:916:42:
 
error: expected ',' or '...' before '<' token
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:
 
In member function 'void boost::unordered_multimap<K, T, H, P, 
A>::insert(int)':
/usr/pkgsrc/misc/kdepimlibs4/work/.buildlink/include/boost/unordered/unordered_map.hpp:918:33:
 
error: 'list' was not declared in this scope
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/misc/kdepimlibs4/work/kdepimlibs-4.5.5/_KDE_build
*** Error code 1

Stop.


Anyone else seeing ths or got any suggestions on how to fix it.

Cheers,
Dave

-- 
===========================
Phone: 07805784357
Open Source O/S: http://www.netbsd.org
Caving: http://www.wirralcavinggroup.org.uk
===========================


Home | Main Index | Thread Index | Old Index