Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]Portage ignoring use flags
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
hubertnnn
n00b
n00b


Joined: 26 Oct 2013
Posts: 28

PostPosted: Fri Mar 28, 2014 3:44 am    Post subject: [solved]Portage ignoring use flags Reply with quote

After some time I decided to update my system and got stuck. The override I used before to prevent systemd from being pulled no longer works, but there is an official way, by using "openrc-force" use flag. For some reason portage ignores that flag (other flags seem to be ok, but I cannot be sure). I added the flag to both "/etc/portage/make.conf" and "/etc/portage/package.use" files and none of them make it work. Plz help, I am stuck cose almost every package I try to install asks for gnome update and gets stuck.

My "make.conf":
Code:

CFLAGS="-O2 -pipe -march=native"
CXXFLAGS="${CFLAGS}"
CHOST="x86_64-pc-linux-gnu"

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

USE="bindlist mmx sse sse2 -systemd udev pulseaudio icu threads gconf xine vala gnome theora networkmanager xinerama laptop gdm java mercurial osmesa samba dhcpcd openrc-force"

INPUT_DEVICES="evdev synaptics joystick"
VIDEO_CARDS="nvidia intel modesetting"
ACCEPT_KEYWORDS="~amd64"
ACCEPT_LICENSE="*"
ABI_X86="64 32"
LINGUAS="pl en"

GENTOO_MIRRORS="rsync://gentoo.prz.rzeszow.pl/gentoo http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl rsync://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/"
SYNC="rsync://rsync7.pl.gentoo.org/gentoo-portage"

PORTDIR_OVERLAY="/usr/local/portage/"

source /var/lib/layman/make.conf


Output of "emerge --info":
Code:

Portage 2.2.10 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.10.25-gentoo x86_64)
=================================================================
System uname: Linux-3.10.25-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:    16365608 total,    683048 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of tree: Fri, 28 Mar 2014 00:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p45-r1
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14.1
sys-devel/binutils:       2.24-r1
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo stuff gentoo-zh bumblebee gamerlay steam-overlay x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://gentoo.prz.rzeszow.pl/gentoo http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl rsync://ftp.vectranet.pl/gentoo/ http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/"
LANG="pl_PL.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/stuff /var/lib/layman/gentoo-zh /var/lib/layman/bumblebee /var/lib/layman/gamerlay /var/lib/layman/steam /usr/local/portage"
SYNC="rsync://rsync7.pl.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindlist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dhcpcd dri dts dvd dvdr emboss encode exif fam firefox flac fortran gconf gdbm gdm gif gnome gpm gtk iconv icu ipv6 java jpeg laptop lcms ldap libnotify mad mercurial mmx mng modules mp3 mp4 mpeg multilib ncurses networkmanager nls nptl ogg opengl openmp osmesa pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline samba sdl session spell sse sse2 ssl startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb vala vorbis wxwidgets x264 xcb xine xinerama xml xv xvid zlib" ABI_X86="64 32" 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia intel modesetting" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


edit:
Not sure why, but in emerge -v the keyword is in yellow in brackets. Also, editing the ebuild files to force the use of keyword didnt work, its still showing it like this:
Code:

[ebuild     U  ] gnome-base/gnome-shell-3.10.4-r1::gentoo [3.8.3-r1::x-portage] USE="bluetooth i18n networkmanager (-openrc-force)" PYTHON_TARGETS="python2_7 -python2_6" 1,486 kB
[ebuild     U  ] gnome-base/gnome-settings-daemon-3.10.2::gentoo [3.8.3::x-portage] USE="colord cups i18n policykit short-touchpad-timeout udev -debug (-openrc-force) (-packagekit) -smartcard {-test}" INPUT_DEVICES="-wacom" 1,611 kB


Last edited by hubertnnn on Sat Mar 29, 2014 11:29 am; edited 1 time in total
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Fri Mar 28, 2014 12:47 pm    Post subject: Reply with quote

It appears this flag is mask by profile. So the mask should be removed thru /etc/portage/profile/use.mask
-> https://forums.gentoo.org/viewtopic-p-7517230.html#7517230

This might confirm i was right saying :
Quote:
There's still a possibility to not use systemd with gnome 3.1 but gentoo gnome dev only reveal it's doable ; but hide the way to do that.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5625
Location: Removed by Neddy

PostPosted: Fri Mar 28, 2014 1:27 pm    Post subject: Reply with quote

krinn wrote:

This might confirm i was right saying :
Quote:
There's still a possibility to not use systemd with gnome 3.1 but gentoo gnome dev only reveal it's doable ; but hide the way to do that.
that is interpreting "doable" as a "solution is available right not".

I would read that as some gentoo dev's have postulated, based upon what gnome-3.10 calls for from sysd, that a workaround might be possible NOT that one actually exists or even if someone managed it, its not fully realised and/or reproducible.

Never attribute to malice that which is adequately explained by stupidity.
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
hubertnnn
n00b
n00b


Joined: 26 Oct 2013
Posts: 28

PostPosted: Sat Mar 29, 2014 11:29 am    Post subject: Reply with quote

Thx for help, the use.mask worked perfect, and gnome runs without systemd without any issues so far.
Back to top
View user's profile Send private message
steveL
Watchman
Watchman


Joined: 13 Sep 2006
Posts: 5153
Location: The Peanut Gallery

PostPosted: Sat Mar 29, 2014 6:46 pm    Post subject: Reply with quote

hubertnnn wrote:
Thx for help, the use.mask worked perfect, and gnome runs without systemd without any issues so far.

That's good to know. I saw some posts from Olav Vitters that mentioned they don't actually require systemd (also saying everyone should use it, for some reason which seems odd in that context), but I thought they relied on logind which is part of the same upstream tangle.
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Sat Mar 29, 2014 8:16 pm    Post subject: Reply with quote

I read it from Pacho Ramos that "to sum up" explain you can do it and would end up with some part broken, he mention those parts were also broken in gnome2 (i think it was networking/multi-seat and standby or battery power handling).
So users may endup with same broken things as with gnome2, i could understand it's not as good has having a real working gnome3, but many people could handle use it like gnome2.
This is also why i mention it as "doable but hidden". He just describe a "what if i do it without systemd" scenario, not the way to make that scenario real.
Next to that, TomWij reveal the openrc-force use flag (something maybe gnome users see, but something i wasn't aware of as i'm still using gnome2 for personal taste).

I tried hard to refind the link, but fail sorry. If you're interest i will retry.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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