Jump to content
funtoo forums
  • 0
Sign in to follow this  
znavko

Is there command to do what it needs?

Question

I only want to rebuild gimp and firefox after `ego sync`.

How to tell emerge apply all offered changes??

# emerge -uDU --with-bdeps=y gimp firefox
--- Invalid atom in /etc/portage/package.use: >=dev-libs/libpcre2
Calculating dependencies... done!
[ebuild     U  ] media-libs/libpng-1.6.31 [1.6.29]
[ebuild     U  ] media-libs/freetype-2.8 [2.6.5-r1] USE="cleartype_hinting*" 
[ebuild  N     ] dev-libs/libpcre2-10.30  USE="bzip2 jit pcre16 readline recursion-limit unicode zlib -libedit -pcre32 -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] app-text/qpdf-7.0.0 [7.0_beta1]
[ebuild     U  ] x11-libs/libICE-1.0.9-r1 [1.0.9]
[ebuild     U  ] dev-db/sqlite-3.19.3 [3.18.0]
[ebuild     U  ] dev-libs/nspr-4.17 [4.16]
[ebuild     U  ] dev-libs/libpthread-stubs-0.4 [0.3-r1]
[ebuild     U  ] x11-misc/util-macros-1.19.1 [1.19.0]
[ebuild     U  ] x11-proto/presentproto-1.1 [1.0]
[ebuild     U  ] x11-libs/libpciaccess-0.13.5 [0.13.4]
[ebuild     U  ] media-fonts/encodings-1.0.4-r1 [1.0.4]
[ebuild     U  ] dev-libs/libuv-1.14.1 [1.11.0]
[ebuild     U  ] dev-libs/json-c-0.12.1 [0.12]
[ebuild     U  ] x11-libs/libdrm-2.4.83 [2.4.73]
[ebuild     U  ] dev-libs/nss-3.33 [3.32]
[ebuild     U  ] x11-libs/libX11-1.6.5 [1.6.4]
[ebuild     U  ] x11-libs/libxkbcommon-0.7.2 [0.7.1]
[ebuild     U  ] x11-libs/libXi-1.7.9 [1.7.8]
[ebuild     U  ] dev-qt/qtcore-5.9.2 [5.7.1-r3]
[ebuild     U  ] dev-qt/qtxml-5.9.2 [5.7.1]
[ebuild     U  ] dev-libs/libxml2-2.9.5 [2.9.4-r2]
[ebuild     U  ] app-misc/ca-certificates-20170717.3.34.1 [20161130.3.32]
[ebuild     U  ] dev-libs/libevdev-1.5.7 [1.5.4]
[ebuild     U  ] dev-libs/libxslt-1.1.30-r1 [1.1.29-r1]
[ebuild     U #] sys-devel/binutils-2.28-r4 [2.28-r3]
[ebuild     U  ] sys-libs/e2fsprogs-libs-1.43.7 [1.43.4]
[ebuild     U  ] net-dns/libidn-1.33-r2 [1.33]
[ebuild     U  ] x11-misc/shared-mime-info-1.9 [1.8]
[ebuild  NS    ] sys-devel/gcc-5.4.0 [5.3.0-r1] USE="cxx fortran (multilib) nls openmp -ada (-altivec) -doc -graphite (-hardened) (-libssp) -objc -objc++ (-sanitize) -vanilla" 
[ebuild     U  ] net-dns/libidn2-2.0.4 [0.16-r3]
[ebuild  N     ] sys-libs/libomp-5.0.0  USE="-hwloc -ompt {-test}" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] media-gfx/exiv2-0.26 [0.25-r2]
[ebuild     U  ] dev-lang/rust-1.19.0-r1 [1.19.0]
[ebuild  N     ] sys-devel/clang-runtime-3.9.1  USE="openmp -libcxx" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] media-libs/gexiv2-0.10.6 [0.10.4-r1] USE="{-test%}" 
[ebuild     U  ] sys-fs/e2fsprogs-1.43.7 [1.43.4]
[ebuild     U  ] app-text/docbook-xsl-stylesheets-1.79.1-r2 [1.79.1-r1]
[ebuild     U  ] x11-libs/libXpm-3.5.12 [3.5.11]
[ebuild     U  ] dev-qt/qtdbus-5.9.2 [5.7.1]
[ebuild  N     ] dev-libs/libinput-1.7.0  USE="{-test}" INPUT_DEVICES="-wacom" 
[ebuild     U  ] virtual/libgudev-232 [230]
[ebuild     U  ] sys-apps/portage-2.3.12 [2.3.8]
[ebuild     U  ] dev-python/appi-0.1.5 [0.1.2]
[ebuild     U  ] app-admin/ego-2.3.3-r1 [2.0.9]
[ebuild     U  ] net-print/cups-2.2.6 [2.2.4]
[ebuild   R    ] sys-devel/llvm-3.9.1-r1  USE="clang*" 
[ebuild  N     ] sys-devel/clang-3.9.1-r100  USE="python static-analyzer -debug -multitarget" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" 
[ebuild     U  ] media-libs/mesa-17.2.0 [13.0.1] USE="-unwind%" VIDEO_CARDS="(-imx) -virgl% (-vivante)" 
[ebuild     U  ] media-libs/libepoxy-1.4.3 [1.3.1] USE="X%*" 
[ebuild     U  ] media-libs/harfbuzz-1.5.1 [1.4.6-r2]
[ebuild     U  ] media-video/ffmpeg-3.3.4 [3.2.4] USE="-chromium% -sofalizer% -zeromq%" 
[ebuild     U  ] dev-qt/qtgui-5.9.2 [5.7.1-r1] USE="libinput* -vnc%" 
[ebuild     U  ] www-client/firefox-57.0 [55.0.2] USE="screenshot%* -eme-free%" 
[ebuild     U  ] net-print/cups-filters-1.17.9 [1.17.3] USE="{-test%}" 

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

dev-qt/qtgui:5

  (dev-qt/qtgui-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-qt/qtgui-5.7.1-r1:5/5.7::dev-kit, installed) pulled in by
    ~dev-qt/qtgui-5.7.1 required by (dev-qt/qtwebkit-5.7.1:5/5.7::dev-kit, installed)
    ^             ^^^^^                                                                                                                     
    (and 5 more with the same problem)

dev-qt/qtcore:5

  (dev-qt/qtcore-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge) pulled in by
    ~dev-qt/qtcore-5.9.2 required by (dev-qt/qtdbus-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                    
    (and 2 more with the same problem)

  (dev-qt/qtcore-5.7.1-r3:5/5.7::dev-kit, installed) pulled in by
    ~dev-qt/qtcore-5.7.1 required by (dev-qt/qtgui-5.7.1-r1:5/5.7::dev-kit, installed)
    ^              ^^^^^                                                                                                                     
    (and 9 more with the same problem)

dev-qt/qtdbus:5

  (dev-qt/qtdbus-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge) pulled in by
    ~dev-qt/qtdbus-5.9.2 required by (dev-qt/qtgui-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                   

  (dev-qt/qtdbus-5.7.1:5/5.7::dev-kit, installed) pulled in by
    ~dev-qt/qtdbus-5.7.1 required by (dev-qt/qtgui-5.7.1-r1:5/5.7::dev-kit, installed)
    ^              ^^^^^                                                                                                                     

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

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 installed packages are masked:
- app-emulation/wine-2.3::nokit (masked by: package.mask)
/var/git/meta-repo/kits/core-kit/profiles/package.mask/00-gentoo:
# Michał Górny <mgorny@gentoo.org> (28 Nov 2017)
# Replaced by split packages. Please install one of:
# - app-emulation/wine-vanilla (the only choice for stable)
# - app-emulation/wine-staging
# - app-emulation/wine-d3d9
# - app-emulation/wine-any
# For more information, please read the news item:
# https://www.gentoo.org/support/news-items/2017-04-10-split-and-slotted-wine.html
# If you really need the old ebuilds, you can use the 'wine' repository.
# Removal in 30 days.

- media-sound/audacious-3.7.1-r1::media-kit (masked by: package.mask)
/var/git/meta-repo/kits/core-kit/profiles/package.mask/00-gentoo:
# Andreas K. Hüttel <dilfridge@gentoo.org> (04 Nov 2017)
# Many, many, many open bugs. Blocks gcc-6 stabilization.
# Removal of the old versions in 30 days; please upgrade to
# Audacious 3.9 (may require manual keywording since not
# marked stable anymore).

- media-plugins/audacious-plugins-3.7.1-r1::media-kit (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

 

I cannot understand line

' - media-plugins/audacious-plugins-3.7.1-r1::media-kit (masked by: package.mask) '

cause:

# cat /etc/portage/package.mask
>xfce-extra/xfce4-xkb-plugin-0.7.1-r1

I cannot understand line

'[ebuild  N     ] sys-devel/clang-3.9.1-r100  USE="python static-analyzer -debug -multitarget" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" '

cause I had never tryed LLVM_TARGETS.

And there are much USE flags. So how to apply it automatically? --autounmask-write did not help.

 

Share this post


Link to post
Share on other sites

12 answers to this question

Recommended Posts

  • 0
5 hours ago, znavko said:

I had such package.use :

>=media-sound/audacious-3.7.1-r1 chardet gtk gtk3 nls qt5

I really had no sense. But after playing with flags I understood the meaning of 'exactly-one-of ( gtk gtk3 qt5 )'. I changed package.use line to:

>=media-sound/audacious-3.7.1-r1 chardet nls qt5 -gtk -gtk3

And the emerge becomes like this:

# emerge -avuDN --with-bdeps=y --newrepo @world  > 222

# cat 222 > https://pastebin.com/KW5UfBd2

Humm. Can Funtoo do it itself?

If you mean that funtoo should be able to choose which of the three use flags to use hten the answer will be no. It surely could pick one but how should the system know what use flag you want.

But the emerge result looks good now.

5 hours ago, znavko said:

Say me, will it be better if I add USE flags in make.conf only qt5 or only gtk2, or only gtk3 or only qt4 ?? Or happens one package requires gtk and the other qt ?

Usely you put use flags you want or don't want globally (for the whole system) into make.conf. If you want to set use flags for a single package you add it to package.use

4 hours ago, znavko said:

I added use flags in with own opinion (reading linux.org.ru ). CPU FLAGS were added with cpuidcpuflags

# cpuid2cpuflags
CPU_FLAGS_X86: mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3

If you want to know which cpu flags are supported by your system you can emerge cpuid2flags and then run cpuid2flags

 

2 hours ago, znavko said:

Sorry, is -O3 is a method to move to trash all unnecessary stuff from my system?

No, -O3 is only one of many compiler switches and turns on the optimization for the compiler (https://www.rapidtables.com/code/linux/gcc/gcc-o.html#optimization)

I myself only use following CFLAGS: "-march=haswell -O2 -pipe"

2 hours ago, znavko said:

I think now my system compiled with CFLAGS: -O2 has all these xorg-drivers installed by default. How to check it?

The easiest way would probably be to do a:

emerge -pv --unmerge xorg-drivers

If this command lists packages to uninstall, you have the package install. If you don't have it installed it would say: "Couldn't find 'xorg-drivers' to unmerge"

But if a package is installed or not doesn't have anything to do with the CFLAGS

 

2 hours ago, znavko said:

And if I will type these USE definitions funtoo will compile xorg-drivers with only necessary stuff. Am I right?

Yes, the use flags are in part for controlling what you want on your system. But only "basic" stuff like I want kde, qt4, cups,... or what you don't want (https://www.gentoo.org/support/use-flags/)

You can also set a bunch of those use flags by using epro and define the profile of your computer (https://www.funtoo.org/Funtoo_Profiles).

Besides that only you decide what you want and need on your computer. If you need a package that is not yet installed (but available) you can install it. And with

emerge -pv --update --deep --newuse --newrepo world -e

you can get the list of all the packages that would be (re)installed on your system. You can go through that list and remove any unwanted program (unless that program is needed by another program). And as you can see all the use flags used, you can also change those then.

Funtoo is really flexible in the way you can build your system. It takes some time to learn and get it running, if you build a completely new system. But that is done, it is not much of a problem.

Share this post


Link to post
Share on other sites
  • 0

I've added this

# tail -n 8 /etc/portage/package.use
#15-12-2017
>=dev-libs/libpcre2-10.30 abi_x86_64 bzip2 jit pcre16 readline recursion-limit unicode zlib
>=sys-devel/gcc-5.4.0 cxx fortran multilib nls openmp
>=sys-libs/libomp-5.0.0 abi_x86_64
>=sys-devel/clang-runtime-3.9.1 abi_x86_64 openmp
>=sys-devel/clang-3.9.1-r100 abi_x86_64 python static-analyzer llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX llvm_targets_X86

Also I deleted from make.conf `-gtk -gtk2 -gtk3 -qt3 -qt4 -qt5` and having this now

# cat /etc/portage/make.conf
MAKEOPTS="-j5"
LINGUAS="en_US ru_RU"
L10N="en-US ru-RU"

CFLAGS="-march=native -O3 -pipe"
CXXFLAGS="${CFLAGS}"

CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

VIDEO_CARDS="intel"

USE="alsa bmp dbus 
     djvu
     core-kit flv
     gif
     introspection
     jpeg mp3 
     networkamagern  
     png
     udev policykit
     rar tiff
     X zlib
     -gnome 
     -kde -minimal
     -wicd"

 

After `etc-update` I ran again but have the same lines about USE flags for those packages I've added.

# emerge -uDU --with-bdeps=y gimp firefox --autounmask-write
Calculating dependencies... done!
[ebuild     U  ] media-libs/libpng-1.6.31 [1.6.29]
[ebuild     U  ] media-libs/freetype-2.8 [2.6.5-r1] USE="cleartype_hinting*" 
[ebuild  N     ] dev-libs/libpcre2-10.30  USE="bzip2 jit pcre16 readline recursion-limit unicode zlib -libedit -pcre32 -static-libs" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] app-text/qpdf-7.0.0 [7.0_beta1]
[ebuild     U  ] x11-libs/libICE-1.0.9-r1 [1.0.9]
[ebuild     U  ] dev-db/sqlite-3.19.3 [3.18.0]
[ebuild     U  ] dev-libs/nspr-4.17 [4.16]
[ebuild     U  ] x11-libs/libpciaccess-0.13.5 [0.13.4]
[ebuild     U  ] dev-libs/libpthread-stubs-0.4 [0.3-r1]
[ebuild     U  ] x11-misc/util-macros-1.19.1 [1.19.0]
[ebuild     U  ] x11-proto/presentproto-1.1 [1.0]
[ebuild     U  ] media-fonts/encodings-1.0.4-r1 [1.0.4]
[ebuild     U  ] dev-libs/libuv-1.14.1 [1.11.0]
[ebuild     U  ] dev-libs/json-c-0.12.1 [0.12]
[ebuild     U  ] x11-libs/libdrm-2.4.83 [2.4.73]
[ebuild     U  ] dev-libs/nss-3.33 [3.32]
[ebuild     U  ] x11-libs/libX11-1.6.5 [1.6.4]
[ebuild     U  ] x11-libs/libxkbcommon-0.7.2 [0.7.1]
[ebuild     U  ] x11-libs/libXi-1.7.9 [1.7.8]
[ebuild     U  ] dev-qt/qtcore-5.9.2 [5.7.1-r3]
[ebuild     U  ] dev-qt/qtxml-5.9.2 [5.7.1]
[ebuild     U  ] dev-libs/libxml2-2.9.5 [2.9.4-r2]
[ebuild     U  ] app-misc/ca-certificates-20170717.3.34.1 [20161130.3.32]
[ebuild     U  ] dev-libs/libevdev-1.5.7 [1.5.4]
[ebuild     U  ] dev-libs/libxslt-1.1.30-r1 [1.1.29-r1]
[ebuild     U #] sys-devel/binutils-2.28-r4 [2.28-r3]
[ebuild     U  ] sys-libs/e2fsprogs-libs-1.43.7 [1.43.4]
[ebuild     U  ] net-dns/libidn-1.33-r2 [1.33]
[ebuild     U  ] x11-misc/shared-mime-info-1.9 [1.8]
[ebuild  NS    ] sys-devel/gcc-5.4.0 [5.3.0-r1] USE="cxx fortran (multilib) nls openmp -ada (-altivec) -doc -graphite (-hardened) (-libssp) -objc -objc++ (-sanitize) -vanilla" 
[ebuild     U  ] net-dns/libidn2-2.0.4 [0.16-r3]
[ebuild  N     ] sys-libs/libomp-5.0.0  USE="-hwloc -ompt {-test}" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] media-gfx/exiv2-0.26 [0.25-r2]
[ebuild     U  ] dev-lang/rust-1.19.0-r1 [1.19.0]
[ebuild  N     ] sys-devel/clang-runtime-3.9.1  USE="openmp -libcxx" ABI_X86="(64) -32 (-x32)" 
[ebuild     U  ] media-libs/gexiv2-0.10.6 [0.10.4-r1] USE="{-test%}" 
[ebuild   R    ] sys-devel/llvm-3.9.1-r1  USE="clang*" 
[ebuild  N     ] sys-devel/clang-3.9.1-r100  USE="python static-analyzer -debug -multitarget" ABI_X86="(64) -32 (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARM -Hexagon -MSP430 -Mips -PowerPC -Sparc -SystemZ -XCore" 
[ebuild     U  ] media-libs/mesa-17.2.0 [13.0.1] USE="-unwind%" VIDEO_CARDS="(-imx) -virgl% (-vivante)" 
[ebuild     U  ] media-libs/libepoxy-1.4.3 [1.3.1] USE="X%*" 
[ebuild     U  ] media-libs/harfbuzz-1.5.1 [1.4.6-r2]
[ebuild     U  ] sys-fs/e2fsprogs-1.43.7 [1.43.4]
[ebuild     U  ] app-text/docbook-xsl-stylesheets-1.79.1-r2 [1.79.1-r1]
[ebuild     U  ] x11-libs/libXpm-3.5.12 [3.5.11]
[ebuild   R    ] www-client/w3m-0.5.3-r9  USE="gtk*" 
[ebuild     U  ] dev-qt/qtdbus-5.9.2 [5.7.1]
[ebuild     U  ] net-print/cups-2.2.6 [2.2.4]
[ebuild   R    ] app-text/ghostscript-gpl-9.21  USE="gtk*" 
[ebuild   R    ] sys-auth/polkit-0.113-r3  USE="gtk*" 
[ebuild  N     ] gnome-extra/polkit-gnome-0.105-r1 
[ebuild  N     ] dev-libs/libinput-1.7.0  USE="{-test}" INPUT_DEVICES="-wacom" 
[ebuild     U  ] dev-qt/qtgui-5.9.2 [5.7.1-r1] USE="libinput* -vnc%" 
[ebuild     U  ] virtual/libgudev-232 [230]
[ebuild     U  ] net-print/cups-filters-1.17.9 [1.17.3] USE="{-test%}" 
[ebuild     U  ] media-video/ffmpeg-3.3.4 [3.2.4] USE="-chromium% -sofalizer% -zeromq%" 
[ebuild     U  ] www-client/firefox-57.0 [55.0.2] USE="screenshot%* -eme-free%" 
[ebuild     U  ] sys-apps/portage-2.3.12 [2.3.8]
[ebuild     U  ] dev-python/appi-0.1.5 [0.1.2]
[ebuild     U  ] app-admin/ego-2.3.3-r1 [2.0.9]

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

dev-qt/qtgui:5

  (dev-qt/qtgui-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)

  (dev-qt/qtgui-5.7.1-r1:5/5.7::dev-kit, installed) pulled in by
    ~dev-qt/qtgui-5.7.1 required by (dev-qt/qtwebkit-5.7.1:5/5.7::dev-kit, installed)
    ^             ^^^^^                                                                                                                     
    (and 5 more with the same problem)

dev-qt/qtcore:5

  (dev-qt/qtcore-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge) pulled in by
    ~dev-qt/qtcore-5.9.2 required by (dev-qt/qtdbus-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                    
    (and 2 more with the same problem)

  (dev-qt/qtcore-5.7.1-r3:5/5.7::dev-kit, installed) pulled in by
    ~dev-qt/qtcore-5.7.1 required by (dev-qt/qtgui-5.7.1-r1:5/5.7::dev-kit, installed)
    ^              ^^^^^                                                                                                                     
    (and 9 more with the same problem)

dev-qt/qtdbus:5

  (dev-qt/qtdbus-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge) pulled in by
    ~dev-qt/qtdbus-5.9.2 required by (dev-qt/qtgui-5.9.2:5/5.9::kde-kit, ebuild scheduled for merge)
    ^              ^^^^^                                                                                                                                   

  (dev-qt/qtdbus-5.7.1:5/5.7::dev-kit, installed) pulled in by
    ~dev-qt/qtdbus-5.7.1 required by (dev-qt/qtgui-5.7.1-r1:5/5.7::dev-kit, installed)
    ^              ^^^^^                                                                                                                     

NOTE: Use the '--verbose-conflicts' option to display parents omitted above

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 installed packages are masked:
- app-emulation/wine-2.3::nokit (masked by: package.mask)
/var/git/meta-repo/kits/core-kit/profiles/package.mask/00-gentoo:
# Michał Górny <mgorny@gentoo.org> (28 Nov 2017)
# Replaced by split packages. Please install one of:
# - app-emulation/wine-vanilla (the only choice for stable)
# - app-emulation/wine-staging
# - app-emulation/wine-d3d9
# - app-emulation/wine-any
# For more information, please read the news item:
# https://www.gentoo.org/support/news-items/2017-04-10-split-and-slotted-wine.html
# If you really need the old ebuilds, you can use the 'wine' repository.
# Removal in 30 days.

- media-sound/audacious-3.7.1-r1::media-kit (masked by: package.mask)
/var/git/meta-repo/kits/core-kit/profiles/package.mask/00-gentoo:
# Andreas K. Hüttel <dilfridge@gentoo.org> (04 Nov 2017)
# Many, many, many open bugs. Blocks gcc-6 stabilization.
# Removal of the old versions in 30 days; please upgrade to
# Audacious 3.9 (may require manual keywording since not
# marked stable anymore).

- media-plugins/audacious-plugins-3.7.1-r1::media-kit (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

 

I am sorry. Let me know what I need to do around USE flags, masked packages and "Multiple package instances"?

How to fix this situation exactly?

Share this post


Link to post
Share on other sites
  • 0

@znavko: I think you are over-complicating it here with your setup. So what are you trying to do? Why add all this stuff to your make.conf?

Did you follow the installation guide? Why do you think you need -O3? Why do you specify all these CPU_FLAGS ? ...

Share this post


Link to post
Share on other sites
  • 0

The problem seems to be that the current emerge wants to pull in qt5.9.2 and some installed packages were compiled against qt5.7.1-r3. And when I look at the output of the emerge I think the reason is gimp, as it is not shown in the output.

What I would do is separate the two packages: Emerge firefox first and, if this goes well, then emerge gimp. This way we can isolate the  problem. Besides that there seem to be some other updates that should be installed first, like ego or portage.

@znavko Could you post the output of

equery u gimp

equery u firefox

Try to compile firefox first and gimp later. It also seems that you need to update other packages first, try

emerge -av --update --deep --newuse --newrepo world --exclude firefox --exclude gimp

and see if it works.

Share this post


Link to post
Share on other sites
  • 0
# tail -n 9 /etc/portage/package.use

#15-12-2017
>=dev-libs/libpcre2-10.30 abi_x86_64 bzip2 jit pcre16 readline recursion-limit unicode zlib
>=sys-devel/gcc-5.4.0 cxx fortran multilib nls openmp
>=sys-libs/libomp-5.0.0 abi_x86_64
>=sys-devel/clang-runtime-3.9.1 abi_x86_64 openmp
>=sys-devel/clang-3.9.1-r100 abi_x86_64 python static-analyzer llvm_targets_AMDGPU llvm_targets_BPF llvm_targets_NVPTX llvm_targets_X86
>=media-sound/audacious-3.7.1-r1 chardet gtk nls qt5

# etc-update

# emerge -avuDN --with-bdeps=y --newrepo @world 

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for media-sound/audacious from @selected
... done!

!!! The ebuild selected to satisfy "media-sound/audacious" has unmet requirements.
- media-sound/audacious-3.7.1-r1::media-kit USE="chardet gtk nls qt5 -gtk3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( gtk gtk3 qt5 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

 

I added required flags but not works.

 

I want just recompile with -O3 to know if it will work better.

Share this post


Link to post
Share on other sites
  • 0

OK, in your last output emerge is complaining about the set use flags of audacious. You can only set the use flag gtk, gtk3 or qt5. Which is strange, as I have compiled audacious with gtk and qt5 use flag but when I try to recompile it I get the same message. That means that the ebuild has has changed since the last time I emerged it.

To solve the current problem you need to specify which use flag you want to use for audacious. 

Share this post


Link to post
Share on other sites
  • 0

# equery u gimp   > https://pastebin.com/ZPUyfREA

# equery u firefox  > https://pastebin.com/53v9WkWE

 

# emerge -av --update --deep --newuse --newrepo world --exclude firefox --exclude gimp

These are the packages that would be merged, in order:

Calculating dependencies /

!!! Problem resolving dependencies for media-sound/audacious from @selected
... done!

!!! The ebuild selected to satisfy "media-sound/audacious" has unmet requirements.
- media-sound/audacious-3.7.1-r1::media-kit USE="chardet gtk nls qt5 -gtk3"

  The following REQUIRED_USE flag constraints are unsatisfied:
    exactly-one-of ( gtk gtk3 qt5 )

(dependency required by "@selected" [set])
(dependency required by "@world" [argument])

 

I had such package.use :

>=media-sound/audacious-3.7.1-r1 chardet gtk gtk3 nls qt5

I really had no sense. But after playing with flags I understood the meaning of 'exactly-one-of ( gtk gtk3 qt5 )'. I changed package.use line to:

>=media-sound/audacious-3.7.1-r1 chardet nls qt5 -gtk -gtk3

And the emerge becomes like this:

# emerge -avuDN --with-bdeps=y --newrepo @world  > 222

# cat 222 > https://pastebin.com/KW5UfBd2

Humm. Can Funtoo do it itself?

Share this post


Link to post
Share on other sites
  • 0

Sorry, is -O3 is a method to move to trash all unnecessary stuff from my system?

So the command

# emerge -av --update --deep --newuse --newrepo world --exclude firefox --exclude gimp

offers me to define exactly what I need and what is a garbage:

[ebuild     U  ] x11-base/xorg-drivers-1.19::xorg-kit [1.17::xorg-kit] INPUT_DEVICES="evdev keyboard mouse synaptics (-acecad) (-aiptek) -elographics (-fpit) (-hyperpen) -joystick -libinput (-mutouch) -penmount -tslib -vmmouse -void -wacom" VIDEO_CARDS="intel -amdgpu (-apm) (-ark) -ast (-chips) (-cirrus) -dummy -epson -fbdev -fglrx (-freedreno) (-geode) -glint (-i128) (-i740) -i915% -i965% (-mach64) -mga (-neomagic) (-newport) -nouveau -nv -nvidia (-omap) -qxl -r128 -radeon -radeonsi (-rendition) (-s3) (-s3virge) (-savage) -siliconmotion (-sis) (-sisusb) (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) (-tdfx) (-tegra) (-tga) (-trident) (-tseng) (-vc4) -vesa -via -virtualbox -vmware (-voodoo) (-omapfb%)" 0 KiB

I think now my system compiled with CFLAGS: -O2 has all these xorg-drivers installed by default. How to check it?

And if I will type these USE definitions funtoo will compile xorg-drivers with only necessary stuff. Am I right?

But there are really much stuff to write.

# emerge -av --update --deep --newuse --newrepo world --exclude firefox --exclude gimp > 555
# cat 555 > https://pastebin.com/B6Q01tmv

 

Can I apply it automatically?

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...