* bug#53857: telegram-desktop: fails to build
@ 2022-02-07 18:32 Christopher Howard
2022-02-08 7:15 ` Liliana Marie Prikler
` (3 more replies)
0 siblings, 4 replies; 9+ messages in thread
From: Christopher Howard @ 2022-02-07 18:32 UTC (permalink / raw)
To: 53857
[-- Attachment #1: Type: text/plain, Size: 8382 bytes --]
telegram-desktop-2.9.3 fails to build:
```
building /gnu/store/h9f9gm6n3jkxw6mwh050xkmabviim496-telegram-desktop-2.9.3.drv...
33% [################################################# ]builder for `/gnu/store/h9f9gm6n3jkxw6mwh050xkmabviim496-telegram-desktop-2.9.3.drv' failed with exit code 1
build of /gnu/store/h9f9gm6n3jkxw6mwh050xkmabviim496-telegram-desktop-2.9.3.drv failed
View build log at '/var/log/guix/drvs/h9/f9gm6n3jkxw6mwh050xkmabviim496-telegram-desktop-2.9.3.drv.bz2'.
guix package: error: build of `/gnu/store/h9f9gm6n3jkxw6mwh050xkmabviim496-telegram-desktop-2.9.3.drv' failed
```
The first error I see in the build log is pasted below.
```
[ 26%] Building CXX object Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/gl/gl_window.cpp.o
cd /tmp/guix-build-telegram-desktop-2.9.3.drv-0/build/Telegram/lib_ui && /gnu/store/069aq2v993kpc41yabp5b6vm4wb9jkhg-gcc-10.3.0/bin/c++ -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_DISABLE_WEBKITGTK -DDESKTOP_APP_USE_PACKAGED -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_WAYLANDCLIENT_LIB -DQT_WIDGETS_LIB -DQT_XKBCOMMON_SUPPORT_LIB -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/build/Telegram/lib_ui/lib_ui_autogen/include -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/build/Telegram/lib_ui/gen -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_ui -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_ui/emoji_suggestions -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_waylandshells -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_base -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_rpl -I/tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_crl -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtCore/5.15.2 -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtCore/5.15.2/QtCore -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtGui/5.15.2 -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtGui/5.15.2/QtGui -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtXkbCommonSupport/5.15.2 -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtXkbCommonSupport/5.15.2/QtXkbCommonSupport -isystem /gnu/store/pkr31373nm8hfg65ms46nb2plwwr3k5y-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2 -isystem /gnu/store/pkr31373nm8hfg65ms46nb2plwwr3k5y-qtwayland-5.15.2/include/qt5/QtWaylandClient/5.15.2/QtWaylandClient -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5 -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtCore -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/lib/qt5/mkspecs/linux-g++ -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtGui -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtWidgets -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtNetwork -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtDBus -isystem /gnu/store/v8yw01fvwdm95jvqa82sylw6qznmh2mi-qtbase-5.15.2/include/qt5/QtXkbCommonSupport -isystem /gnu/store/pkr31373nm8hfg65ms46nb2plwwr3k5y-qtwayland-5.15.2/include/qt5 -isystem /gnu/store/pkr31373nm8hfg65ms46nb2plwwr3k5y-qtwayland-5.15.2/include/qt5/QtWaylandClient -isystem /gnu/store/2fn1hdvpd7ixkya41z4jvcjp169y3460-kwayland-5.70.0/include/KF5/KWayland/Client -isystem /gnu/store/2fn1hdvpd7ixkya41z4jvcjp169y3460-kwayland-5.70.0/include/KF5 -isystem /gnu/store/84bvs9y0arsimxd2ay26a57xkqw7nsqm-glib-2.70.2/include/gio-unix-2.0 -isystem /gnu/store/84bvs9y0arsimxd2ay26a57xkqw7nsqm-glib-2.70.2/include/glib-2.0 -isystem /gnu/store/84bvs9y0arsimxd2ay26a57xkqw7nsqm-glib-2.70.2/lib/glib-2.0/include -isystem /gnu/store/a76pcinhq6v3v1cc6sq68p2y5z9wfpl6-gtk+-3.24.30/include/gtk-3.0 -isystem /gnu/store/5583c2za2jsn9g6az79rnksgvigwnsk7-util-linux-2.37.2-lib/include/libmount -isystem /gnu/store/5583c2za2jsn9g6az79rnksgvigwnsk7-util-linux-2.37.2-lib/include/blkid -isystem /gnu/store/62vbcpssly0ks874zhhx5saq0zdbbwq2-pango-1.48.10/include/pango-1.0 -isystem /gnu/store/xphvz607v2ridl2m51yyq1788izpvc5l-libcloudproviders-minimal-0.3.1/include/cloudproviders -isystem /gnu/store/ak70pk2hjks17cx7zjdmdmzpcpiy9gpi-freetype-2.10.4/include/freetype2 -isystem /gnu/store/v5x6f3dml69pmn4pfkl51j6y03v6rlsg-fribidi-1.0.9/include/fribidi -isystem /gnu/store/a91v7dy7xn25z9ks5bar66yjari9ddc1-cairo-1.16.0/include/cairo -isystem /gnu/store/nasw4ijnavd2sm5dnpr6185cwf6pc71g-at-spi2-atk-2.38.0/include/at-spi2-atk/2.0 -isystem /gnu/store/8d6hggn9j6xfbnba8643wphh6800pn2l-atk-2.36.0/include/atk-1.0 -isystem /gnu/store/zkl2vfmlifcyxphidx5nbv177qs9ziaz-harfbuzz-2.8.2/include/harfbuzz -isystem /gnu/store/ikghb2zrjjl5944gxqkls89rrbd1qn24-libdrm-2.4.107/include/libdrm -isystem /gnu/store/46ydzcrnv2b9l4fiyxz1qz6paviwgm1f-gdk-pixbuf-2.42.4/include/gdk-pixbuf-2.0 -isystem /gnu/store/p7iq81hxxyk9zy7a9dngbf16zm8d4klx-libpng-1.6.37/include/libpng16 -isystem /gnu/store/j8x167zaka2h6pxk7wiq5zkg67hzf8a2-pixman-0.40.0/include/pixman-1 -isystem /gnu/store/bbf7fkizk6kwgfi6c7p0likhnpg344yk-at-spi2-core-2.40.0/include/at-spi-2.0 -isystem /gnu/store/39rwjffd2gw7lq35mxxa8lxwfmqsbmjh-dbus-1.12.20/include/dbus-1.0 -isystem /gnu/store/39rwjffd2gw7lq35mxxa8lxwfmqsbmjh-dbus-1.12.20/lib/dbus-1.0/include -isystem /gnu/store/6fw36kigrd2cfbh3waf0mlyaji54q0s0-glibmm-2.64.5/include/giomm-2.4 -isystem /gnu/store/6fw36kigrd2cfbh3waf0mlyaji54q0s0-glibmm-2.64.5/lib/giomm-2.4/include -isystem /gnu/store/6fw36kigrd2cfbh3waf0mlyaji54q0s0-glibmm-2.64.5/include/glibmm-2.4 -isystem /gnu/store/6fw36kigrd2cfbh3waf0mlyaji54q0s0-glibmm-2.64.5/lib/glibmm-2.4/include -isystem /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3/include/sigc++-2.0 -isystem /gnu/store/iad8jg1fm7jsq0pqj547f3n5s2jn9rp0-libsigc++-2.9.3/lib/sigc++-2.0/include -O2 -g -DNDEBUG -fPIC -fno-strict-aliasing -pipe -Wall -W -Wno-unused-parameter -Wno-switch -Wno-missing-field-initializers -Wno-sign-compare -Wno-maybe-uninitialized -pthread -std=gnu++17 -Winvalid-pch -include /tmp/guix-build-telegram-desktop-2.9.3.drv-0/build/Telegram/lib_ui/CMakeFiles/lib_ui.dir/cmake_pch.hxx -MD -MT Telegram/lib_ui/CMakeFiles/lib_ui.dir/ui/gl/gl_window.cpp.o -MF CMakeFiles/lib_ui.dir/ui/gl/gl_window.cpp.o.d -o CMakeFiles/lib_ui.dir/ui/gl/gl_window.cpp.o -c /tmp/guix-build-telegram-desktop-2.9.3.drv-0/source/Telegram/lib_ui/ui/gl/gl_window.cpp
{standard input}: Assembler messages:
{standard input}:1918775: Warning: end of file not at end of a line; newline inserted
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
c++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[2]: *** [Telegram/CMakeFiles/td_scheme.dir/build.make:79: Telegram/CMakeFiles/td_scheme.dir/gen/scheme.cpp.o] Error 1
make[2]: Leaving directory '/tmp/guix-build-telegram-desktop-2.9.3.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:1618: Telegram/CMakeFiles/td_scheme.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
```
I will attached the build log. Here is my system information:
```
christopher@theoden ~$ guix describe
Generation 31 Feb 04 2022 09:30:14 (current)
guix 8391a99
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master
commit: 8391a99d089322a39cbacb1e6dc2979d8b2ef7c9
christopher@theoden ~$ neofetch --stdout
christopher@theoden
-------------------
OS: Guix System x86_64
Host: OptiPlex 9020 00
Kernel: 5.15.12-gnu
Uptime: 34 days, 18 hours, 48 mins
Packages: 92 (guix-system), 149 (guix-user)
Shell: bash 5.1.8
Resolution: 1920x1080
DE: GNOME
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: .gnome-terminal
CPU: Intel i5-4570 (4) @ 3.600GHz
GPU: Intel HD Graphics
GPU: AMD ATI Radeon HD 8490 / R5 235X OEM
Memory: 3470MiB / 7869MiB
```
--
📛 Christopher Howard
🚀 gemini://gem.librehacker.com
🌐 https://portal.mozz.us/gemini/gem.librehacker.com
בראשית ברא אלהים את השמים ואת הארץ
[-- Attachment #2: f9gm6n3jkxw6mwh050xkmabviim496-telegram-desktop-2.9.3.drv.bz2 --]
[-- Type: application/octet-stream, Size: 62420 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-07 18:32 bug#53857: telegram-desktop: fails to build Christopher Howard
@ 2022-02-08 7:15 ` Liliana Marie Prikler
2022-02-09 20:18 ` Christopher Howard
2022-07-06 7:23 ` Neo Lynn via web
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Liliana Marie Prikler @ 2022-02-08 7:15 UTC (permalink / raw)
To: Christopher Howard, 53857
Hi Christopher,
Am Montag, dem 07.02.2022 um 09:32 -0900 schrieb Christopher Howard:
> {standard input}:1918775: Warning: end of file not at end of a line;
> newline inserted
> {standard input}: Error: open CFI at the end of file; missing
> .cfi_endproc directive
> c++: fatal error: Killed signal terminated program cc1plus
> compilation terminated.
> make[2]: *** [Telegram/CMakeFiles/td_scheme.dir/build.make:79:
> Telegram/CMakeFiles/td_scheme.dir/gen/scheme.cpp.o] Error 1
> make[2]: Leaving directory '/tmp/guix-build-telegram-desktop-2.9.3.drv-
> 0/build'
> make[1]: *** [CMakeFiles/Makefile2:1618:
> Telegram/CMakeFiles/td_scheme.dir/all] Error 2
> make[1]: *** Waiting for unfinished jobs....
> ```
According to [1], this happens when GCC runs out of memory. You could
try decreasing parallelism to see how that goes, but I'd hazard a guess
that telegram-desktop is too large for measly 12 gigs of RAM+swap.
> I will attached the build log. Here is my system information:
>
> ```
> christopher@theoden ~$ guix describe
> Generation 31 Feb 04 2022 09:30:14 (current)
> guix 8391a99
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master
> commit: 8391a99d089322a39cbacb1e6dc2979d8b2ef7c9
Note that the last build of telegram-desktop succeeded in the
evaluation of commit 11590bff50fe0244e66c11d995aa5301c8965959 [2],
which admittedly is newer than February 4th, but the recipe hasn't
changed in between as far as I'm aware. I therefore don't think that
the package itself is broken.
Cheers
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67571
[2] https://ci.guix.gnu.org/build/467392/log/raw
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-08 7:15 ` Liliana Marie Prikler
@ 2022-02-09 20:18 ` Christopher Howard
2022-02-10 7:02 ` Liliana Marie Prikler
0 siblings, 1 reply; 9+ messages in thread
From: Christopher Howard @ 2022-02-09 20:18 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 53857
Hi, when I try to build with `guix build -M 1 -c 1 telegram-desktop` I seem to be getting the same error. I can believe what you say about the ram, as I've run into that problem before with other packages, though it seems frustrating I can't use some kind of command line option or something to tell the linker/compiler/assembler to use less ram. Seems strange that any package should need more than a GB or two of ram to build (*end rant*).
One thing though: using the above command-line options, I see that the last message in the build log is:
```
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "4") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 254.0 seconds
command "make" "-j" "4" failed with status 2
```
Isn't using -M 1 in the guix build options supposed to translate to "make -j 1", or do I misunderstand?
Christopher Howard
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-09 20:18 ` Christopher Howard
@ 2022-02-10 7:02 ` Liliana Marie Prikler
2022-02-10 7:06 ` Christopher Howard
0 siblings, 1 reply; 9+ messages in thread
From: Liliana Marie Prikler @ 2022-02-10 7:02 UTC (permalink / raw)
To: Christopher Howard; +Cc: 53857
Am Mittwoch, dem 09.02.2022 um 11:18 -0900 schrieb Christopher Howard:
> Hi, when I try to build with `guix build -M 1 -c 1 telegram-desktop`
> I seem to be getting the same error. I can believe what you say about
> the ram, as I've run into that problem before with other packages,
> though it seems frustrating I can't use some kind of command line
> option or something to tell the linker/compiler/assembler to use less
> ram. Seems strange that any package should need more than a GB or two
> of ram to build (*end rant*).
>
> One thing though: using the above command-line options, I see that
> the last message in the build log is:
>
> ```
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "make" arguments: ("-j" "4")
> exit-status: 2 term-signal: #f stop-signal: #f>
> phase `build' failed after 254.0 seconds
> command "make" "-j" "4" failed with status 2
> ```
>
> Isn't using -M 1 in the guix build options supposed to translate to
> "make -j 1", or do I misunderstand?
-M 1 tells *guix* how many jobs it should use in parallel. What you're
aiming fore is probably -c 1.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-10 7:02 ` Liliana Marie Prikler
@ 2022-02-10 7:06 ` Christopher Howard
0 siblings, 0 replies; 9+ messages in thread
From: Christopher Howard @ 2022-02-10 7:06 UTC (permalink / raw)
To: Liliana Marie Prikler; +Cc: 53857
As mentioned, I used -c 1 as well. Is something wrong in the package that Make still tries to use -j 4?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-07 18:32 bug#53857: telegram-desktop: fails to build Christopher Howard
2022-02-08 7:15 ` Liliana Marie Prikler
@ 2022-07-06 7:23 ` Neo Lynn via web
2022-07-06 7:54 ` Neo Lynn via web
2022-10-23 11:41 ` Liliana Marie Prikler
3 siblings, 0 replies; 9+ messages in thread
From: Neo Lynn via web @ 2022-07-06 7:23 UTC (permalink / raw)
To: 53857
I got the same error, solved by using a swap partition.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-07 18:32 bug#53857: telegram-desktop: fails to build Christopher Howard
2022-02-08 7:15 ` Liliana Marie Prikler
2022-07-06 7:23 ` Neo Lynn via web
@ 2022-07-06 7:54 ` Neo Lynn via web
2022-10-23 11:41 ` Liliana Marie Prikler
3 siblings, 0 replies; 9+ messages in thread
From: Neo Lynn via web @ 2022-07-06 7:54 UTC (permalink / raw)
To: 53857
If you got a 4G ram like mine, try allocating a swap around 10-15GB, though in proper settings of the compiling task, it is unlikely to hit the 10 GB ceiling. (And it may vary depending on different machines)
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
2022-02-07 18:32 bug#53857: telegram-desktop: fails to build Christopher Howard
` (2 preceding siblings ...)
2022-07-06 7:54 ` Neo Lynn via web
@ 2022-10-23 11:41 ` Liliana Marie Prikler
[not found] ` <Y1bHt5QxQPMrNain@theoden>
3 siblings, 1 reply; 9+ messages in thread
From: Liliana Marie Prikler @ 2022-10-23 11:41 UTC (permalink / raw)
To: Christopher Howard, 53857
Am Montag, dem 07.02.2022 um 09:32 -0900 schrieb Christopher Howard:
> telegram-desktop-2.9.3 fails to build:
Telegram was "recently" updated and is now getting proper substitutes
as far as I'm aware.
Does the problem persist?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#53857: telegram-desktop: fails to build
[not found] ` <Y1bHt5QxQPMrNain@theoden>
@ 2022-10-24 18:30 ` Liliana Marie Prikler
0 siblings, 0 replies; 9+ messages in thread
From: Liliana Marie Prikler @ 2022-10-24 18:30 UTC (permalink / raw)
To: Christopher Howard; +Cc: 53857-done
Am Montag, dem 24.10.2022 um 09:13 -0800 schrieb Christopher Howard:
> I am able to install it normally using the most recent Guix commit.
>
> On Sun, Oct 23, 2022 at 01:41:41PM +0200, Liliana Marie Prikler
> wrote:
> > Telegram was "recently" updated and is now getting proper
> > substitutes as far as I'm aware.
> >
> > Does the problem persist?
Good to know. Closing
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-10-24 19:24 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-07 18:32 bug#53857: telegram-desktop: fails to build Christopher Howard
2022-02-08 7:15 ` Liliana Marie Prikler
2022-02-09 20:18 ` Christopher Howard
2022-02-10 7:02 ` Liliana Marie Prikler
2022-02-10 7:06 ` Christopher Howard
2022-07-06 7:23 ` Neo Lynn via web
2022-07-06 7:54 ` Neo Lynn via web
2022-10-23 11:41 ` Liliana Marie Prikler
[not found] ` <Y1bHt5QxQPMrNain@theoden>
2022-10-24 18:30 ` Liliana Marie Prikler
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).