unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#63171: Telegram fails to compile.
@ 2023-04-29  7:14 Apoorv
  2023-05-05 23:40 ` bug#63171: Sharlatan Hellseher
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Apoorv @ 2023-04-29  7:14 UTC (permalink / raw)
  To: 63171

[-- Attachment #1: Type: text/plain, Size: 4858 bytes --]

telegram-desktop fails to compile with error,
```
Summary:
    rlottie version :        0.0.1
    Build type      :        debugoptimized
    Thread Support  :        true
    Module Support  :        true
    Cache  Support  :        true
    Example         :        true
    Test            :        true
    Prefix          :
 /gnu/store/zn3jhbfxs4gcxklrmnwb34qw5zaiqw1m-rlottie-0.0.1-678.8c69fc2

Build targets in project: 5

rlottie 0.0.1

  User defined options
    buildtype    : debugoptimized
    prefix       :
/gnu/store/zn3jhbfxs4gcxklrmnwb34qw5zaiqw1m-rlottie-0.0.1-678.8c69fc2
    c_link_args  :
-Wl,-rpath=/gnu/store/zn3jhbfxs4gcxklrmnwb34qw5zaiqw1m-rlottie-0.0.1-678.8c69fc2/lib
    cpp_link_args:
-Wl,-rpath=/gnu/store/zn3jhbfxs4gcxklrmnwb34qw5zaiqw1m-rlottie-0.0.1-678.8c69fc2/lib
    log          : true
    test         : true

