Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
BusyBox
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 11:32 am    Post subject: BusyBox Reply with quote

First - whats BusyBox for?
Second - I've emerged xfce properly and wanted to upgrade my bos
Code:
emerge -aUDN @world

!!! The ebuild selected to satisfy "sys-apps/busybox" has unmet requirements.
- sys-apps/busybox-1.25.1::gentoo USE="debug ipv6 livecd make-symlinks math mdev pam savedconfig sep-usr static syslog systemd (-selinux)" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    pam? ( !static )

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

HELP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30905
Location: here

PostPosted: Thu Mar 23, 2017 11:38 am    Post subject: Reply with quote

Message tells that if you use pam use flag you cannot have also static use flag.
Solution: disable with /etc/portage/package.use file or static or pam use flag
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Thu Mar 23, 2017 12:00 pm    Post subject: Reply with quote

programmer11,

Eww.
Code:
sys-apps/busybox-1.25.1::gentoo USE="debug ipv6 livecd make-symlinks
<<<----

make-symlinks will trash your install, if it hasn't already.
Busybox does lots of things, see
Code:
$ busybox --help

if you USE make-symlinks, it will overwrite the real apps. Than a verybadthing unless you know you really really want that.
The Busybox versions are not as feature complete as the the applications they replace.

USE livecd looks a bit odd too.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 12:18 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Message tells that if you use pam use flag you cannot have also static use flag.
Solution: disable with /etc/portage/package.use file or static or pam use flag

I added /etc/portage/package.use/pam file with content
Code:
sys-libs/pam

Later:
Code:
etc-update


than
Code:
emerge -auvDN @world


and nothing. Still the same
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Mar 23, 2017 12:35 pm    Post subject: Reply with quote

programmer11,

First of all, if you value your install, listen to NeddySeagoon. You do not want the make-symlinks USE flag.

Second of all, your example file /etc/portage/package.use/pam does not affect busybox, for two reasons:
  • It mentions pam instead of busybox.
  • It doesn't specify any USE flags to alter.
What you want is something like
/etc/portage/package.use/busybox:
sys-apps/busybox -make-symlinks
but better yet, get that USE flag out of your make.conf. It's dangerous.

Some people come to the mistaken conclusion that adding all (or a lot of) USE flags makes their Gentoo installation the most featureful. This is not always the case because some USE flags have very specific niche purposes. It so happens that the make-symlinks USE flag is typically only used by people building small embedded systems, for example. It's best to have an idea that you need a feature before you enable a USE flag that's not enabled in a particular profile. The profiles actually do a really good job of giving you a professionally-chosen application specific USE flag set. Typically only minor tweaks are necessary once the proper profile is selected.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 12:46 pm    Post subject: Reply with quote

Ive deleted use flag make-symlinks.

Code:
etc-update
emerge -auDN @world
and still no luck
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Mar 23, 2017 12:52 pm    Post subject: Reply with quote

Error messages, please, always.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
cboldt
Veteran
Veteran


Joined: 24 Aug 2005
Posts: 1046

PostPosted: Thu Mar 23, 2017 12:58 pm    Post subject: Reply with quote

The first reply to your plea provided the other piece, the package will not emerge with BOTH pam and static. Pick one or the other.

The excellent "-make-symlinks" advice was to prevent you for a successful emerge that would bork your system in other ways. But following that advice does not cure the requirement to pick either pam or static, not both.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Thu Mar 23, 2017 1:11 pm    Post subject: Re: BusyBox Reply with quote

programmer11 wrote:
Code:
- sys-apps/busybox-1.25.1::gentoo USE="debug ipv6 livecd make-symlinks math mdev pam savedconfig sep-usr static syslog systemd (-selinux)" ABI_X86="64"

John R. Graham wrote:
First of all, if you value your install, listen to NeddySeagoon. You do not want the make-symlinks USE flag.

