pkgsrc-Bugs archive

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

pkg/44732: qt4-tools fails to build with qt4-libs-4.7.1nb4



>Number:         44732
>Category:       pkg
>Synopsis:       qt4-tools fails to build with qt4-libs-4.7.1nb4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 16 23:35:00 +0000 2011
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1 NetBSD 5.1 (GENERIC) #0: Mon Jan 31 
23:53:52 EET 2011 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
According to
    BUILDLINK_API_DEPENDS.qt4-libs=qt4-libs>=4.6.1nb2
and
    BUILDLINK_ABI_DEPENDS.qt4-libs=qt4-libs>=4.7.1nb4
qt4-libs-4.7.1nb4 is good enough for building qt4-tools.

In practise qt4-tools-4.7.2 fails to build with the following error message.

libtool --silent --mode=compile c++ -c -O2 -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/qt4/include -I/usr/pkg/include/freetype2 
-I/usr/pkg/qt4/include -D_REENTRANT -fPIC -DQT_SHARED -DQT_NO_DBUS 
-DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII 
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT 
-DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_OPENTYPE 
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP 
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE 
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE 
-D_LARGEFILE_SOURCE -I../../mkspecs/netbsd-g++ -I. -I../../include/QtCore 
-I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg 
-Iimage -I/usr/pkg/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I
 .moc/release-shared -I/usr/pkg/include -I.uic/release-shared 
-I/usr/pkg/include -o .obj/release-shared/qwidget.lo kernel/qwidget.cpp
kernel/qwidget.cpp: In member function 'void 
QWidget::setAttribute(Qt::WidgetAttribute, bool)':
kernel/qwidget.cpp:10817: error: 'WA_LockPortraitOrientation' is not a member 
of 'Qt'
kernel/qwidget.cpp:10818: error: 'WA_LockLandscapeOrientation' is not a member 
of 'Qt'
kernel/qwidget.cpp:10819: error: 'WA_AutoOrientation' is not a member of 'Qt'
kernel/qwidget.cpp:10821: error: 'WA_LockPortraitOrientation' is not a member 
of 'Qt'
kernel/qwidget.cpp:10822: error: 'WA_LockLandscapeOrientation' is not a member 
of 'Qt'
kernel/qwidget.cpp:10823: error: 'WA_AutoOrientation' is not a member of 'Qt'
gmake[6]: *** [.obj/release-shared/qwidget.lo] Error 1

At the same time it is built fine with qt4-libs-4.7.2.

>How-To-Repeat:
See above
>Fix:
Update of BUILDLINK_API_DEPENDS.qt4-libs in x11/qt4-libs/buildlink3.mk
and recursive pkgrevision bump?



Home | Main Index | Thread Index | Old Index