Found ninja-1.11.1 at
/gnu/store/7q4crm7s2whyjx0s127p7k43s4fwxzgm-ninja-1.11.1/bin/ninja
phase `configure' succeeded after 1.1 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `build'
[1/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_vcompositionfunctions.cpp.o
[2/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_vdrawhelper_neon.cpp.o
[3/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vbrush.cpp.o
[4/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_vdrawhelper_sse2.cpp.o
[5/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vpainter.cpp.o
[6/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vdasher.cpp.o
[7/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vbitmap.cpp.o
[8/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vrect.cpp.o
[9/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vrle.cpp.o
FAILED: src/librlottie.so.0.0.1.p/vector_vrle.cpp.o
c++ -Isrc/librlottie.so.0.0.1.p -Isrc -I../source/src -Iinc -I../source/inc
-I. -I../source -Isrc/vector -I../source/src/vector -Isrc/vector/freetype
-I../source/src/vector/freetype -Isrc/vector/pixman
-I../source/src/vector/pixman -Isrc/lottie -I../source/src/lottie
-Isrc/binding/c -I../source/src/binding/c -fvisibility=hidden
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-Wextra -Wpedantic -std=c++14 -O2 -g
'-DDEMO_DIR="/tmp/guix-build-rlottie-0.0.1-678.8c69fc2.drv-0/source/example/resource/"'
-fPIC -pthread -DLOT_BUILD -fno-exceptions -fno-rtti -fno-unwind-tables
-fno-asynchronous-unwind-tables -Woverloaded-virtual -Wno-unused-parameter
-MD -MQ src/librlottie.so.0.0.1.p/vector_vrle.cpp.o -MF
src/librlottie.so.0.0.1.p/vector_vrle.cpp.o.d -o
src/librlottie.so.0.0.1.p/vector_vrle.cpp.o -c ../source/src/vector/vrle.cpp
../source/src/vector/vrle.cpp: In member function ‘void
VRle::VRleData::updateBbox() const’:
../source/src/vector/vrle.cpp:129:32: error: ‘numeric_limits’ is not a
member of ‘std’
  129 |     int               l = std::numeric_limits<int>::max();
      |                                ^~~~~~~~~~~~~~
../source/src/vector/vrle.cpp:129:47: error: expected primary-expression
before ‘int’
  129 |     int               l = std::numeric_limits<int>::max();
      |                                               ^~~
[10/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_vpathmesure.cpp.o
[11/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vmatrix.cpp.o
[12/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_vdrawhelper.cpp.o
[13/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_velapsedtimer.cpp.o
[14/78] Compiling C++ object
src/librlottie.so.0.0.1.p/vector_vdrawable.cpp.o
[15/78] Compiling C++ object src/librlottie.so.0.0.1.p/vector_vpath.cpp.o
[16/78] Compiling C++ object
src/vector/stb/librlottie-image-loader.so.p/stb_image.cpp.o
ninja: build stopped: subcommand failed.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "ninja" arguments: ("-j" "8")
exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 3.1 seconds
command "ninja" "-j" "8" failed with status 1
builder for
`/gnu/store/qiknpnpqma0l3yr7fbv39y7sfxsn59ih-rlottie-0.0.1-678.8c69fc2.drv'
failed with exit code 1
build of
/gnu/store/qiknpnpqma0l3yr7fbv39y7sfxsn59ih-rlottie-0.0.1-678.8c69fc2.drv
failed
View build log at
'/var/log/guix/drvs/qi/knpnpqma0l3yr7fbv39y7sfxsn59ih-rlottie-0.0.1-678.8c69fc2.drv.gz'.
cannot build derivation
`/gnu/store/2s38mjb9ixdbly3kx6dzfbckv6a3almp-telegram-desktop-4.2.2.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/ny0yxpzpq2d75pxgfdgrh525q3b42p4k-profile.drv': 1 dependencies
couldn't be built
guix shell: error: build of
`/gnu/store/ny0yxpzpq2d75pxgfdgrh525q3b42p4k-profile.drv' failed
```

[-- Attachment #2: Type: text/html, Size: 5346 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63171:
  2023-04-29  7:14 bug#63171: Telegram fails to compile Apoorv
@ 2023-05-05 23:40 ` Sharlatan Hellseher
  2023-05-07 14:34 ` bug#63171: Telegram fails to compile John Cuthbert Khoo Teng Fong
  2023-05-28 11:39 ` Jonathan Brielmaier
  2 siblings, 0 replies; 4+ messages in thread
From: Sharlatan Hellseher @ 2023-05-05 23:40 UTC (permalink / raw)
  To: 63171

Hi Apoorve,

Did you try to fix it?

It's failed in timemachine:

> guix time-machine --commit=64086a4fa449a9f6d2f835fcdf5498222b309e3a -- build telegram-desktop -q
> guix build: error: build of `/gnu/store/askm28ydsvx5iqr9lfqgp3vs7qzdwdzj-telegram-desktop-4.2.2.drv' failed

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63171: Telegram fails to compile.
  2023-04-29  7:14 bug#63171: Telegram fails to compile Apoorv
  2023-05-05 23:40 ` bug#63171: Sharlatan Hellseher
@ 2023-05-07 14:34 ` John Cuthbert Khoo Teng Fong
  2023-05-28 11:39 ` Jonathan Brielmaier
  2 siblings, 0 replies; 4+ messages in thread
From: John Cuthbert Khoo Teng Fong @ 2023-05-07 14:34 UTC (permalink / raw)
  To: 63171@debbugs.gnu.org

[-- Attachment #1: Type: text/plain, Size: 8588 bytes --]

After trying and failing to build with keep-builds, I went to the build directory and ran
guix shell -D telegram-desktop --pure
make
The error seems to be here:
cd /tmp/guix-build-telegram-desktop-4.2.2.drv-0/build/Telegram/lib_base && /gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin/c++ -DCRL_USE_COMMON_QUEUE -DDESKTOP_APP_DISABLE_CRASH_REPORTS -DDESKTOP_APP_USE_PACKAGED -DDESKTOP_APP_USE_PACKAGED_RLOTTIE -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_IMPLICIT_QCHAR_CONSTRUCTION -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_SVG_LIB -DQT_WIDGETS_LIB -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_base -I/tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_rpl -I/tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_crl -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5 -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtCore -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/lib/qt5/mkspecs/linux-g++ -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtCore/5.15.8 -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtCore/5.15.8/QtCore -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtGui -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtGui/5.15.8 -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtGui/5.15.8/QtGui -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtWidgets -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtWidgets/5.15.8 -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtWidgets/5.15.8/QtWidgets -isystem /gnu/store/q4wh2qxhhwvx6azbx0y2if4m8vgkghvj-qtbase-5.15.8/include/qt5/QtNetwork -isystem /gnu/store/6q7k9jp3bzs611465m68gdd99fgkvx0k-qtsvg-5.15.8/include/qt5 -isystem /gnu/store/6q7k9jp3bzs611465m68gdd99fgkvx0k-qtsvg-5.15.8/include/qt5/QtSvg -isystem /gnu/store/smjbmncdx0v794ylqc2qnr8k7apdgzqg-libexpected-1.1.0/share -isystem /gnu/store/2j6iah1gp2nfp8g8hhrq5l1n32jhzr29-kcoreaddons-5.98.0/include/KF5/KCoreAddons -isystem /gnu/store/2j6iah1gp2nfp8g8hhrq5l1n32jhzr29-kcoreaddons-5.98.0/include/KF5 -isystem /gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/include/glib-2.0 -isystem /gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/lib/glib-2.0/include -isystem /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/giomm-2.4 -isystem /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/lib/giomm-2.4/include -isystem /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4 -isystem /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/lib/glibmm-2.4/include -isystem /gnu/store/gwx2sf5wl9bsl21lwv35g5la63bwyy95-util-linux-2.37.4-lib/include/libmount -isystem /gnu/store/gwx2sf5wl9bsl21lwv35g5la63bwyy95-util-linux-2.37.4-lib/include/blkid -isystem /gnu/store/7al95rd1f6r6af5rwk9yjicw8pf2ljyr-libsigc++-2.9.3/include/sigc++-2.0 -isystem /gnu/store/7al95rd1f6r6af5rwk9yjicw8pf2ljyr-libsigc++-2.9.3/lib/sigc++-2.0/include -isystem /gnu/store/nb40pwd37v6i1g4b1fq4l6q4h9px3asr-glib-2.72.3/include/gio-unix-2.0 -O2 -g -DNDEBUG -fstack-protector-all -fstack-clash-protection -fPIC -fno-strict-aliasing -pipe -Wall -Wextra -Wno-unused-parameter -Wno-switch -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-sign-compare -Wno-deprecated -Wno-deprecated-declarations -pthread -std=gnu++20 -Winvalid-pch -include /tmp/guix-build-telegram-desktop-4.2.2.drv-0/build/Telegram/lib_base/CMakeFiles/lib_base.dir/cmake_pch.hxx -MD -MT Telegram/lib_base/CMakeFiles/lib_base.dir/base/platform/linux/base_file_utilities_linux.cpp.o -MF CMakeFiles/lib_base.dir/base/platform/linux/base_file_utilities_linux.cpp.o.d -o CMakeFiles/lib_base.dir/base/platform/linux/base_file_utilities_linux.cpp.o -c /tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_base/base/platform/linux/base_file_utilities_linux.cpp
In file included from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/containerhandle_shared.h:23,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/object.h:34,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/interface.h:20,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/giomm-2.4/giomm/applaunchcontext.h:29,
                 from /tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_base/base/platform/linux/base_linux_app_launch_context.h:10,
                 from /tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_base/base/platform/linux/base_file_utilities_linux.cpp:14:
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:956:24: error: expected unqualified-id before ')' token
  956 |   Variant<VariantBase>();
      |                        ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1017:25: error: expected unqualified-id before ')' token
 1017 |   Variant< Variant<T> >();
      |                         ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1070:26: error: expected unqualified-id before ')' token
 1070 |   Variant<Glib::ustring>();
      |                          ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1240:24: error: expected unqualified-id before ')' token
 1240 |   Variant<std::string>();
      |                        ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1286:30: error: expected unqualified-id before ')' token
 1286 |   Variant< std::pair<K, V> >()
      |                              ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1335:29: error: expected unqualified-id before ')' token
 1335 |   Variant< std::vector<T> >()
      |                             ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1404:41: error: expected unqualified-id before ')' token
 1404 |   Variant< std::vector<Glib::ustring> >();
      |                                         ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1530:39: error: expected unqualified-id before ')' token
 1530 |   Variant< std::vector<std::string> >();
      |                                       ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1606:29: error: expected unqualified-id before ')' token
 1606 |   Variant< std::map<K, V> >()
      |                             ^
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1679:33: error: expected unqualified-id before ')' token
 1679 |   Variant<std::tuple<Types...>>()
      |                                 ^
In file included from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant.h:1742,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/containerhandle_shared.h:23,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/object.h:34,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/interface.h:20,
                 from /gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/giomm-2.4/giomm/applaunchcontext.h:29,
                 from /tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_base/base/platform/linux/base_linux_app_launch_context.h:10,
                 from /tmp/guix-build-telegram-desktop-4.2.2.drv-0/source/Telegram/lib_base/base/platform/linux/base_file_utilities_linux.cpp:14:
/gnu/store/cbjgz6f8nrb7804nnmmlvpd4y78p8zf3-glibmm-2.64.5/include/glibmm-2.4/glibmm/variant_basictypes.h:23:17: error: expected unqualified-id before ')' token
   23 |   Variant<bool>()
Hope this helps!

Yours faithfully,
John Khoo
Notice: This email is generated from the account of an NUS alumnus. Contents, views, and opinions therein are solely those of the sender.

[-- Attachment #2: Type: text/html, Size: 13949 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#63171: Telegram fails to compile.
  2023-04-29  7:14 bug#63171: Telegram fails to compile Apoorv
  2023-05-05 23:40 ` bug#63171: Sharlatan Hellseher
  2023-05-07 14:34 ` bug#63171: Telegram fails to compile John Cuthbert Khoo Teng Fong
@ 2023-05-28 11:39 ` Jonathan Brielmaier
  2 siblings, 0 replies; 4+ messages in thread
From: Jonathan Brielmaier @ 2023-05-28 11:39 UTC (permalink / raw)
  To: 63171-done

I pushed today a patch from Saku which updates telegram-desktop to
4.8.1. So it builds again.

See https://issues.guix.gnu.org/63706




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-05-28 12:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-29  7:14 bug#63171: Telegram fails to compile Apoorv
2023-05-05 23:40 ` bug#63171: Sharlatan Hellseher
2023-05-07 14:34 ` bug#63171: Telegram fails to compile John Cuthbert Khoo Teng Fong
2023-05-28 11:39 ` Jonathan Brielmaier

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).