pkgsrc-Users archive

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

Re: Package failure of x11/py-qt5 (pkgsrc-2018Q1)



In a pkg_comp1 chroot of NetBSD/amd64 7.0.

On Sat 07 Apr 2018 at 22:28:35 +0200, Rhialto wrote:
> ERROR: The following files are in the PLIST but not in /pkg_comp/obj/pkgsrc/x11/py-qt5/default/.destdir/usr/pkg:
> ERROR:         /pkg_comp/obj/pkgsrc/x11/py-qt5/default/.destdir/usr/pkg/lib/python2.7/site-packages/PyQt5/QtWebKit.so
> ERROR:         /pkg_comp/obj/pkgsrc/x11/py-qt5/default/.destdir/usr/pkg/lib/python2.7/site-packages/PyQt5/QtWebKitWidgets.so
> *** Error code 1

Early during the build, it fails as below.

Adding GCC_REQD += 4.9 seemed to help.


Checking to see if the QtWebKit module should be built...
/usr/pkg/qt5/bin/qmake -o cfgtest_QtWebKit.mk cfgtest_QtWebKit.pro
make -f cfgtest_QtWebKit.mk
c++ -c -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/incl
ude/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/i
nclude -I/usr/pkg/qt5/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/includ
e -I/usr/X11R7/include/libdrm -O2 -Wno-register -D_FORTIFY_SOURCE=2 -D_NETBSD_SO
URCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/p
kg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/includ
e/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/X11R7/include -I/usr/X11
R7/include/libdrm -std=gnu++11 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT
_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt
5/include/QtWebKit -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/include/QtNetwork
 -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/pkg/include -I/us
r/pkg/qt5/mkspecs/netbsd-g++ -o cfgtest_QtWebKit.o cfgtest_QtWebKit.cpp
g++ -lexecinfo -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/us
r/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -W
l,-rpath-link,/usr/pkg/qt5/lib -o cfgtest_QtWebKit cfgtest_QtWebKit.o   -L/usr/p
kg/lib -L/usr/X11R7/lib -L/usr/pkg/qt5/lib -lQt5WebKit -lQt5Gui -lQt5Network -lQ
t5Core -lGL 
/pkg_comp/obj/pkgsrc/x11/py-qt5/default/.buildlink/qt5/lib/libQt5WebKit.so: unde
fined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
/usr/pkg/qt5/lib/libWebCore.so.5: undefined reference to `operator delete[](void
*)@GLIBCXX_3.4'
/pkg_comp/obj/pkgsrc/x11/py-qt5/default/.buildlink/qt5/lib/libQt5WebKit.so: unde
fined reference to `vtable for __cxxabiv1::__class_type_info@CXXABI_1.3'

... 200 lines deleted ...

/usr/pkg/qt5/lib/libWebCore.so.5: undefined reference to `std::basic_ostream<cha
r, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basi
c_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/pkg/qt5/lib/libWebCore.so.5: undefined reference to `std::string::_Rep::_M_
destroy(std::allocator<char> const&)@GLIBCXX_3.4'
cfgtest_QtWebKit.mk:174: recipe for target 'cfgtest_QtWebKit' failed
make: *** [cfgtest_QtWebKit] Error 1

Checking to see if the QtWebKitWidgets module should be built...
/usr/pkg/qt5/bin/qmake -o cfgtest_QtWebKitWidgets.mk cfgtest_QtWebKitWidgets.pro
make -f cfgtest_QtWebKitWidgets.mk
c++ -c -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/incl
ude/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/i
nclude -I/usr/pkg/qt5/include -I/usr/X11R7/include/freetype2 -I/usr/X11R7/includ
e -I/usr/X11R7/include/libdrm -O2 -Wno-register -D_FORTIFY_SOURCE=2 -D_NETBSD_SO
URCE -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/p
kg/include/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/includ
e/freetype2 -I/usr/pkg/lib/dbus-1.0/include/dbus -I/usr/X11R7/include -I/usr/X11
R7/include/libdrm -std=gnu++11 -Wall -W -fPIC -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_L
IB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETW
ORK_LIB -DQT_CORE_LIB -I. -I/usr/pkg/qt5/include -I/usr/pkg/qt5/include/QtWebKit
Widgets -I/usr/pkg/qt5/include/QtPrintSupport -I/usr/pkg/qt5/include/QtWidgets -
I/usr/pkg/qt5/include/QtWebKit -I/usr/pkg/qt5/include/QtGui -I/usr/pkg/qt5/inclu
de/QtNetwork -I/usr/pkg/qt5/include/QtCore -I. -I/usr/X11R7/include -I/usr/pkg/i
nclude -I/usr/pkg/qt5/mkspecs/netbsd-g++ -o cfgtest_QtWebKitWidgets.o cfgtest_Qt
WebKitWidgets.cpp
g++ -lexecinfo -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/us
r/X11R7/lib -Wl,-R/usr/X11R7/lib -Wl,-O1 -pthread -Wl,-rpath,/usr/pkg/qt5/lib -W
l,-rpath-link,/usr/pkg/qt5/lib -o cfgtest_QtWebKitWidgets cfgtest_QtWebKitWidget
s.o   -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/pkg/qt5/lib -lQt5WebKitWidgets -lQt
5PrintSupport -lQt5Widgets -lQt5WebKit -lQt5Gui -lQt5Network -lQt5Core -lGL 
/pkg_comp/obj/pkgsrc/x11/py-qt5/default/.buildlink/qt5/lib/libQt5WebKit.so: unde
fined reference to `vtable for __cxxabiv1::__vmi_class_type_info@CXXABI_1.3'
/usr/pkg/qt5/lib/libWebCore.so.5: undefined reference to `operator delete[](void
*)@GLIBCXX_3.4'

... similar...

/usr/pkg/qt5/lib/libWebCore.so.5: undefined reference to `std::basic_ostream<cha
r, std::char_traits<char> >& std::operator<< <std::char_traits<char> >(std::basi
c_ostream<char, std::char_traits<char> >&, char const*)@GLIBCXX_3.4'
/usr/pkg/qt5/lib/libWebCore.so.5: undefined reference to `std::string::_Rep::_M_
destroy(std::allocator<char> const&)@GLIBCXX_3.4'
cfgtest_QtWebKitWidgets.mk:175: recipe for target 'cfgtest_QtWebKitWidgets' fail
ed
make: *** [cfgtest_QtWebKitWidgets] Error 1

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- Wayland: Those who don't understand X
\X/ rhialto/at/falu.nl      -- are condemned to reinvent it. Poorly.

Attachment: signature.asc
Description: PGP signature



Home | Main Index | Thread Index | Old Index