On 02/05/2017 02:23 AM, J. Roeleveld wrote: > On Saturday, February 4, 2017 11:36:56 PM CET [email protected] wrote: > > (longer reply) > >> >> I change in make.conf to: >> USE="bindist" >> >> and I was able to install basic system correctly, network is working and I >> can proceed with castomazation but my next question: What is the correct >> way to configure "USE=" in make.conf? >> >> When I use a below: (copied from my other systems): >> >> USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl >> foomaticdb truetype kpathsea ppds mysql udev tiff png usb scanner gimp >> gimpprint cgi fam nptl type1 opengl tetexspell consolkit dbus pam policykit >> jpeg lock session startup-notification thunar cleartype corefonts -systemd >> -DOPENSSL_NO_HEARTBEATS abi_x86_32" >> >> PS. I think "dbus" is no longer used, isn't it? > > I have dbus installed, so the package still exists. If it is a valid > USE-flag, > I don't know. > > In your list, I see a few I have never used. Most of them, I would personally > only set for those packages where I want them to apply, but that is a > personal > decision. > > My main concerns with your list are: > # -DOPENSSL_NO_HEARTBEATS > This seems more like something that should be added as a compiler-flag for 1 > package or something in an apache config file. > > # abi_x86_32 > I am assuming you want packages to also be build for 32-bit. > If that is the case, I would set the following in your make.conf file: > # ABI_X86="64 32" > and remove this entry from your USE-list. > > # consolkit > I think this should be "consolekit" as that one does exist. > >> I get a log of blockers and my file "package.use" starting to look like >> trash can with entries like: >> >> # required by x11-libs/libxcb-1.12::gentoo >> # required by x11-apps/xwininfo-1.1.3::gentoo >> # required by x11-misc/xscreensaver-5.36::gentoo >> # required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver] >> # required by xfce-base/xfce4-meta-4.12::gentoo >> # required by xfce-base/xfce4-meta (argument) >> >>> =x11-libs/libXau-1.0.8 abi_x86_32 > > This is related to the above comment about your abi... useflag. > >> # required by x11-libs/libxcb-1.12::gentoo >> # required by x11-apps/xwininfo-1.1.3::gentoo >> # required by x11-misc/xscreensaver-5.36::gentoo >> # required by xfce-base/xfce4-session-4.12.1-r1::gentoo[xscreensaver] >> # required by xfce-base/xfce4-meta-4.12::gentoo >> # required by xfce-base/xfce4-meta (argument) >> >>> =dev-libs/libpthread-stubs-0.3-r1 abi_x86_32 > > Same > >> If I try to use my USE="-qt4 ... etc" and try to emerge: >> emerge --ask xfce-base/xfce4-meta >> >> I get tones of blockers and problem solving eg.: >> >> [blocks B ] dev-util/pkgconf[pkg-config] >> ("dev-util/pkgconf[pkg-config]" is blocking dev-util/pkgconfig-0.28-r2) >> [blocks B ] media-libs/libjpeg-turbo:0 ("media-libs/libjpeg-turbo:0" >> is blocking media-libs/jpeg-8d-r1) [blocks B ] media-libs/jpeg:0 >> ("media-libs/jpeg:0" is blocking media-libs/libjpeg-turbo-1.5.0) [blocks B >> ] sys-fs/udev ("sys-fs/udev" is blocking sys-fs/eudev-3.1.5) [blocks B >> ] dev-util/pkgconfig ("dev-util/pkgconfig" is blocking >> dev-util/pkgconf-0.9.12) >> >> * Error: The above package list contains packages which cannot be >> * installed at the same time on the same system. >> >> (dev-util/pkgconf-0.9.12:0/0::gentoo, ebuild scheduled for merge) pulled >> in by >> >=dev-util/pkgconf-0.9.3-r1[pkg-config,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(-)?] >> >(>=dev-util/pkgconf-0.9.3-r1[pkg-config,abi_x86_32(-),abi_x86_64(-)]) >> >required by (virtual/pkgconfig-0-r1:0/0::gentoo, ebuild scheduled for >> >merge) >> (sys-fs/eudev-3.1.5:0/0::gentoo, ebuild scheduled for merge) pulled in by >> >> >=sys-fs/eudev-1.3 required by (virtual/udev-215:0/0::gentoo, installed) >> >=sys-fs/eudev-1.3:0/0[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(-)?,static-libs?] >> >(>=sys-fs/eudev-1.3:0/0[abi_x86_32(-),abi_x86_64(-)]) required by >> >(virtual/libudev-215-r1:0/1::gentoo, ebuild scheduled for merge) >> (sys-fs/udev-225-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by >> >> >=sys-fs/udev-208-r1:0/0[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,a >> >bi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_pp >> >c_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?,static-libs?] >> >(>=sys-fs/udev-208-r1:0/0[abi_x86_32(-),abi_x86_64(-)]) required by >> >(virtual/libudev-215-r1:0/1::gentoo, ebuild scheduled for merge) >> >=sys-fs/udev-208-r1 required by (virtual/udev-215:0/0::gentoo, >> >installed) >> (dev-util/pkgconfig-0.28-r2:0/0::gentoo, ebuild scheduled for merge) >> pulled in by >> >=dev-util/pkgconfig-0.28-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(- >> >)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,ab >> >i_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] >> >(>=dev-util/pkgconfig-0.28-r1[abi_x86_32(-),abi_x86_64(-)]) required >> >by (virtual/pkgconfig-0-r1:0/0::gentoo, ebuild scheduled for merge) >> (media-libs/jpeg-8d-r1:0/0::gentoo, ebuild scheduled for merge) pulled in >> by >> >=media-libs/jpeg-8d-r1:0[static-libs?,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(-)?] >> >(>=media-libs/jpeg-8d-r1:0[abi_x86_32(-),abi_x86_64(-)]) required by >> >(virtual/jpeg-0-r2:0/0::gentoo, ebuild scheduled for merge) >> (media-libs/libjpeg-turbo-1.5.0:0/0::gentoo, ebuild scheduled for merge) >> pulled in by >> >=media-libs/libjpeg-turbo-1.3.0-r3:0[static-libs?,abi_x86_32(-)?,abi_x8 >> >6_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(-)?] >> >(>=media-libs/libjpeg-turbo-1.3.0-r3:0[abi_x86_32(-),abi_x86_64(-)]) >> >required by (virtual/jpeg-0-r2:0/0::gentoo, ebuild scheduled for >> >merge) > > Alan is really good at decyphering these. > > My advice would be: > double-check your make.conf, especially the USE-entries I listed above. > > Once done, first stabilise your current system (as you want them global) then > start adding packages. > Eg: > 1) edit make.conf using comments above > > 2) stabilise system with last modifications: > # emerge -auDN @world > (At the least you want the new USE-flags to take effect for what you have) > Note: this will take a while as you are telling portage you want 32 and 64 > bit > where possible. > Also don't forget the "update" and "deep" to ensure any packages are updated > where needed. (I saw a version-difference causing possible problems with udev/ > eudev above) > > 3) When this is done, you should be able to proceed with the rest of your > installation. > > -- > Joost
Thank you all, yes good advice. I have removed most of the entries from the "USE=" what is left (and I'm not even sure I need them). USE="-qt4 -kde -gnome -arts -berkdb -acl X gtk alsa cups apache2 ssl udev tiff png usb scanner cgi nptl type1 -systemd" I'll let the portage handle it, I use XFCE for desktop. -- Thelma

