Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error with megasync-9999
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
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Fri Jul 29, 2016 5:40 am    Post subject: Error with megasync-9999 Reply with quote

Hi guys, I am getting the following error when trying to emerge megasync-9999 from local overlay. The ebuild is from zugaina overlay:
Code:

Configuring source in /var/tmp/portage/net-misc/megasync-9999/work/megasync-9999 ...
 * ERROR: net-misc/megasync-9999::x-portage failed (configure phase):
 *   no configure script found
 *
 * Call stack:
 *          ebuild.sh, line  115:  Called src_configure
 *        environment, line 3648:  Called econf '--disable-silent-rules' '--disable-curl-checks' '--disable-megaapi' '--with-zlib' '--with-sqlite' '--with-cryptopp' '--with-cares' '--with-curl' '--without-termcap' '--enable-posix-threads' '--without-sodium' '--without-freeimage' '--with-readline' '--disable-examples'
 *   phase-helpers.sh, line  668:  Called die
 * The specific snippet of code:
 *              die "no configure script found"
 *
 * If you need support, post the output of `emerge --info '=net-misc/megasync-9999::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/megasync-9999::x-portage'`.
 * 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/MEGASync/mega'
 * S: '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999'

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

 * ERROR: net-misc/megasync-9999::x-portage failed (configure phase):
 *   no configure script found
 *
 * Call stack:
 *          ebuild.sh, line  115:  Called src_configure
 *        environment, line 3648:  Called econf '--disable-silent-rules' '--disable-curl-checks' '--disable-megaapi' '--with-zlib' '--with-sqlite' '--with-cryptopp' '--with-cares' '--with-curl' '--without-termcap' '--enable-posix-threads' '--without-sodium' '--without-freeimage' '--with-readline' '--disable-examples'
 *   phase-helpers.sh, line  668:  Called die
 * The specific snippet of code:
 *              die "no configure script found"
 *
 * If you need support, post the output of `emerge --info '=net-misc/megasync-9999::x-portage'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/megasync-9999::x-portage'`.
 * 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/MEGASync/mega'
 * S: '/var/tmp/portage/net-misc/megasync-9999/work/megasync-9999'
 *
 * The following package has failed to build, install, or execute postinst:
 *
 *  (net-misc/megasync-9999:0/0::x-portage, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/net-misc/megasync-9999/temp/build.log'

_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Fri Jul 29, 2016 6:56 am    Post subject: Reply with quote

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

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

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Martux
Veteran
Veteran


Joined: 04 Feb 2005
Posts: 1917

PostPosted: Fri Jul 29, 2016 11:31 am    Post subject: Reply with quote

WOW, thanks! That worked fine. I guess this ebuild will always fetch the latest git version?
_________________
"Coincidence is God's way of remaining anonymous."
Albert Einstein
"The road to success is always under construction"
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Fri Jul 29, 2016 11:59 am    Post subject: Reply with quote

Martux wrote:
I guess this ebuild will always fetch the latest git version?

Yes correct
_________________
Questions are guaranteed in life; Answers aren't.
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