Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVD]unable to emerge megasync
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
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Thu Nov 29, 2018 2:05 am    Post subject: [SOLVD]unable to emerge megasync Reply with quote

unable to merge megasync here is output of

Code:
emerge --info '=net-misc/megasync-3.7.1::seden'

i have no idea what to do, i tried to compile it iwht qt5 without java with sync i have no idea , and i tried many overlays too
Code:

Portage 2.3.51 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-AMD_FX-8370_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:     8055164 total,   1282748 free
KiB Swap:   13819476 total,  13819476 free
Timestamp of repository gentoo: Wed, 28 Nov 2018 19:30:01 +0000
Head commit of repository gentoo: 305d865f82b2bf5b94a3d83f7ca2074b7be3c892
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

fkmclane
    location: /var/lib/layman/fkmclane
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    masters: gentoo
    priority: 50

spikyatlinux
    location: /var/lib/layman/spikyatlinux
    masters: gentoo
    priority: 50

tabinol
    location: /var/lib/layman/tabinol
    masters: gentoo
    priority: 50

Installed sets: @steam
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=bdver1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/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="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ http://gentoo.wheel.sk/ ftp://gentoo.wheel.sk/pub/linux/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi additions alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam filecaps flac fontconfig fortran gdbm gif glamor gpm gtk gtk3 iconv ipv6 java jpeg lcms ldap libass libnotify libtirpc mad matroska mng mp3 mp4 mpeg multilib ncurses netdev nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba sdl seccomp spell ssh ssl startup-notification svg symlink sync tcpd thunar tiff truetype udev udisks unicode upower usb vorbis vpx vulkan wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python3_5 python2_7" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Last edited by picarica on Sun Dec 02, 2018 1:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Thu Nov 29, 2018 7:05 am    Post subject: Reply with quote

You can post full build.log with wgetpaste?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2273
Location: Bardowick, Germany

PostPosted: Thu Nov 29, 2018 12:31 pm    Post subject: Re: unable to emerge megasync Reply with quote

picarica wrote:
unable to merge megasync here is output of