John, Neddy, et al ... I would ask myself why all the (available) useflags are enabled, not just 'make-symlinks'. They shouldn't be:

equery -NC u =sys-apps/busybox-1.25.1:
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for sys-apps/busybox-1.25.1:
 U I
 - - debug         : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - ipv6          : Add support for IP version 6
 - - livecd        : !!internal use only!! DO NOT SET THIS FLAG YOURSELF!, used during livecd building
 - - make-symlinks : Create all the appropriate symlinks in /bin and /sbin.
 - - math          : Enable math support in gawk (requires libm)
 - - mdev          : Create the appropriate symlink in /sbin and install mdev.conf and support files
 - - pam           : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 - - savedconfig   : Use this to restore your config from /etc/portage/savedconfig ${CATEGORY}/${PN}. Make sure your USE flags allow for appropriate dependencies
 - - sep-usr       : Support a separate /usr without needing an initramfs by booting with init=/ginit
 + + static        : Make the system rescue shell (/bin/bb) static so you can recover even when glibc is broken
 - - syslog        : Enable support for syslog
 - - systemd       : Support systemd

That suggests a bigger problem.

@programmer11 ... please provide the output of 'emerge --info'.

best ... khay
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 1:31 pm    Post subject: Reply with quote

here you go :)
Code:
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0, gcc-4.9.4, glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_V2_@_3.20GHz-with-gentoo-2.3
KiB Mem:    16342796 total,  10481860 free
KiB Swap:    1046520 total,   1046520 free
Timestamp of repository gentoo: Thu, 23 Mar 2017 07:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://gentoo.mirrors.ovh.net/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl aio amd64 avcodec berkdb bindist bzip2 cli colord cracklib crypt cxx debug dri fortran fpm gconf gdbm gnutils gpl http http-cache iconv icu ipv6 math mdev modules multilib ncurses networkmanager nls nptl openmp pam pcre pcre-jit proprietary-codecs pulseaudio qt4 readline savedconfig seccomp selinu sep-usr session ssl syntax syslog systemd tcpd threads udev unicode vim xattr zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="dav auth_pam fancyindex geoip fastcgi uwsgi gzip rewrite" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XFCE_PLUGINS="clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu Mar 23, 2017 1:36 pm    Post subject: Reply with quote

John R. Graham wrote:
Error messages, please, always.
Please?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 1:56 pm    Post subject: Reply with quote

@John:

Code:
emerge -aUDN @world

!!! The ebuild selected to satisfy "sys-apps/busybox" has unmet requirements.
- sys-apps/busybox-1.25.1::gentoo USE="debug ipv6 livecd make-symlinks math mdev pam savedconfig sep-usr static syslog systemd (-selinux)" ABI_X86="64"

  The following REQUIRED_USE flag constraints are unsatisfied:
    pam? ( !static )

(dependency required by "@system" [set])
(dependency required by "@world" [argument])
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Thu Mar 23, 2017 2:10 pm    Post subject: Reply with quote

programmer11,

Code:
sys-apps/busybox-1.25.1::gentoo USE="debug ipv6 livecd make-symlinks math mdev pam savedconfig sep-usr static syslog systemd (-selinux)"

There's no change there.

You still have make-symlinks
You need to choose one of pam and static
Where did debug come from?
If its set globally, lots of things become very difficult to use.
Try using nano when its built with USE=debug. It works but you will hate it.

Remove debug from make.conf.
What is selinu in your USE flags?
If its a typo for selinux, you profile has saved you. Its forced off.

Do you know what mdev, sep-usr and a few others do?
Having sys-apps/openrc: 0.23.2::gentoo installed and USE=systemd set might be considered a bit odd.

It appears that you have USE settings in /etc/portage/package.use
Please share them all with us.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 2:38 pm    Post subject: Reply with quote

NeddySeagoon wrote:
programmer11,

