Tdesktop: FreeBSD support

Created on 27 Aug 2014  ·  33Comments  ·  Source: telegramdesktop/tdesktop

Could you make a FreeBSD version?

build

Most helpful comment

At least re-open it.

All 33 comments

+1

@TheDharc , @idetuxs , After quick review of dependencies, the possible issue for FBSD version is home-patched Qt. For instance, this patch is used to access private constructors of Qt class QTextLayout. So it makes freebsd port creation/maintenance very difficult.

@telegramdesktop, Could you please tell is it possible to use non-patched Qt for Linux (FBSD) systems?

Hey there!

We're automatically closing this issue since the original poster (or another commenter) hasn't yet responded to the question or request made to them 528 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.

Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

(Please note that this is an automated comment.)

It's still interesting...

I'm still interested as well!

I'm interested!

I'm also interested.

@auchri ping

Any news on that?

At least re-open it.

I need a native FreeBSD port

I'm also interested in a FreeBSD port.

I am interested as well

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=telegram-desktop-systemqt

I guess the above is a good starting point since it strips out the pre-shipped qt.

@auchri @telegramdesktop please re-open

FreeBSD already have a port for Telegram Desktop (added to the tree recently), namely net-im/linux-telegram-desktop , thanks to the Linux compatibility from FreeBSD.

Seems like that port is experiencing some permission issues though. When ran as a normal user Telegram exits complaining not being able to write to ~/.local, yet when ran as root everything's fine. I'll post the error logs I got when I get back to FreeBSD.

Maybe I'll open that up as a separate issue.

@KireinaHoro

Seems like that port is experiencing some permission issues though. When ran as a normal user Telegram exits complaining not being able to write to ~/.local, yet when ran as root everything's fine. I'll post the error logs I got when I get back to FreeBSD.

If you create the folders by hand, everything runs fine and you don't have to be root.
mkdir ~/.local/share/TelegramDesktop
mkdir ~/.local/share/TelegramDesktop/tdata

@teisho

If you paid attention to that thread you would have found out that that issue as well as that solution itself are proposed by me.

@KireinaHoro
I paid attention to this thread.

You said: run as root.
I said: create the folders by hand and you don't have to.

Anyway, a native solution would be better than a Linux port.

@teisho you should also pay attention to #3794.

I'm not affiliated with Telegram, just fyi.

I'm doing a bit of "This episode on, Thank God It's F/OSS" hackery on this. So far I'm thinking, make the common.gypi act like it's running on Linux.

I will have to make it so that it detects 'amd64' as equal to 'x86_64' running uname -p (processor architecture) so that it gets the Linux target rather than the Linux32 target on FreeBSD.

If I get it running, I'll send you a screenshot.

Additionally, I will pay significant heed to stek29's mention of #3794 (I'm interpreting this as: ~/.local, an xdg dir that roughly forms the equivalent of /usr/local system wide, doesn't always exist on FreeBSD/HardenedBSD desktop systems, or perhaps that permission errors rain like Irma regardless (too soon?))

I really appreciate effort to get tdesktop running via the Linux compatibility layer, but this issue is about native support. I think we shouldn't mix these two issues together.

@avollmerhaus Did you read? I am abusing the build system (since it doesn't have a separate fbsd target) to build a freebsd executable! ... So far I'm actually getting cucked by codegen_*, but that's just because some bullshit in pcre uses non W^X compliant memory, and I have a weird version of freebsd called hardenedbsd (it's like grsec)

This...

Is bloody braindead.

[  1%] Built target Updater
[  1%] Linking CXX executable tests_flat_map
[  3%] Built target codegen_numbers
[  4%] Linking CXX executable tests_flags
Scanning dependencies of target tests_flat_set
[  6%] Built target codegen_style
Scanning dependencies of target libtgvoip
[  6%] Building CXX object CMakeFiles/tests_flat_set.dir/home/hadron/TBuild/tdesktop/Telegram/SourceFiles/base/flat_set_tests.o
[  6%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/fft4g.o
[  6%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/ring_buffer.o
[  6%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/auto_corr_to_refl_coef.o
[  6%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/auto_correlation.o
[  7%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/complex_bit_reverse.o
[  7%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/complex_fft.o
[  7%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/copy_set_operations.o
[  7%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/cross_correlation.o
[  7%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/division_operations.o
[  7%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/dot_product_with_scale.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/downsample_fast.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/energy.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/filter_ar.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/filter_ar_fast_q12.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/filter_ma_fast_q12.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/get_hanning_window.o
[  8%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/get_scaling_square.o
[  9%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/ilbc_specific_functions.o
[  9%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/levinson_durbin.o
[  9%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/lpc_to_refl_coef.o
[  9%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/min_max_operations.o
[  9%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/randomization_functions.o
[  9%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/real_fft.o
[ 10%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/refl_coef_to_lpc.o
[ 10%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/resample.o
[ 10%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/resample_48khz.o
[ 10%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/resample_by_2.o
[ 10%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/resample_by_2_internal.o
[ 10%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/resample_fractional.o
[ 11%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/spl_init.o
[ 11%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/spl_inl.o
[ 11%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/spl_sqrt.o
[ 11%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/spl_sqrt_floor.o
[ 11%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/splitting_filter_impl.o
[ 11%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/sqrt_of_one_minus_x_squared.o
[ 12%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/signal_processing/vector_scaling_operations.o
[ 12%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/agc/legacy/analog_agc.o
[ 12%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/agc/legacy/digital_agc.o
[ 12%] Building CXX object CMakeFiles/tests_flat_set.dir/home/hadron/TBuild/tdesktop/Telegram/SourceFiles/base/tests_main.o
[ 12%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/ns/noise_suppression.o
[ 12%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/ns/noise_suppression_x.o
[ 12%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/ns/ns_core.o
[ 13%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/ns/nsx_core.o
[ 13%] Building C object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/ns/nsx_core_c.o
/usr/local/tdesktop/Qt-5.6.2/lib/libQt5Core.a(qglobal.o): In function `qBadAlloc()':
/usr/home/hadron/TBuild/Libraries/qt5_6_2/qtbase/src/corelib/global/qglobal.cpp:2998: undefined reference to `std::bad_alloc::bad_alloc()'
/usr/home/hadron/TBuild/Libraries/qt5_6_2/qtbase/src/corelib/global/qglobal.cpp:2998: undefined reference to `std::bad_alloc::bad_alloc()'
/usr/local/tdesktop/Qt-5.6.2/lib/libQt5Core.a(qstring.o): In function `void std::__1::sort<int*, std::__1::__less<int, int> >(int*, int*, std::__1::__less<int, int>)':
/usr/include/c++/v1/algorithm:4051: undefined reference to `void std::__1::__sort<std::__1::__less<int, int>&, int*>(int*, int*, std::__1::__less<int, int>&)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/tests_flat_map.dir/build.make:128: tests_flat_map] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:232: CMakeFiles/tests_flat_map.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
/usr/local/tdesktop/Qt-5.6.2/lib/libQt5Core.a(qglobal.o): In function `qBadAlloc()':
/usr/home/hadron/TBuild/Libraries/qt5_6_2/qtbase/src/corelib/global/qglobal.cpp:2998: undefined reference to `std::bad_alloc::bad_alloc()'
/usr/home/hadron/TBuild/Libraries/qt5_6_2/qtbase/src/corelib/global/qglobal.cpp:2998: undefined reference to `std::bad_alloc::bad_alloc()'
/usr/local/tdesktop/Qt-5.6.2/lib/libQt5Core.a(qstring.o): In function `void std::__1::sort<int*, std::__1::__less<int, int> >(int*, int*, std::__1::__less<int, int>)':
/usr/include/c++/v1/algorithm:4051: undefined reference to `void std::__1[ 13%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/BlockingQueue.o
::__sort<std::__1::__less<int, int>&, int*>(int*, int*, std::__1::__less<int, int>&)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/tests_flags.dir/build.make:128: tests_flags] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:120: CMakeFiles/tests_flags.dir/all] Error 2
[ 13%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/BufferInputStream.o
[ 13%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/BufferOutputStream.o
[ 13%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/BufferPool.o
[ 14%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/CongestionControl.o
[ 14%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/EchoCanceller.o
[ 14%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/JitterBuffer.o
[ 14%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/logging.o
[ 14%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/MediaStreamItf.o
[ 14%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/OpusDecoder.o
[ 15%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/OpusEncoder.o
[ 15%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.o
[ 15%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPServerConfig.o
/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.cpp:77:0: warning: "MAX" redefined
 #define MAX(a,b) (a>b ? a : b)
 ^
In file included from /usr/include/pthread_np.h:34:0,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/threading.h:26,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/BlockingQueue.h:12,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.h:22,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.cpp:14:
/usr/include/sys/param.h:302:0: note: this is the location of the previous definition
 #define MAX(a,b) (((a)>(b))?(a):(b))
 ^
/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.cpp:78:0: warning: "MIN" redefined
 #define MIN(a,b) (a<b ? a : b)
 ^
In file included from /usr/include/pthread_np.h:34:0,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/threading.h:26,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/BlockingQueue.h:12,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.h:22,
                 from /home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/VoIPController.cpp:14:
/usr/include/sys/param.h:301:0: note: this is the location of the previous definition
 #define MIN(a,b) (((a)<(b))?(a):(b))
 ^
[ 15%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/audio/AudioInput.o
[ 15%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/audio/AudioOutput.o
[ 15%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/audio/Resampler.o
[ 16%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/NetworkSocket.o
[ 16%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/os/linux/AudioInputALSA.o
[ 16%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputALSA.o
[ 16%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/os/linux/AudioOutputPulse.o
[ 16%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/os/linux/AudioInputPulse.o
[ 16%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/os/linux/PulseAudioLoader.o
[ 17%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/os/posix/NetworkSocketPosix.o
[ 17%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/base/checks.o
[ 17%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/base/stringutils.o
[ 17%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/audio_util.o
[ 17%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/channel_buffer.o
[ 17%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/sparse_fir_filter.o
[ 18%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/wav_file.o
[ 18%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/common_audio/wav_header.o
[ 18%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aec/aec_core.o
[ 18%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aec/aec_core_sse2.o
[ 18%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aec/aec_resampler.o
[ 18%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aec/echo_cancellation.o
[ 19%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aecm/aecm_core.o
[ 19%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aecm/aecm_core_c.o
[ 19%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/aecm/echo_control_mobile.o
[ 19%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/logging/apm_data_dumper.o
[ 19%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/splitting_filter.o
[ 19%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/three_band_filter_bank.o
[ 20%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/utility/block_mean_calculator.o
[ 20%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/utility/delay_estimator.o
[ 20%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/utility/delay_estimator_wrapper.o
[ 20%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/utility/ooura_fft.o
[ 21%] Linking CXX executable tests_flat_set
[ 21%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/modules/audio_processing/utility/ooura_fft_sse2.o
[ 21%] Building CXX object CMakeFiles/libtgvoip.dir/home/hadron/TBuild/tdesktop/Telegram/ThirdParty/libtgvoip/webrtc_dsp/webrtc/system_wrappers/source/cpu_features.o
[ 22%] Linking CXX static library ThirdParty/libtgvoip/libtgvoip.a
[ 22%] Built target libtgvoip
/usr/local/tdesktop/Qt-5.6.2/lib/libQt5Core.a(qglobal.o): In function `qBadAlloc()':
/usr/home/hadron/TBuild/Libraries/qt5_6_2/qtbase/src/corelib/global/qglobal.cpp:2998: undefined reference to `std::bad_alloc::bad_alloc()'
/usr/home/hadron/TBuild/Libraries/qt5_6_2/qtbase/src/corelib/global/qglobal.cpp:2998: undefined reference to `std::bad_alloc::bad_alloc()'
/usr/local/tdesktop/Qt-5.6.2/lib/libQt5Core.a(qstring.o): In function `void std::__1::sort<int*, std::__1::__less<int, int> >(int*, int*, std::__1::__less<int, int>)':
/usr/include/c++/v1/algorithm:4051: undefined reference to `void std::__1::__sort<std::__1::__less<int, int>&, int*>(int*, int*, std::__1::__less<int, int>&)'
collect2: error: ld returned 1 exit status
gmake[2]: *** [CMakeFiles/tests_flat_set.dir/build.make:128: tests_flat_set] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:914: CMakeFiles/tests_flat_set.dir/all] Error 2
gmake: *** [Makefile:84: all] Error 2

Tests are cacking themselves.

I'm going to bed. Catch me with the username ellenor2000.

It is good that telegram is in freebsd ports, but however it is there due to linux compatibility layer builtin to freebsd. Some folks do not use it (and probably wishes not to use it) as it is still limited and buggy in some instances. I do feel that a native build should be made in the future (if there isnt one in the works already), which would make it easier to maintain since one doesnt have to worry about being exposed to any bugs due to the linux emulator or having to depend on it as well.

Seems like a native one was added to the Ports just 4 days ago. Yay!

Didnt notice it until now. That is a good start. Havent tried it yet but if its fully functional, some of the patches could be made into a pr to possibly be included on this repo.

Works great. :)

Hey there!

We're automatically closing this issue since there was no activity in this issue since 455 days ago. We therefore assume that the user has lost interest or resolved the problem on their own. Closed issues that remain inactive for a long period may get automatically locked.

Don't worry though; if this is in error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

(Please note that this is an automated comment.)

I think this is in error, I'm still hoping for a native FreeBSD port!

The native port is available since 18 december 2017:

$ pkg search telegram-desktop
linux-telegram-desktop-1.3.0   Official desktop client for Telegram messenger (Linux version)
telegram-desktop-1.5.11        Telegram Desktop messaging app

Not completely up-to-date, but I use it daily with no problems.

Ah! Sorry, I did not notice.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kmare picture kmare  ·  109Comments

beerisgood picture beerisgood  ·  122Comments

armanatory picture armanatory  ·  89Comments

rizaumami picture rizaumami  ·  110Comments

ghost picture ghost  ·  106Comments