Subject: bug#46382: Failed to install Telegram-desktop

From: Sharlatan Hellseher <[email-masked]>
Date: Mon, 8 Feb 2021 13:16:28 +0000

Hi Guix team!

there is a long chain issue with telegram desktop starting from

guix install telegram-desktop
...
uilding /gnu/store/rlpzjc0mfxgl9bdai45055pakdrpzgf9-cmake-helpers-for-telegram-desktop-2.5.1-checkout.drv...
downloading from
https://ci.guix.gnu.org/nar/lzip/qg3q18z8vi1z0wfdi0jkc75bs8b4q3r3-nimf-1.2
... nimf-1.2 1.1MiB 2.0MiB/s 00:01 [##################] 100.0%
building /gnu/store/ahnnxxdy5z928qxsv5p734lggsj1ak5n-codegen-2.5.1-checkout.drv...
building /gnu/store/zzq845cc2idk5c24mgnsjan8i619dl4x-lib-base-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/s8qs2hra0xgsgc0nlvc8ssqgscsqjf6l-lib-crl-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/glm66g3f991fphf4zj63g8906p2jnh2g-lib-lottie-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/y5lqbbjnyp00cdd694p3q0yscldsvq6r-lib-qr-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/lcvwzvjdjlpxidr8v5pfvza8v4hrkf2f-lib-rlottie-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/72k6gwbibpbyrwq2sg6s80jp66s992ak-lib-rpl-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/hnpgrg99a3y1v7wy2wr11pj7cn3yvhs8-lib-spellcheck-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/yfris22p1k3v211n0shqppi3malrr5jw-lib-storage-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/61w2d20d8zvzrmravxdz4zm75r2zjaav-lib-tl-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/xlhmnzdvhf5arvk5mm80sbnskrr7p9l8-lib-ui-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/wa605m8939ds4jxz5jcx5mlwrhyq8a5g-lib-webrtc-for-telegram-desktop-2.5.1-checkout.drv...
building /gnu/store/ixb0r6glljn0p5x2v53xcq1z7m2xkzfd-libexpected-1.0.0.drv...
building /gnu/store/q9kawg6qqx9k0klay4nlwk1agnm4sfmk-materialdecoration-1.1.0-checkout.drv...
building /gnu/store/l9ijsdm4lhi782lmia5328m7rdyv7ddm-module-import-compiled.drv...
building /gnu/store/n68qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv...
80% [#####################################################################################################################################################################################################################
] builder for `/gnu/store/n68qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv'
failed with exit code 1 build of
/gnu/store/n68qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv
failed View build log at
'/var/log/guix/drvs/n6/8qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv.bz2'.
cannot build derivation
`/gnu/store/s3sd7r18kag8nvbg46c2zbsfsnz01ya5-telegram-desktop-2.5.1.drv':
1 dependencies couldn't be built cannot build derivation
`/gnu/store/w1pnih12rwk3s1mxr8i756wg0j34yklb-profile.drv': 1
dependencies couldn't be built guix install: error: build of
`/gnu/store/w1pnih12rwk3s1mxr8i756wg0j34yklb-profile.drv' failed
...

guix build materialdecoration
...
In file included from
/gnu/store/zzxq7q3fn6pnn1jahyzcf85hm8wakk1x-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylandwindow_p.h:66:0,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/source/src/plugins/decorations/material/materialdecoration.h:44,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/source/src/plugins/decorations/material/plugin.cpp:24:
/gnu/store/zzxq7q3fn6pnn1jahyzcf85hm8wakk1x-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylanddisplay_p.h:71:10:
fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file
or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In
file included from
/gnu/store/zzxq7q3fn6pnn1jahyzcf85hm8wakk1x-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylandwindow_p.h:66:0,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/source/src/plugins/decorations/material/materialdecoration.h:44,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/build/src/plugins/decorations/material/materialdecoration_autogen/EWIEGA46WW/moc_materialdecoration.cpp:10,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/build/src/plugins/decorations/material/materialdecoration_autogen/mocs_compilation.cpp:2:
/gnu/store/zzxq7q3fn6pnn1jahyzcf85hm8wakk1x-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylanddisplay_p.h:71:10:
fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file
or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated. compilation terminated. make[2]: ***
[src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/build.make:66:
src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/materialdecoration_autogen/mocs_compilation.cpp.o]
Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: ***
[src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/build.make:92:
src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/plugin.cpp.o]
Error 1 In file included from
/gnu/store/zzxq7q3fn6pnn1jahyzcf85hm8wakk1x-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylandwindow_p.h:66:0,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/source/src/plugins/decorations/material/materialdecoration.h:44,
from /tmp/guix-build-materialdecoration-1.1.0.drv-0/source/src/plugins/decorations/material/materialdecoration.cpp:35:
/gnu/store/zzxq7q3fn6pnn1jahyzcf85hm8wakk1x-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient/private/qwaylanddisplay_p.h:71:10:
fatal error: QtXkbCommonSupport/private/qxkbcommon_p.h: No such file
or directory #include ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated. make[2]: ***
[src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/build.make:79:
src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/materialdecoration.cpp.o]
Error 1 make[2]: Leaving directory
'/tmp/guix-build-materialdecoration-1.1.0.drv-0/build' make[1]: ***
[CMakeFiles/Makefile2:910:
src/plugins/decorations/material/CMakeFiles/materialdecoration.dir/all]
Error 2 make[1]: Leaving directory
'/tmp/guix-build-materialdecoration-1.1.0.drv-0/build' make: ***
[Makefile:144: all] Error 2 command "make" "-j" "4" failed with status
2 builder for `/gnu/store/n68qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv'
failed with exit code 1 build of
/gnu/store/n68qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv
failed View build log at
'/var/log/guix/drvs/n6/8qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv.bz2'.
guix build: error: build of
`/gnu/store/n68qqcxi8xpb0ic1a01gkmfh3871rgwp-materialdecoration-1.1.0.drv'
failed
...

-- 
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.