Building qt5-gui port?
Tobias C. Berner
tcberner at freebsd.org
Sun Feb 10 07:31:32 UTC 2019
Moin moin
Make sure all your qt5-(qt5-gui dependency)-ports that are already
installed are at 5.12.0.
mfg Tobias
On Sun, 10 Feb 2019 at 06:28, Steve Kargl <sgk at troutmask.apl.washington.edu>
wrote:
> Anyone have any pointers on building x11-toolkits/qt5-gui on
> FreeBSD-current? My attempts end with
>
> c++ -Wl,--as-needed -fstack-protector -Wl,--no-undefined
> -Wl,--version-script,QtGui.version -pthread -Wl,-rpath,/usr/local/lib/qt5
> -shared -Wl,-Bsymbolic-functions
> -Wl,--dynamic-list,/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.12.0/src/gui/QtGui.dynlist
> -Wl,-soname,libQt5Gui.so.5 -o libQt5Gui.so.5.12.0 .obj/qaccessible.o
> .obj/qaccessiblecache.o .obj/qaccessibleobject.o
> .obj/qaccessibleplugin.o .obj/qplatformaccessibility.o
> .obj/qaccessiblebridge.o .obj/qgenericpluginfactory.o
> .obj/qgenericplugin.o .obj/qwindowsysteminterface.o
> .obj/qplatforminputcontextfactory.o .obj/qplatforminputcontextplugin.o
> .obj/qplatforminputcontext.o .obj/qplatformintegration.o
> .obj/qplatformscreen.o .obj/qplatformintegrationfactory.o
> .obj/qplatformintegrationplugin.o .obj/qplatformtheme.o
> .obj/qplatformthemefactory.o .obj/qplatformthemeplugin.o
> .obj/qplatformwindow.o .obj/qplatformoffscreensurface.o
> .obj/qplatformcursor.o .obj/qplatformclipboard.o .obj/qplatformnativei
> nterface.o .obj/qsessionmanager.o .obj/qsurfaceformat.o
> .obj/qguiapplication.o .obj/qwindow.o .obj/qoffscreensurface.o
> .obj/qplatformsurface.o .obj/qsurface.o .obj/qclipboard.o
> .obj/qcursor.o .obj/qevent.o .obj/qinputmethod.o
> .obj/qinternalmimedata.o .obj/qkeysequence.o .obj/qkeymapper.o
> .obj/qpalette.o .obj/qguivariant.o .obj/qscreen.o .obj/qshortcutmap.o
> .obj/qstylehints.o .obj/qtouchdevice.o
> .obj/qplatformsharedgraphicscache.o .obj/qplatformdialoghelper.o
> .obj/qplatformservices.o .obj/qplatformsystemtrayicon.o
> .obj/qplatformsessionmanager.o .obj/qplatformmenu.o .obj/qpixelformat.o
> .obj/qpaintdevicewindow.o .obj/qrasterwindow.o
> .obj/qplatformgraphicsbuffer.o .obj/qplatformgraphicsbufferhelper.o
> .obj/qinputdevicemanager.o .obj/qhighdpiscaling.o
> .obj/qtestsupport_gui.o .obj/qdnd.o .obj/qdrag.o .obj/qplatformdrag.o
> .obj/qshapedpixmapdndwindow.o .obj/qsimpledrag.o
> .obj/qplatformopenglcontext.o .obj/qopenglcontext.o .obj/qopenglwindow.o
> .obj/q
> bitmap.o .obj/qimage.o .obj/qimage_conversions.o
> .obj/qimageiohandler.o .obj/qimagereader.o
> .obj/qimagereaderwriterhelpers.o .obj/qimagewriter.o
> .obj/qpaintengine_pic.o .obj/qpicture.o .obj/qpictureformatplugin.o
> .obj/qpixmap.o .obj/qpixmapcache.o .obj/qplatformpixmap.o
> .obj/qpixmap_raster.o .obj/qpixmap_blitter.o
> .obj/qimagepixmapcleanuphooks.o .obj/qicon.o .obj/qiconloader.o
> .obj/qiconengine.o .obj/qiconengineplugin.o .obj/qmovie.o
> .obj/qbmphandler.o .obj/qppmhandler.o .obj/qxbmhandler.o
> .obj/qxpmhandler.o .obj/qpnghandler.o .obj/qfont.o .obj/qfontengine.o
> .obj/qfontengineglyphcache.o .obj/qfontsubset.o .obj/qfontmetrics.o
> .obj/qfontdatabase.o .obj/qtextengine.o .obj/qtextlayout.o
> .obj/qtextformat.o .obj/qtextobject.o .obj/qtextoption.o
> .obj/qfragmentmap.o .obj/qtextdocument.o .obj/qtextdocument_p.o
> .obj/qtexthtmlparser.o .obj/qabstracttextdocumentlayout.o
> .obj/qtextdocumentlayout.o .obj/qtextcursor.o
> .obj/qtextdocumentfragment.o .obj/q
> textimagehandler.o .obj/qtexttable.o .obj/qtextlist.o
> .obj/qtextdocumentwriter.o .obj/qsyntaxhighlighter.o .obj/qstatictext.o
> .obj/qrawfont.o .obj/qglyphrun.o .obj/qdistancefield.o
> .obj/qinputcontrol.o .obj/qfontengine_qpf2.o
> .obj/qplatformfontdatabase.o .obj/qharfbuzzng.o .obj/qtextodfwriter.o
> .obj/qzip.o .obj/qcssparser.o .obj/qbackingstore.o .obj/qbezier.o
> .obj/qblendfunctions.o .obj/qblittable.o .obj/qbrush.o .obj/qcolor.o
> .obj/qcolorprofile.o .obj/qcompositionfunctions.o
> .obj/qcosmeticstroker.o .obj/qdrawhelper.o .obj/qemulationpaintengine.o
> .obj/qgrayraster.o .obj/qimagescale.o .obj/qmatrix.o .obj/qmemrotate.o
> .obj/qoutlinemapper.o .obj/qpagedpaintdevice.o .obj/qpagelayout.o
> .obj/qpagesize.o .obj/qpaintdevice.o .obj/qpaintengine.o
> .obj/qpaintengineex.o .obj/qpaintengine_blitter.o
> .obj/qpaintengine_raster.o .obj/qpainter.o .obj/qpainterpath.o
> .obj/qpathclipper.o .obj/qpdf.o .obj/qpdfwriter.o .obj/qpen.o
> .obj/qpolygon.o .obj/qraster
> izer.o .obj/qregion.o .obj/qstroker.o .obj/qtextureglyphcache.o
> .obj/qtransform.o .obj/qtriangulatingstroker.o .obj/qtriangulator.o
> .obj/qplatformbackingstore.o .obj/qpathsimplifier.o .obj/qcssutil.o
> .obj/qdesktopservices.o .obj/qvalidator.o .obj/qgridlayoutengine.o
> .obj/qabstractlayoutstyleinfo.o .obj/qlayoutpolicy.o
> .obj/qshaderformat.o .obj/qshadergenerator.o .obj/qshadergraph.o
> .obj/qshadergraphloader.o .obj/qshaderlanguage.o .obj/qshadernode.o
> .obj/qshadernodeport.o .obj/qshadernodesloader.o .obj/qtexturefiledata.o
> .obj/qtexturefilereader.o .obj/qpkmhandler.o .obj/qktxhandler.o
> .obj/qgenericmatrix.o .obj/qmatrix4x4.o .obj/qquaternion.o
> .obj/qvector2d.o .obj/qvector3d.o .obj/qvector4d.o .obj/qopengl.o
> .obj/qopenglfunctions.o .obj/qopenglframebufferobject.o
> .obj/qopenglpaintdevice.o .obj/qopenglbuffer.o
> .obj/qopenglshaderprogram.o .obj/qopenglgradientcache.o
> .obj/qopengltexturecache.o .obj/qopenglengineshadermanager.o
> .obj/qopengl2pexvert
> exarray.o .obj/qopenglpaintengine.o .obj/qopenglcustomshaderstage.o
> .obj/qopengltextureglyphcache.o .obj/qopenglversionfunctions.o
> .obj/qopenglversionfunctionsfactory.o .obj/qopenglvertexarrayobject.o
> .obj/qopengldebug.o .obj/qopengltextureblitter.o .obj/qopengltexture.o
> .obj/qopengltexturehelper.o .obj/qopengltextureuploader.o
> .obj/qopenglpixeltransferoptions.o .obj/qopenglprogrambinarycache.o
> .obj/qopenglfunctions_1_0.o .obj/qopenglfunctions_1_1.o
> .obj/qopenglfunctions_1_2.o .obj/qopenglfunctions_1_3.o
> .obj/qopenglfunctions_1_4.o .obj/qopenglfunctions_1_5.o
> .obj/qopenglfunctions_2_0.o .obj/qopenglfunctions_2_1.o
> .obj/qopenglfunctions_3_0.o .obj/qopenglfunctions_3_1.o
> .obj/qopenglfunctions_3_2_core.o .obj/qopenglfunctions_3_3_core.o
> .obj/qopenglfunctions_4_0_core.o .obj/qopenglfunctions_4_1_core.o
> .obj/qopenglfunctions_4_2_core.o .obj/qopenglfunctions_4_3_core.o
> .obj/qopenglfunctions_4_4_core.o .obj/qopenglfunctions_4_5_core.o
> .obj/qopenglfunctions_3
> _2_compatibility.o .obj/qopenglfunctions_3_3_compatibility.o
> .obj/qopenglfunctions_4_0_compatibility.o
> .obj/qopenglfunctions_4_1_compatibility.o
> .obj/qopenglfunctions_4_2_compatibility.o
> .obj/qopenglfunctions_4_3_compatibility.o
> .obj/qopenglfunctions_4_4_compatibility.o
> .obj/qopenglfunctions_4_5_compatibility.o .obj/qopengltimerquery.o
> .obj/qguivariantanimation.o .obj/qstandarditemmodel.o
> .obj/qimage_compat.o .obj/qrc_qpdf.o .obj/qrc_qmake_webgradients.o
> .obj/moc_qaccessible.o .obj/moc_qaccessiblecache_p.o
> .obj/moc_qaccessibleplugin.o .obj/moc_qaccessiblebridge.o
> .obj/moc_qgenericplugin.o .obj/moc_qplatforminputcontext.o
> .obj/moc_qplatforminputcontextplugin_p.o
> .obj/moc_qplatformintegrationplugin.o .obj/moc_qplatformthemeplugin.o
> .obj/moc_qplatformnativeinterface.o .obj/moc_qplatformmenu.o
> .obj/moc_qsurfaceformat.o .obj/moc_qoffscreensurface.o
> .obj/moc_qsurface.o .obj/moc_qclipboard.o .obj/moc_qevent.o
> .obj/moc_qinternalmimedata_p.o .obj/moc_qkeysequen
> ce.o .obj/moc_qkeymapper_p.o .obj/moc_qpalette.o
> .obj/moc_qsessionmanager.o .obj/moc_qscreen.o .obj/moc_qstylehints.o
> .obj/moc_qtouchdevice.o .obj/moc_qplatformsharedgraphicscache.o
> .obj/moc_qplatformdialoghelper.o .obj/moc_qpaintdevicewindow.o
> .obj/moc_qrasterwindow.o .obj/moc_qplatformgraphicsbuffer.o
> .obj/moc_qinputdevicemanager_p.o .obj/moc_qdnd_p.o .obj/moc_qdrag.o
> .obj/moc_qshapedpixmapdndwindow_p.o .obj/moc_qopenglwindow.o
> .obj/moc_qimage.o .obj/moc_qimageiohandler.o
> .obj/moc_qpictureformatplugin.o .obj/moc_qiconengineplugin.o
> .obj/moc_qfont.o .obj/moc_qfontdatabase.o .obj/moc_qtextformat.o
> .obj/moc_qtextobject.o .obj/moc_qtextdocument.o
> .obj/moc_qtextimagehandler_p.o .obj/moc_qtexttable.o
> .obj/moc_qtextlist.o .obj/moc_qinputcontrol_p.o .obj/moc_qbrush.o
> .obj/moc_qpainter.o .obj/moc_qpdfwriter.o
> .obj/moc_qplatformbackingstore.o .obj/moc_qvalidator.o
> .obj/moc_qshaderlanguage_p.o .obj/moc_qopenglshaderprogram.o
> .obj/moc_qopenglengineshaderma
> nager_p.o .obj/moc_qopengltexture.o .obj/moc_qopengltimerquery.o
> -L/usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.12.0/lib
> -L/lib -L/usr/local/lib/qt5 -lQt5Core -L/usr/local/lib -lGL -lpng16
> -lharfbuzz -lz
> .obj/qimage.o: In function `QImage::fill(unsigned int)':
> qimage.cpp:(.text+0x2442): undefined reference to `qt_memfill32(unsigned
> int*, unsigned int, int)'
> qimage.cpp:(.text+0x2477): undefined reference to `qt_memfill16(unsigned
> short*, unsigned short, int)'
> qimage.cpp:(.text+0x268f): undefined reference to `qt_memfill32(unsigned
> int*, unsigned int, int)'
> qimage.cpp:(.text+0x26cf): undefined reference to `qt_memfill16(unsigned
> short*, unsigned short, int)'
> .obj/qcompositionfunctions.o: In function `comp_func_solid_Clear(unsigned
> int*, int, unsigned int, unsigned int)':
> qcompositionfunctions.cpp:(.text+0x33): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qcompositionfunctions.o: In function `comp_func_Clear(unsigned int*,
> unsigned int const*, int, unsigned int)':
> qcompositionfunctions.cpp:(.text+0x293): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qcompositionfunctions.o: In function `comp_func_solid_Source(unsigned
> int*, int, unsigned int, unsigned int)':
> qcompositionfunctions.cpp:(.text+0x4f1): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qcompositionfunctions.o: In function
> `comp_func_solid_SourceOver(unsigned int*, int, unsigned int, unsigned
> int)':
> qcompositionfunctions.cpp:(.text+0xc4b): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qcompositionfunctions.o: In function
> `rasterop_solid_NotSource(unsigned int*, int, unsigned int, unsigned int)':
> qcompositionfunctions.cpp:(.text+0x2da8b): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qcompositionfunctions.o:qcompositionfunctions.cpp:(.text+0x2e603):
> more undefined references to `qt_memfill32(unsigned int*, unsigned int,
> int)' follow
> .obj/qdrawhelper.o: In function `blend_color_rgb16(int, QT_FT_Span_
> const*, void*)':
> qdrawhelper.cpp:(.text+0x14968): undefined reference to
> `qt_memfill16(unsigned short*, unsigned short, int)'
> .obj/qdrawhelper.o: In function `qt_bitmapblit_quint16(QRasterBuffer*,
> int, int, QRgba64 const&, unsigned char const*, int, int, int)':
> qdrawhelper.cpp:(.text+0x14ea1): undefined reference to
> `qt_memfill16(unsigned short*, unsigned short, int)'
> qdrawhelper.cpp:(.text+0x14eed): undefined reference to
> `qt_memfill16(unsigned short*, unsigned short, int)'
> qdrawhelper.cpp:(.text+0x14f3e): undefined reference to
> `qt_memfill16(unsigned short*, unsigned short, int)'
> qdrawhelper.cpp:(.text+0x14f8f): undefined reference to
> `qt_memfill16(unsigned short*, unsigned short, int)'
> .obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x14fde): more undefined
> references to `qt_memfill16(unsigned short*, unsigned short, int)' follow
> .obj/qdrawhelper.o: In function `qt_rectfill_rgba(QRasterBuffer*, int,
> int, int, int, QRgba64 const&)':
> qdrawhelper.cpp:(.text+0x16b7b): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> qdrawhelper.cpp:(.text+0x16b9f): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qdrawhelper.o: In function
> `qt_rectfill_nonpremul_rgba(QRasterBuffer*, int, int, int, int, QRgba64
> const&)':
> qdrawhelper.cpp:(.text+0x16cfc): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> qdrawhelper.cpp:(.text+0x16d21): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qdrawhelper.o: In function
> `_ZL17qt_rectfill_rgb30IL12QtPixelOrder1EEvP13QRasterBufferiiiiRK7QRgba64':
> qdrawhelper.cpp:(.text+0x17054): undefined reference to
> `qt_memfill32(unsigned int*, unsigned int, int)'
> .obj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x1707c): more undefined
> references to `qt_memfill32(unsigned int*, unsigned int, int)' follow
> .obj/qdrawhelper.o: In function `_GLOBAL__sub_I_qdrawhelper.cpp':
> qdrawhelper.cpp:(.text+0x2cfe7): undefined reference to
> `qt_bitmapblit32_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned
> char const*, int, int, int)'
> qdrawhelper.cpp:(.text+0x2cfff): undefined reference to
> `qt_bitmapblit16_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned
> char const*, int, int, int)'
> qdrawhelper.cpp:(.text+0x2d00b): undefined reference to
> `qt_bitmapblit8888_sse2(QRasterBuffer*, int, int, QRgba64 const&, unsigned
> char const*, int, int, int)'
> qdrawhelper.cpp:(.text+0x2d023): undefined reference to
> `qt_scale_image_argb32_on_argb32_sse2(unsigned char*, int, unsigned char
> const*, int, int, QRectF const&, QRectF const&, QRect const&, int)'
> qdrawhelper.cpp:(.text+0x2d047): undefined reference to
> `qt_blend_rgb32_on_rgb32_sse2(unsigned char*, int, unsigned char const*,
> int, int, int, int)'
> qdrawhelper.cpp:(.text+0x2d05f): undefined reference to
> `qt_blend_argb32_on_argb32_sse2(unsigned char*, int, unsigned char const*,
> int, int, int, int)'
> qdrawhelper.cpp:(.text+0x2d089): undefined reference to
> `qt_fetch_radial_gradient_sse2(unsigned int*, Operator const*, QSpanData
> const*, int, int, int)'
> qdrawhelper.cpp:(.text+0x2d095): undefined reference to
> `comp_func_SourceOver_sse2(unsigned int*, unsigned int const*, int,
> unsigned int)'
> qdrawhelper.cpp:(.text+0x2d0a3): undefined reference to
> `comp_func_solid_SourceOver_sse2(unsigned int*, int, unsigned int, unsigned
> int)'
> qdrawhelper.cpp:(.text+0x2d0b1): undefined reference to
> `comp_func_Source_sse2(unsigned int*, unsigned int const*, int, unsigned
> int)'
> qdrawhelper.cpp:(.text+0x2d0ba): undefined reference to
> `comp_func_Plus_sse2(unsigned int*, unsigned int const*, int, unsigned int)'
> c++: error: linker command failed with exit code 1 (use -v to see
> invocation)
> *** Error code 1
>
> Stop.
> make[1]: stopped in
> /usr/ports/x11-toolkits/qt5-gui/work/qtbase-everywhere-src-5.12.0/src/gui
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/x11-toolkits/qt5-gui
>
> ===>>> make build failed for x11-toolkits/qt5-gui
> ===>>> Aborting update
>
>
> ===>>> You can restart from the point of failure with this command line:
> portmaster <flags> x11-toolkits/qt5-gui
>
> This command has been saved to /tmp/portmasterfail.txt
>
> --
> Steve
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
>
More information about the freebsd-ports
mailing list