Code:
sys-apps/busybox-1.25.1::gentoo USE="debug ipv6 livecd make-symlinks math mdev pam savedconfig sep-usr static syslog systemd (-selinux)"

There's no change there.

You still have make-symlinks
You need to choose one of pam and static
Where did debug come from?
If its set globally, lots of things become very difficult to use.
Try using nano when its built with USE=debug. It works but you will hate it.

Remove debug from make.conf.
What is selinu in your USE flags?
If its a typo for selinux, you profile has saved you. Its forced off.

Do you know what mdev, sep-usr and a few others do?
Having sys-apps/openrc: 0.23.2::gentoo installed and USE=systemd set might be considered a bit odd.

It appears that you have USE settings in /etc/portage/package.use
Please share them all with us.

where did you take your code from?
My /etc/portage/make.conf

Code:
# 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 -pipe"
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="pam debug udev qt4 avcodec gpl X bindist bzip2 threads zlib colord gnutils gconf pulseaudio proprietary-codecs $
CPU_FLAGS_X86="mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
NGINX_MODULES_HTTP="dav auth_pam fancyindex geoip fastcgi uwsgi gzip rewrite"
XFCE_PLUGINS="clock trash"


My /etc/portage/package.use
3 files: iputils, pam, php-fpm

iputils
Code:
net-misc/iputils -caps -filecaps
# required by x11-drivers/xf86-video-ati-7.8.0::gentoo[glamor]
# required by x11-base/xorg-drivers-1.19::gentoo[video_cards_radeonsi]
# required by x11-base/xorg-drivers (argument)
>=x11-base/xorg-server-1.19.2 glamor
# required by x11-wm/icewm-1.3.8::gentoo
# required by x11-wm/icewm (argument)
>=x11-libs/gdk-pixbuf-2.34.0 X
# required by x11-libs/pango-1.40.3::gentoo
# required by x11-libs/vte-0.28.2-r208::gentoo
# required by lxde-base/lxterminal-0.1.11::gentoo
# required by lxde-base/lxde-meta-0.5.5-r4::gentoo
# required by lxde-base/lxde-meta (argument)
>=x11-libs/cairo-1.14.8 X
# required by sys-auth/polkit-0.113::gentoo[-systemd]
# required by lxde-base/lxsession-0.5.2::gentoo
# required by lxde-base/lxde-meta-0.5.5-r4::gentoo
# required by lxde-base/lxde-meta (argument)
>=sys-auth/consolekit-1.1.0-r1 policykit
# required by sys-auth/consolekit-1.1.0-r1::gentoo
# required by sys-auth/polkit-0.113::gentoo[-systemd]
# required by lxde-base/lxsession-0.5.2::gentoo
# required by lxde-base/lxde-meta-0.5.5-r4::gentoo
# required by lxde-base/lxde-meta (argument)
>=dev-libs/glib-2.48.2 dbus
# required by x11-wm/openbox-3.6.1::gentoo
# required by x11-misc/obconf-2.0.4::gentoo
# required by lxde-base/lxde-meta-0.5.5-r4::gentoo
# required by lxde-base/lxde-meta (argument)
>=x11-libs/pango-1.40.3 X
# required by x11-misc/pcmanfm-1.2.3::gentoo
# required by lxde-base/lxde-meta-0.5.5-r4::gentoo
# required by lxde-base/lxde-meta (argument)
>=x11-libs/libfm-1.2.4 gtk
# required by www-client/chromium-57.0.2987.98::gentoo[system-libvpx]
# required by chromium (argument)
>=media-libs/libvpx-1.5.0 svc
# required by www-client/chromium-57.0.2987.98::gentoo
# required by chromium (argument)
>=sys-libs/zlib-1.2.11 minizip
# required by www-client/chromium-57.0.2987.98::gentoo
# required by chromium (argument)
>=media-libs/harfbuzz-1.3.1 icu
# required by www-client/chromium-57.0.2987.98::gentoo
# required by chromium (argument)
>=dev-libs/libxml2-2.9.4-r1 icu
# required by net-firewall/firewalld-0.4.3.3::gentoo
# required by firewalld (argument)
>=dev-python/python-slip-0.6.1 dbus
# required by x11-misc/xdg-utils-1.1.1-r1::gentoo
# required by net-print/cups-2.1.4::gentoo[X]
# required by net-print/cups-filters-1.5.0::gentoo
>=app-text/xmlto-0.0.26-r1 text
# required by dev-java/lucene-3.5.0::gentoo
# required by dev-java/netbeans-ide-8.2::gentoo
# required by dev-util/netbeans-8.2::gentoo
# required by netbeans (argument)
>=dev-java/junit-4.12-r1 source


