View previous topic :: View next topic |
Author |
Message |
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 10:11 am Post subject: want to stay just with emcas 26 rc1, but portage merge 25. |
|
|
i did eselect emacs set to emacs-26 rc1.
unmerge emacs 25 but when updating world portage keep remerge again emacs 25.
how can i prevent it and stay just with 26 branch? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Tue Apr 17, 2018 10:31 am Post subject: |
|
|
papandreoos,
Code: | * app-editors/emacs
Available versions:
(18) [M]18.59-r11
(23) 23.4-r17
(24) 24.5-r5
(25) 25.3-r1 25.3-r4
(26) (~)26.1_rc1 |
app-editors/emacs-26.1_rc1 in in the testing branch. As you have it installed now, you must have unmasked it temporarily.
Read about mixing testing packages into a stable install. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 10:40 am Post subject: |
|
|
all my gentoo packages are ~amd64 from the beginning.
just couple of packages (i had problems with) are in stable branch.
(i have in make.conf: ACCEPT_KEYWORDS="~amd64" from the start) |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31450 Location: here
|
Posted: Tue Apr 17, 2018 11:03 am Post subject: |
|
|
You can post emerge output when you update with -t option? _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 11:22 am Post subject: |
|
|
fedeliallalinea wrote: | You can post emerge output when you update with -t option? |
yes, first i removed again emacs:25 (i also removed virtual/emacs-25. i thought it would help but it didnt) and here is the output of emerge world with -t option:
Code: |
[nomerge ] app-editors/emacs-26.1_rc1:26::gentoo USE="X Xaw3d acl alsa dbus gif gpm gtk3 inotify jpeg libxml2 png ssl svg systemd threads tiff xft xpm zlib (-aqua) -athena (-cairo) -dynamic-loading -games -gconf -gfile -gsettings -gtk -gzip-el -imagemagick -kerberos -livecd -m17n-lib -mailutils -motif (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xwidgets"
[nomerge ] app-emacs/emacs-common-gentoo-1.6-r1::gentoo USE="X -games"
[ebuild N ] virtual/emacs-25::gentoo 0 KiB
[ebuild NS ] app-editors/emacs-25.3-r4:25::gentoo [26.1_rc1:26::gentoo] USE="X Xaw3d acl alsa dbus gif gpm gtk3 inotify jpeg libxml2 png ssl svg tiff xft xpm zlib (-aqua) -athena (-cairo) -dynamic-loading -games -gconf -gfile -gsettings -gtk -gzip-el -imagemagick -kerberos -livecd -m17n-lib -motif (-selinux) -sound -source -toolkit-scroll-bars -wide-int" 0 KiB
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31450 Location: here
|
Posted: Tue Apr 17, 2018 11:29 am Post subject: |
|
|
The problem is that virtual/emacs-26 not exists (this cause probably because emacs 26 is only in release candidate and not already stable) and app-emacs/emacs-common-gentoo depend by it.
As workaround you can uninstall app-emacs/emacs-common-gentoo _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Tue Apr 17, 2018 11:34 am Post subject: |
|
|
papandreoos,
emacs can be supplied to things that depend on it by several different packages.
These packages depend on virtual/emacs and virtual/emacs ensures that something that satisfies the requirement is installed.
The key part of virtual/emacs-25 is
Code: | RDEPEND="|| ( app-editors/emacs:25
>=app-editors/emacs-vcs-25.1 )" |
so anything that depends on emacs will pull in app-editors/emacs:25 unless >=app-editors/emacs-vcs-25.1 is already installed. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 11:35 am Post subject: |
|
|
fedeliallalinea wrote: | The problem is that virtual/emacs-26 not exists (this cause probably because emacs 26 is only in release candidate and not already stable) and app-emacs/emacs-common-gentoo depend by it.
As workaround you can uninstall app-emacs/emacs-common-gentoo |
thanks but problem still exist.
even after unmerge emacs-common-gentoo. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 11:46 am Post subject: |
|
|
NeddySeagoon wrote: | papandreoos,
emacs can be supplied to things that depend on it by several different packages.
These packages depend on virtual/emacs and virtual/emacs ensures that something that satisfies the requirement is installed.
The key part of virtual/emacs-25 is
Code: | RDEPEND="|| ( app-editors/emacs:25
>=app-editors/emacs-vcs-25.1 )" |
so anything that depends on emacs will pull in app-editors/emacs:25 unless >=app-editors/emacs-vcs-25.1 is already installed. |
don't understand your answer
i do not have emacs-vcs-25.1 installed.
i also can't emerge app-editors/emacs-vcs-25.1 becuase it has no ebuild for this package.
also there is emacs-vcs-26 so i tried to merge it:
Code: |
sudo emerge emacs-vcs
Calculating dependencies... done!
[ebuild N ] app-emacs/emacs-common-gentoo-1.6-r1 USE="X -games"
[ebuild N ] app-editors/emacs-vcs-26.0.91 USE="X acl alsa dbus gif gpm gtk gtk3 inotify jpeg png ssl svg systemd threads tiff xpm zlib -Xaw3d (-aqua) -athena (-cairo) -dynamic-loading -games -gconf -gfile -gsettings -gzip-el -imagemagick -kerberos -libxml2 -livecd -m17n-lib -mailutils -motif (-selinux) -sound -source -toolkit-scroll-bars -wide-int -xft -xwidgets"
[ebuild N ] virtual/emacs-25
[blocks B ] <app-editors/emacs-vcs-26.1_rc1 ("<app-editors/emacs-vcs-26.1_rc1" is blocking app-editors/emacs-26.1_rc1)
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31450 Location: here
|
Posted: Tue Apr 17, 2018 11:51 am Post subject: |
|
|
papandreoos wrote: | thanks but problem still exist.
even after unmerge emacs-common-gentoo. |
You right because app-editors/emacs has app-emacs/emacs-common-gentoo as direct dependency.
You can try to create virtual/emacs-26 in your local overlay
emacs-26.ebuild: | # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Virtual for GNU Emacs"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
RDEPEND="|| ( app-editors/emacs:26
app-editors/emacs-vcs:26 )" |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 11:53 am Post subject: |
|
|
fedeliallalinea wrote: | papandreoos wrote: | thanks but problem still exist.
even after unmerge emacs-common-gentoo. |
You right because app-editors/emacs has app-emacs/emacs-common-gentoo as direct dependency.
You can try to create virtual/emacs-26 in your local overlay
emacs-26.ebuild: | # Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
DESCRIPTION="Virtual for GNU Emacs"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
RDEPEND="|| ( app-editors/emacs:26
app-editors/emacs-vcs:26 )" |
|
is there a guide for doing this?
i don't know how. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31450 Location: here
|
Posted: Tue Apr 17, 2018 11:54 am Post subject: |
|
|
papandreoos wrote: | is there a guide for doing this?
i don't know how. |
Yes see related wiki page _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 11:55 am Post subject: |
|
|
thanks i'll try. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54809 Location: 56N 3W
|
Posted: Tue Apr 17, 2018 12:31 pm Post subject: |
|
|
papandreoos,
Gentoos virtual packages do not install any code themselves.
They are used in ebuilds when the same functionality can be provided in two or more ways.
In your example, an ebuild that requires emacs will depend on the virtual.
The virtual lists all the packages that can provide emacs.
The virtual is a logical or list, so it is satisfied if any package it lists is installed.
When the virtual is not satisfied, the first listed package in the logical or list is selected. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
papandreoos Apprentice
Joined: 17 Dec 2014 Posts: 163
|
Posted: Tue Apr 17, 2018 3:07 pm Post subject: |
|
|
NeddySeagoon wrote: | papandreoos,
Gentoos virtual packages do not install any code themselves.
They are used in ebuilds when the same functionality can be provided in two or more ways.
In your example, an ebuild that requires emacs will depend on the virtual.
The virtual lists all the packages that can provide emacs.
The virtual is a logical or list, so it is satisfied if any package it lists is installed.
When the virtual is not satisfied, the first listed package in the logical or list is selected. |
thanks for the explanation.
i didn't succeed with the ebuild process (local overlay) so i'll wait till it be "fixed" in gentoo.
i still can use (and do it) emacs 26 with the eselect emacs 26 so i'll ignore 25 is also installed for now . |
|
Back to top |
|
|
|