Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

difficulties to emerge atom editor

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
12 posts • Page 1 of 1
Author
Message
lowley
n00b
n00b
Posts: 47
Joined: Fri Jul 22, 2016 2:57 pm

difficulties to emerge atom editor

  • Quote

Post by lowley » Wed Aug 03, 2016 11:51 am

hello,

I'm a newbie in using gentoo and I have difficulties to install the atom editor.

I'm using KDE, and here is my last result when typing emerge app-editors/atom:

Code: Select all

[ebuild  N    ~] app-editors/atom-1.8.0 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2h-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-libs/openssl-1.0.2g:0=[-bindist] required by (dev-util/electron-0.36.12-r3:0/36::gentoo, ebuild scheduled for merge)
                                 ^^^^^^^^                                                                                                                         

  (dev-libs/openssl-1.0.2h-r2:0/0::gentoo, installed) pulled in by
    dev-libs/openssl:0[bindist=] required by (dev-qt/qtnetwork-5.6.1:5/5.6::gentoo, installed)
                       ^^^^^^^^                                                                                                   
    >=dev-libs/openssl-0.9.8f:0[bindist=] required by (net-misc/openssh-7.2_p2-r1:0/0::gentoo, installed)
                                ^^^^^^^^                                                                                                     

dev-libs/libxml2:2

  (dev-libs/libxml2-2.9.4:2/2::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libxml2:=[icu] required by (dev-util/electron-0.36.12-r3:0/36::gentoo, ebuild scheduled for merge)
                       ^^^                                                                                                                         

  (dev-libs/libxml2-2.9.4:2/2::gentoo, installed) pulled in by
    dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,
abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, installed)
                       ^^^^^                                                                                                                                                                                                                                                                  


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by app-editors/atom (argument)
here is my make.conf:

Code: Select all

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-O2 -march=native"
CXXFLAGS="${CFLAGS}"

# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"

# These are the USE and USE_EXPAND flags that were used for
# buidling in addition to what is provided by the profile.
USE="bindist alsa usb -gnome -gtk kde Xy
 wayland -bluetooth cpu_flags_x86_mmxext qt5 sqlite webkit cpu_flags_x86_mmx cpu_flags_x86_mmxext"
CPU_FLAGS_X86="mmx sse sse2"

PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"

GRUB_PLATFORMS="pc"
VIDEO_CARDS="radeon r300"
LINGUAS="fr_FR"
INPUT_DEVICES="evdev synaptics"
L10N="fr"
ACCEPTED_KEYWORDS="~amd64"
and /etc/portage/package.usr/general

Code: Select all

*/* -qt4

media-video/vlc dbug ogg vorbis qt5
app-crypt/qca qt4
media-libs/phonon-vlc qt4
media-libs/phonon qt4
dev-libs/libdbusmenu-qt qt4
dev-util/kdevelop -gdbui
app-editors/atom gtk icu gnome-keyring ssh
dev-libs/openssl -bindist
media-libs/harfbuzz icu
dev-libs/libgit2 ssh
app-crypt/gcr gtk
dev-libs/libxml2 icu
app-crypt/pinentry gnome-keyring
media-video/ffmpeg vpx opus
is it possible to install atom with gtk though my OS is based on kde?
why the "accept_keywords" in make.conf seems to have no effect?
how to resolve these conflicts?

thanks you

olivier

[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Aug 03, 2016 12:34 pm

You need disable bindist use flag from openssl, openssh, qtnetwork packages and activate icu use flag to libxml2, qtwebkit:4 package.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
lowley
n00b
n00b
Posts: 47
Joined: Fri Jul 22, 2016 2:57 pm

  • Quote

Post by lowley » Wed Aug 03, 2016 2:08 pm

hello, thank you for your answers, I made the changes but here's what I' m getting now:

Code: Select all

[ebuild  N    ~] app-editors/atom-1.8.0 

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

dev-libs/openssl:0

  (dev-libs/openssl-1.0.2h-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    >=dev-libs/openssl-1.0.2g:0=[-bindist] required by (dev-util/electron-0.36.12-r3:0/36::gentoo, ebuild scheduled for merge)
                                 ^^^^^^^^                                                                                                                         

  (dev-libs/openssl-1.0.2h-r2:0/0::gentoo, installed) pulled in by
    dev-libs/openssl:0[bindist=] required by (dev-qt/qtnetwork-5.6.1:5/5.6::gentoo, installed)
                       ^^^^^^^^                                                                                                   
    >=dev-libs/openssl-0.9.8f:0[bindist=] required by (net-misc/openssh-7.2_p2-r1:0/0::gentoo, installed)
                                ^^^^^^^^                                                                                                     

dev-libs/libxml2:2

  (dev-libs/libxml2-2.9.4:2/2::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libxml2:=[icu] required by (dev-util/electron-0.36.12-r3:0/36::gentoo, ebuild scheduled for merge)
                       ^^^                                                                                                                         

  (dev-libs/libxml2-2.9.4:2/2::gentoo, installed) pulled in by
    dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,
abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, installed)
                       ^^^^^                                                                                                                                                                                                                                                                  


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously. You may want to try a larger value of
the --backtrack option, such as --backtrack=30, in order to see if
that will solve this conflict automatically.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.


The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by app-editors/atom (argument)
=app-editors/atom-1.8.0 ~amd64
# required by app-editors/atom-1.8.0::gentoo
# required by app-editors/atom (argument)
=dev-util/electron-0.36.12-r3 ~amd64
[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Wed Aug 03, 2016 3:00 pm

Before emerging atom try

Code: Select all

# emerge --changed-use -a @world
You should see packages with use flags changed
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
lowley
n00b
n00b
Posts: 47
Joined: Fri Jul 22, 2016 2:57 pm

  • Quote

Post by lowley » Wed Aug 03, 2016 6:44 pm

aaarghh!

it's an awful mess!
plz help me!

if I use "bindisp" I'm asked to remove it, and if I remove it I'm advised to put it!

example :

Code: Select all

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-util/electron-0.36.12-r3::gentoo
# required by app-editors/atom-1.8.0::gentoo
# required by app-editors/atom (argument)
>=dev-libs/openssl-1.0.2h-r2 -bindist
Top
lowley
n00b
n00b
Posts: 47
Joined: Fri Jul 22, 2016 2:57 pm

  • Quote

Post by lowley » Wed Aug 03, 2016 11:04 pm

well, I read some tutorials but I still can't emerge atom.

for example, when I type the following statement, I get an error:

Code: Select all

USE="cpu_flags_x86_mmxext" emerge -a --newuse --oneshot =dev-libs/libxml2-2.9.4:2 --oneshot =dev-libs/openssl-1.0.2h:0/0::gentoo dev-qt/qtwebkit dev-util/electron

dev-libs/libxml2:2

  (dev-libs/libxml2-2.9.4:2/2::gentoo, ebuild scheduled for merge) pulled in by
    dev-libs/libxml2:=[icu] required by (dev-util/electron-0.36.12-r3:0/36::gentoo, ebuild scheduled for merge)
                       ^^^                                                                                                                         
    =dev-libs/libxml2-2.9.4:2 (Argument)

  (dev-libs/libxml2-2.9.4:2/2::gentoo, installed) pulled in by
    dev-libs/libxml2:2[!icu?,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,
abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] required by (dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo, installed)
the flag [icu] needs icu, it's ...simple
the flag [!icu?], if I understood, means that if icu is set, dev-libs/libxml2:2 will be emerged, without any change coming from icu... it does not add or remove any functionality to libsml2.
so both cases should work when icu is set...

next, here is my package.use:

Code: Select all

gentoo:~ 00:52:03 $ cat /etc/portage/package.use/general 
*/* -qt4

