pkgsrc-Bugs archive

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

pkg/51509: cad/qcad build fails on NetBSD/i386-7.0_STABLE



>Number:         51509
>Category:       pkg
>Synopsis:       cad/qcad build fails on NetBSD/i386-7.0_STABLE
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 26 01:45:01 +0000 2016
>Originator:     John D. Baker
>Release:        NetBSD/i386-7.0_STABLE, pkgsrc-HEAD (pre-pkgsrc-2016Q3)
>Organization:
>Environment:
NetBSD verthandi 7.0_STABLE NetBSD 7.0_STABLE (VERTHANDI) #10: Sun Sep 11 17:15:07 CDT 2016  sysop%dpe2850b.technoskunk.fur@localhost:/d0/build/netbsd-7/obj/i386/sys/arch/i386/compile/VERTHANDI i386

>Description:
Building cad/qcad on NetBSD/i386-7.0_STABLE fails as follows:

[...]
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/libdrm -DQ_TRAILING_DIR_SEP -D_REENTRANT -fPIC -DQCAD_DLL -DQCADCORE_LIBRARY -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WEBKIT_LIB -DQT_SCRIPT_LIB -DQT_SCRIPTTOOLS_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XMLPATTERNS_LIB -DQT_XML_LIB -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -I/usr/pkg/qt4/mkspecs/default -I. -I/usr/pkg/qt4/include/QtHelp -I/usr/pkg/qt4/include/QtDesigner -I/usr/pkg/qt4/include/QtUiTools -I/usr/pkg/qt4/include/QtCore -I/usr/pkg/qt4/include/QtNetwork -I/usr/pkg/qt4/include/QtGui -I/usr/pkg/qt4/include/QtOpenGL -I/usr/pkg/qt4/include/QtXml -I/usr/pkg/qt4/include/QtXmlPatterns -I/usr/pkg/qt4/include/QtSql -I/usr/pkg/qt4/include/QtSvg -I/usr/pkg/qt4/include/QtScriptTools -I/usr/pkg/qt4/include/QtScript -I/usr/pkg/qt4/include/QtWebKit -I/usr/pkg/qt4/include -I. -Imath -I../grid -I../snap -I../gui -I.
 ./entity -I../operations -I../scripting -I../stemmer -I../scripting/ecmaapi -I../scripting/ecmaapi/generated -I../scripting/ecmaapi/adapters -I../io/dxf -I../spatialindex -I../3rdparty -I../zip -I/usr/pkg/include -I. -I/usr/pkg/include -o RLinetype.lo RLinetype.cpp
In file included from /d0/build/pkgsrc/cad/qcad/work/.buildlink/qt4/include/QtCore/QMetaType:1:0,
                 from RLinetype.h:28,
                 from RLinetype.cpp:19:
/d0/build/pkgsrc/cad/qcad/work/.buildlink/qt4/include/QtCore/qmetatype.h:268:12: error: redefinition of 'struct QMetaTypeId<unsigned int*>'
     struct QMetaTypeId< TYPE >                                          \
            ^
RMetaTypes.h:147:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
 Q_DECLARE_METATYPE(size_t*)
 ^
/d0/build/pkgsrc/cad/qcad/work/.buildlink/qt4/include/QtCore/qmetatype.h:268:12: error: previous definition of 'struct QMetaTypeId<unsigned int*>'
     struct QMetaTypeId< TYPE >                                          \
            ^
RMetaTypes.h:143:1: note: in expansion of macro 'Q_DECLARE_METATYPE'
 Q_DECLARE_METATYPE(unsigned int*)
 ^
*** Error code 1

Stop.
make[2]: stopped in /d0/build/pkgsrc/cad/qcad/work/qcad-3.15.5.3/src/core
*** Error code 1

Stop.
make[1]: stopped in /d0/build/pkgsrc/cad/qcad/work/qcad-3.15.5.3/src
*** Error code 1

Stop.
make: stopped in /d0/build/pkgsrc/cad/qcad/work/qcad-3.15.5.3
*** Error code 1

Stop.
make[1]: stopped in /x/pkgsrc/cad/qcad
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/cad/qcad

>How-To-Repeat:
See above.

"cad/qcad" builds without problem on NetBSD/amd64-7.0_STABLE.

Will investigate behavior on macppc-current at some point.
>Fix:



Home | Main Index | Thread Index | Old Index