Code:
emerge --info '=net-misc/megasync-3.7.1::seden'
Works fine for me. (That's my overlay btw.)

When I get back on my laptop tonight, I'll post how I merged it. In the meantime, an error description would be nice. What failed where? What errors are reported? Build Log?
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Fri Nov 30, 2018 4:34 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You can post full build.log with wgetpaste?

sorry here is build log
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Fri Nov 30, 2018 5:47 pm    Post subject: Reply with quote

Ebuild seems broken for 9999 version try to install 3.7.1 or change in ebuild
Code:
if [[ ${PV} != *9999* ]];then
    src_prepare(){
        cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
        eapply_user
        cd src/MEGASync/mega
        eautoreconf
    }
fi

in
Code:
src_prepare(){
    if [[ ${PV} != *9999* ]];then
        cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
    fi
    eapply_user
    cd src/MEGASync/mega
    eautoreconf
}

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Fri Nov 30, 2018 6:06 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Ebuild seems broken for 9999 version try to install 3.7.1 or change in ebuild
Code:
if [[ ${PV} != *9999* ]];then
    src_prepare(){
        cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
        eapply_user
        cd src/MEGASync/mega
        eautoreconf
    }
fi

in
Code:
src_prepare(){
    if [[ ${PV} != *9999* ]];then
        cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
    fi
    eapply_user
    cd src/MEGASync/mega
    eautoreconf
}


i tried installing 3.7.1 by
Code:

sudo ebuild /var/lib/layman/ssnb/net-misc/megasync/megasync-3.7.1.ebuild --skip-manifest clean merge

but i always end up with the same error
Code:

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/net-misc/megasync-3.7.1/work/megasync-3.7.1/src/MEGASync/mega/config.log
 * ERROR: net-misc/megasync-3.7.1::ssnb failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 3225:  Called econf '--disable-silent-rules' '--disable-curl-checks' '--disable-megaapi' '--with-zlib' '--with-sqlite' '--with-cryptopp' '--with-cares' '--with-curl' '--without-termcap' '--disable-posix-threads' '--with-sodium' '--without-freeimage' '--with-readline' '--disable-examples' '--enable-java' '--disable-php' '--disable-python' '--enable-chat' '--enable-gcc-hardening'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=net-misc/megasync-3.7.1::ssnb'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/megasync-3.7.1::ssnb'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/megasync-3.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/megasync-3.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/megasync-3.7.1/work/megasync-3.7.1/src/MEGASync/mega'
 * S: '/var/tmp/portage/net-misc/megasync-3.7.1/work/megasync-3.7.1'

 * Messages for package net-misc/megasync-3.7.1:

 * ERROR: net-misc/megasync-3.7.1::ssnb failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 3225:  Called econf '--disable-silent-rules' '--disable-curl-checks' '--disable-megaapi' '--with-zlib' '--with-sqlite' '--with-cryptopp' '--with-cares' '--with-curl' '--without-termcap' '--disable-posix-threads' '--with-sodium' '--without-freeimage' '--with-readline' '--disable-examples' '--enable-java' '--disable-php' '--disable-python' '--enable-chat' '--enable-gcc-hardening'
 *        phase-helpers.sh, line  718:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  121:  Called die
 * The specific snippet of code:
 *         die "$@"
 *
 * If you need support, post the output of `emerge --info '=net-misc/megasync-3.7.1::ssnb'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/megasync-3.7.1::ssnb'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/megasync-3.7.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/megasync-3.7.1/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/megasync-3.7.1/work/megasync-3.7.1/src/MEGASync/mega'
 * S: '/var/tmp/portage/net-misc/megasync-3.7.1/work/megasync-3.7.1'
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Fri Nov 30, 2018 6:14 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Ebuild seems broken for 9999 version try to install 3.7.1 or change in ebuild
Code:
if [[ ${PV} != *9999* ]];then
    src_prepare(){
        cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
        eapply_user
        cd src/MEGASync/mega
        eautoreconf
    }
fi

in
Code:
src_prepare(){
    if [[ ${PV} != *9999* ]];then
        cp -r ../sdk-${SDK_COMMIT}/* src/MEGASync/mega
    fi
    eapply_user
    cd src/MEGASync/mega
    eautoreconf
}


oh and when i change the ebuild like u said and run
Code:

sudo ebuild /var/lib/layman/ssnb/net-misc/megasync/megasync-9999.ebuild --skip-manifest clean merge


i get this error
Code:

make[1]: Leaving directory '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999/src/MEGASync'
make: *** [Makefile:45: sub-MEGASync-make_first] Error 2
 * ERROR: net-misc/megasync-9999::ssnb failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/megasync-9999::ssnb'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/megasync-9999::ssnb'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/megasync-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/megasync-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999/src'
 * S: '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999'

 * Messages for package net-misc/megasync-9999:

 * ERROR: net-misc/megasync-9999::ssnb failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/megasync-9999::ssnb'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/megasync-9999::ssnb'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/megasync-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/megasync-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999/src'
 * S: '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999'

here is build log, but bet its same as usual


Last edited by picarica on Fri Nov 30, 2018 11:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Fri Nov 30, 2018 6:41 pm    Post subject: Reply with quote

Link of build.log not working
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Fri Nov 30, 2018 11:52 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Link of build.log not working


fixed
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Sat Dec 01, 2018 5:34 pm    Post subject: Reply with quote

picarica your build.log is incomplete and not contains the error. You can post full build.log?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Sun Dec 02, 2018 2:38 am    Post subject: Reply with quote

fedeliallalinea wrote:
picarica your build.log is incomplete and not contains the error. You can post full build.log?


what about now!?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5878

PostPosted: Sun Dec 02, 2018 3:18 am    Post subject: Reply with quote

Which version of dev-libs/crypto++ do you have installed?
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Sun Dec 02, 2018 8:14 am    Post subject: Reply with quote

Ant P. wrote:
Which version of dev-libs/crypto++ do you have installed?

With version 7.0.0-r3 compile fine.

Anyway I don't , first you post a build.log that begin compilation phase and now a build.log that fails in configuration phase.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Sun Dec 02, 2018 1:11 pm    Post subject: Reply with quote

fedeliallalinea wrote:
picarica your build.log is incomplete and not contains the error. You can post full build.log?


this one i tried using ebuild method
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 22160
Location: here

PostPosted: Sun Dec 02, 2018 1:37 pm    Post subject: Reply with quote

I tried version 9999 and 3.7.0 from ssnb oberlay and these compile fine
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
picarica
Tux's lil' helper
Tux's lil' helper


Joined: 11 Aug 2018
Posts: 116

PostPosted: Sun Dec 02, 2018 1:54 pm    Post subject: Reply with quote

FIXED IT

i treid ebuilds from maintainer 4nykey and the megasync package doesnt work by itself but when merging meganz-sdk and after that merging megasync it worked for me and megasync works correctly right now
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 5878

PostPosted: Sun Dec 02, 2018 6:36 pm    Post subject: Reply with quote

That's odd, because megasync already correctly DEPENDs on meganz-sdk. It should have already been installed during the normal emerge process, just like crypto++ should have been.
Back to top
View user's profile Send private message
Yamakuzure
Advocate
Advocate


Joined: 21 Jun 2006
Posts: 2273
Location: Bardowick, Germany

PostPosted: Mon Dec 03, 2018 10:57 pm    Post subject: Reply with quote

Weird... my overlay ebuild works. Just tested it today. Maybe you have a USE flag combination I did not test?
Code:
 ~ # eix megasync
[I] net-misc/megasync [1]
     Available versions:  (~)3.7.1^m {+api chat +curl debug doc dot examples +ffmpeg +inotify java +libmediainfo +libraw libressl +libsodium +libuv pcre php python +sync tests +threads +tools}
     Installed versions:  3.7.1^m(16:56:05 03.12.2018)(api curl ffmpeg inotify libmediainfo libraw libsodium libuv pcre sync threads tools -chat -debug -doc -dot -examples -java -libressl -php -python -tests)
     Homepage:            http://mega.co.nz
     Description:         Easy automated syncing between your computers and your MEGA cloud drive

[1] "seden" /var/lib/layman/seden

It would be nice if you told me which USE flag combination you tried, so I can debug this.
_________________
Important German:
  1. "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
  2. "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
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