Installing monodevelop from portage overlay fails [Solved]

Anything that pertains to Portage

Moderator: Moderators

Post Reply
majvan
Baby Hen
Posts: 15
Joined: Sun Aug 25, 2013 10:14

Installing monodevelop from portage overlay fails [Solved]

Post by majvan » Sun Jul 20, 2014 11:18

Hello, I wanted to install monodevelop from portage overlay because the one from entropy is too old (3.0.2 vs. 5.0.1 released stable version).
I have added to file /etc/portage/package.use/00-sabayon.package.use

Code: Select all

dev-util/monodevelop
I have masked the same package in entropy /etc/entropy/packages/package.mask

Code: Select all

dev-util/monodevelop
I ran the entropy actualisation

Code: Select all

equo rescue spmsync --ask
I have installed layman for portage. When I run

Code: Select all

emerge --pretend dev-util/monodevelop
I get following result:
Calculating dependencies / * ERROR: dev-util/monodevelop-9999::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-9999.ebuild'
* monodevelop-9999.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils' 'git-2'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-9999::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-9999::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-9999/work/monodevelop-9999'
- * ERROR: dev-util/monodevelop-4.2.3::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-4.2.3.ebuild'
* monodevelop-4.2.3.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-4.2.3::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-4.2.3::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-4.2.3/work/monodevelop-4.2.3'
\ * ERROR: dev-util/monodevelop-4.2.2::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-4.2.2.ebuild'
* monodevelop-4.2.2.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-4.2.2::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-4.2.2::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-4.2.2/work/monodevelop-4.2.2'
| * ERROR: dev-util/monodevelop-4.2::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-4.2.ebuild'
* monodevelop-4.2.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-4.2::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-4.2::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-4.2/work/monodevelop-4.2'
/ * ERROR: dev-util/monodevelop-4.1.9::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-4.1.9.ebuild'
* monodevelop-4.1.9.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-4.1.9::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-4.1.9::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-4.1.9/work/monodevelop-4.1.9'
- * ERROR: dev-util/monodevelop-4.0.12::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-4.0.12.ebuild'
* monodevelop-4.0.12.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-4.0.12::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-4.0.12::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-4.0.12/work/monodevelop-4.0.12'
\ * ERROR: dev-util/monodevelop-4.0-r1::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-4.0-r1.ebuild'
* monodevelop-4.0-r1.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-4.0-r1::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-4.0-r1::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-4.0-r1/work/monodevelop-4.0'
... done!

!!! All ebuilds that could satisfy "dev-util/monodevelop" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/monodevelop-9999::dotnet (masked by: corruption)
- dev-util/monodevelop-4.2.3::dotnet (masked by: corruption)
- dev-util/monodevelop-4.2.2::dotnet (masked by: corruption)
- dev-util/monodevelop-4.2::dotnet (masked by: corruption)
- dev-util/monodevelop-4.1.9::dotnet (masked by: corruption)
- dev-util/monodevelop-4.0.12::dotnet (masked by: corruption)
- dev-util/monodevelop-4.0-r1::dotnet (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
I do not know now where is the issue. Can you help, please?
Last edited by majvan on Wed Jul 30, 2014 7:30, edited 1 time in total.

User avatar
albfneto
Sagely Hen
Posts: 1875
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: Installing monodevelop from portage overlay fails

Post by albfneto » Wed Jul 23, 2014 16:15

seems to me 9999 mask, "regular, normal", package.keyword mask...


please try this... at first, edit the file /etc/entropy/client.conf and in the line: "ignore spmdowngrades", change "disable" to "enable"

then return to the files that you edited:

/etc/portage/package.use/00-sabayon.package.use

and

/etc/entropy/packages/package.mask

and return them to their original state, commenting the lines thay you edited...


Then, edit the file /etc/portage/package.keywords, adding this line:

Code: Select all

dev-util/monodevelop
then run:

Code: Select all

etc-update


anr try to reinstall it with portage, emerge...

only after the installation, mask the package in entropy:

Code: Select all

equo mask monodevelop
e finally runs:

Code: Select all

equo conf update && equo rescue spmsync
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

majvan
Baby Hen
Posts: 15
Joined: Sun Aug 25, 2013 10:14

Re: Installing monodevelop from portage overlay fails

Post by majvan » Fri Jul 25, 2014 20:48

Hello,

I have tried everything you asked, specifically:
I have set

Code: Select all

ignore-spm-downgrades = enable 
in /etc/entropy/client.conf

Also, I reverted the changes in vim /etc/entropy/packages/package.mask and vim /etc/portage/package.use/00-sabayon.package.use to the previous state (I commented lines).

I have added to the /etc/portage/package.keywords

Code: Select all

dev-util/monodevelop
Then:
# etc-update
Scanning Configuration files...
Exiting: Nothing left to do; exiting. :)
So I tried the emerge --pretend and I got the same error.
I tried then
# emerge -pqv =dev-util/monodevelop-9999::dotnet
* ERROR: dev-util/monodevelop-9999::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-9999.ebuild'
* monodevelop-9999.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils' 'git-2'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-9999::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-9999::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-9999/work/monodevelop-9999'

