Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Feb 2019 19:32:27 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org
Subject:   Building qt5-gui port?
Message-ID:  <20190210033212.GA31401@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
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-scri=
pt,QtGui.version -pthread -Wl,-rpath,/usr/local/lib/qt5 -shared -Wl,-Bsymbo=
lic-functions -Wl,--dynamic-list,/usr/ports/x11-toolkits/qt5-gui/work/qtbas=
e-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/qacc=
essibleobject.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/qplatfor=
mintegration.o  .obj/qplatformscreen.o  .obj/qplatformintegrationfactory.o =
 .obj/qplatformintegrationplugin.o  .obj/qplatformtheme.o  .obj/qplatformth=
emefactory.o  .obj/qplatformthemeplugin.o  .obj/qplatformwindow.o  .obj/qpl=
atformoffscreensurface.o  .obj/qplatformcursor.o  .obj/qplatformclipboard.o=
  .obj/qplatformnativeinterface.o  .obj/qsessionmanager.o  .obj/qsurfacefor=
mat.o  .obj/qguiapplication.o  .obj/qwindow.o  .obj/qoffscreensurface.o  .o=
bj/qplatformsurface.o  .obj/qsurface.o  .obj/qclipboard.o  .obj/qcursor.o  =
=2Eobj/qevent.o  .obj/qinputmethod.o  .obj/qinternalmimedata.o  .obj/qkeyse=
quence.o  .obj/qkeymapper.o  .obj/qpalette.o  .obj/qguivariant.o  .obj/qscr=
een.o  .obj/qshortcutmap.o  .obj/qstylehints.o  .obj/qtouchdevice.o  .obj/q=
platformsharedgraphicscache.o  .obj/qplatformdialoghelper.o  .obj/qplatform=
services.o  .obj/qplatformsystemtrayicon.o  .obj/qplatformsessionmanager.o =
 .obj/qplatformmenu.o  .obj/qpixelformat.o  .obj/qpaintdevicewindow.o  .obj=
/qrasterwindow.o  .obj/qplatformgraphicsbuffer.o  .obj/qplatformgraphicsbuf=
ferhelper.o  .obj/qinputdevicemanager.o  .obj/qhighdpiscaling.o  .obj/qtest=
support_gui.o  .obj/qdnd.o  .obj/qdrag.o  .obj/qplatformdrag.o  .obj/qshape=
dpixmapdndwindow.o  .obj/qsimpledrag.o  .obj/qplatformopenglcontext.o  .obj=
/qopenglcontext.o  .obj/qopenglwindow.o  .obj/qbitmap.o  .obj/qimage.o  .ob=
j/qimage_conversions.o  .obj/qimageiohandler.o  .obj/qimagereader.o  .obj/q=
imagereaderwriterhelpers.o  .obj/qimagewriter.o  .obj/qpaintengine_pic.o  .=
obj/qpicture.o  .obj/qpictureformatplugin.o  .obj/qpixmap.o  .obj/qpixmapca=
che.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/qpnghandl=
er.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/qtextop=
tion.o  .obj/qfragmentmap.o  .obj/qtextdocument.o  .obj/qtextdocument_p.o  =
=2Eobj/qtexthtmlparser.o  .obj/qabstracttextdocumentlayout.o  .obj/qtextdoc=
umentlayout.o  .obj/qtextcursor.o  .obj/qtextdocumentfragment.o  .obj/qtext=
imagehandler.o  .obj/qtexttable.o  .obj/qtextlist.o  .obj/qtextdocumentwrit=
er.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/qtextodfwrit=
er.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/qpaintd=
evice.o  .obj/qpaintengine.o  .obj/qpaintengineex.o  .obj/qpaintengine_blit=
ter.o  .obj/qpaintengine_raster.o  .obj/qpainter.o  .obj/qpainterpath.o  .o=
bj/qpathclipper.o  .obj/qpdf.o  .obj/qpdfwriter.o  .obj/qpen.o  .obj/qpolyg=
on.o  .obj/qrasterizer.o  .obj/qregion.o  .obj/qstroker.o  .obj/qtexturegly=
phcache.o  .obj/qtransform.o  .obj/qtriangulatingstroker.o  .obj/qtriangula=
tor.o  .obj/qplatformbackingstore.o  .obj/qpathsimplifier.o  .obj/qcssutil.=
o  .obj/qdesktopservices.o  .obj/qvalidator.o  .obj/qgridlayoutengine.o  .o=
bj/qabstractlayoutstyleinfo.o  .obj/qlayoutpolicy.o  .obj/qshaderformat.o  =
=2Eobj/qshadergenerator.o  .obj/qshadergraph.o  .obj/qshadergraphloader.o  =
=2Eobj/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/qmatrix4=
x4.o  .obj/qquaternion.o  .obj/qvector2d.o  .obj/qvector3d.o  .obj/qvector4=
d.o  .obj/qopengl.o  .obj/qopenglfunctions.o  .obj/qopenglframebufferobject=
=2Eo  .obj/qopenglpaintdevice.o  .obj/qopenglbuffer.o  .obj/qopenglshaderpr=
ogram.o  .obj/qopenglgradientcache.o  .obj/qopengltexturecache.o  .obj/qope=
nglengineshadermanager.o  .obj/qopengl2pexvertexarray.o  .obj/qopenglpainte=
ngine.o  .obj/qopenglcustomshaderstage.o  .obj/qopengltextureglyphcache.o  =
=2Eobj/qopenglversionfunctions.o  .obj/qopenglversionfunctionsfactory.o  .o=
bj/qopenglvertexarrayobject.o  .obj/qopengldebug.o  .obj/qopengltextureblit=
ter.o  .obj/qopengltexture.o  .obj/qopengltexturehelper.o  .obj/qopengltext=
ureuploader.o  .obj/qopenglpixeltransferoptions.o  .obj/qopenglprogrambinar=
ycache.o  .obj/qopenglfunctions_1_0.o  .obj/qopenglfunctions_1_1.o  .obj/qo=
penglfunctions_1_2.o  .obj/qopenglfunctions_1_3.o  .obj/qopenglfunctions_1_=
4.o  .obj/qopenglfunctions_1_5.o  .obj/qopenglfunctions_2_0.o  .obj/qopengl=
functions_2_1.o  .obj/qopenglfunctions_3_0.o  .obj/qopenglfunctions_3_1.o  =
=2Eobj/qopenglfunctions_3_2_core.o  .obj/qopenglfunctions_3_3_core.o  .obj/=
qopenglfunctions_4_0_core.o  .obj/qopenglfunctions_4_1_core.o  .obj/qopengl=
functions_4_2_core.o  .obj/qopenglfunctions_4_3_core.o  .obj/qopenglfunctio=
ns_4_4_core.o  .obj/qopenglfunctions_4_5_core.o  .obj/qopenglfunctions_3_2_=
compatibility.o  .obj/qopenglfunctions_3_3_compatibility.o  .obj/qopenglfun=
ctions_4_0_compatibility.o  .obj/qopenglfunctions_4_1_compatibility.o  .obj=
/qopenglfunctions_4_2_compatibility.o  .obj/qopenglfunctions_4_3_compatibil=
ity.o  .obj/qopenglfunctions_4_4_compatibility.o  .obj/qopenglfunctions_4_5=
_compatibility.o  .obj/qopengltimerquery.o  .obj/qguivariantanimation.o  .o=
bj/qstandarditemmodel.o  .obj/qimage_compat.o  .obj/qrc_qpdf.o  .obj/qrc_qm=
ake_webgradients.o  .obj/moc_qaccessible.o  .obj/moc_qaccessiblecache_p.o  =
=2Eobj/moc_qaccessibleplugin.o  .obj/moc_qaccessiblebridge.o  .obj/moc_qgen=
ericplugin.o  .obj/moc_qplatforminputcontext.o  .obj/moc_qplatforminputcont=
extplugin_p.o  .obj/moc_qplatformintegrationplugin.o  .obj/moc_qplatformthe=
meplugin.o  .obj/moc_qplatformnativeinterface.o  .obj/moc_qplatformmenu.o  =
=2Eobj/moc_qsurfaceformat.o  .obj/moc_qoffscreensurface.o  .obj/moc_qsurfac=
e.o  .obj/moc_qclipboard.o  .obj/moc_qevent.o  .obj/moc_qinternalmimedata_p=
=2Eo  .obj/moc_qkeysequence.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_q=
platformdialoghelper.o  .obj/moc_qpaintdevicewindow.o  .obj/moc_qrasterwind=
ow.o  .obj/moc_qplatformgraphicsbuffer.o  .obj/moc_qinputdevicemanager_p.o =
 .obj/moc_qdnd_p.o  .obj/moc_qdrag.o  .obj/moc_qshapedpixmapdndwindow_p.o  =
=2Eobj/moc_qopenglwindow.o  .obj/moc_qimage.o  .obj/moc_qimageiohandler.o  =
=2Eobj/moc_qpictureformatplugin.o  .obj/moc_qiconengineplugin.o  .obj/moc_q=
font.o  .obj/moc_qfontdatabase.o  .obj/moc_qtextformat.o  .obj/moc_qtextobj=
ect.o  .obj/moc_qtextdocument.o  .obj/moc_qtextimagehandler_p.o  .obj/moc_q=
texttable.o  .obj/moc_qtextlist.o  .obj/moc_qinputcontrol_p.o  .obj/moc_qbr=
ush.o  .obj/moc_qpainter.o  .obj/moc_qpdfwriter.o  .obj/moc_qplatformbackin=
gstore.o  .obj/moc_qvalidator.o  .obj/moc_qshaderlanguage_p.o  .obj/moc_qop=
englshaderprogram.o  .obj/moc_qopenglengineshadermanager_p.o  .obj/moc_qope=
ngltexture.o  .obj/moc_qopengltimerquery.o  -L/usr/ports/x11-toolkits/qt5-g=
ui/work/qtbase-everywhere-src-5.12.0/lib -L/lib -L/usr/local/lib/qt5 -lQt5C=
ore -L/usr/local/lib -lGL -lpng16 -lharfbuzz -lz=20
=2Eobj/qimage.o: In function `QImage::fill(unsigned int)':
qimage.cpp:(.text+0x2442): undefined reference to `qt_memfill32(unsigned in=
t*, unsigned int, int)'
qimage.cpp:(.text+0x2477): undefined reference to `qt_memfill16(unsigned sh=
ort*, unsigned short, int)'
qimage.cpp:(.text+0x268f): undefined reference to `qt_memfill32(unsigned in=
t*, unsigned int, int)'
qimage.cpp:(.text+0x26cf): undefined reference to `qt_memfill16(unsigned sh=
ort*, unsigned short, int)'
=2Eobj/qcompositionfunctions.o: In function `comp_func_solid_Clear(unsigned=
 int*, int, unsigned int, unsigned int)':
qcompositionfunctions.cpp:(.text+0x33): undefined reference to `qt_memfill3=
2(unsigned int*, unsigned int, int)'
=2Eobj/qcompositionfunctions.o: In function `comp_func_Clear(unsigned int*,=
 unsigned int const*, int, unsigned int)':
qcompositionfunctions.cpp:(.text+0x293): undefined reference to `qt_memfill=
32(unsigned int*, unsigned int, int)'
=2Eobj/qcompositionfunctions.o: In function `comp_func_solid_Source(unsigne=
d int*, int, unsigned int, unsigned int)':
qcompositionfunctions.cpp:(.text+0x4f1): undefined reference to `qt_memfill=
32(unsigned int*, unsigned int, int)'
=2Eobj/qcompositionfunctions.o: In function `comp_func_solid_SourceOver(uns=
igned int*, int, unsigned int, unsigned int)':
qcompositionfunctions.cpp:(.text+0xc4b): undefined reference to `qt_memfill=
32(unsigned int*, unsigned int, int)'
=2Eobj/qcompositionfunctions.o: In function `rasterop_solid_NotSource(unsig=
ned int*, int, unsigned int, unsigned int)':
qcompositionfunctions.cpp:(.text+0x2da8b): undefined reference to `qt_memfi=
ll32(unsigned int*, unsigned int, int)'
=2Eobj/qcompositionfunctions.o:qcompositionfunctions.cpp:(.text+0x2e603): m=
ore undefined references to `qt_memfill32(unsigned int*, unsigned int, int)=
' follow
=2Eobj/qdrawhelper.o: In function `blend_color_rgb16(int, QT_FT_Span_ const=
*, void*)':
qdrawhelper.cpp:(.text+0x14968): undefined reference to `qt_memfill16(unsig=
ned short*, unsigned short, int)'
=2Eobj/qdrawhelper.o: In function `qt_bitmapblit_quint16(QRasterBuffer*, in=
t, int, QRgba64 const&, unsigned char const*, int, int, int)':
qdrawhelper.cpp:(.text+0x14ea1): undefined reference to `qt_memfill16(unsig=
ned short*, unsigned short, int)'
qdrawhelper.cpp:(.text+0x14eed): undefined reference to `qt_memfill16(unsig=
ned short*, unsigned short, int)'
qdrawhelper.cpp:(.text+0x14f3e): undefined reference to `qt_memfill16(unsig=
ned short*, unsigned short, int)'
qdrawhelper.cpp:(.text+0x14f8f): undefined reference to `qt_memfill16(unsig=
ned short*, unsigned short, int)'
=2Eobj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x14fde): more undefined refere=
nces to `qt_memfill16(unsigned short*, unsigned short, int)' follow
=2Eobj/qdrawhelper.o: In function `qt_rectfill_rgba(QRasterBuffer*, int, in=
t, int, int, QRgba64 const&)':
qdrawhelper.cpp:(.text+0x16b7b): undefined reference to `qt_memfill32(unsig=
ned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x16b9f): undefined reference to `qt_memfill32(unsig=
ned int*, unsigned int, int)'
=2Eobj/qdrawhelper.o: In function `qt_rectfill_nonpremul_rgba(QRasterBuffer=
*, int, int, int, int, QRgba64 const&)':
qdrawhelper.cpp:(.text+0x16cfc): undefined reference to `qt_memfill32(unsig=
ned int*, unsigned int, int)'
qdrawhelper.cpp:(.text+0x16d21): undefined reference to `qt_memfill32(unsig=
ned int*, unsigned int, int)'
=2Eobj/qdrawhelper.o: In function `_ZL17qt_rectfill_rgb30IL12QtPixelOrder1E=
EvP13QRasterBufferiiiiRK7QRgba64':
qdrawhelper.cpp:(.text+0x17054): undefined reference to `qt_memfill32(unsig=
ned int*, unsigned int, int)'
=2Eobj/qdrawhelper.o:qdrawhelper.cpp:(.text+0x1707c): more undefined refere=
nces to `qt_memfill32(unsigned int*, unsigned int, int)' follow
=2Eobj/qdrawhelper.o: In function `_GLOBAL__sub_I_qdrawhelper.cpp':
qdrawhelper.cpp:(.text+0x2cfe7): undefined reference to `qt_bitmapblit32_ss=
e2(QRasterBuffer*, int, int, QRgba64 const&, unsigned char const*, int, int=
, int)'
qdrawhelper.cpp:(.text+0x2cfff): undefined reference to `qt_bitmapblit16_ss=
e2(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, i=
nt, int)'
qdrawhelper.cpp:(.text+0x2d023): undefined reference to `qt_scale_image_arg=
b32_on_argb32_sse2(unsigned char*, int, unsigned char const*, int, int, QRe=
ctF 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_gr=
adient_sse2(unsigned int*, Operator const*, QSpanData const*, int, int, int=
)'
qdrawhelper.cpp:(.text+0x2d095): undefined reference to `comp_func_SourceOv=
er_sse2(unsigned int*, unsigned int const*, int, unsigned int)'
qdrawhelper.cpp:(.text+0x2d0a3): undefined reference to `comp_func_solid_So=
urceOver_sse2(unsigned int*, int, unsigned int, unsigned int)'
qdrawhelper.cpp:(.text+0x2d0b1): undefined reference to `comp_func_Source_s=
se2(unsigned int*, unsigned int const*, int, unsigned int)'
qdrawhelper.cpp:(.text+0x2d0ba): undefined reference to `comp_func_Plus_sse=
2(unsigned int*, unsigned int const*, int, unsigned int)'
c++: error: linker command failed with exit code 1 (use -v to see invocatio=
n)
*** 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

=3D=3D=3D>>> make build failed for x11-toolkits/qt5-gui
=3D=3D=3D>>> Aborting update


=3D=3D=3D>>> You can restart from the point of failure with this command li=
ne:
       portmaster <flags> x11-toolkits/qt5-gui=20

This command has been saved to /tmp/portmasterfail.txt

--=20
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190210033212.GA31401>