Getting error while cross-compiling a wxWidgets app - cmake

I am getting an error while trying to cross-compile my application on ArchLinux for Windows using mingw. I am using meson for the build system and I wrote a .ini file according to the documentation here. Here is the .ini file,
[constants]
arch = 'x86_64'
[binaries]
c = 'x86_64-w64-mingw32-gcc'
cpp = 'x86_64-w64-mingw32-g++'
ar = 'x86_64-w64-mingw32-ar'
ld = 'x86_64-w64-mingw32-ld'
objcopy = 'x86_64-w64-mingw32-objcopy'
strip = 'x86_64-w64-mingw32-strip'
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
windres = 'x86_64-w64-mingw32-windres'
[host_machine]
system = 'windows'
cpu_family = arch
cpu = arch
endian = 'little'
[built-in options]
cpp_std = 'c++14'
and here is the error I am getting,
❯ ninja -C win-build
ninja: Entering directory `win-build'
[30/309] Linking target subprojects/wxwidgets/libwxnet.dll
FAILED: subprojects/wxwidgets/libwxnet.dll
x86_64-w64-mingw32-g++ -o subprojects/wxwidgets/libwxnet.dll subprojects/wxwidgets/libwxnet.dll.p/src_common_fs_inet.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_ftp.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_http.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_protocol.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckaddr.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckfile.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckipc.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_sckstrm.cpp.obj
subprojects/wxwidgets/libwxnet.dll.p/src_common_socket.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_url.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_webrequest.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_common_webrequest_curl.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_msw_sockmsw.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_msw_urlmsw.cpp.obj subprojects/wxwidgets/libwxnet.dll.p/src_msw_webrequest_winhttp.cpp.obj -flto -Wl,--allow-shlib-undefined -shared -Wl,--start-group -Wl,--out-implib=subprojects/wxwidgets/libwxnet.dll.a subprojects/wxwidgets/libwxbase.dll.a -s -pthread -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lversion -lws2_32 -lwininet -loleacc -luxtheme -lwinhttp -Wl,--end-group
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text+0x4c7d): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text+0x50e6): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text.unlikely+0x2bf): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
/tmp/ccksX8W4.ltrans1.ltrans.o:<artificial>:(.text.unlikely+0x2c5): relocation truncated to fit: IMAGE_REL_AMD64_REL32 against undefined symbol `__cxa_pure_virtual'
collect2: error: ld returned 1 exit status
[36/309] Compiling C++ object subprojects/taglib/libtag.a.p/taglib_mpeg_mpegheader.cpp.obj
../subprojects/taglib/taglib/mpeg/mpegheader.cpp: In constructor ‘TagLib::MPEG::Header::Header(const TagLib::ByteVector&)’:
../subprojects/taglib/taglib/mpeg/mpegheader.cpp:72:40: warning: unused parameter ‘data’ [-Wunused-parameter]
72 | MPEG::Header::Header(const ByteVector &data) :
then it continues for a while and again throws this error and stop compilation,
[39/272] Linking target subprojects/wxwidgets/libwxcore.dll
FAILED: subprojects/wxwidgets/libwxcore.dll
x86_64-w64-mingw32-g++ -o subprojects/wxwidgets/libwxcore.dll subprojects/wxwidgets/libwxcore.dll.p/src_common_accelcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_accesscmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_anidecod.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_affinematrix2d.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_appcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_artprov.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_artstd.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_arttango.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpbtncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bookctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_btncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cairo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_checkboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_checklstcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_choiccmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_clipcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_clrpickercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_colourcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_colourdata.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cmdproc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cmndata.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_containr.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_cshelp.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_ctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_ctrlsub.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcbufcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcgraph.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dcsvg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dirctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dlgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dndcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dobjcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_docmdi.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_docview.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dpycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_dseldlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_effects.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fddlgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_filectrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_filehistorycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_filepickercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontpickercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fldlgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontdata.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_graphicc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontenumcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontmap.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fontutilcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_framecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gaugecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gbsizer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gdicmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_geometry.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gifdecod.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_graphcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_headercolcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_headerctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_helpbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_iconbndl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagall.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagbmp.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_image.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagfill.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imaggif.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagiff.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagjpeg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagpcx.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagpng.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagpnm.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagtga.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagtiff.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_imagxpm.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_layout.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_lboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_listctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_markupparser.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_matrix.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_menucmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_modalhook.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_mousemanager.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_nbkbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_overlaycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_ownerdrwcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_paper.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_panelcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_persist.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_popupcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_preferencescmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_prntbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_quantize.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_radiobtncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_radiocmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_rearrangectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_rendcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_rgncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_scrolbarcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_settcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_sizer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_slidercmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_spinbtncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_spinctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_srchcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statbmpcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_statlinecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_stattextcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_stockitem.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_tbarbase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_textcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_textentrycmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_textmeasurecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_toplvcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_treebase.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_uiactioncmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_valgen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_validate.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_valtext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_valnum.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_wincmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_windowid.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_wrapsizer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_xpmdecod.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_busyinfo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_buttonbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_choicdgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_choicbkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_collheaderctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_combog.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_dcpsg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_dirctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_dragimgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_filectrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_headerctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_infobar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_listbkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_logg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_markuptext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_msgdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_numdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_progdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_preferencesg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_printps.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_renderg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_richmsgdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_scrlwing.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_selstore.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_spinctlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_splitter.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_srchctlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_statbmpg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_stattextg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_textdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_tipwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_toolbkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_treectlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_treebkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_vlbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_vscroll.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_xrc_xmlreshandler.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpcboxcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_grideditors.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_gridctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_grid.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_hyperlinkg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_calctrlcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_notifmsgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_odcombo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_splash.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_gridcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_addremovectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_tipdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_aboutdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_gridsel.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_sashwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_helpext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_richtooltipg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_bmpcboxg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_timectrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_notifmsgcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_commandlinkbuttong.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_propdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_treelist.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_datavcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_animatecmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_odcombocmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_hyperlnkcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_richtooltipcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_datectlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_bannerwindow.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_laywin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_calctrlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_wizard.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_editlbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_datavgen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_creddlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_rowheightcache.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_animateg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_bmpbndl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_bmpsvg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_event.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_fs_mem.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_msgout.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_utilscmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_main.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_volume.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_activex.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_app.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bitmap.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_brush.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_caret.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_clipbrd.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_colour.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_cursor.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_data.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcclient.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcmemory.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcprint.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dcscreen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dialup.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dib.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_display.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_enhmeta.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_font.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fontenum.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fontutil.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gdiimage.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gdiobj.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gdiplus.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_graphics.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_graphicsd2d.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_icon.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_imaglist.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_minifram.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_nonownedwnd.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_comimpl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_dataobj.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_dropsrc.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_droptgt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_oleutils.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_safearray.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_palette.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_pen.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_popupwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_printdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_printwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_region.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_renderer.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_rt_utilsrt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_settings.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_textmeasure.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_tooltip.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_toplevel.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_uiaction.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_utilsgui.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_utilswin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_uxtheme.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_window.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_joystick.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_rt_notifmsgrt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_aboutdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_sound.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_uuid.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_helpchm.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_common_taskbarcmn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_helpwin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_notifmsg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_automtn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_taskbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_richtooltip.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_evtloop.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ole_access.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bmpbndl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_clrpickerg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_collpaneg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_filepickerg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_fontpickerg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_statusbr.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_prntdlgg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_accel.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_anybutton.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_appprogress.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_artmsw.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bmpbuttn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_button.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_checkbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_choice.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_colordlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_combo.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_combobox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_control.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_customdraw.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dialog.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dirdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_dragimag.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_filedlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_frame.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_gauge.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_headerctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_iniconf.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_listbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_listctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_mdi.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_menu.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_menuitem.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_metafile.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_msgdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_nativdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_nativewin.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_notebook.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_ownerdrw.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_progdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_radiobox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_radiobut.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_richmsgdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_scrolbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_slider.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_spinbutt.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_spinctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statbmp.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statusbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_statline.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_stattext.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_systhemectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_taskbarbutton.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_toolbar.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_textctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_textentry.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_tglbtn.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_treectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_bmpcbox.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_datectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_calctrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_datecontrols.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_timectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_commandlinkbutton.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_datetimectrl.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_hyperlink.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_generic_activityindicator.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_checklst.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fdrepdlg.cpp.obj subprojects/wxwidgets/libwxcore.dll.p/src_msw_fontdlg.cpp.obj -flto -Wl,--allow-shlib-undefined -shared -Wl,--start-group -Wl,--out-implib=subprojects/wxwidgets/libwxcore.dll.a subprojects/wxwidgets/libwxbase.dll.a subprojects/wxwidgets/libwxjpeg.a subprojects/wxwidgets/libwxpng.a subprojects/wxwidgets/libwxtiff.a subprojects/wxwidgets/libwxzlib.a -s -pthread -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lole32 -loleaut32 -luuid -lrpcrt4 -ladvapi32 -lversion -lws2_32 -lwininet -loleacc -luxtheme -Wl,--end-group
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn720_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): multiple definition of `wxTextCtrlBase::SetValue(wxString const&)'; subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn1376_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): first defined here
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn720_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): multiple definition of `non-virtual thunk to wxTextCtrlBase::SetValue(wxString const&)'; subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn1376_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): first defined here
/usr/lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld: subprojects/wxwidgets/libwxcore.dll.p/src_common_pickerbase.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn720_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): multiple definition of `non-virtual thunk to wxTextCtrlBase::SetValue(wxString const&)'; subprojects/wxwidgets/libwxcore.dll.p/src_common_combocmn.cpp.obj (symbol from plugin):(.gnu.linkonce.t._ZN14wxTextCtrlBase8SetValueERK8wxString[_ZThn1376_N14wxTextCtrlBase8SetValueERK8wxString]+0x0): first defined here
../subprojects/wxwidgets/include/wx/generic/richmsgdlgg.h:17:24: warning: type ‘struct
../subprojects/wxwidgets/src/generic/helpext.cpp:383:48: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
383 | wxString *urls = new wxString[m_NumOfEntries];
| ^
/usr/x86_64-w64-mingw32/include/c++/11.2.0/new:128:26: note: in a call to allocation function ‘operator new []’ declared here
128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc)
| ^
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
Command I used to build this is,
❯ meson setup --cross-file=cross-windows-x86_64.ini build-win
I have also tried to compile the same in a Windows virtual machine using MSYS2 and mingw compiler, I get very similar error before it finally fails and stops compiling.
On Windows I did the same as what I do on my Linux system to build the app which is,
meson build -Dprefix=/tmp/SampleHive
ninja -C build install
My original native build for Linux works fine though.

It seems like the error was because of link time optimization.
MinGW doesn't seem to like link time optimization, disabling it compiles wx just fine. I found the related information from here.

Related

Qt6Quick in yocto

Is it possible to use QtQuick in yocto? (Or I missed something out)
I created simple coffee_6.2.0.bb recipe which uses demo from
~/Qt/Examples/Qt-6.2.0/demos/coffee/
But the error is:
Could NOT find Qt6Quick (missing: Qt6Quick_DIR
Recipe is quite simple:
.. Description and license stuff..
inherit qt6-cmake
include recipes-qt/qt6/qt6.inc
PROVIDES += "coffee"
FILES_${PN} += "${datadir}/${PN}"
do_install() {
install -d ${D}${base_bindir}
install ${B}/coffee ${D}${base_bindir}/coffee
}
SRC_URI = "file://${BP}.zip"
I am using http://code.qt.io/yocto/meta-qt6.git layer.

Build a CMake project with Nix

I'm trying to make a derivation from fokus (a KDE plasmoid).
I have a default.nix which looks like:
{ mkDerivation, lib, fetchFromGitLab, cmake, extra-cmake-modules
, plasma-framework
, qt5 }:
let
version = "1.5.4";
repo = fetchFromGitLab {
owner = "divinae";
repo = "focus-plasmoid";
rev = "v${version}";
sha256 = "19nndmqfzdcg7lzcifxa17m2mx85dlf4m2wxzr72gf78h4yj0ahv";
};
in
mkDerivation rec {
inherit version;
pname = "fokus";
src = "${repo}/packages";
dontUnpack = true;
buildInputs = [
plasma-framework
qt5.qtbase
];
nativeBuildInputs = [ cmake extra-cmake-modules ];
meta = with lib; {
description = "Simple pomodoro timer plasmoid";
homepage = "https://store.kde.org/p/1308861/";
license = licenses.gpl3Only;
maintainers = with maintainers; [ ];
platforms = platforms.unix;
};
}
I also added to all-packages:
fokus-plasma-applet = libsForQt5.callPackage ../applications/misc/fokus-plasma-applet { };
The thing is, I have only find few examples in nixpkgs, and I do not see what to do with this error (since CMakeLists.txt is effectively in /package):
building '/nix/store/c21h5667abmj4v0ci4n51ckvkxvc23gk-fokus-1.5.4.drv'...
qtPreHook
patching sources
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/doc/fokus -DCMAKE_INSTALL_INFODIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/include -DCMAKE_INSTALL_SBINDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/4g5fidyk19akng9n91cql60ylrjq93s6-gcc-wrapper-10.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/ffcrrgb6k5h7crr93dj90bi9fy1jvj16-binutils-2.35.1/bin/ranlib -DCMAKE_AR=/nix/store/ffcrrgb6k5h7crr93dj90bi9fy1jvj16-binutils-2.35.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4 -DKDE_INSTALL_EXECROOTDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4 -DKDE_INSTALL_BINDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/bin -DKDE_INSTALL_SBINDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/sbin -DKDE_INSTALL_LIBDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib -DKDE_INSTALL_LIBEXECDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/libexec -DKDE_INSTALL_CMAKEPACKAGEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib/cmake -DKDE_INSTALL_INCLUDEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/include -DKDE_INSTALL_LOCALSTATEDIR=/var -DKDE_INSTALL_DATAROOTDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share -DKDE_INSTALL_DATADIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share -DKDE_INSTALL_DOCBUNDLEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/doc/HTML -DKDE_INSTALL_KCFGDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/config.kcfg -DKDE_INSTALL_KCONFUPDATEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/kconf_update -DKDE_INSTALL_KSERVICES5DIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/kservices5 -DKDE_INSTALL_KSERVICETYPES5DIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/kservicetypes5 -DKDE_INSTALL_KXMLGUI5DIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/kxmlgui5 -DKDE_INSTALL_KNOTIFY5RCDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/knotifications5 -DKDE_INSTALL_ICONDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/icons -DKDE_INSTALL_LOCALEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/locale -DKDE_INSTALL_SOUNDDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/sounds -DKDE_INSTALL_TEMPLATEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/templates -DKDE_INSTALL_WALLPAPERDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/wallpapers -DKDE_INSTALL_APPDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/applications -DKDE_INSTALL_DESKTOPDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/desktop-directories -DKDE_INSTALL_MIMEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/mime/packages -DKDE_INSTALL_METAINFODIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/appdata -DKDE_INSTALL_MANDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/man -DKDE_INSTALL_INFODIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/info -DKDE_INSTALL_DBUSDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/dbus-1 -DKDE_INSTALL_DBUSINTERFACEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/dbus-1/interfaces -DKDE_INSTALL_DBUSSERVICEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/dbus-1/services -DKDE_INSTALL_DBUSSYSTEMSERVICEDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/share/dbus-1/system-services -DKDE_INSTALL_SYSCONFDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/etc -DKDE_INSTALL_CONFDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/etc/xdg -DKDE_INSTALL_AUTOSTARTDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/etc/xdg/autostart -DKDE_INSTALL_QTPLUGINDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib/qt-5.15.2/plugins -DKDE_INSTALL_PLUGINDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib/qt-5.15.2/plugins -DKDE_INSTALL_QMLDIR=/nix/store/5rdpaqmcj9hrpwdcnprr0zm51659mp08-fokus-1.5.4/lib/qt-5.15.2/qml
CMake Error: The source directory "/build" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
builder for '/nix/store/c21h5667abmj4v0ci4n51ckvkxvc23gk-fokus-1.5.4.drv' failed with exit code 1
cannot build derivation '/nix/store/b9jhnh8bix892wql3qifvgf742lq41v9-system-path.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/3n3mwi7vqmnkng6r8kpa9881xdgcd253-nixos-system-looping-21.11pre328987.c935f5e0add.drv': 1 dependencies couldn't be built
error: build of '/nix/store/3n3mwi7vqmnkng6r8kpa9881xdgcd253-nixos-system-looping-21.11pre328987.c935f5e0add.drv' failed

bitbake do_package_qa issue contains bad RPATH

I am clueless about an issue which i am facing.
During cross compiling one of the app, i am getting following error which is making no sense.
If someone can help me debug the issue, it would be really helpful.
ERROR: lib32-audiod-1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00 do_package_qa: QA Issue: package lib32-audiod-ptest contains bad RPATH /home/work/ashutosh.tripathi/o20_build/build-starfish/BUILD/work/o20-starfishmllib32-linux-gnueabi/lib32-audiod/1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00/audiod-1.0.0-161.jcl4tv.85 in file /home/work/ashutosh.tripathi/o20_build/build-starfish/BUILD/work/o20-starfishmllib32-linux-gnueabi/lib32-audiod/1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00/packages-split/lib32-audiod-ptest/opt/webos/tests/audiod/gtest_audiod
package lib32-audiod-ptest contains bad RPATH /home/work/ashutosh.tripathi/o20_build/build-starfish/BUILD/work/o20-starfishmllib32-linux-gnueabi/lib32-audiod/1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00/audiod-1.0.0-161.jcl4tv.85 in file /home/work/ashutosh.tripathi/o20_build/build-starfish/BUILD/work/o20-starfishmllib32-linux-gnueabi/lib32-audiod/1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00/packages-split/lib32-audiod-ptest/opt/webos/tests/audiod/gtest_audiod [rpaths]
ERROR: lib32-audiod-1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00 do_package_qa: QA run found fatal errors. Please consider fixing them.
ERROR: lib32-audiod-1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00 do_package_qa: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/work/ashutosh.tripathi/o20_build/build-starfish/BUILD/work/o20-starfishmllib32-linux-gnueabi/lib32-audiod/1.0.0-161.jcl4tv.85-r26audiod-automation-10Feb_00/temp/log.do_package_qa.4873
ERROR: Task (virtual:multilib:lib32:/home/work/ashutosh.tripathi/o20_build/build-starfish/meta-lg-webos/meta-webos/recipes-multimedia/audiod/audiod.bb:do_package_qa) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2622 tasks of which 2608 didn't need to be rerun and 1 failed.
Here is the audiod recipe file:
DEPENDS = "glib-2.0 libpbnjson luna-service2 pmloglib luna-prefs boost pulseaudio"
RDEPENDS_${PN} = "\
libasound \
libasound-module-pcm-pulse \
libpulsecore \
pulseaudio \
pulseaudio-lib-cli \
pulseaudio-lib-protocol-cli \
pulseaudio-misc \
pulseaudio-module-cli-protocol-tcp \
pulseaudio-module-cli-protocol-unix \
pulseaudio-server \
"
WEBOS_VERSION = "1.0.0-161.open.12_49f981e4e5a599b75d893520b30393914657a4ae"
PR = "r26"
inherit webos_component
inherit webos_enhanced_submissions
inherit webos_cmake
inherit webos_library
inherit webos_daemon
inherit webos_system_bus
inherit webos_machine_dep
inherit gettext
inherit webos_lttng
inherit webos_public_repo
inherit webos_test_provider
# TODO: move to WEBOS_GIT_REPO_COMPLETE
WEBOS_REPO_NAME = "audiod-pro"
SRC_URI = "${WEBOS_PRO_GIT_REPO_COMPLETE}"
S = "${WORKDIR}/git"
EXTRA_OECMAKE += "${#bb.utils.contains('WEBOS_LTTNG_ENABLED', '1', '-DWEBOS_LTTNG_ENABLED:BOOLEAN=True', '', d)}"
EXTRA_OECMAKE += "-DAUDIOD_PALM_LEGACY:BOOLEAN=True"
EXTRA_OECMAKE += "-DAUDIOD_TEST_API:BOOLEAN=True"
FILES_${PN} += "${datadir}/alsa/"
FILES_${PN} += "/data"
FILES_${PN} += "${webos_mediadir}/internal"
I would like to thank the stackoverflow community for the help offered.
Adding the following flags helped resolve the issue.
Posting it here, so that others may get some benefit from it, if they ever face similar problem
set(CMAKE_INSTALL_RPATH "$ORIGIN")
set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
Or, skipping RPATH also does the job:
SET(CMAKE_SKIP_BUILD_RPATH TRUE)
SET(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH FALSE)
worked also by adding following line into the recipe:
EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=TRUE"
https://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-classes-cmake

How to get the bazel dependencies of Tensorflow by bazel query?

I just start reading code of Tensorflow. I have some experience with other frameworks.
In order to see the dependencies of the whole Tensorflow project, I would like to use bazel query to print the dependency graph.
The bazel tutorial provides a simple example.
But when I did
bazel query --nohost_deps --noimplicit_deps 'deps(//tensorflow/tools/pip_package:build_pip_package)' --output graph
I got errors :
Starting local Bazel server and connecting to it...
ERROR: tensorflow/tensorflow/lite/kernels/internal/BUILD:698:1: no such package '#androidndk//': The repository could not be resolved and referenced by '//tensorflow/lite/kernels/internal:cpu_check'
ERROR: Evaluation of query "deps(//tensorflow/tools/pip_package:build_pip_package)" failed: errors were encountered while computing transitive closure
Loading: 246 packages loaded
Since the project is large, I hope that I can see the dependencies between each folder, each file so that I can add some features by my self.
The bazel is different from CMake and GNU make tools, so I have trouble transfering to this tool.
What is a good way to see the big picture of Tensorflow project(a colossus)?
tensorflow$ find . -name "BUILD"
./tensorflow/contrib/session_bundle/example/BUILD
./tensorflow/contrib/session_bundle/BUILD
./tensorflow/contrib/quantization/BUILD
./tensorflow/contrib/rnn/BUILD
./tensorflow/contrib/all_reduce/BUILD
./tensorflow/contrib/stateless/BUILD
./tensorflow/contrib/gdr/BUILD
./tensorflow/contrib/cudnn_rnn/BUILD
./tensorflow/contrib/kernel_methods/BUILD
./tensorflow/contrib/recurrent/BUILD
./tensorflow/contrib/periodic_resample/BUILD
./tensorflow/contrib/verbs/BUILD
./tensorflow/contrib/predictor/BUILD
./tensorflow/contrib/feature_column/BUILD
./tensorflow/contrib/tensorrt/BUILD
./tensorflow/contrib/tensorrt/custom_plugin_examples/BUILD
./tensorflow/contrib/cloud/BUILD
./tensorflow/contrib/cloud/kernels/BUILD
./tensorflow/contrib/receptive_field/BUILD
./tensorflow/contrib/constrained_optimization/BUILD
./tensorflow/contrib/compiler/BUILD
./tensorflow/contrib/solvers/BUILD
./tensorflow/contrib/keras/BUILD
./tensorflow/contrib/boosted_trees/proto/BUILD
./tensorflow/contrib/boosted_trees/BUILD
./tensorflow/contrib/boosted_trees/estimator_batch/BUILD
./tensorflow/contrib/boosted_trees/lib/BUILD
./tensorflow/contrib/boosted_trees/resources/BUILD
./tensorflow/contrib/cluster_resolver/BUILD
./tensorflow/contrib/remote_fused_graph/pylib/BUILD
./tensorflow/contrib/rpc/BUILD
./tensorflow/contrib/rpc/python/kernel_tests/BUILD
./tensorflow/contrib/rpc/python/ops/BUILD
./tensorflow/contrib/meta_graph_transform/BUILD
./tensorflow/contrib/tensor_forest/proto/BUILD
./tensorflow/contrib/tensor_forest/hybrid/BUILD
./tensorflow/contrib/tensor_forest/BUILD
./tensorflow/contrib/tensor_forest/kernels/v4/BUILD
./tensorflow/contrib/optimizer_v2/BUILD
./tensorflow/contrib/data/BUILD
./tensorflow/contrib/data/python/kernel_tests/BUILD
./tensorflow/contrib/data/python/ops/BUILD
./tensorflow/contrib/bayesflow/BUILD
./tensorflow/contrib/coder/BUILD
./tensorflow/contrib/estimator/BUILD
./tensorflow/contrib/grid_rnn/BUILD
./tensorflow/contrib/libsvm/BUILD
./tensorflow/contrib/mpi/BUILD
./tensorflow/contrib/proto/BUILD
./tensorflow/contrib/proto/python/kernel_tests/BUILD
./tensorflow/contrib/proto/python/ops/BUILD
./tensorflow/contrib/metrics/BUILD
./tensorflow/contrib/timeseries/examples/BUILD
./tensorflow/contrib/timeseries/BUILD
./tensorflow/contrib/timeseries/python/timeseries/BUILD
./tensorflow/contrib/timeseries/python/timeseries/state_space_models/BUILD
./tensorflow/contrib/hvx/clock_cycle_profiling/BUILD
./tensorflow/contrib/hvx/hvx_ops_support_checker/BUILD
./tensorflow/contrib/memory_stats/BUILD
./tensorflow/contrib/reduce_slice_ops/BUILD
./tensorflow/contrib/slim/BUILD
./tensorflow/contrib/slim/python/slim/data/BUILD
./tensorflow/contrib/slim/python/slim/nets/BUILD
./tensorflow/contrib/tfprof/BUILD
./tensorflow/contrib/graph_editor/BUILD
./tensorflow/contrib/android/BUILD
./tensorflow/contrib/integrate/BUILD
./tensorflow/contrib/seq2seq/BUILD
./tensorflow/contrib/linear_optimizer/BUILD
./tensorflow/contrib/tpu/BUILD
./tensorflow/contrib/tpu/profiler/BUILD
./tensorflow/contrib/tpu/profiler/pip_package/BUILD
./tensorflow/contrib/BUILD
./tensorflow/contrib/saved_model/cc/saved_model/BUILD
./tensorflow/contrib/saved_model/BUILD
./tensorflow/contrib/model_pruning/examples/cifar10/BUILD
./tensorflow/contrib/model_pruning/BUILD
./tensorflow/contrib/copy_graph/BUILD
./tensorflow/contrib/nearest_neighbor/BUILD
./tensorflow/contrib/resampler/BUILD
./tensorflow/contrib/summary/BUILD
./tensorflow/contrib/makefile/BUILD
./tensorflow/contrib/staging/BUILD
./tensorflow/contrib/nn/BUILD
./tensorflow/contrib/tensorboard/BUILD
./tensorflow/contrib/signal/BUILD
./tensorflow/contrib/image/BUILD
./tensorflow/contrib/util/BUILD
./tensorflow/contrib/text/BUILD
./tensorflow/contrib/decision_trees/proto/BUILD
./tensorflow/contrib/layers/BUILD
./tensorflow/contrib/layers/kernels/BUILD
./tensorflow/contrib/learn/BUILD
./tensorflow/contrib/learn/python/learn/datasets/BUILD
./tensorflow/contrib/eager/python/examples/rnn_colorbot/BUILD
./tensorflow/contrib/eager/python/examples/densenet/BUILD
./tensorflow/contrib/eager/python/examples/revnet/BUILD
./tensorflow/contrib/eager/python/examples/resnet50/BUILD
./tensorflow/contrib/eager/python/examples/spinn/BUILD
./tensorflow/contrib/eager/python/examples/linear_regression/BUILD
./tensorflow/contrib/eager/python/examples/BUILD
./tensorflow/contrib/eager/python/examples/rnn_ptb/BUILD
./tensorflow/contrib/eager/python/examples/gan/BUILD
./tensorflow/contrib/eager/python/examples/l2hmc/BUILD
./tensorflow/contrib/eager/python/BUILD
./tensorflow/contrib/sparsemax/BUILD
./tensorflow/contrib/rate/BUILD
./tensorflow/contrib/lookup/BUILD
./tensorflow/contrib/distributions/BUILD
./tensorflow/contrib/autograph/examples/benchmarks/BUILD
./tensorflow/contrib/autograph/BUILD
./tensorflow/contrib/distribute/BUILD
./tensorflow/contrib/distribute/python/examples/BUILD
./tensorflow/contrib/distribute/python/BUILD
./tensorflow/contrib/specs/BUILD
./tensorflow/contrib/quantize/BUILD
./tensorflow/contrib/training/BUILD
./tensorflow/contrib/fused_conv/BUILD
./tensorflow/contrib/checkpoint/python/BUILD
./tensorflow/contrib/bigtable/BUILD
./tensorflow/contrib/legacy_seq2seq/BUILD
./tensorflow/contrib/stat_summarizer/BUILD
./tensorflow/contrib/opt/BUILD
./tensorflow/contrib/mixed_precision/BUILD
./tensorflow/contrib/mixed_precision/python/BUILD
./tensorflow/contrib/losses/BUILD
./tensorflow/contrib/ignite/BUILD
./tensorflow/contrib/kafka/BUILD
./tensorflow/contrib/hadoop/BUILD
./tensorflow/contrib/factorization/examples/BUILD
./tensorflow/contrib/factorization/BUILD
./tensorflow/contrib/factorization/kernels/BUILD
./tensorflow/contrib/labeled_tensor/BUILD
./tensorflow/contrib/deprecated/BUILD
./tensorflow/contrib/input_pipeline/BUILD
./tensorflow/contrib/input_pipeline/kernels/BUILD
./tensorflow/contrib/gan/BUILD
./tensorflow/contrib/kinesis/BUILD
./tensorflow/contrib/mpi_collectives/BUILD
./tensorflow/contrib/framework/BUILD
./tensorflow/contrib/crf/BUILD
./tensorflow/contrib/batching/BUILD
./tensorflow/contrib/testing/BUILD
./tensorflow/contrib/hooks/BUILD
./tensorflow/contrib/ffmpeg/default/BUILD
./tensorflow/contrib/ffmpeg/BUILD
./tensorflow/cc/BUILD
./tensorflow/cc/saved_model/BUILD
./tensorflow/cc/saved_model/python/BUILD
./tensorflow/cc/tools/BUILD
./tensorflow/cc/profiler/BUILD
./tensorflow/compiler/xrt/cc/BUILD
./tensorflow/compiler/xrt/BUILD
./tensorflow/compiler/xrt/tests/BUILD
./tensorflow/compiler/xrt/kernels/BUILD
./tensorflow/compiler/xla/rpc/BUILD
./tensorflow/compiler/xla/experimental/xla_sharding/BUILD
./tensorflow/compiler/xla/BUILD
./tensorflow/compiler/xla/service/cpu/BUILD
./tensorflow/compiler/xla/service/cpu/tests/BUILD
./tensorflow/compiler/xla/service/llvm_ir/BUILD
./tensorflow/compiler/xla/service/BUILD
./tensorflow/compiler/xla/service/interpreter/BUILD
./tensorflow/compiler/xla/service/gpu/llvm_gpu_backend/BUILD
./tensorflow/compiler/xla/service/gpu/BUILD
./tensorflow/compiler/xla/service/gpu/tests/BUILD
./tensorflow/compiler/xla/client/BUILD
./tensorflow/compiler/xla/client/lib/BUILD
./tensorflow/compiler/xla/tools/BUILD
./tensorflow/compiler/xla/python_api/BUILD
./tensorflow/compiler/xla/python/BUILD
./tensorflow/compiler/xla/tests/BUILD
./tensorflow/compiler/plugin/BUILD
./tensorflow/compiler/jit/graphcycles/BUILD
./tensorflow/compiler/jit/BUILD
./tensorflow/compiler/jit/ops/BUILD
./tensorflow/compiler/jit/kernels/BUILD
./tensorflow/compiler/aot/BUILD
./tensorflow/compiler/aot/tests/BUILD
./tensorflow/compiler/tf2xla/cc/BUILD
./tensorflow/compiler/tf2xla/BUILD
./tensorflow/compiler/tf2xla/ops/BUILD
./tensorflow/compiler/tf2xla/lib/BUILD
./tensorflow/compiler/tf2xla/python/BUILD
./tensorflow/compiler/tf2xla/kernels/BUILD
./tensorflow/compiler/tf2tensorrt/BUILD
./tensorflow/compiler/tests/BUILD
./tensorflow/core/debug/BUILD
./tensorflow/core/common_runtime/data/BUILD
./tensorflow/core/common_runtime/eager/BUILD
./tensorflow/core/platform/s3/BUILD
./tensorflow/core/platform/cloud/BUILD
./tensorflow/core/platform/default/build_config/BUILD
./tensorflow/core/platform/default/gpu/BUILD
./tensorflow/core/platform/hadoop/BUILD
./tensorflow/core/grappler/clusters/BUILD
./tensorflow/core/grappler/verifiers/BUILD
./tensorflow/core/grappler/inputs/BUILD
./tensorflow/core/grappler/optimizers/data/vectorization/BUILD
./tensorflow/core/grappler/optimizers/data/BUILD
./tensorflow/core/grappler/optimizers/BUILD
./tensorflow/core/grappler/BUILD
./tensorflow/core/grappler/utils/BUILD
./tensorflow/core/grappler/costs/BUILD
./tensorflow/core/grappler/graph_analyzer/BUILD
./tensorflow/core/tpu/BUILD
./tensorflow/core/BUILD
./tensorflow/core/distributed_runtime/rpc/BUILD
./tensorflow/core/distributed_runtime/rpc/eager/BUILD
./tensorflow/core/distributed_runtime/BUILD
./tensorflow/core/distributed_runtime/eager/BUILD
./tensorflow/core/ops/compat/BUILD
./tensorflow/core/api_def/BUILD
./tensorflow/core/summary/BUILD
./tensorflow/core/nccl/BUILD
./tensorflow/core/protobuf/tpu/BUILD
./tensorflow/core/util/rpc/BUILD
./tensorflow/core/util/proto/BUILD
./tensorflow/core/util/ctc/BUILD
./tensorflow/core/util/tensor_bundle/BUILD
./tensorflow/core/profiler/internal/cpu/BUILD
./tensorflow/core/profiler/internal/runtime/BUILD
./tensorflow/core/profiler/internal/advisor/BUILD
./tensorflow/core/profiler/internal/BUILD
./tensorflow/core/profiler/internal/gpu/BUILD
./tensorflow/core/profiler/rpc/BUILD
./tensorflow/core/profiler/rpc/client/BUILD
./tensorflow/core/profiler/BUILD
./tensorflow/core/profiler/lib/BUILD
./tensorflow/core/lib/db/BUILD
./tensorflow/core/kernels/boosted_trees/quantiles/BUILD
./tensorflow/core/kernels/boosted_trees/BUILD
./tensorflow/core/kernels/hexagon/BUILD
./tensorflow/core/kernels/tensor_forest/BUILD
./tensorflow/core/kernels/data/experimental/sql/BUILD
./tensorflow/core/kernels/data/experimental/BUILD
./tensorflow/core/kernels/data/BUILD
./tensorflow/core/kernels/batching_util/BUILD
./tensorflow/core/kernels/BUILD
./tensorflow/core/kernels/fuzzing/BUILD
./tensorflow/core/kernels/lookup_tables/BUILD
./tensorflow/core/kernels/neon/BUILD
./tensorflow/stream_executor/host/BUILD
./tensorflow/stream_executor/platform/default/BUILD
./tensorflow/stream_executor/platform/BUILD
./tensorflow/stream_executor/BUILD
./tensorflow/stream_executor/cuda/BUILD
./tensorflow/stream_executor/lib/BUILD
./tensorflow/stream_executor/rocm/BUILD
./tensorflow/stream_executor/gpu/BUILD
./tensorflow/js/BUILD
./tensorflow/c/BUILD
./tensorflow/c/eager/BUILD
./tensorflow/c/kernels/BUILD
./tensorflow/examples/multibox_detector/BUILD
./tensorflow/examples/wav_to_spectrogram/BUILD
./tensorflow/examples/how_tos/reading_data/BUILD
./tensorflow/examples/get_started/regression/BUILD
./tensorflow/examples/android/assets/BUILD
./tensorflow/examples/android/BUILD
./tensorflow/examples/label_image/BUILD
./tensorflow/examples/saved_model/integration_tests/BUILD
./tensorflow/examples/adding_an_op/BUILD
./tensorflow/examples/learn/BUILD
./tensorflow/examples/speech_commands/BUILD
./tensorflow/examples/tutorials/mnist/BUILD
./tensorflow/examples/tutorials/layers/BUILD
./tensorflow/examples/tutorials/word2vec/BUILD
./tensorflow/examples/tf2_showcase/BUILD
./tensorflow/BUILD
./tensorflow/lite/toco/tensorflow_graph_matching/BUILD
./tensorflow/lite/toco/graph_transformations/tests/BUILD
./tensorflow/lite/toco/tflite/BUILD
./tensorflow/lite/toco/BUILD
./tensorflow/lite/toco/python/BUILD
./tensorflow/lite/core/api/BUILD
./tensorflow/lite/models/smartreply/BUILD
./tensorflow/lite/models/smartreply/demo/app/src/main/assets/BUILD
./tensorflow/lite/models/smartreply/demo/app/src/main/BUILD
./tensorflow/lite/models/BUILD
./tensorflow/lite/nnapi/BUILD
./tensorflow/lite/experimental/c/BUILD
./tensorflow/lite/experimental/examples/lstm/BUILD
./tensorflow/lite/experimental/writer/BUILD
./tensorflow/lite/experimental/microfrontend/BUILD
./tensorflow/lite/experimental/microfrontend/lib/BUILD
./tensorflow/lite/experimental/micro/examples/micro_speech/BUILD
./tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/BUILD
./tensorflow/lite/experimental/micro/BUILD
./tensorflow/lite/experimental/micro/testing/BUILD
./tensorflow/lite/experimental/micro/kernels/BUILD
./tensorflow/lite/experimental/kernels/BUILD
./tensorflow/lite/profiling/BUILD
./tensorflow/lite/c/BUILD
./tensorflow/lite/examples/android/BUILD
./tensorflow/lite/examples/android/app/src/main/assets/BUILD
./tensorflow/lite/examples/label_image/BUILD
./tensorflow/lite/examples/minimal/BUILD
./tensorflow/lite/examples/python/BUILD
./tensorflow/lite/BUILD
./tensorflow/lite/delegates/nnapi/BUILD
./tensorflow/lite/delegates/flex/BUILD
./tensorflow/lite/tools/evaluation/proto/BUILD
./tensorflow/lite/tools/evaluation/BUILD
./tensorflow/lite/tools/accuracy/BUILD
./tensorflow/lite/tools/accuracy/ilsvrc/BUILD
./tensorflow/lite/tools/BUILD
./tensorflow/lite/tools/optimize/BUILD
./tensorflow/lite/tools/optimize/calibration/BUILD
./tensorflow/lite/tools/benchmark/android/BUILD
./tensorflow/lite/tools/benchmark/BUILD
./tensorflow/lite/schema/builtin_ops_header/BUILD
./tensorflow/lite/schema/BUILD
./tensorflow/lite/java/jni/BUILD
./tensorflow/lite/java/BUILD
./tensorflow/lite/java/ovic/BUILD
./tensorflow/lite/java/ovic/src/testdata/BUILD
./tensorflow/lite/java/ovic/demo/app/BUILD
./tensorflow/lite/java/src/testhelper/java/org/tensorflow/lite/BUILD
./tensorflow/lite/java/src/test/native/BUILD
./tensorflow/lite/java/src/main/native/BUILD
./tensorflow/lite/java/demo/app/src/main/assets/BUILD
./tensorflow/lite/java/demo/app/src/main/BUILD
./tensorflow/lite/tutorials/BUILD
./tensorflow/lite/python/testdata/BUILD
./tensorflow/lite/python/BUILD
./tensorflow/lite/python/optimize/BUILD
./tensorflow/lite/python/interpreter_wrapper/BUILD
./tensorflow/lite/lib_package/BUILD
./tensorflow/lite/testing/BUILD
./tensorflow/lite/testing/model_coverage/BUILD
./tensorflow/lite/testing/kernel_test/BUILD
./tensorflow/lite/kernels/internal/BUILD
./tensorflow/lite/kernels/BUILD
./tensorflow/tools/proto_text/BUILD
./tensorflow/tools/def_file_filter/BUILD
./tensorflow/tools/docker/notebooks/BUILD
./tensorflow/tools/docker/BUILD
./tensorflow/tools/ci_build/gpu_build/BUILD
./tensorflow/tools/ci_build/remote/BUILD
./tensorflow/tools/build_info/BUILD
./tensorflow/tools/test/BUILD
./tensorflow/tools/common/BUILD
./tensorflow/tools/api/golden/BUILD
./tensorflow/tools/api/lib/BUILD
./tensorflow/tools/api/tests/BUILD
./tensorflow/tools/docs/BUILD
./tensorflow/tools/optimization/BUILD
./tensorflow/tools/graph_transforms/BUILD
./tensorflow/tools/mlpbtxt/BUILD
./tensorflow/tools/git/BUILD
./tensorflow/tools/compatibility/BUILD
./tensorflow/tools/compatibility/update/BUILD
./tensorflow/tools/benchmark/BUILD
./tensorflow/tools/pip_package/BUILD
./tensorflow/tools/lib_package/BUILD
./tensorflow/java/BUILD
./tensorflow/java/src/main/native/BUILD
./tensorflow/java/src/main/java/org/tensorflow/examples/BUILD
./tensorflow/python/compat/BUILD
./tensorflow/python/feature_column/BUILD
./tensorflow/python/compiler/tensorrt/BUILD
./tensorflow/python/compiler/BUILD
./tensorflow/python/keras/optimizer_v2/BUILD
./tensorflow/python/keras/BUILD
./tensorflow/python/keras/api/BUILD
./tensorflow/python/keras/mixed_precision/experimental/BUILD
./tensorflow/python/kernel_tests/linalg/BUILD
./tensorflow/python/kernel_tests/boosted_trees/BUILD
./tensorflow/python/kernel_tests/testdata/BUILD
./tensorflow/python/kernel_tests/BUILD
./tensorflow/python/kernel_tests/signal/BUILD
./tensorflow/python/kernel_tests/distributions/BUILD
./tensorflow/python/kernel_tests/random/BUILD
./tensorflow/python/debug/BUILD
./tensorflow/python/data/benchmarks/BUILD
./tensorflow/python/data/kernel_tests/BUILD
./tensorflow/python/data/experimental/benchmarks/BUILD
./tensorflow/python/data/experimental/kernel_tests/BUILD
./tensorflow/python/data/experimental/kernel_tests/optimization/BUILD
./tensorflow/python/data/experimental/kernel_tests/serialization/BUILD
./tensorflow/python/data/experimental/BUILD
./tensorflow/python/data/experimental/ops/BUILD
./tensorflow/python/data/BUILD
./tensorflow/python/data/ops/BUILD
./tensorflow/python/data/util/BUILD
./tensorflow/python/estimator/BUILD
./tensorflow/python/module/BUILD
./tensorflow/python/tpu/experimental/BUILD
./tensorflow/python/tpu/BUILD
./tensorflow/python/tpu/profiler/BUILD
./tensorflow/python/BUILD
./tensorflow/python/saved_model/model_utils/BUILD
./tensorflow/python/saved_model/BUILD
./tensorflow/python/ops/linalg/BUILD
./tensorflow/python/ops/parallel_for/BUILD
./tensorflow/python/ops/signal/BUILD
./tensorflow/python/ops/ragged/BUILD
./tensorflow/python/ops/distributions/BUILD
./tensorflow/python/ops/losses/BUILD
./tensorflow/python/eager/BUILD
./tensorflow/python/autograph/pyct/static_analysis/BUILD
./tensorflow/python/autograph/pyct/common_transformers/BUILD
./tensorflow/python/autograph/pyct/BUILD
./tensorflow/python/autograph/pyct/testing/BUILD
./tensorflow/python/autograph/core/BUILD
./tensorflow/python/autograph/converters/BUILD
./tensorflow/python/autograph/BUILD
./tensorflow/python/autograph/utils/BUILD
./tensorflow/python/autograph/operators/BUILD
./tensorflow/python/autograph/impl/BUILD
./tensorflow/python/autograph/lang/BUILD
./tensorflow/python/distribute/cluster_resolver/BUILD
./tensorflow/python/distribute/experimental/BUILD
./tensorflow/python/distribute/BUILD
./tensorflow/python/tools/BUILD
./tensorflow/python/tools/api/generator/BUILD
./tensorflow/python/training/saving/BUILD
./tensorflow/python/training/tracking/BUILD
./tensorflow/python/profiler/internal/BUILD
./tensorflow/python/profiler/BUILD
./tensorflow/go/BUILD
./third_party/python_runtime/BUILD
./third_party/icu/BUILD
./third_party/jpeg/BUILD
./third_party/tensorrt/BUILD
./third_party/fft2d/BUILD
./third_party/toolchains/clang6/BUILD
./third_party/toolchains/remote/BUILD
./third_party/toolchains/BUILD
./third_party/toolchains/cpus/arm/BUILD
./third_party/toolchains/cpus/py/BUILD
./third_party/toolchains/cpus/py3/BUILD
./third_party/toolchains/preconfig/generate/BUILD
./third_party/toolchains/preconfig/ubuntu16.04/clang/BUILD
./third_party/toolchains/preconfig/ubuntu16.04/py3/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/cuda10.0-cudnn7/cuda/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc-cuda9.0/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/gcc-nvcc-cuda10.0/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/cuda9.0-cudnn7/cuda/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/py3/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/tensorrt5/BUILD
./third_party/toolchains/preconfig/ubuntu14.04/gcc7-nvcc-cuda10.0/BUILD
./third_party/toolchains/preconfig/win_1803/py36/BUILD
./third_party/toolchains/preconfig/win_1803/bazel_018/BUILD
./third_party/toolchains/preconfig/win_1803/BUILD
./third_party/nasm/BUILD
./third_party/ngraph/BUILD
./third_party/keras_applications_archive/BUILD
./third_party/flatbuffers/BUILD
./third_party/py/numpy/BUILD
./third_party/py/BUILD
./third_party/mpi/BUILD
./third_party/systemlibs/BUILD
./third_party/eigen3/BUILD
./third_party/boringssl/BUILD
./third_party/android/BUILD
./third_party/sycl/crosstool/BUILD
./third_party/sycl/sycl/BUILD
./third_party/sycl/BUILD
./third_party/examples/eager/spinn/BUILD
./third_party/hwloc/BUILD
./third_party/BUILD
./third_party/clang_toolchain/BUILD
./third_party/nccl/BUILD
./third_party/protobuf/BUILD
./third_party/highwayhash/BUILD
./third_party/mkl/BUILD
./third_party/git/BUILD
./third_party/llvm/BUILD
./third_party/grpc/BUILD
./third_party/pasta/BUILD
./third_party/ortools/BUILD
./third_party/aws/BUILD
./third_party/kafka/BUILD
./third_party/hadoop/BUILD
./third_party/mkl_dnn/BUILD
./third_party/mpi_collectives/BUILD
./third_party/kissfft/BUILD
./third_party/gpus/crosstool/BUILD
./third_party/gpus/BUILD
./third_party/gpus/cuda/BUILD
./third_party/gpus/rocm/BUILD
./BUILD
If just want to see the build target dependency graph, you can try to add --keep_going parameter to your bazel query command.
The error message is:
ERROR: tensorflow/tensorflow/lite/kernels/internal/BUILD:698:1: no such package '#androidndk//': The repository could not be resolved and referenced by '//tensorflow/lite/kernels/internal:cpu_check'
Have you ran the configure script and installed the Android NDK? If you have, is the ANDROID_NDK_HOME environment variable set to the path to the Android NDK?

Custom Linux distro - mono runtime not found

I am trying to add mono to core-image-minimal for P202RDB custom Linux distro. Here is my bblayers.conf file:
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto-bsp \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-internal \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-extra \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-mono \
"
BBLAYERS_NON_REMOVABLE ?= " \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \
/home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \
"
Now, when I try to build image using bitbake core-image-minimal, I get following output from it:
Loading cache: 100% |##############################################################################################################| ETA: 00:00:00
Loaded 1496 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.26.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "Debian-8.6"
TARGET_SYS = "powerpc-fsl-linux-gnuspe"
MACHINE = "p2020rdb"
DISTRO = "fsl-qoriq"
DISTRO_VERSION = "1.9"
TUNE_FEATURES = "m32 spe ppce500v2"
TARGET_FPU = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp = "(detachedfromb74ea96):ddf114933ccfc6e3ce51a10e8e8f95e514b73578"
meta-freescale = "(detachedfrom7fb32a2):7fb32a20983a0ebd5503eb42e851550b0deb8679"
meta-freescale-internal = "(detachedfrom220bff8):220bff8b2030e5af7393b5870d74c6f0af0d76d1"
meta-freescale-extra = "(nobranch):ced26c806cb566b1400a2f4f26a94d8d44d13233"
meta-mono = "daisy:f01b4f7a98d07abcf4c1f845c057199e112fb7d6"
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1248 tasks of which 1248 didn't need to be rerun and all succeeded.
It seems mono repository is found, then I prepare SD card using this image and it boots without problems on target board, however, mono command is not available. What am I missing?
Add
IMAGE_INSTALL_append = " mono"
to your local.conf. Just adding a layer doesn't add any package to your image.
Even better, create your own image, and add mono to IMAGE_INSTALL in that recipe.