php-fpm
Code:
ev-lang/php fpm
# required by dev-lang/php-7.0.15::gentoo
# required by php (argument)
>=app-eselect/eselect-php-0.9.2 fpm
# required by media-libs/phonon-vlc-0.9.0::gentoo
# required by media-libs/phonon-4.9.0::gentoo[vlc]
# required by kde-plasma/plasma-workspace-5.8.6::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo
# required by plasma-desktop (argument)
>=media-video/vlc-2.2.4-r1 vorbis ogg dbus
# required by kde-frameworks/kwayland-5.29.0::gentoo
# required by kde-plasma/plasma-integration-5.8.6::gentoo
# required by kde-plasma/plasma-workspace-5.8.6::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo
# required by plasma-desktop (argument)
>=dev-qt/qtwayland-5.6.2 egl
# required by dev-qt/qtopengl-4.8.6-r1::gentoo
# required by dev-qt/qtdeclarative-4.8.6-r1::gentoo
# required by kde-frameworks/kdelibs-4.14.29-r1::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo[qt4]
# required by plasma-desktop (argument)
>=dev-qt/qtcore-4.8.6-r2:4 qt3support
# required by media-libs/phonon-vlc-0.9.0::gentoo
>=media-libs/phonon-4.9.0 qt5
# required by dev-qt/qtwayland-5.6.2::gentoo
# required by kde-frameworks/kwayland-5.29.0::gentoo
# required by kde-plasma/plasma-integration-5.8.6::gentoo
# required by kde-plasma/plasma-workspace-5.8.6::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo
# required by plasma-desktop (argument)
>=dev-qt/qtgui-5.6.2 jpeg egl
# required by kde-frameworks/kauth-5.29.0::gentoo[policykit]
# required by kde-frameworks/kconfigwidgets-5.29.0::gentoo
# required by kde-plasma/kscreenlocker-5.8.6::gentoo
# required by kde-plasma/kwin-5.8.6::gentoo
# required by kde-plasma/plasma-workspace-5.8.6::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo
# required by plasma-desktop (argument)
>=sys-auth/polkit-qt-0.112.0-r1 qt5
# required by kde-frameworks/kdelibs-4.14.29-r1::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo[qt4]
# required by plasma-desktop (argument)
>=dev-qt/qtdeclarative-4.8.6-r1:4 qt3support
# required by kde-plasma/plasma-pa-5.8.6::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo[pulseaudio]
# required by plasma-desktop (argument)
>=media-sound/pulseaudio-10.0 gnome
# required by dev-qt/qt3support-4.8.6-r1::gentoo
# required by kde-frameworks/kdelibs-4.14.29-r1::gentoo
# required by kde-plasma/qguiplatformplugin_kde-4.11.22::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo[qt4]
# required by plasma-desktop (argument)
>=dev-qt/qtsql-4.8.6-r1:4 qt3support
# required by x11-libs/libxkbcommon-0.6.0::gentoo[X]
# required by kde-plasma/kwin-5.8.6::gentoo
# required by kde-plasma/plasma-workspace-5.8.6::gentoo
# required by kde-plasma/plasma-desktop-5.8.6::gentoo
# required by plasma-desktop (argument)
>=x11-libs/libxcb-1.12-r2 xkb


pam
Code:
sys-apps/pam
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Thu Mar 23, 2017 2:58 pm    Post subject: Reply with quote

programmer11,
make.conf:
USE="pam debug udev qt4 avcodec gpl X bindist bzip2 threads zlib colord gnutils gconf pulseaudio proprietary-codecs $

The $ at the end tells that the line is cropped, so we can't see all the USE settings you set.
debug is there. Remove it.

Code:
emerge --info
shows the USE flags from your profile, which is default/linux/amd64/13.0 and make.conf.
It does not include package.use/ settings.

You don't set any per package flags on pam, so yo could remove that file if you wanted to.

Some of your package.use entries are redundant.
make.conf contains USE=X so entries like
iputils:
>=x11-libs/gdk-pixbuf-2.34.0 X
>=x11-libs/cairo-1.14.8 X
>=x11-libs/pango-1.40.3 X
are redundant.

We still don't know where USE="livecd make-symlinks mdev savedconfig sep-usr static" come from.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 3:15 pm    Post subject: Reply with quote

@Neddy,

you were right as of profile. Ive had chosen wrong one. Now its desktop and my emerge --info is as follows:

Code:
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.4, glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E3-1225_V2_@_3.20GHz-with-gentoo-2.3
KiB Mem:    16342796 total,   9403012 free
KiB Swap:    1046520 total,   1046520 free
Timestamp of repository gentoo: Thu, 23 Mar 2017 14:15:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://gentoo.mirrors.ovh.net/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi aio alsa amd64 apache2 avcodec berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus debug dri dts dvd dvdr emboss encode exif fam firefox flac fortran fpm gconf gdbm gif glamor gnutils gpl gpm gtk http http-cache iconv icu ipv6 jpeg lcms ldap libnotify mad math mdev mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pcre-jit pdf png policykit ppds proprietary-codecs pulseaudio qt3support qt4 readline savedconfig sdl seccomp sep-usr server session spell ssl startup-notification svg syntax syslog systemd tcpd test threads tiff truetype udev udisks unicode upower usb vim vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="dav auth_pam fancyindex geoip fastcgi uwsgi gzip rewrite" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XFCE_PLUGINS="clock trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


My make.conf now:
Code:
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 -pipe"
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="apache2 ssl test server pam debug udev qt4 avcodec gpl X bindist bzip2 threads zlib colord gnutils gconf pulseaudio proprietary-codecs icu http aio http-cache pcre pcre-jit vim syntax fpm networkmanager math mdev savedconfig
sep-usr syslog systemd selinux"
CPU_FLAGS_X86="mmx sse sse2"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
NGINX_MODULES_HTTP="dav auth_pam fancyindex geoip fastcgi uwsgi gzip rewrite"
XFCE_PLUGINS="clock trash"
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 3:25 pm    Post subject: Reply with quote

Little progress: I removed systemd use flag, make

Code:
emerge -auvDN @world


it found 194 pkgs to update, and its going :)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54232
Location: 56N 3W

PostPosted: Thu Mar 23, 2017 3:31 pm    Post subject: Reply with quote

programmer11,

You still have
Code:
USE=debug

Stop your emerge. Fix that and run emerge -uDNav @world.

Exciting times if you have already rebuilt nano.
Ignore all the debug info that appears on the screen. It will not be in the file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 3:51 pm    Post subject: Reply with quote

