• Bug#1060099: telegram-desktop: FTBFS on mips64el: ./obj-mips64el-linux-

    From Sebastian Ramacher@21:1/5 to All on Fri Jan 5 22:20:01 2024
    Source: telegram-desktop
    Version: 4.13.1+ds-1
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=telegram-desktop&arch=mips64el&ver=4.13.1%2Bds-1&stamp=1703877441&raw=0

    100%] Linking CXX executable ../telegram-desktop
    cd /<<PKGBUILDDIR>>/obj-mips64el-linux-gnuabi64/Telegram && /usr/bin/cmake -E cmake_link_script CMakeFiles/Telegram.dir/link.txt --verbose=1

    [continued in next message]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Sebastian Ramacher@21:1/5 to Nicholas Guriev on Sat Jan 6 21:20:01 2024
    Hi

    On 2024-01-06 21:04:22 +0300, Nicholas Guriev wrote:
    Hello!

    On 06.01.2024 00:09:14 MSK you wrote:
    CMakeFiles/td_scheme.dir/gen/scheme.cpp.o: in function `MTPDchannel::read(int const*&, int const*)':
    ./obj-mips64el-linux-gnuabi64/Telegram/./obj-mips64el-linux-gnuabi64/Telegram/gen/scheme.cpp:16435:(.text+0x1600a0): relocation truncated to fit: R_MIPS_GOT_PAGE against `.text'
    CMakeFiles/td_scheme.dir/gen/scheme.cpp.o: in function `MTPDuser::read(int const*&, int const*)':
    ./obj-mips64el-linux-gnuabi64/Telegram/./obj-mips64el-linux-gnuabi64/Telegram/gen/scheme.cpp:15827:(.text+0x16139c): relocation truncated to fit: R_MIPS_GOT_PAGE against `.text'
    collect2: error: ld returned 1 exit status

    Sorry, I have no idea how to properly fix this linker error. The aforementioned
    translation unit already uses compiler flags -mxgot -fPIC. They helped before.
    It seems the scheme.cpp has reached the limit of code size of single TU.

    Primary platform for Telegram Desktop is amd64; arm64 is also somewhat popular.
    This issue is platform specific. And I daresay it is not that serious to block
    release on unaffected architectures.

    Then please get the mips64el binaries removed and stop building the
    package on the platform. Otherwise it will continue to block
    telegram-desktop from migrating.

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Feb 14 11:20:01 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 14 Feb 2024 13:01:35 +0300
    with message-id <d83d5a75c6ba5dd608f74945d515643e70773480.camel@guriev.su>
    and subject line Re: telegram-desktop: FTBFS on mips64el: ./obj-mips64el-linux-gnuabi64/Telegram/./obj-mips64el-linux-gnuabi64/Telegram/gen/scheme.cpp:16435:(.text+0x1600a0): relocation truncated to fit: R_MIPS_GOT_PAGE against `.text'
    has caused the Debian Bug report #1060099,
    regarding telegram-desktop: FTBFS on mips64el: ./obj-mips64el-linux-gnuabi64/Telegram/./obj-mips64el-linux-gnuabi64/Telegram/gen/scheme.cpp:16435:(.text+0x1600a0): relocation truncated to fit: R_MIPS_GOT_PAGE against `.text'
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1060099: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060099
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 5 Jan 2024 21:09:17 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-106.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    MURPHY_FINANCE6,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 915; hammy, 150; neutral, 235; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <sramacher@debian.org>
    Received: from stravinsky.de