You are not logged in.

#1 2020-11-11 11:38:00

z0mb1e_kgd
Member
Registered: 2020-11-10
Posts: 4

megasync 4.3.5.0-1 build error

Hello there.

Trying to build megasync 4.3.5.0-1 with yay. Getting this error:

WARNING: Project ERROR: Unknown module(s) in QT: macextras winextras
lprodump error: Cannot open ~/.cache/yay/megasync/src/MEGAsync/src/iRfNur.json for writing.

Here is the full output:

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:58: installing './config.guess'
configure.ac:58: installing './config.sub'
configure.ac:56: installing './install-sh'
configure.ac:56: installing './missing'
Makefile.am: installing './depcomp'
bindings/python/include.am:2: installing './py-compile'
Makefile.am:61:   'bindings/python/include.am' included from here
parallel-tests: installing './test-driver'
autoreconf: Leaving directory `.'
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... /usr/bin/grep
checking for egrep... /usr/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... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/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... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/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 /usr/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 /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/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 (/usr/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++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/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 (/usr/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... no
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... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_open 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... yes
checking libavutil/macros.h presence... yes
checking for libavutil/macros.h... yes
checking for main in -lavformat... yes
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... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for latex... no
configure: WARNING: latex not found - will not generate doxygen PostScript documentation
checking for makeindex... no
checking for dvips... no
checking for egrep... /usr/bin/egrep
checking for pdflatex... no
configure: WARNING: pdflatex not found - will not generate doxygen PDF documentation
checking for makeindex... no
checking for egrep... (cached) /usr/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: executing depfiles commands
config.status: executing libtool commands
configure: Configured to build Mega SDK:

  SDK version:      3.7.3
  Host setup:       x86_64-pc-linux-gnu
  Install prefix:   ~/.cache/yay/megasync/src/MEGAsync/src/MEGASync/mega/bindings/qt/3rdparty
  Compiler:         g++
  CXXFLAGS:         -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -DNDEBUG=1 -fPIC
  LDFLAGS:          -lstdc++fs -lrt -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
  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++:           -lcryptopp
  Sodium:             -lsodium
  Zlib:               -lz
  SQLite3:            -lsqlite3
  c-ares:             -lcares
  cURL:              -lcurl
  FreeImage:          
  Readline:           
  Termcap:            
  PCRE:               
  LIBUV:              -luv
  LIBRAW:              -lraw -fopenmp
  LIBMEDIAINFO:       -DUNICODE -lmediainfo -lzen
  FFMPEG:             -lavcodec -lavformat -lavutil -lswscale

Info: creating stash file ~/.cache/yay/megasync/src/MEGAsync/src/.qmake.stash
WARNING: Project ERROR: Unknown module(s) in QT: macextras winextras
lprodump error: Cannot open ~/.cache/yay/megasync/src/MEGAsync/src/iRfNur.json for writing.

Strange enough this issue has been reported since 2020-03-05 on AUR (version 4.2.5.4).

Please advise.

Last edited by z0mb1e_kgd (2020-11-11 12:11:59)

Offline

#2 2020-11-11 12:02:51

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,587

Re: megasync 4.3.5.0-1 build error

Please use code tags for terminal output, not quote tags . see https://bbs.archlinux.org/help.php#bbcode

Builds ok here with makepkg in 2 clean chroot builds (first one was for building libpdfium-nojs).

Try building with makepkg instead of yay.

Last edited by Lone_Wolf (2020-11-11 12:03:08)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#3 2020-11-11 17:04:12

z0mb1e_kgd
Member
Registered: 2020-11-10
Posts: 4

Re: megasync 4.3.5.0-1 build error

Lone_Wolf wrote:

Builds ok here with makepkg in 2 clean chroot builds (first one was for building libpdfium-nojs).

Try building with makepkg instead of yay.

Using makepkg didn't make any difference (predictable enough as yay simply automates makepkg actions).

Using clean chroot (systemd-nspawn namely) with makepkg helped indeed, thank you.

But why would this even happen in the first place? The native system is up-to-date and working fine, all needed packages are checked for being installed before building, what makes it different from the clean chroot system?

Offline

#4 2020-11-11 17:14:43

loqs
Member
Registered: 2014-03-06
Posts: 12,094

Re: megasync 4.3.5.0-1 build error

A clean chroot excludes installed packages not in the PKGBUILD,  locally installed none packaged binaries in for instance /usr/local/ and custom versions of packages.

Offline

Board footer

Powered by FluxBB