media-video/vlc dbug ogg vorbis qt5
app-crypt/qca qt4
media-libs/phonon-vlc qt4
media-libs/phonon qt4
dev-libs/libdbusmenu-qt qt4
dev-util/kdevelop -gdbui
app-editors/atom gtk icu gnome-keyring ssh
media-libs/harfbuzz icu
dev-libs/libgit2 ssh
app-crypt/gcr gtk
dev-libs/libxml2 icu
app-crypt/pinentry gnome-keyring
media-video/ffmpeg vpx opus
net-misc/openssh -bindist
dev-qt/qtnetwork -bindist
dev-qt/qtwebkit icu
media-video/ffmpeg opus vorbis vpx
dev-libs/openssl -bindist
dev-util/electron cpu_flags_x86_mmxext
you can see that libxml2 has got the icu flag...

where is my error?

[Moderator edit: broke long whitespace-free lines in code tags to fix thread layout. -Hu]
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Aug 04, 2016 6:38 am

Try

Code: Select all

# USE="cpu_flags_x86_mmxext" emerge -a --newuse --oneshot =dev-libs/libxml2-2.9.4:2 =dev-libs/openssl-1.0.2h:0/0::gentoo dev-qt/qtwebkit:4 dev-util/electron 
Is qtwebkit:4 that need icu flag. If you have installed also qtwebkit:5 with 'emerge dev-qt/qtwebkit' portage try to reinstall version 5.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
lowley
n00b
n00b
Posts: 47
Joined: Fri Jul 22, 2016 2:57 pm

  • Quote

Post by lowley » Thu Aug 04, 2016 12:09 pm

ok, I begin to understand.
I managed to launch the emerge statement, but the compilation of electron needs at least 3Gb of RAM, but for the moment my computer has not got that.

thank you!

NB : what does mean the 4 in dev-qt/qtwebkit:4 ?
the long name is dev-qt/qtwebkit-4.8.6-r1:4/4::gentoo

I know that
dev-qt is the group
qtwebkit is the short name of the package
3.8.1 is the version
::gentoo is the repository

what are r1 (release?4.8.6 does not suffice?) and :4/4?
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Aug 04, 2016 12:36 pm

lowley wrote:what are r1 (release?4.8.6 does not suffice?) and :4/4?
-rX is ebuild revision
:4/4 is slot and sub-slot number
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Aug 04, 2016 1:05 pm

lowley wrote:but the compilation of electron needs at least 3Gb of RAM, but for the moment my computer has not got that.
You can create a temporary swap file for make up lack of ram :

Code: Select all

# dd if=/dev/zero of=swapfile.swp bs=1024 count=1M
this code create 1024x1M=1G swap size

Code: Select all

# mkswap swapfile.swp 
# swapon swapfile.swp 
# emerge <something>
when emerge finish

Code: Select all

# swapoff swapfile.swp 
# rm swapfile.swp 
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
lowley
n00b
n00b
Posts: 47
Joined: Fri Jul 22, 2016 2:57 pm

  • Quote

Post by lowley » Thu Aug 04, 2016 1:51 pm

I tried but strangely it does not work.
It seems emerge needs 3Gb of "real" RAM.
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Fri Aug 05, 2016 1:44 am

Whenever you get an error with which you need assistance, you should post the exact error output. If I were to guess based on the paraphrase you provided, you are being blocked by check-reqs.eclass. It looks at MemTotal, which excludes swap. You can override this with $I_KNOW_WHAT_I_AM_DOING, but this check was likely put there for good reason. If your RAM is substantially less than the requirement specified, you will likely experience considerable swapping during the build. This will make the build very slow. Perhaps you should find an editor that is more lightweight, such as Vim or Emacs.
Top
Post Reply

12 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic