Open wULLSnpAXbWZGYDYyhWTKKspEQoaYxXyhoisqHf opened 4 years ago
while the binary distribution is now available for Fedora 33, too, building from the latest sources still fails for me
utils/MEGAsync/src on master [!] via .NET 3.1.109
➜ ./configure -q && qmake-qt4 MEGA.pro && lrelease-qt4 MEGASync/MEGASync.pro && make
* Enabling external Crypto++
* Storing local archive files in /home/user/utils/MEGAsync/src/archives
* Disabling external FreeImage
* Using local files
* Configure only
* Disabling OpenSSL
* Enabling external libuv.
* Incremental build - skipping already built/downloaded dependencies
* Enabling external Sodium.
* Installing into /home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty
Crypto++ already built
Sodium already built
Zlib already built
SQLite already built
libuv already built
MediaInfoLib already built
Configuring MEGA SDK
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:54: installing './compile'
configure.ac:56: installing './missing'
Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
running: ./configure --disable-shared --enable-static --disable-silent-rules --disable-curl-checks --disable-megaapi --with-cryptopp=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-sodium=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-zlib=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-sqlite=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-cares=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-curl=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --without-freeimage --with-libuv=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --disable-posix-threads --disable-examples --with-libzen=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --with-libmediainfo=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty --prefix=/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /bin/ld
checking if the linker (/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /bin/nm -B
checking the name lister (/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for size_t... yes
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for pid_t... yes
checking for off_t... yes
checking for ssize_t... yes
checking for g++... g++
checking whether we are using the GNU Objective C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /bin/ld -m elf_x86_64
checking if the linker (/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether build environment is sane... yes
checking for cppcheck... yes
checking whether g++ supports C++11 features by default... yes
checking for ANSI C header files... (cached) yes
checking for ANSI C header files... (cached) yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for off_t... (cached) yes
checking size of uint64_t... 8
checking whether struct tm is in sys/time.h or time.h... time.h
checking for off_t... (cached) yes
checking for size_t... (cached) yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking htonl usability... no
checking htonl presence... no
checking for htonl... no
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking sys/malloc.h usability... no
checking sys/malloc.h presence... no
checking for sys/malloc.h... no
checking malloc/malloc.h usability... no
checking malloc/malloc.h presence... no
checking for malloc/malloc.h... no
checking whether C++ compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking for dlopen in -ldl... yes
checking sys/inotify.h usability... yes
checking sys/inotify.h presence... yes
checking for sys/inotify.h... yes
checking mcheck.h usability... yes
checking mcheck.h presence... yes
checking for mcheck.h... yes
checking for inotify_init1... yes
checking for fdopendir... yes
checking for select... yes
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for clock_gettime in -lrt... yes
checking platform options... no
checking if building Java bindings... no
checking for libcryptopp... checking cryptopp/cryptlib.h usability... yes
checking cryptopp/cryptlib.h presence... yes
checking for cryptopp/cryptlib.h... yes
checking for main in -lcryptopp... yes
checking for libsodium... checking sodium.h usability... yes
checking sodium.h presence... yes
checking for sodium.h... yes
checking for sodium_init in -lsodium... yes
checking for libpcrecpp... checking for libraw... checking libraw/libraw.h usability... yes
checking libraw/libraw.h presence... yes
checking for libraw/libraw.h... yes
checking for libraw_init in -lraw... yes
checking for libuv... checking uv.h usability... yes
checking uv.h presence... yes
checking for uv.h... yes
checking for uv_run in -luv... yes
checking for zlib... checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
checking for SQLite... /home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for main in -lsqlite3... yes
checking for Berkeley DB... --with-db not specified
checking for ffmpeg... --with-ffmpeg not specified
checking ffmpeg-mega/libavutil/macros.h usability... no
checking ffmpeg-mega/libavutil/macros.h presence... no
checking for ffmpeg-mega/libavutil/macros.h... no
checking libavutil/macros.h usability... no
checking libavutil/macros.h presence... no
checking for libavutil/macros.h... no
checking for libzen... checking ZenLib/Ztring.h usability... yes
checking ZenLib/Ztring.h presence... yes
checking for ZenLib/Ztring.h... yes
checking for _ZN6ZenLib15int8u2BigEndianEPch in -lzen... yes
checking for pthread_create in -lpthread... yes
checking for libmediainfo... checking MediaInfo/MediaInfo.h usability... yes
checking MediaInfo/MediaInfo.h presence... yes
checking for MediaInfo/MediaInfo.h... yes
checking for MediaInfo_Info_Version in -lmediainfo... yes
libmediainfo worked worked with -DUNICODE
checking for aio_write in -lrt... yes
checking for OpenSSL... --with-openssl not specified
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking for SSL_new in -lssl... yes
checking for c-ares... checking ares.h usability... yes
checking ares.h presence... yes
checking for ares.h... yes
checking for ares_library_init in -lcares... yes
checking curl/curl.h usability... yes
checking curl/curl.h presence... yes
checking for curl/curl.h... yes
checking for main in -lcurl... yes
configure: skipping cURL checks.
checking if building example applications... no
checking for FreeImage... no
checking if building tests... no
checking if building Python bindings... no
checking if building PHP bindings... no
checking for main in -lstdc++fs... yes
checking for doxygen... /bin/doxygen
checking for perl... /bin/perl
checking for latex... /bin/latex
checking for makeindex... /bin/makeindex
checking for dvips... /bin/dvips
checking for egrep... /bin/egrep
checking for pdflatex... /bin/pdflatex
checking for makeindex... (cached) /bin/makeindex
checking for egrep... (cached) /bin/egrep
checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating include/Makefile
config.status: creating libmega.pc
config.status: creating doc/Doxyfile
config.status: creating include/mega/config.h
config.status: include/mega/config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build Mega SDK:
SDK version: 3.7.0
Host setup: x86_64-pc-linux-gnu
Install prefix: /home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty
Compiler: g++
CXXFLAGS: -DCRYPTOPP_MAINTAIN_BACKWARDS_COMPATIBILITY_562 -DNDEBUG=1 -fPIC
LDFLAGS: -lstdc++fs -lrt
gcc hardening: no
debug: no
static: yes
sync subsystem: yes
chat: no
MEGA API no
example apps: no
inotify: yes
posix threads: no
Python bindings: no
Python3 bindings: no
PHP bindings: no
SWIG_FLAGS_PHP:
Java bindings: no
OpenSSL: -lssl -lcrypto
Crypto++: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -lcryptopp
Sodium: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -lsodium
Zlib: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -lz
SQLite3: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -lsqlite3
c-ares: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -lcares
cURL: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -lcurl
FreeImage:
Readline:
Termcap:
PCRE:
LIBUV: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -luv
LIBRAW: -lraw -fopenmp
LIBMEDIAINFO: -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/include -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -L/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty/lib -DUNICODE -lmediainfo -lzen
FFMPEG:
MEGA SDK is configured
Successfully configured MEGA SDK!
Project MESSAGE: THIRDPARTY_VCPKG_BASE_PATH: /home/user/utils/MEGAsync/src/MEGASync/../../../3rdParty C:/Users/build/MEGA/build-MEGAsync/3rdParty_MSVC2017_20200529Project MESSAGE: VCPKG_TRIPLET: x64-linux x64-osx x86-windows-mega x64-windows-mega/usr/lib64/qt4/mkspecs/features/qt_functions.prf(117): Function 'system' is not implementedProject MESSAGE: Building DEBUG with VCPKG 3rdparty at /home/user/utils/MEGAsync/src/MEGASync/../../../3rdParty C:/Users/build/MEGA/build-MEGAsync/3rdParty_MSVC2017_20200529/vcpkg/installed/x64-linux x64-osx x86-windows-mega x64-windows-megaProject MESSAGE: Building RELEASE with VCPKG 3rdparty at /home/user/utils/MEGAsync/src/MEGASync/../../../3rdParty C:/Users/build/MEGA/build-MEGAsync/3rdParty_MSVC2017_20200529/vcpkg/installed/x64-linux x64-osx x86-windows-mega x64-windows-mega/home/user/utils/MEGAsync/src/MEGASync/platform/platform.pri(32): Function 'system' is not implemented/home/user/utils/MEGAsync/src/MEGASync/platform/platform.pri(37): Function 'system' is not implementedProject MESSAGE: Installing desktop files.Project MESSAGE: Warning: unknownQT: x11extrasProject MESSAGE: Warning: unknown QT: macextrasProject MESSAGE: Warning: unknown QT: winextrasUpdating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_ar.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_de.qm'...
Generated 1019 translation(s) (311 finished and 708 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_en.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_es.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_fr.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_id.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_it.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_ja.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_ko.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_nl.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_pl.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_pt_BR.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_pt.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_ro.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_ru.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_th.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_vi.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_zh_CN.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
Updating '/home/user/utils/MEGAsync/src/MEGASync/gui/translations/MEGASyncStrings_zh_TW.qm'...
Generated 1023 translation(s) (311 finished and 712 unfinished)
cd MEGASync/ && /bin/qmake-qt4 /home/user/utils/MEGAsync/src/MEGASync/MEGASync.pro -o Makefile
Project MESSAGE: THIRDPARTY_VCPKG_BASE_PATH: /home/user/utils/MEGAsync/src/MEGASync/../../../3rdParty
Project MESSAGE: VCPKG_TRIPLET: x64-linux
Project MESSAGE: vcpkg not used
Project MESSAGE: Installing desktop files.
Project MESSAGE: Warning: unknown QT: x11extras
gui/Resources_linux.qrc: Warning: potential duplicate alias detected: 'ico_add_sync_folder.png'
gui/Resources_linux.qrc: Warning: potential duplicate alias detected: 'ico_add_sync_folder@2x.png'
gui/Resources_linux.qrc: Warning: potential duplicate alias detected: 'ico_add_sync_folder@3x.png'
cd MEGASync/ && make -f Makefile
make[1]: Entering directory '/home/user/utils/MEGAsync/src/MEGASync'
/usr/lib64/qt4/bin/uic gui/linux/InfoDialog.ui -o ui_InfoDialog.h
/usr/lib64/qt4/bin/uic gui/linux/CustomTransferItem.ui -o ui_CustomTransferItem.h
gui/linux/CustomTransferItem.ui: Warning: Z-order assignment: 'horizontalSpacer' is not a valid widget.
/usr/lib64/qt4/bin/uic gui/linux/NodeSelector.ui -o ui_NodeSelector.h
/usr/lib64/qt4/bin/uic gui/linux/FolderBinder.ui -o ui_FolderBinder.h
/usr/lib64/qt4/bin/uic gui/linux/BindFolderDialog.ui -o ui_BindFolderDialog.h
/usr/lib64/qt4/bin/uic gui/linux/UploadToMegaDialog.ui -o ui_UploadToMegaDialog.h
/usr/lib64/qt4/bin/uic gui/linux/PasteMegaLinksDialog.ui -o ui_PasteMegaLinksDialog.h
/usr/lib64/qt4/bin/uic gui/linux/ImportMegaLinksDialog.ui -o ui_ImportMegaLinksDialog.h
/usr/lib64/qt4/bin/uic gui/linux/ImportListWidgetItem.ui -o ui_ImportListWidgetItem.h
/usr/lib64/qt4/bin/uic gui/linux/CrashReportDialog.ui -o ui_CrashReportDialog.h
/usr/lib64/qt4/bin/uic gui/linux/SetupWizard.ui -o ui_SetupWizard.h
/usr/lib64/qt4/bin/uic gui/linux/SettingsDialog.ui -o ui_SettingsDialog.h
gui/linux/SettingsDialog.ui: Warning: The name 'horizontalLayout_20' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_201'.
gui/linux/SettingsDialog.ui: Warning: The name 'horizontalSpacer_9' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_91'.
/usr/lib64/qt4/bin/uic gui/linux/AccountDetailsDialog.ui -o ui_AccountDetailsDialog.h
/usr/lib64/qt4/bin/uic gui/linux/DownloadFromMegaDialog.ui -o ui_DownloadFromMegaDialog.h
/usr/lib64/qt4/bin/uic gui/linux/SizeLimitDialog.ui -o ui_SizeLimitDialog.h
/usr/lib64/qt4/bin/uic gui/linux/ChangeLogDialog.ui -o ui_ChangeLogDialog.h
gui/linux/ChangeLogDialog.ui: Warning: The name 'horizontalLayout_5' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_51'.
gui/linux/ChangeLogDialog.ui: Warning: The name 'horizontalSpacer_6' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_61'.
/usr/lib64/qt4/bin/uic gui/linux/GuestWidget.ui -o ui_GuestWidget.h
gui/linux/GuestWidget.ui: Warning: The name 'verticalLayout_11' (QVBoxLayout) is already in use, defaulting to 'verticalLayout_111'.
gui/linux/GuestWidget.ui: Warning: The name 'verticalLayout_11' (QVBoxLayout) is already in use, defaulting to 'verticalLayout_112'.
gui/linux/GuestWidget.ui: Warning: The name 'verticalLayout_13' (QVBoxLayout) is already in use, defaulting to 'verticalLayout_131'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalLayout_10' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_101'.
gui/linux/GuestWidget.ui: Warning: The name 'verticalLayout_12' (QVBoxLayout) is already in use, defaulting to 'verticalLayout_121'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalLayout_9' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_91'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_11' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_111'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_12' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_121'.
gui/linux/GuestWidget.ui: Warning: The name 'wHeader' (QWidget) is already in use, defaulting to 'wHeader1'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_2' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_21'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_3' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_31'.
gui/linux/GuestWidget.ui: Warning: The name 'wDesc' (QWidget) is already in use, defaulting to 'wDesc1'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalLayout_3' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_31'.
gui/linux/GuestWidget.ui: Warning: The name 'verticalLayout' (QVBoxLayout) is already in use, defaulting to 'verticalLayout1'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalLayout_4' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_41'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_6' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_61'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_7' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_71'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalLayout_5' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_51'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_4' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_41'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_5' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_51'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalSpacer_21' (QSpacerItem) is already in use, defaulting to 'horizontalSpacer_211'.
gui/linux/GuestWidget.ui: Warning: The name 'horizontalLayout_2' (QHBoxLayout) is already in use, defaulting to 'horizontalLayout_21'.
/usr/lib64/qt4/bin/uic gui/linux/StreamingFromMegaDialog.ui -o ui_StreamingFromMegaDialog.h
/usr/lib64/qt4/bin/uic gui/linux/PermissionsDialog.ui -o ui_PermissionsDialog.h
/usr/lib64/qt4/bin/uic gui/linux/PermissionsWidget.ui -o ui_PermissionsWidget.h
/usr/lib64/qt4/bin/uic gui/linux/MegaProgressCustomDialog.ui -o ui_MegaProgressCustomDialog.h
/usr/lib64/qt4/bin/uic gui/linux/ConfirmSSLexception.ui -o ui_ConfirmSSLexception.h
/usr/lib64/qt4/bin/uic gui/linux/PlanWidget.ui -o ui_PlanWidget.h
/usr/lib64/qt4/bin/uic gui/linux/UpgradeDialog.ui -o ui_UpgradeDialog.h
/usr/lib64/qt4/bin/uic gui/linux/InfoWizard.ui -o ui_InfoWizard.h
/usr/lib64/qt4/bin/uic gui/linux/TransferManagerItem.ui -o ui_TransferManagerItem.h
/usr/lib64/qt4/bin/uic gui/linux/TransferManager.ui -o ui_TransferManager.h
/usr/lib64/qt4/bin/uic gui/linux/TransfersWidget.ui -o ui_TransfersWidget.h
/usr/lib64/qt4/bin/uic gui/linux/TransfersStateInfoWidget.ui -o ui_TransfersStateInfoWidget.h
/usr/lib64/qt4/bin/uic gui/linux/MegaSpeedGraph.ui -o ui_MegaSpeedGraph.h
/usr/lib64/qt4/bin/uic gui/linux/ActiveTransfersWidget.ui -o ui_ActiveTransfersWidget.h
/usr/lib64/qt4/bin/uic gui/linux/AddExclusionDialog.ui -o ui_AddExclusionDialog.h
gui/linux/AddExclusionDialog.ui: Warning: Z-order assignment: 'horizontalSpacer' is not a valid widget.
/usr/lib64/qt4/bin/uic gui/linux/LocalCleanScheduler.ui -o ui_LocalCleanScheduler.h
/usr/lib64/qt4/bin/uic gui/linux/InfoDialogTransfersWidget.ui -o ui_InfoDialogTransfersWidget.h
/usr/lib64/qt4/bin/uic gui/linux/StatusInfo.ui -o ui_StatusInfo.h
/usr/lib64/qt4/bin/uic gui/linux/PSAwidget.ui -o ui_PSAwidget.h
/usr/lib64/qt4/bin/uic gui/linux/UpgradeOverStorage.ui -o ui_UpgradeOverStorage.h
/usr/lib64/qt4/bin/uic gui/linux/ChangePassword.ui -o ui_ChangePassword.h
gui/linux/ChangePassword.ui: Warning: Z-order assignment: 'horizontalSpacer' is not a valid widget.
/usr/lib64/qt4/bin/uic gui/linux/Login2FA.ui -o ui_Login2FA.h
/usr/lib64/qt4/bin/uic gui/linux/TransfersStatusWidget.ui -o ui_TransfersStatusWidget.h
/usr/lib64/qt4/bin/uic gui/linux/AlertItem.ui -o ui_AlertItem.h
/usr/lib64/qt4/bin/uic gui/linux/TransfersSummaryWidget.ui -o ui_TransfersSummaryWidget.h
/usr/lib64/qt4/bin/uic gui/linux/FilterAlertWidget.ui -o ui_FilterAlertWidget.h
/usr/lib64/qt4/bin/uic gui/linux/AlertFilterType.ui -o ui_AlertFilterType.h
/usr/lib64/qt4/bin/uic gui/linux/BugReportDialog.ui -o ui_BugReportDialog.h
/usr/lib64/qt4/bin/uic gui/linux/LockedPopOver.ui -o ui_LockedPopOver.h
/usr/lib64/qt4/bin/uic gui/linux/VerifyLockMessage.ui -o ui_VerifyLockMessage.h
/usr/lib64/qt4/bin/uic gui/linux/MegaInfoMessage.ui -o ui_MegaInfoMessage.h
/usr/lib64/qt4/bin/uic gui/linux/DynamicTransferQuotaPopOver.ui -o ui_DynamicTransferQuotaPopOver.h
/usr/lib64/qt4/bin/uic gui/linux/OverQuotaDialog.ui -o ui_OverQuotaDialog.h
g++ -c -pipe -std=c++11 -Wextra -Wconversion -Wno-unused-parameter -g -O2 -Wall -W -D_REENTRANT -DQT_DISABLE_DEPRECATED_BEFORE=0x000000 -DENABLE_LOG_PERFORMANCE -DHAVE_LIBUV -DUSE_MEDIAINFO -DUNICODE -DHAVE_LIBRAW -DHAVE_FFMPEG -DUSE_QT -DMEGA_QT_LOGGING -DUSE_SQLITE -DUSE_CRYPTOPP -DENABLE_SYNC -DENABLE_CHAT -DNDEBUG -DUSE_DBUS -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSvg -I/usr/include/QtDBus -I/usr/include -Igui -Igui/linux -I/home/user/utils/MEGAsync/src/MEGASync/mega/bindings/qt/../..//bindings/qt/3rdparty/include/libuv -Imega/include -Imega/bindings/qt -Imega/bindings/qt/3rdparty/include -Imega/include/mega/posix -Icontrol -Iplatform -Igoogle_breakpad -Iqtlockedfile -I. -I. -I. -o SettingsDialog.o gui/SettingsDialog.cpp
In file included from ./gui/AccountDetailsDialog.h:9,
from ./gui/SettingsDialog.h:12,
from ./gui/InfoDialog.h:10,
from ./MegaApplication.h:19,
from gui/SettingsDialog.cpp:13:
control/Utilities.h:168:47: error: ‘Q_NULLPTR’ was not declared in this scope
168 | explicit ClickableLabel(QWidget* parent = Q_NULLPTR, Qt::WindowFlags f = Qt::WindowFlags())
| ^~~~~~~~~
control/Utilities.h:215:50: error: ‘mega::MegaIntegerList’ has not been declared
215 | static QString getReadableStringFromTs(mega::MegaIntegerList* list);
| ^~~~~~~~~~~~~~~
In file included from gui/SettingsDialog.cpp:13:
./MegaApplication.h: In constructor ‘TransferMetaData::TransferMetaData(int, int, int, QString)’:
./MegaApplication.h:70:9: warning: ‘TransferMetaData::transferDirection’ will be initialized after [-Wreorder]
70 | int transferDirection;
| ^~~~~~~~~~~~~~~~~
./MegaApplication.h:62:9: warning: ‘int TransferMetaData::totalTransfers’ [-Wreorder]
62 | int totalTransfers;
| ^~~~~~~~~~~~~~
./MegaApplication.h:56:5: warning: when initialized here [-Wreorder]
56 | TransferMetaData(int direction, int total = 0, int pending = 0, QString path = QString())
| ^~~~~~~~~~~~~~~~
./MegaApplication.h:71:13: warning: ‘TransferMetaData::localPath’ will be initialized after [-Wreorder]
71 | QString localPath;
| ^~~~~~~~~
./MegaApplication.h:64:9: warning: ‘int TransferMetaData::totalFiles’ [-Wreorder]
64 | int totalFiles;
| ^~~~~~~~~~
./MegaApplication.h:56:5: warning: when initialized here [-Wreorder]
56 | TransferMetaData(int direction, int total = 0, int pending = 0, QString path = QString())
| ^~~~~~~~~~~~~~~~
gui/SettingsDialog.cpp: In member function ‘void SettingsDialog::storageStateChanged(int)’:
gui/SettingsDialog.cpp:469:100: error: ‘STORAGE_STATE_PAYWALL’ is not a member of ‘mega::MegaApi’
469 | setOverQuotaMode(newStorageState == MegaApi::STORAGE_STATE_RED || newStorageState == MegaApi::STORAGE_STATE_PAYWALL);
| ^~~~~~~~~~~~~~~~~~~~~
gui/SettingsDialog.cpp: In member function ‘void SettingsDialog::refreshAccountDetails()’:
gui/SettingsDialog.cpp:1202:101: warning: conversion from ‘long long int’ to ‘double’ may change value [-Wconversion]
1202 | int percentage = floor(100*((double)preferences->usedStorage()/preferences->totalStorage()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~
gui/SettingsDialog.cpp:1202:35: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion]
1202 | int percentage = floor(100*((double)preferences->usedStorage()/preferences->totalStorage()));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui/SettingsDialog.cpp:1232:60: warning: conversion from ‘long long int’ to ‘double’ may change value [-Wconversion]
1232 | double totalBandwidth = preferences->totalBandwidth();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
gui/SettingsDialog.cpp:1245:114: warning: conversion from ‘long long int’ to ‘double’ may change value [-Wconversion]
1245 | int bandwidthPercentage = floor(100*((double)preferences->usedBandwidth()/preferences->totalBandwidth()));
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
gui/SettingsDialog.cpp:1245:44: warning: conversion from ‘double’ to ‘int’ may change value [-Wfloat-conversion]
1245 | int bandwidthPercentage = floor(100*((double)preferences->usedBandwidth()/preferences->totalBandwidth()));
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui/SettingsDialog.cpp: In member function ‘int SettingsDialog::saveSettings()’:
gui/SettingsDialog.cpp:1418:126: error: ‘STORAGE_STATE_PAYWALL’ is not a member of ‘mega::MegaApi’
1418 | bool storageOQPaywall{static_cast<MegaApplication *>(qApp)->getAppliedStorageState() == MegaApi::STORAGE_STATE_PAYWALL};
| ^~~~~~~~~~~~~~~~~~~~~
gui/SettingsDialog.cpp:1628:65: warning: conversion from ‘int’ to ‘quint16’ {aka ‘short unsigned int’} may change value [-Wconversion]
1628 | proxy.setPort(ui->eProxyPort->text().trimmed().toInt());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
gui/SettingsDialog.cpp:1657:53: warning: conversion from ‘int’ to ‘quint16’ {aka ‘short unsigned int’} may change value [-Wconversion]
1657 | proxy.setPort(arguments[1].toInt());
| ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/QtCore/qnamespace.h:45,
from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtCore/qobject.h:47,
from /usr/include/QtCore/qcoreapplication.h:45,
from /usr/include/QtGui/qapplication.h:45,
from /usr/include/QtGui/QApplication:1,
from gui/SettingsDialog.cpp:1:
gui/SettingsDialog.cpp:1729:20: warning: statement has no effect [-Wunused-value]
1729 | QT_TR_NOOP("Do you want to restart MEGAsync now?");
| ^
gui/SettingsDialog.cpp: In member function ‘QString SettingsDialog::getFormatString()’:
gui/SettingsDialog.cpp:2215:74: warning: conversion from ‘long long int’ to ‘__gnu_cxx::__promote_2<float, int, float, double>::__type’ {aka ‘double’} may change value [-Wconversion]
2215 | format += QString::fromUtf8("<") + Utilities::getSizeString(lowerLimit * pow((float)1024, lowerLimitUnit));
| ^~~~~~~~~~
gui/SettingsDialog.cpp:2215:85: warning: conversion from ‘__gnu_cxx::__promote_2<float, int, float, double>::__type’ {aka ‘double’} to ‘long long unsigned int’ may change value [-Wfloat-conversion]
2215 | format += QString::fromUtf8("<") + Utilities::getSizeString(lowerLimit * pow((float)1024, lowerLimitUnit));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gui/SettingsDialog.cpp:2225:74: warning: conversion from ‘long long int’ to ‘__gnu_cxx::__promote_2<float, int, float, double>::__type’ {aka ‘double’} may change value [-Wconversion]
2225 | format += QString::fromUtf8(">") + Utilities::getSizeString(upperLimit * pow((float)1024, upperLimitUnit));
| ^~~~~~~~~~
gui/SettingsDialog.cpp:2225:85: warning: conversion from ‘__gnu_cxx::__promote_2<float, int, float, double>::__type’ {aka ‘double’} to ‘long long unsigned int’ may change value [-Wfloat-conversion]
2225 | format += QString::fromUtf8(">") + Utilities::getSizeString(upperLimit * pow((float)1024, upperLimitUnit));
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:2469: SettingsDialog.o] Error 1
make[1]: Leaving directory '/home/user/utils/MEGAsync/src/MEGASync'
make: *** [Makefile:39: sub-MEGASync-make_default] Error 2
Since official
MEGA
repos are not yet available forFedora 33
(andMEGAsync
forFedora 32
has unmet depencencies onFedora 33
), I am forced to build it myself. Which is totally fine, although, as title says, I am currently experiencing issues buildingMEGAsync
.OS:
Fedora 33
gcc/g++ version:gcc (GCC) 10.2.1 20200826 (Red Hat 10.2.1-3)
Yes, I have installed any and all of the packages required for building mentioned in the README.md.
Whether I use
{qmake,lrelease}-qt{4,5}
does not make any difference, but I'm going with the recommendation from the README.md and using-qt4
. As per the instructions, I am attempting to build from theMEGAsync/src
folder using the following chain of commands:Only for builds to fail at
make
step. Here's themake
output:I'd appreciate your help.