telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.23k stars 5.2k forks source link

Can not build tdesktip on ubuntu20 with docker #27074

Closed acodervic closed 11 months ago

acodervic commented 11 months ago

Steps to reproduce

git clone https://github.com/telegramdesktop/tdesktop.git git submodule init git submodule update sudo docker pull ghcr.io/telegramdesktop/tdesktop/centos_env:latest docker run --rm -it \ -v $PWD:/usr/src/tdesktop \ b72ad21a9eff \ /usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \ -D TDESKTOP_API_ID=myid \ -D TDESKTOP_API_HASH=myhash

Expected behaviour

Build sucessful !

Actual behaviour

Error: The source directory /usr/src/tdesktop/cmake/external/glib does not contain a CMakeLists.txt file

Operating system

ubuntu20

Version of Telegram Desktop

4.11.5

Installation source

Static binary from official website

Crash ID

No response

Logs

sudo docker run --rm -it \
>     -v $PWD:/usr/src/tdesktop \
>   -e DEBUG=1 \
>     b72ad21a9eff  \
>     /usr/src/tdesktop/Telegram/build/docker/centos_env/build.sh \
>     -D TDESKTOP_API_ID=xxxx \
>     -D TDESKTOP_API_HASH=xxxx
/usr/src/tdesktop
 64gram_changelog.txt   CMakeLists.txt   LEGAL   LICENSE   README.md   Telegram   changelog.txt   cmake  'cmake (copy)'   docs   features.md   lib   out   snap
Warn about uninitialized values.
Version: 1.1.2
-- Using system ZLIB.
-- Using Qt bundled PCRE2.
-- Found GLIB2: gio-2.0;gobject-2.0;glib-2.0   
-- Found lcms version 2.15, /usr/local/lib64/liblcms2.so
-- Using Qt bundled PNG.
-- Using Qt bundled Harfbuzz.
-- Using system Freetype.
-- Could NOT find XCB_XEVIE (missing: XCB_XEVIE_LIBRARY) (found version "")
-- Could NOT find XCB_XPRINT (missing: XCB_XPRINT_LIBRARY) (found version "")
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found suitable version "1.16", minimum required is "1.11")  
-- Using system Jpeg.
-- Found GLIB2: gio-2.0;gobject-2.0;glib-2.0  found components: GOBJECT 
-- Found GLIB2: gio-2.0;gobject-2.0;glib-2.0  found components: GIO 
-- XCB: CURSOR requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found suitable version "1.16", minimum required is "0.1.1") found components: CURSOR 
-- XCB: ICCCM requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found suitable version "1.16", minimum required is "0.3.9") found components: ICCCM 
-- XCB: IMAGE requires XCB;SHM
-- XCB: IMAGE requires XCB;SHM
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found suitable version "1.16", minimum required is "0.3.9") found components: IMAGE 
-- XCB: KEYSYMS requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found suitable version "1.16", minimum required is "0.3.9") found components: KEYSYMS 
-- XCB: RANDR requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: RANDR 
-- XCB: RENDER requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: RENDER 
-- XCB: RENDERUTIL requires XCB;RENDER
-- XCB: RENDERUTIL requires XCB;RENDER
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found suitable version "1.16", minimum required is "0.3.9") found components: RENDERUTIL 
-- XCB: SHAPE requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: SHAPE 
-- XCB: SHM requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: SHM 
-- XCB: SYNC requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: SYNC 
-- XCB: XFIXES requires XCB;RENDER;SHAPE
-- XCB: XFIXES requires XCB;RENDER;SHAPE
-- XCB: XFIXES requires XCB;RENDER;SHAPE
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: XFIXES 
-- XCB: XKB requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: XKB 
-- XCB: GLX requires XCB
-- Found XCB: /usr/local/lib/libxcb.so;/usr/local/lib/libxcb-render.so;/usr/local/lib/libxcb-shape.so;/usr/local/lib/libxcb-xfixes.so;/usr/local/lib/libxcb-shm.so;/usr/local/lib/libxcb-util.so;/usr/local/lib/libxcb-composite.so;/usr/local/lib/libxcb-cursor.so;/usr/local/lib/libxcb-damage.so;/usr/local/lib/libxcb-dpms.so;/usr/local/lib/libxcb-dri2.so;/usr/local/lib/libxcb-dri3.so;/usr/local/lib/libxcb-ewmh.so;/usr/local/lib/libxcb-glx.so;/usr/local/lib/libxcb-icccm.so;/usr/local/lib/libxcb-image.so;/usr/local/lib/libxcb-keysyms.so;/usr/local/lib/libxcb-present.so;/usr/local/lib/libxcb-randr.so;/usr/local/lib/libxcb-record.so;/usr/local/lib/libxcb-render-util.so;/usr/local/lib/libxcb-res.so;/usr/local/lib/libxcb-screensaver.so;/usr/local/lib/libxcb-sync.so;/usr/local/lib/libxcb-xf86dri.so;/usr/local/lib/libxcb-xinerama.so;/usr/local/lib/libxcb-xinput.so;/usr/local/lib/libxcb-xkb.so;/usr/local/lib/libxcb-xtest.so;/usr/local/lib/libxcb-xv.so;/usr/local/lib/libxcb-xvmc.so (found version "1.16") found components: GLX 
-- Configuring done (0.0s)
-- Generating done (0.0s)
-- Build files have been written to: /usr/src/tdesktop/out/cmake/external/dispatch/dispatch-prefix/src/dispatch-build
ninja: no work to do.
CMake Error at cmake/external/CMakeLists.txt:10 (add_subdirectory):
  The source directory

    /usr/src/tdesktop/cmake/external/glib

  does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
  cmake/external/CMakeLists.txt:30 (add_checked_subdirectory)

CMake Error at Telegram/lib_base/CMakeLists.txt:270 (include):
  include could not find requested file:

    /usr/src/tdesktop/cmake/external/glib/generate_dbus.cmake

CMake Error at Telegram/lib_base/CMakeLists.txt:271 (generate_dbus):
  Unknown CMake command "generate_dbus".

-- Configuring incomplete, errors occurred!
ilya-fedin commented 11 months ago

Update submodules

ilya-fedin commented 11 months ago

Do we talk about tdesktop for sure? I see 64gram_changelog.txt in the log.

acodervic commented 11 months ago

Do we talk about tdesktop for sure? I see 64gram_changelog.txt in the log.

I try again with tdesktop(https://github.com/telegramdesktop/tdesktop) . Stil have same problem.

ninja: no work to do.
CMake Error at cmake/external/CMakeLists.txt:10 (add_subdirectory):
  The source directory

    /usr/src/tdesktop/cmake/external/glib

  does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
  cmake/external/CMakeLists.txt:30 (add_checked_subdirectory)

CMake Error at Telegram/lib_base/CMakeLists.txt:270 (include):
  include could not find requested file:

    /usr/src/tdesktop/cmake/external/glib/generate_dbus.cmake

CMake Error at Telegram/lib_base/CMakeLists.txt:271 (generate_dbus):
  Unknown CMake command "generate_dbus".
ilya-fedin commented 11 months ago

Check git status, ensure the tree is clean

ilya-fedin commented 11 months ago

git clone https://github.com/telegramdesktop/tdesktop.git git submodule init git submodule update

Note that's not how the instruction says to clone the repo and is likely to be the cause. I recommend to re-read the instruction, carefully.

acodervic commented 11 months ago

Update submodules

Sorry, I will follow the tutorial again. If there are any problems, I will continue to give feedback. Thank you for your help.