You are not logged in.

#1 2020-08-18 20:24:08

evilgnome
Member
Registered: 2009-02-20
Posts: 62

[SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

Hello!

The latest PKGBUILD release for telegram-desktop, 2.3.0-1, features a whole bunch of changes from the last one, and I'm having trouble building from it.

I don't know if it's a problem with my flags, my hardware, or some other peculiarity of my system.

If anyone's able to help me investigate, I'll appreciate it!

makepkg.conf: http://ix.io/2uyJ

makepkg -sc log: http://ix.io/2uyF

Thanks for any insight!

EDIT: A handy link to the changes since the last PKGBUILD release: https://github.com/archlinux/svntogit-c … d9db127101

EDIT2: Highlights from the log:

../Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp:70:51: error: ‘::gdk_x11_window_get_type’ has not been declared; did you mean ‘Platform::internal::gdk_x11_window_get_type’?

../Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp:73:50: error: ‘::gdk_x11_window_get_xid’ has not been declared; did you mean ‘Platform::internal::gdk_x11_window_get_xid’?

Last edited by evilgnome (2020-08-25 04:42:57)

Offline

#2 2020-08-18 20:27:47

jonathon
Member
Registered: 2016-09-19
Posts: 128

Re: [SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

(Just following up from IRC, the package builds fine for me in a clean chroot/build environment.)

Last edited by jonathon (2020-08-18 20:47:05)

Offline

#3 2020-08-18 20:41:58

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

How do the local package versions compare with those used by telegram-desktop 2.3.0-1 in community?
.BUILDINFO from the telegram-desktop 2.3.0-1 in community is

format = 1
pkgname = telegram-desktop
pkgbase = telegram-desktop
pkgver = 2.3.0-1
pkgarch = x86_64
pkgbuild_sha256sum = 1cc4b4213ccab47fbb2f0ca4beb9df12dc63500dfbc1031331e7073b504426b1
packager = Sven-Hendrik Haase <svenstaro@gmail.com>
builddate = 1597612158
builddir = /build
buildenv = !distcc
buildenv = color
buildenv = !ccache
buildenv = check
buildenv = !sign
options = strip
options = docs
options = !libtool
options = !staticlibs
options = emptydirs
options = zipman
options = purge
options = !debug
installed = acl-2.2.53-3-x86_64
installed = adobe-source-code-pro-fonts-2.030ro+1.050it-6-any
installed = adwaita-icon-theme-3.36.1-1-any
installed = alsa-lib-1.2.3.2-1-x86_64
installed = alsa-topology-conf-1.2.3-1-any
installed = alsa-ucm-conf-1.2.3-2-any
installed = aom-2.0.0-1-x86_64
installed = archlinux-keyring-20200622-1-any
installed = argon2-20190702-3-x86_64
installed = at-spi2-atk-2.34.2-1-x86_64
installed = at-spi2-core-2.36.0-1-x86_64
installed = atk-2.36.0-1-x86_64
installed = attr-2.4.48-3-x86_64
installed = audit-2.8.5-6-x86_64
installed = autoconf-2.69-7-any
installed = automake-1.16.2-3-any
installed = avahi-0.8+15+ge8a3dd0-1-x86_64
installed = bash-5.0.017-1-x86_64
installed = binutils-2.34-5-x86_64
installed = bison-3.6.4-1-x86_64
installed = brotli-1.0.7-3-x86_64
installed = bzip2-1.0.8-3-x86_64
installed = ca-certificates-20181109-4-any
installed = ca-certificates-mozilla-3.55-2-x86_64
installed = ca-certificates-utils-20181109-4-any
installed = cairo-1.17.2+25+gaee96d175-1-x86_64
installed = cantarell-fonts-1:0.201-1-any
installed = cmake-3.18.1-1-x86_64
installed = colord-1.4.4+9+g1ce26da-2-x86_64
installed = coreutils-8.32-1-x86_64
installed = cracklib-2.9.7-2-x86_64
installed = cryptsetup-2.3.3-1-x86_64
installed = curl-7.71.1-1-x86_64
installed = dav1d-0.7.1-1-x86_64
installed = db-5.3.28-5-x86_64
installed = dbus-1.12.20-1-x86_64
installed = dconf-0.36.0-1-x86_64
installed = desktop-file-utils-0.26-1-x86_64
installed = device-mapper-2.02.187-3-x86_64
installed = diffutils-3.7-3-x86_64
installed = double-conversion-3.1.5-2-x86_64
installed = e2fsprogs-1.45.6-2-x86_64
installed = elfutils-0.180-1-x86_64
installed = enchant-2.2.8-3-x86_64
installed = expat-2.2.9-3-x86_64
installed = fakeroot-1.24-2-x86_64
installed = ffmpeg-2:4.3.1-2-x86_64
installed = file-5.39-1-x86_64
installed = filesystem-2020.05.20-1-x86_64
installed = findutils-4.7.0-2-x86_64
installed = flac-1.3.3-2-x86_64
installed = flex-2.6.4-3-x86_64
installed = fontconfig-2:2.13.91+48+gfcb0420-2-x86_64
installed = freetype2-2.10.2-1-x86_64
installed = fribidi-1.0.10-1-x86_64
installed = gawk-5.1.0-1-x86_64
installed = gc-8.0.4-4-x86_64
installed = gcc-10.1.0-2-x86_64
installed = gcc-libs-10.1.0-2-x86_64
installed = gdbm-1.18.1-3-x86_64
installed = gdk-pixbuf2-2.40.0+6+g5432316df-1-x86_64
installed = gettext-0.20.2-1-x86_64
installed = giflib-5.2.1-2-x86_64
installed = git-2.28.0-1-x86_64
installed = glib-networking-2.64.3-2-x86_64
installed = glib2-2.64.4-1-x86_64
installed = glibc-2.31-5-x86_64
installed = gmp-6.2.0-1-x86_64
installed = gnupg-2.2.21-1-x86_64
installed = gnutls-3.6.14-2-x86_64
installed = gpgme-1.14.0-1-x86_64
installed = graphite-1:1.3.14-1-x86_64
installed = grep-3.4-1-x86_64
installed = groff-1.22.4-3-x86_64
installed = gsettings-desktop-schemas-3.36.1-1-any
installed = gsm-1.0.19-1-x86_64
installed = gtk-update-icon-cache-1:3.24.22-1-x86_64
installed = gtk3-1:3.24.22-1-x86_64
installed = guile-2.2.6-2-x86_64
installed = gzip-1.10-3-x86_64
installed = harfbuzz-2.7.1-1-x86_64
installed = hicolor-icon-theme-0.17-2-any
installed = hidapi-0.9.0-2-x86_64
installed = hunspell-1.7.0-3-x86_64
installed = hwids-20200306-1-any
installed = iana-etc-20200720-1-any
installed = icu-67.1-1-x86_64
installed = iptables-1:1.8.5-2-x86_64
installed = iso-codes-4.5.0-1-any
installed = jack-0.125.0-9-x86_64
installed = jasper-2.0.17-1-x86_64
installed = js68-68.11.0-1-x86_64
installed = json-c-0.15-1-x86_64
installed = json-glib-1.4.4-2-x86_64
installed = jsoncpp-1.9.3-1-x86_64
installed = kbd-2.2.0-5-x86_64
installed = keyutils-1.6.3-1-x86_64
installed = kmod-27-1-x86_64
installed = krb5-1.18.2-1-x86_64
installed = l-smash-2.14.5-2-x86_64
installed = lame-3.100-3-x86_64
installed = lcms2-2.11-2-x86_64
installed = less-551-3-x86_64
installed = lib32-fakeroot-1.24-1-x86_64
installed = lib32-gcc-libs-10.1.0-2-x86_64
installed = lib32-glibc-2.31-5-x86_64
installed = lib32-libltdl-2.4.6+42+gb88cebd5-1-x86_64
installed = libarchive-3.4.3-1-x86_64
installed = libass-0.14.0-2-x86_64
installed = libassuan-2.5.3-2-x86_64
installed = libasyncns-0.8+3+g68cd5af-3-x86_64
installed = libavc1394-0.5.4-4-x86_64
installed = libbluray-1.2.0-3-x86_64
installed = libcanberra-0.30+2+gc0620e4-3-x86_64
installed = libcap-2.38-1-x86_64
installed = libcap-ng-0.7.10-1-x86_64
installed = libcroco-0.6.13-2-x86_64
installed = libcups-2.3.3-2-x86_64
installed = libdaemon-0.14-5-x86_64
installed = libdatrie-0.2.12-2-x86_64
installed = libdbusmenu-qt5-0.9.3+16.04.20160218-5-x86_64
installed = libdrm-2.4.102-1-x86_64
installed = libedit-20191231_3.1-1-x86_64
installed = libelf-0.180-1-x86_64
installed = libepoxy-1.5.4-2-x86_64
installed = libevdev-1.9.1-1-x86_64
installed = libffi-3.3-3-x86_64
installed = libgcrypt-1.8.6-1-x86_64
installed = libglvnd-1.3.2-1-x86_64
installed = libgpg-error-1.38-1-x86_64
installed = libgudev-233-2-x86_64
installed = libgusb-0.3.5-1-x86_64
installed = libibus-1.5.22+8+gf591381e-1-x86_64
installed = libice-1.0.10-3-x86_64
installed = libidn2-2.3.0-1-x86_64
installed = libiec61883-1.2.0-6-x86_64
installed = libinput-1.15.6-1-x86_64
installed = libjpeg-turbo-2.0.5-1-x86_64
installed = libksba-1.4.0-1-x86_64
installed = libldap-2.4.50-2-x86_64
installed = libmfx-20.2.1-1-x86_64
installed = libmicrohttpd-0.9.71-1-x86_64
installed = libmng-2.0.3-3-x86_64
installed = libmnl-1.0.4-3-x86_64
installed = libmodplug-0.8.9.0-3-x86_64
installed = libmpc-1.1.0-2-x86_64
installed = libnetfilter_conntrack-1.0.8-1-x86_64
installed = libnfnetlink-1.0.1-4-x86_64
installed = libnftnl-1.1.7-1-x86_64
installed = libnghttp2-1.41.0-1-x86_64
installed = libnl-3.5.0-2-x86_64
installed = libnsl-1.2.0-2-x86_64
installed = libogg-1.3.4-2-x86_64
installed = libomxil-bellagio-0.9.3-3-x86_64
installed = libp11-kit-0.23.20-5-x86_64
installed = libpcap-1.9.1-2-x86_64
installed = libpciaccess-0.16-2-x86_64
installed = libpng-1.6.37-3-x86_64
installed = libproxy-0.4.15+33+g454a499-2-x86_64
installed = libpsl-0.21.0-2-x86_64
installed = libpulse-13.0-3-x86_64
installed = libraw1394-2.1.2-3-x86_64
installed = librsvg-2:2.48.8-1-x86_64
installed = libsamplerate-0.1.9-3-x86_64
installed = libsasl-2.1.27-3-x86_64
installed = libseccomp-2.4.2-1-x86_64
installed = libsecret-0.20.3-1-x86_64
installed = libsm-1.2.3-2-x86_64
installed = libsndfile-1.0.28-3-x86_64
installed = libsoup-2.70.0-1-x86_64
installed = libsoxr-0.1.3-2-x86_64
installed = libssh-0.9.4-1-x86_64
installed = libssh2-1.9.0-2-x86_64
installed = libtasn1-4.16.0-1-x86_64
installed = libthai-0.1.28-2-x86_64
installed = libtheora-1.1.1-5-x86_64
installed = libtiff-4.1.0-2-x86_64
installed = libtirpc-1.2.6-1-x86_64
installed = libtool-2.4.6+42+gb88cebd5-13-x86_64
installed = libunistring-0.9.10-2-x86_64
installed = libunwind-1.3.1-2-x86_64
installed = libusb-1.0.23-2-x86_64
installed = libutil-linux-2.36-1-x86_64
installed = libuv-1.38.1-1-x86_64
installed = libva-2.8.0-1-x86_64
installed = libvdpau-1.4-1-x86_64
installed = libvorbis-1.3.7-2-x86_64
installed = libvpx-1.9.0-1-x86_64
installed = libwacom-1.4.1-1-x86_64
installed = libwebp-1.1.0-1-x86_64
installed = libx11-1.6.11-1-x86_64
installed = libxau-1.0.9-3-x86_64
installed = libxcb-1.14-1-x86_64
installed = libxcomposite-0.4.5-3-x86_64
installed = libxcursor-1.2.0-2-x86_64
installed = libxdamage-1.1.5-3-x86_64
installed = libxdmcp-1.1.3-3-x86_64
installed = libxext-1.3.4-3-x86_64
installed = libxfixes-5.0.3-4-x86_64
installed = libxft-2.3.3-2-x86_64
installed = libxi-1.7.10-3-x86_64
installed = libxinerama-1.1.4-3-x86_64
installed = libxkbcommon-0.10.0-1-x86_64
installed = libxkbcommon-x11-0.10.0-1-x86_64
installed = libxml2-2.9.10-2-x86_64
installed = libxmu-1.1.3-2-x86_64
installed = libxrandr-1.5.2-3-x86_64
installed = libxrender-0.9.10-4-x86_64
installed = libxshmfence-1.3-2-x86_64
installed = libxt-1.2.0-2-x86_64
installed = libxtst-1.2.3-4-x86_64
installed = libxv-1.0.11-4-x86_64
installed = libxxf86vm-1.1.4-4-x86_64
installed = linux-api-headers-5.6.11-1-any
installed = llvm-libs-10.0.1-1-x86_64
installed = lm_sensors-3.6.0-2-x86_64
installed = lz4-1:1.9.2-2-x86_64
installed = lzo-2.10-3-x86_64
installed = m4-1.4.18-3-x86_64
installed = make-4.3-3-x86_64
installed = md4c-0.4.4-1-x86_64
installed = mesa-20.1.5-1-x86_64
installed = microsoft-gsl-3.1.0-1-any
installed = minizip-1:1.2.11-4-x86_64
installed = mpfr-4.0.2-2-x86_64
installed = mtdev-1.1.6-1-x86_64
installed = ncurses-6.2-1-x86_64
installed = nettle-3.6-1-x86_64
installed = ninja-1.10.0-1-x86_64
installed = npth-1.6-2-x86_64
installed = openal-1.20.1-2-x86_64
installed = opencore-amr-0.1.5-4-x86_64
installed = openjpeg2-2.3.1-2-x86_64
installed = openssl-1.1.1.g-2-x86_64
installed = opus-1.3.1-2-x86_64
installed = p11-kit-0.23.20-5-x86_64
installed = pacman-5.2.2-1-x86_64
installed = pacman-mirrorlist-20200801-1-any
installed = pam-1.3.1-2-x86_64
installed = pambase-20190105.1-2-any
installed = pango-1:1.46.0-1-x86_64
installed = patch-2.7.6-8-x86_64
installed = pcre-8.44-1-x86_64
installed = pcre2-10.35-1-x86_64
installed = perl-5.32.0-1-x86_64
installed = perl-error-0.17029-2-any
installed = perl-mailtools-2.21-4-any
installed = perl-timedate-2.33-2-any
installed = pinentry-1.1.0-5-x86_64
installed = pixman-0.40.0-1-x86_64
installed = pkgconf-1.7.3-1-x86_64
installed = polkit-0.117-1-x86_64
installed = popt-1.18-1-x86_64
installed = python-3.8.5-1-x86_64
installed = qt5-base-5.15.0-4-x86_64
installed = qt5-declarative-5.15.0-1-x86_64
installed = qt5-imageformats-5.15.0-1-x86_64
installed = qt5-wayland-5.15.0-1-x86_64
installed = range-v3-0.11.0-1-any
installed = rav1e-0.3.3-1-x86_64
installed = readline-8.0.004-1-x86_64
installed = rest-0.8.1-3-x86_64
installed = rhash-1.3.9-2-x86_64
installed = sdl2-2.0.12-2-x86_64
installed = sed-4.8-1-x86_64
installed = shadow-4.8.1-3-x86_64
installed = shared-mime-info-2.0+1+g6bf9e4f-2-x86_64
installed = sound-theme-freedesktop-0.8-4-any
installed = speex-1.2.0-3-x86_64
installed = speexdsp-1.2.0-2-x86_64
installed = sqlite-3.32.3-1-x86_64
installed = srt-1.4.1-2-x86_64
installed = sudo-1.9.2-1-x86_64
installed = sysfsutils-2.1.0-11-x86_64
installed = systemd-246.1-1-x86_64
installed = systemd-libs-246.1-1-x86_64
installed = tar-1.32-3-x86_64
installed = tdb-1.4.3-2-x86_64
installed = texinfo-6.7-3-x86_64
installed = tl-expected-1.0.0-1-any
installed = tslib-1.22-1-x86_64
installed = tzdata-2020a-1-x86_64
installed = util-linux-2.36-1-x86_64
installed = v4l-utils-1.20.0-1-x86_64
installed = vid.stab-1.1-3-x86_64
installed = vmaf-1.5.2-1-x86_64
installed = vulkan-icd-loader-1.2.148-1-x86_64
installed = wayland-1.18.0-2-x86_64
installed = wayland-protocols-1.20-1-any
installed = which-2.21-5-x86_64
installed = x264-3:0.160.r3011.cde9a93-1-x86_64
installed = x265-3.4-1-x86_64
installed = xcb-proto-1.14-1-any
installed = xcb-util-0.4.0-3-x86_64
installed = xcb-util-image-0.4.0-3-x86_64
installed = xcb-util-keysyms-0.4.0-3-x86_64
installed = xcb-util-renderutil-0.3.9-3-x86_64
installed = xcb-util-wm-0.4.1-3-x86_64
installed = xdg-utils-1.1.3+19+g9816ebb-1-any
installed = xkeyboard-config-2.30-2-any
installed = xorg-xprop-1.2.4-2-x86_64
installed = xorg-xset-1.2.4-2-x86_64
installed = xorgproto-2020.1-1-any
installed = xvidcore-1.3.7-2-x86_64
installed = xxhash-0.8.0-1-x86_64
installed = xz-5.2.5-1-x86_64
installed = zita-alsa-pcmi-0.3.2-3-x86_64
installed = zita-resampler-1.6.2-3-x86_64
installed = zlib-1:1.2.11-4-x86_64
installed = zstd-1.4.5-1-x86_64

Offline

#4 2020-08-18 21:08:57

evilgnome
Member
Registered: 2009-02-20
Posts: 62

Re: [SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

Thanks very much loqs! Here are my local differences:

-adobe-source-code-pro-fonts-2.030ro+1.050it-6
+ttf-google-fonts-git-1:r2002.37e0f8a4-1
-archlinux-keyring-20200622-1
+archlinux-keyring-20200817-1
-iana-etc-20200720-1
+iana-etc-20200812-1
-kbd-2.2.0-5
+kbd-2.3.0-2
-systemd-246.1-1
-systemd-libs-246.1-1
+systemd-246.2-1
+systemd-libs-246.2-1

Offline

#5 2020-08-18 21:22:02

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: [SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

I can not see how those differences would explain the error.

If you install the devtools package then run extra-x86_64-build to build the package in a clean chroot.  That should succeed.  Then compare /var/lib/archbuild/extra-x86_64/$USERNAME/build/telegram-desktop/src/ with the src directory used by makepkg.

Offline

#6 2020-08-19 16:09:09

evilgnome
Member
Registered: 2009-02-20
Posts: 62

Re: [SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

Thanks. Yes, extra-x86_64-build is successful and builds a good pkg. The src dirs seem identical. I've got a build log from that up at http://ix.io/2uDL

It differs from my originally posted failed build log in a bunch of ways, I'll try to take a closer look.

Maybe next time I dirty build I'll use the default makepkg.conf. I've just got to give my poorly cooled laptop a long break between builds.

Offline

#7 2020-08-25 04:40:54

evilgnome
Member
Registered: 2009-02-20
Posts: 62

Re: [SOLVED] Trouble building telegram-desktop 2.3.0 [SOLVE: 2.3.2]

With the latest updates, without changing the makepkg, the newer pkgbuild (2.3.2-1) builds just fine, so I'm going to mark this as solved.

I notice between the pkg releases, build options and patches have changed regarding webrtc and enchant.

Here's the newest .BUILDINFO: http://ix.io/2va6

Offline

Board footer

Powered by FluxBB