!!! All ebuilds that could satisfy "=dev-util/monodevelop-9999::dotnet" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/monodevelop-9999::dotnet (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Can you please point me to the right direction? Thanks.

User avatar
sabayonino
Sagely Hen
Posts: 3279
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: Installing monodevelop from portage overlay fails

Post by sabayonino » Fri Jul 25, 2014 21:58

ebuild seems to be corrupted

you can try to make a new digest for thqat ebuild

move to the layman folder containing monodevelop ebuild and try to run

Code: Select all

# cd /var/lib/layman/dotnet/dev-util

Code: Select all

# ebuild  monodevelop-9999.ebuild digest
or

Code: Select all

# ebuild  /var/lib/layman/dotnet/dev-util/monodevelop-9999.ebuild digest
try to merge again and make sure that monodevelop-9999 is unmasked

Code: Select all

# emerge =monodevelop-9999::dotnet
[Che Cos'è Il Calcolo Distribuito (BOINC)

BOINC ready ! Sabayon+BOINC = BILD ,my Sabayon spin :cyclops: - Ready to crunch for the Science everywhere :)

User avatar
albfneto
Sagely Hen
Posts: 1875
Joined: Fri Nov 16, 2007 1:15
Location: Ribeirão Preto City, São Paulo State, Brazil
Contact:

Re: Installing monodevelop from portage overlay fails

Post by albfneto » Sat Jul 26, 2014 1:06

the new message "masked by corruption, also suggest to me that the Ebuild id defective.
"remake" the digest, the manifest, as Sabayonino said.
if not install, really currupted,
you may try to install a somewhat older version, as the 5.0.1 of the same overlay.
ALBERTO FEDERMAN NETO
albfneto
[email protected]
Favorite Distros: Sabayon, Gentoo, Mageia and OpenSUSE

majvan
Baby Hen
Posts: 15
Joined: Sun Aug 25, 2013 10:14

Re: Installing monodevelop from portage overlay fails

Post by majvan » Sun Jul 27, 2014 15:34

Hello,

thank you for help.
It really seems that the ebuild is corrupted or somehow not compatible with the current portage version.
# ebuild monodevelop/monodevelop-9999.ebuild digest
* ERROR: dev-util/monodevelop-9999::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-9999.ebuild'
* monodevelop-9999.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils' 'git-2'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-9999::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-9999::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-9999/work/monodevelop-9999'
# emerge =monodevelop-9999:dotnet
Calculating dependencies | * ERROR: dev-util/monodevelop-9999::dotnet failed (depend phase):
* fdo-mime.eclass could not be found by inherit()
*
* Call stack:
* ebuild.sh, line 545: Called source '/var/lib/layman/dotnet/dev-util/monodevelop/monodevelop-9999.ebuild'
* monodevelop-9999.ebuild, line 6: Called inherit 'fdo-mime' 'gnome2-utils' 'dotnet' 'versionator' 'eutils' 'git-2'
* ebuild.sh, line 257: Called die
* The specific snippet of code:
* [[ -z ${location} ]] && die "${1}.eclass could not be found by inherit()"
*
* If you need support, post the output of `emerge --info '=dev-util/monodevelop-9999::dotnet'`,
* the complete build log and the output of `emerge -pqv '=dev-util/monodevelop-9999::dotnet'`.
* Working directory: '/usr/lib64/portage/pym'
* S: '/var/tmp/portage/dev-util/monodevelop-9999/work/monodevelop-9999'
... done!

!!! All ebuilds that could satisfy "=monodevelop-9999:dotnet" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-util/monodevelop-9999::dotnet (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
NOTE: this issue always occurs for all the monodevelop ebuilds in the repository.

svantoviit
Old Dear Hen
Posts: 730
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: Installing monodevelop from portage overlay fails

Post by svantoviit » Mon Jul 28, 2014 12:33

majvan wrote:* fdo-mime.eclass could not be found by inherit()
Have you ever run emerge --sync && layman -S ?

fdo-mime.eclass is present on my system:

Code: Select all

$ locate -b fdo-mime.eclass
/usr/portage/eclass/fdo-mime.eclass
Do you have sys-devel/gcc and sys-devel/base-gcc installed?

majvan
Baby Hen
Posts: 15
Joined: Sun Aug 25, 2013 10:14

Re: Installing monodevelop from portage overlay fails

Post by majvan » Tue Jul 29, 2014 14:18

Hello,

you are right, I have not somehow synced my portage and entropy!
This issue has gone after sync and then just using emerge to install monodevelop package.

Thank you a lot! And excuse me for the inconveniences.

Best regards.

svantoviit
Old Dear Hen
Posts: 730
Joined: Sun Feb 28, 2010 17:55
Contact:

Re: Installing monodevelop from portage overlay fails

Post by svantoviit » Tue Jul 29, 2014 16:11

Sometimes the solution is easy, great to hear it worked!

Please, consider to mark your post as solved, see: Why, and how to add "[Solved]" to your post. Please read.

Post Reply