Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
meganz-sdk-5.2.4 fails / 4nykey overlay
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Skippy204
Guru
Guru


Joined: 09 May 2008
Posts: 339
Location: Colorado, USA

PostPosted: Mon Mar 25, 2024 3:08 pm    Post subject: meganz-sdk-5.2.4 fails / 4nykey overlay Reply with quote

Code:

/bin/sh ./libtool  --tag=CXX "--tag=CXX"  --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./include/mega  -I./include -I./third_party/utf8proc  -I./include/mega/posix                  -march=native -O2 -pipe -std=c++11 -Wall -Wextra -Wconversion -Wno-unused-parameter -DNDEBUG=1 -fPIC -DMEGA_USE_C_ARES -c -o src/libmega_la-mega_http_parser.lo `test -f 'src/mega_http_parser.cpp' || echo './'`src/mega_http_parser.cpp
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I./include/mega -I./include -I./third_party/utf8proc -I./include/mega/posix -march=native -O2 -pipe -std=c++11 -Wall -Wextra -Wconversion -Wno-unused-parameter -DNDEBUG=1 -fPIC -DMEGA_USE_C_ARES -c src/mega_http_parser.cpp  -fPIC -DPIC -o src/.libs/libmega_la-mega_http_parser.o
make[2]: *** [Makefile:2628: src/libmega_la-heartbeats.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from ./include/mega.h:86,
                 from src/crypto/sodium.cpp:23:
./include/mega/posix/megafs.h:225:5: error: 'WatchMap' does not name a type
  225 |     WatchMap mWatches;
      |     ^~~~~~~~
./include/mega/posix/megafs.h:233:29: error: 'WatchMapIterator' was not declared in this scope
  233 | using AddWatchResult = pair<WatchMapIterator, WatchResult>;
      |                             ^~~~~~~~~~~~~~~~
./include/mega/posix/megafs.h:233:58: error: template argument 1 is invalid
  233 | using AddWatchResult = pair<WatchMapIterator, WatchResult>;
      |                                                          ^
./include/mega/posix/megafs.h:245:5: error: 'AddWatchResult' does not name a type; did you mean 'WatchResult'?
  245 |     AddWatchResult addWatch(LocalNode& node,
      |     ^~~~~~~~~~~~~~
      |     WatchResult
./include/mega/posix/megafs.h:249:22: error: 'WatchMapIterator' has not been declared
  249 |     void removeWatch(WatchMapIterator entry);
      |                      ^~~~~~~~~~~~~~~~
make[2]: *** [Makefile:2621: src/libmega_la-megaapi.lo] Error 1
make[2]: *** [Makefile:2649: src/crypto/libmega_la-sodium.lo] Error 1
make[2]: *** [Makefile:2614: src/libmega_la-megaapi_impl.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-misc/meganz-sdk-5.2.4/work/sdk-5.2.4'
make[1]: *** [Makefile:3329: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/net-misc/meganz-sdk-5.2.4/work/sdk-5.2.4'
make: *** [Makefile:1471: all] Error 2
 * ERROR: net-misc/meganz-sdk-5.2.4::4nykey failed (compile phase):


Full build log here:

https://bpa.st/DJAA

Code:

 root # emerge --info '=net-misc/meganz-sdk-5.2.4::4nykey'
Portage 3.0.63 (python 3.11.8-final-0, default/linux/amd64/17.1, gcc-13, glibc-2.39-r2, 5.7.15-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.7.15-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.39
KiB Mem:    24627236 total,   8351888 free
KiB Swap:   19535036 total,  19535036 free
Timestamp of repository gentoo: Mon, 25 Mar 2024 13:00:00 +0000
Head commit of repository gentoo: 4f83ff1b456d0223c130819f5737db555202b8e4
Head commit of repository 4nykey: 46f252724667bdd50985f31c9a883c9c499be758

Head commit of repository benzene-overlay: c61613615e69dc64f2652a9d5d13c2aecace5cf4

Head commit of repository brave-overlay: 6d6104f378a76db4f214431a3cf9dc2736d8a174

sh bash 5.2_p26
ld GNU ld (Gentoo 2.42 p3) 2.42.0
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.0::gentoo
dev-build/libtool:         2.4.7-r3::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r2::gentoo
dev-lang/python:           3.11.8_p1::gentoo, 3.12.2_p1::gentoo
dev-lang/rust:             1.76.0-r1::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.53::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.2::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             17.0.6::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.2::gentoo
sys-kernel/linux-headers:  6.7::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 3

Skippy
    location: /usr/local/portage/skippy
    masters: gentoo
    volatile: True

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

4nykey
    location: /var/lib/layman/4nykey
    sync-type: git
    sync-uri: https://github.com/4nykey/4nykey
    masters: gentoo
    priority: 50
    volatile: True

benzene-overlay
    location: /var/lib/layman/benzene-overlay
    sync-type: git
    sync-uri: https://github.com/Universebenzene/benzene-overlay
    masters: gentoo
    priority: 50
    volatile: True

brave-overlay
    location: /var/lib/layman/brave-overlay
    sync-type: git
    sync-uri: https://gitlab.com/jason.oliveira/brave-overlay
    masters: gentoo
    priority: 50
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --exclude net-news/quiterss"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo https://gentoo.osuosl.org/ http://gentoo.osuosl.org/ http://mirror.leaseweb.com/gentoo/ http://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en en_GB en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl aim alsa amd64 amrnb amrub arts aspell bzip2 cdda cddb cdr cli consolekit crypt css dbus dillo dri dvd dvdr encode exif extensions extras ffmpeg flac fontconfig fortran fts3 gdbm gimp gnutls graphicsmagick gstreamer gtk hddtemp iconv id3tag imap ipv6 jadetex java jpeg jpeg2k kde kipi ladspa lcms ldap libsamplerate libtirpc lm_sensors mad midi mikmod mjpeg mmx mng mono mp3 mp4 mpeg mplayer multilib musepack musicbrainz mysql ncurses nls nvidia offensive ogg opengl openmp oscar pam pcre pdf png policykit portaudio qt3support quicktime readline redeyes scanner seccomp secure-delete semantic-desktop smp sndfile soundtouch spamassassin spell split-usr sql sqlite sse sse2 ssl svg test-rust theora tiff twolame udev ukit unicode vamp vcd vorbis wavpack wmf xattr xinerama xmp xvid xvmc zlib" ABI_X86="32 64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel intel8x0 intel8x0m" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" L10N="en en_GB en_US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby32" VIDEO_CARDS="nvidia fbdev vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS


Code:

 root # emerge -pqv '=net-misc/meganz-sdk-5.2.4::4nykey'
[ebuild  r  U ] net-misc/meganz-sdk-5.2.4 [4.31.0] USE="ffmpeg libuv qt sqlite -examples -freeimage -fuse -inotify -mediainfo -raw -test"
[ebuild  r  U ] net-misc/megasync-5.2.0.0 [4.12.2] USE="ffmpeg -dolphin -mediainfo -nautilus -raw -thunar"
Back to top
View user's profile Send private message
vasettoo
Tux's lil' helper
Tux's lil' helper


Joined: 11 Nov 2012
Posts: 97

PostPosted: Wed Mar 27, 2024 3:43 pm    Post subject: Reply with quote

I've faced the exact same issue too and for now I've decided to move to Guru overlay which doesn't need separate sdk package for megasync and compiles just fine.
Best regards.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum