pkgsrc-Users archive

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

x11/qt5-qtbase fails to build for me



I use a pkg_comp chroot with NetBSD 6.0 inside.
This is the first time I'm using MAKE_JOBS=3.

The build fails with

libtool --silent --mode=compile c++ -c -O2 -D_NETBSD_SOURCE -I/usr/pkg/include 
-I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include 
-I/usr/X11R7/include/libdrm -O2 -D_NETBSD_SOURCE -I/usr/pkg/include 
-I/usr/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include 
-I/usr/X11R7/include/libdrm -pthread -I/usr/pkg/include/glib/glib-2.0 
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include -std=c++0x -Wall -W 
-D_REENTRANT -fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_XKB 
-DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT 
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT 
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS 
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_USE_ICU -DQT_CORE_LIB 
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG 
-I../../mkspecs/netbsd-g++ -I. -I/usr/pkg/include -I/usr/include 
-I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
-I../../include -I../../include/QtCore -I../../include/QtCore/5.2.1 
-I../../include/QtCore/5.2.1/QtCore -Iglobal -I../3rdparty/harfbuzz/src 
-I../3rdparty/md5 -I../3rdparty/md4 -I../3rdparty/sha3 -I.moc 
-I/usr/pkg/include -o .obj/qwaitcondition_unix.lo thread/qwaitcondition_unix.cpp
thread/qwaitcondition_unix.cpp: In function 'void 
qt_initialize_pthread_cond(pthread_cond_t*, const char*)':
thread/qwaitcondition_unix.cpp:83:61: error: 'pthread_condattr_setclock' was 
not declared in this scope
Makefile:17555: recipe for target '.obj/qwaitcondition_unix.lo' failed
gmake[2]: *** [.obj/qwaitcondition_unix.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory 
'/pkg_comp/obj/pkgsrc/x11/qt5-qtbase/default/qt-everywhere-opensource-src-5.2.1/qtbase/src/corelib'
Makefile:131: recipe for target 'sub-corelib-make_first' failed
gmake[1]: *** [sub-corelib-make_first] Error 2
gmake[1]: Leaving directory 
'/pkg_comp/obj/pkgsrc/x11/qt5-qtbase/default/qt-everywhere-opensource-src-5.2.1/qtbase/src'
Makefile:38: recipe for target 'sub-src' failed
gmake: *** [sub-src] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/x11/qt5-qtbase
*** Error code 1

www/firefox fails the same way on pthread_condattr_setclock.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- The Doctor: No, 'eureka' is Greek for
\X/ rhialto/at/xs4all.nl    -- 'this bath is too hot.'

Attachment: pgprCn8lOBcBN.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index