Stopped, removed debug and run emerge -auvDN @world (its simply the other switch's order) and now 131 pkgs and running....
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Mar 23, 2017 4:11 pm    Post subject: Reply with quote

I'd add -march=native to CFLAGS. And I doubt you have all those video cards you are building for.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
programmer11
n00b
n00b


Joined: 27 Feb 2017
Posts: 15

PostPosted: Thu Mar 23, 2017 4:26 pm    Post subject: Reply with quote

Jaglover wrote:
I'd add -march=native to CFLAGS. And I doubt you have all those video cards you are building for.

Let me remind you that Im building it on server with goal being vps host with multiple configs available....
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Thu Mar 23, 2017 5:08 pm    Post subject: Reply with quote

programmer11 wrote:
Jaglover wrote:
I'd add -march=native to CFLAGS. And I doubt you have all those video cards you are building for.

Let me remind you that Im building it on server with goal being vps host with multiple configs available....

What?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
miket
Guru
Guru


Joined: 28 Apr 2007
Posts: 488
Location: Gainesville, FL, USA

PostPosted: Fri Mar 24, 2017 2:55 pm    Post subject: Reply with quote

Jaglover wrote:
programmer11 wrote:
Jaglover wrote:
I'd add -march=native to CFLAGS. And I doubt you have all those video cards you are building for.

Let me remind you that Im building it on server with goal being vps host with multiple configs available....

What?

Let's unpack this a bit. It sounds like he's building a virtualization host and also guest images.

I'd recommend, programmer11, that get that first single-system build under your belt. It's a lot easier working around suboptimal things like having strange USE-flag settings or package selections just as you've been helped through in this thread. You really owe it to your users to have your ducks in a row!

The host system really needs to be solid in its operation and well tuned to the hardware where it runs. One aspect of this is that -march=native thing that Jaglover talked about. It is here where you need to work out kinks in getting a basic system to run. After all, you need to have a stable base system before you can start building other ones.

Then, for the maintenance of the guest images--and even their initial construction--setting up a build server would be a great thing. This would run in a chroot either on the host system itself or on a second machine with a similar enough instruction set. You do want those guest images to be tuned to their host.

Now, finally, do you really want to have any X drivers at all? Almost always would such a server run headless. Perhaps, if you have the physical machine running in your home or office, you might set it up with a graphical display and thus have X drivers for that display, but in no case could the guests make use of X drivers. The guests might well have the X libraries, but not the drivers.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Mar 24, 2017 8:18 pm    Post subject: Reply with quote

programmer11 wrote:
@Neddy,

you were right as of profile. Ive had chosen wrong one. Now its desktop and my emerge --info is as follows:

Code:
!!! Found 2 make.conf files, using both '/etc/make.conf' and '/etc/portage/make.conf'

Fix this first.
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Fri Mar 24, 2017 9:02 pm    Post subject: Reply with quote

On my server (non-systemd!) /etc/portage/package.use has
Code:
sys-apps/busybox  mdev syslog
This is sufficient to boot with mdev alone (as I do) or with eudev (gentoo alternative to udev for non-systemd systems)

The results or emerge -pv busybox:
Quote:
Calculating dependencies... done!
[ebuild R ] sys-apps/busybox-1.25.1::gentoo USE="ipv6 mdev static syslog -debug -livecd -make-symlinks -math -pam -savedconfig (-selinux) -sep-usr -systemd"
Looking at the ebuild:
Code:
IUSE="debug ipv6 livecd make-symlinks math mdev pam selinux sep-usr static syslog systemd"
meaning that NONE of those flags are automatically invoked (otherwise one or more would have a '+' in front) which means that all of the flags come from make.conf or package.use . To be honest, I can't figure out where "static" is coming from since it is in neither place. perhaps it's a side effect of "-pam"

I believe the standard configuration now is to have /etc/portage/make.conf and not /etc/make.conf. I still have /etc/make.conf but it's a symlink to /etc/portage/make.conf. I could post my make.conf but many knowledgeable people would tell you it's still too long. Yours is horrendous.

FOLLOW THE ADVICE OF THE EXPERTS! REMOVE "debug" FROM make.conf! Sorry to shout but I wanted you to hear me. You can leave "pam" if you want. I have "-pam" globally and turn it back on in package.use for things that require it. However, I am a one man shop. If you have many users you may find pam valuable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum