Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] emerge ignores use flag in /etc/portage/package.use
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Mon Mar 04, 2013 11:27 pm    Post subject: [solved] emerge ignores use flag in /etc/portage/package.use Reply with quote

While doing a general cleanup, I noticed I had both slots of udisks installed (1.0.4-r4 in slot 0, 2.0.91 in slot 2) and that the only thing requiring slot 0 was kdelibs-4.9.5. Looking at the kdelibs ebuild, it looks like adding the udisks2 use flag for kdelibs should switch its dependency from slot 0 to slot 2. So,
Code:
# grep udisks /etc/portage *
package.use:kde-base/kdelibs semantic-desktop udisks2
and
Code:
# eix kdelibs
[I] kde-base/kdelibs
     Available versions:  (4) 4.9.5^t ~4.10.0^t
        {{3dnow acl alsa altivec aqua +bzip2 debug doc fam +handbook jpeg2k kerberos lzma mmx nls openexr opengl +policykit semantic-desktop spell sse sse2 ssl test +udev +udisks udisks2 upnp +upower zeroconf}}
     Installed versions:  4.9.5(4)^t(06:42:46 AM 01/28/2013)(acl alsa bzip2 handbook jpeg2k mmx opengl policykit semantic-desktop spell sse sse2 ssl udev udisks upower -3dnow -altivec -aqua -debug -doc -fam -kerberos -lzma -nls -openexr -test -udisks2 -upnp -zeroconf)
but
Code:
# emerge -pv kdelibs

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

Calculating dependencies... done!
[ebuild   R    ] kde-base/kdelibs-4.9.5:4  USE="acl alsa bzip2 handbook jpeg2k mmx opengl policykit semantic-desktop spell sse sse2 ssl udev udisks upower -3dnow (-altivec) (-aqua) -debug -doc -fam -kerberos -lzma -nls -openexr {-test} (-udisks2) (-upnp) -zeroconf" 0 kB
Why is it failing to pick up the udisks2 flag? I've looked at this bug which implies that for kde 4.10, udisks2 will be the only option. I'm not ready to jump to 4.10 yet, but I don't see anything to suggest that 4.9.5 shouldn't be able to use udisks2.

Any suggestions? Am I missing something obvious? Something not so obvious?


Last edited by genterminl on Mon Mar 11, 2013 11:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Mon Mar 04, 2013 11:52 pm    Post subject: Reply with quote

eix mixes flags from both packages since 4.10 is hard masked in your output.

To confirm this:
Code:
cat /usr/portage/kde-base/kdelibs-4.95


Read the Use Flags in this package. udisks2 doesn't exist.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 1:07 am    Post subject: Reply with quote

cat /usr/portage/tree/kde-base/kdelibs/kdelibs-4.9.5.ebuild (since I've moved the location) gives (trimmed to just the beginning)
Code:
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdelibs/kdelibs-4.9.5.ebuild,v 1.7 2013/03/02 21:25:46 hwoarang Exp $

EAPI=4

CPPUNIT_REQUIRED="optional"
DECLARATIVE_REQUIRED="always"
OPENGL_REQUIRED="optional"
KDE_HANDBOOK="optional"
inherit kde4-base fdo-mime multilib toolchain-funcs flag-o-matic

# The "master" branch is out of date, so use KDE/4.9 per upstream's
# recommendation.
EGIT_BRANCH="KDE/4.9"

DESCRIPTION="KDE libraries needed by all KDE programs."
SRC_URI+=" http://dev.gentoo.org/~johu/distfiles/${PN}-4.8.95-udisks2.patch.xz"

KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
LICENSE="LGPL-2.1"
IUSE="3dnow acl alsa altivec +bzip2 debug doc fam jpeg2k kerberos lzma
mmx nls openexr +policykit semantic-desktop spell sse sse2 ssl +udev +udisks
udisks2 +upower upnp zeroconf"

REQUIRED_USE="
        udisks? ( udev )
        udisks2? ( udisks )
        upower? ( udev )
"

# needs the kate regression testsuite from svn
RESTRICT="test"

COMMONDEPEND="
        app-crypt/qca:2
        >=app-misc/strigi-0.7.7
        app-text/docbook-xml-dtd:4.2
        app-text/docbook-xsl-stylesheets
        >=dev-libs/libattica-0.1.90                                                                                                                                                 
        >=dev-libs/libdbusmenu-qt-0.3.2                                                                                                                                             
        dev-libs/libpcre[unicode]                                                                                                                                                   
        dev-libs/libxml2                                                                                                                                                             
        dev-libs/libxslt                                                                                                                                                             
        media-libs/fontconfig                                                                                                                                                       
        media-libs/freetype:2                                                                                                                                                       
        media-libs/giflib                                                                                                                                                           
        >=media-libs/libpng-1.4                                                                                                                                                     
        >=media-libs/phonon-4.4.3                                                                                                                                                   
        sys-libs/zlib                                                                                                                                                               
        virtual/jpeg                                                                                                                                                                 
        >=x11-misc/shared-mime-info-0.60                                                                                                                                             
        acl? ( virtual/acl )
        alsa? ( media-libs/alsa-lib )
        !aqua? (
                x11-libs/libICE
                x11-libs/libSM
                x11-libs/libX11
                x11-libs/libXau
                x11-libs/libXcursor
                x11-libs/libXdmcp
                x11-libs/libXext
                x11-libs/libXfixes
                x11-libs/libXft
                x11-libs/libXpm
                x11-libs/libXrender
                x11-libs/libXScrnSaver
                x11-libs/libXtst
                !kernel_SunOS? (
                        || (
                                sys-libs/libutempter
                                >=sys-freebsd/freebsd-lib-9.0
                        )
                )
        )
        bzip2? ( app-arch/bzip2 )
        fam? ( virtual/fam )
        jpeg2k? ( media-libs/jasper )
        kerberos? ( virtual/krb5 )
        openexr? (
                media-libs/openexr
                media-libs/ilmbase
        )
        policykit? ( >=sys-auth/polkit-qt-0.103.0 )
        semantic-desktop? (
                >=dev-libs/shared-desktop-ontologies-0.10.0
                >=dev-libs/soprano-2.8.0[dbus,raptor,redland]
        )
        spell? ( app-text/enchant )
        ssl? ( dev-libs/openssl )
        udev? ( virtual/udev )
        upnp? ( media-libs/herqq )
        zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
"
DEPEND="${COMMONDEPEND}
        doc? ( app-doc/doxygen )
        nls? ( virtual/libintl )
"
RDEPEND="${COMMONDEPEND}
        !dev-qt/qtphonon
        >=app-crypt/gnupg-2.0.11
        app-misc/ca-certificates
        $(add_kdebase_dep kde-env)
        sys-apps/dbus[X]
        !aqua? (
                x11-apps/iceauth
                x11-apps/rgb
                >=x11-misc/xdg-utils-1.0.2-r3
                udisks? (
                        udisks2? ( sys-fs/udisks:2 )
                        !udisks2? ( sys-fs/udisks:0 )
                )
                upower? ( sys-power/upower )
        )
        udev? ( app-misc/media-player-info )
"
and I see several references to usidks2. Have I completely misread their presence?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21490

PostPosted: Tue Mar 05, 2013 2:41 am    Post subject: Reply with quote

As I read that emerge -pv output, the USE flag udisks2 is specifically locked out for you. What is the output of emerge --info?
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Tue Mar 05, 2013 3:09 am    Post subject: Reply with quote

Quote:
IUSE="... +udisks udisks2 ..."


udisks is default ON, but the ebuild requires both udisks and udisks2 enabled to use udisks2.

So, is udisks2 use flag masked on your system?
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 2:15 pm    Post subject: Reply with quote

As you can see from my first post, I have specifically added udisks2 to my portage.use file. I have not masked it, nor do I see it in the portage package.mask file. That's really my question - the ebuild refers to it, I've added it to package.use, but emerge is not picking it up. Is it masked somewhere I'm not looking, do I have some configuration problem, or is there a bug in emerge?
Code:
$emerge --info
Portage 2.1.11.52 (default/linux/amd64/13.0, gcc-4.6.3, glibc-2.15-r3, 3.6.11-gentoo-02 x86_64)
=================================================================
System uname: Linux-3.6.11-gentoo-02-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4000+-with-gentoo-2.1
KiB Mem:     4887292 total,    713280 free
KiB Swap:    4048368 total,   4048368 free
Timestamp of tree: Tue, 05 Mar 2013 13:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p37
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.6 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories:

gentoo
    location: /usr/portage/tree
    sync: rsync://rsync.namerica.gentoo.org/gentoo-portage
    priority: -1000

sunrise
    location: /var/lib/layman/sunrise
    masters: gentoo
    priority: 0

local
    location: /usr/local/portage
    masters: gentoo
    priority: 1

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
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"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol"
ANDROID_SWT="/usr/share/swt-3.7/lib"
ANT_HOME="/usr/share/ant"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode multilib"
CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump"
CAMERAS="kodak ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class"
COLORFGBG="0;15"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-RIKBY2KyTV,guid=5832af8307cc980a120688995133b907"
DEFAULT_ABI="amd64"
DISPLAY=":0"
DISTDIR="/usr/portage/tree/distfiles"
EDITOR="emacs"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch webrsync-gpg"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS="-O2 -pipe"
FLTK_DOCDIR="/usr/share/doc/fltk-1.3.0-r1/html"
GCC_SPECS=""
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/       http://www.gtlib.gatech.edu/pub/gentoo  ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
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 ubx"
GRUB_PLATFORMS=""
GSETTINGS_BACKEND="dconf"
GS_LIB="/home/jack/.fonts"
GTK2_RC_FILES="/etc/gtk-2.0/gtkrc:/home/jack/.gtkrc-2.0:/home/jack/.kde4/share/config/gtkrc-2.0"
GTK_RC_FILES="/etc/gtk/gtkrc:/home/jack/.gtkrc:/home/jack/.kde4/share/config/gtkrc"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/home/jack"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22/info:/usr/share/info/emacs-24"
INPUT_DEVICES="evdev"
IUSE_IMPLICIT="prefix"
JAVAC="/home/jack/.gentoo/java-config-2/current-user-vm/bin/javac"
JAVA_HOME="/home/jack/.gentoo/java-config-2/current-user-vm"
JDK_HOME="/home/jack/.gentoo/java-config-2/current-user-vm"
KDE_FULL_SESSION="true"
KDE_MULTIHEAD="false"
KDE_SESSION_UID="501"
KDE_SESSION_VERSION="4"
KERNEL="linux"
KONSOLE_DBUS_SERVICE=":1.260"
KONSOLE_DBUS_SESSION="/Sessions/2"
KONSOLE_DBUS_WINDOW="/Windows/1"
KONSOLE_PROFILE_NAME="Shell"
LANG="en_US.UTF-8"
LANGUAGE=""
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL=""
LC_COLLATE="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer"
LINGUAS="en"
LOGNAME="jack"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/jack"
MAKEOPTS="-j3"
MANPATH="/home/jack/.gentoo/java-config-2/current-user-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.6.3/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.22/man:/etc/java-config-2/current-system-vm/man/:/usr/lib64/php5.3/man/:/usr/lib64/php5.4/man/:/usr/share/postgresql/man/:/usr/share/postgresql-9.2/man/"
MULTILIB_ABIS="amd64 x86"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
MULTIOSDIRS="../lib64:../lib32"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
NOCOLOR="true"
OPENCL_PROFILE="nvidia"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3:/opt/android-sdk-update-manager/tools:/opt/android-sdk-update-manager/platform-tools:/usr/games/bin:/usr/local/bin:/usr/local/gnome2/bin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/gnome2/bin:/usr/sbin:/usr/local/sbin:/usr/X11R6/bin"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd ppc64-linux x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh x86-solaris sparc-fbsd"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary:log,warn,error,qa echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --digest-algo SHA256 --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_INTERNAL_CALLER="1"
PORTAGE_IONICE_COMMAND="ionice -c 3 -p ${PID}"
PORTAGE_NICENESS="19"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/usr/portage/tmpdir"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage/tree"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /usr/local/portage"
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so:/opt/bin/skype"
PROFILEHOME=""
PROFILE_ONLY_VARIABLES="ARCH ELIBC IUSE_IMPLICIT KERNEL USERLAND USE_EXPAND_IMPLICIT USE_EXPAND_UNPREFIXED USE_EXPAND_VALUES_ARCH USE_EXPAND_VALUES_ELIBC USE_EXPAND_VALUES_KERNEL USE_EXPAND_VALUES_USERLAND"
PWD="/usr/local/portage/kde-base"
PYTHONDONTWRITEBYTECODE="1"
PYTHONPATH="/usr/lib/portage/pym"
PYTHON_SINGLE_TARGET="python2_7"
PYTHON_TARGETS="python2_7 python3_2"
QT_GRAPHICSSYSTEM="raster"
QT_PLUGIN_PATH="/usr/lib64/kde4/plugins:/home/jack/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/:/usr/lib64/plugins/"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
RUBY_TARGETS="ruby18 ruby19"
SESSION_MANAGER="local/ffortso4:@/tmp/.ICE-unix/3211,unix/ffortso4:/tmp/.ICE-unix/3211"
SHELL="/bin/bash"
SHELL_SESSION_ID="3b3ee234b21040008d429acc841b6dcc"
SHLVL="4"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
TERM="xterm"
UNINSTALL_IGNORE="/lib/modules/*"
USE="X aac acl alsa amd64 at4 berkdb bluetooth bzip2 cairo cli consolekit cracklib crypt cxx dbus dri dvd emacs encode exif ffmpeg fftw firefox flac fontconfig foomaticdb fortran gcj gdbm gimp glut gphoto2 gpm gstreamer gtk iconv icu java joystick jpeg jpeg2k kde lm mad midi mmx modules mp3 mpeg_mplayer mudflap multilib ncurses nptl nsplugin nvidia ogg opengl openmp pam pcre pdf png policykit ppds qt3support qt4 quicktime readline scanner sdl sensors session spell sse sse2 ssl svg tcpd tiff timidity truetype udev unicode usb v4l vhosts vorbis xcomposite xml xulrunner xvmc 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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" CAMERAS="kodak 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nv vesa nvidia" 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"
USER="jack"
USERLAND="GNU"
USE_EXPAND="ABI_X86 ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS CURL_SSL DRACUT_MODULES DVB_CARDS ELIBC ENLIGHTENMENT_MODULES FCDSL_CARDS FFTOOLS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LIBREOFFICE_EXTENSIONS LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS OPENMPI_FABRICS OPENMPI_OFED_FEATURES OPENMPI_RM PHP_TARGETS PYTHON_SINGLE_TARGET PYTHON_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS VOICEMAIL_STORAGE XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL USERLAND"
USE_EXPAND_UNPREFIXED="ARCH"
USE_EXPAND_VALUES_ARCH="alpha amd64 amd64-fbsd amd64-linux arm arm-linux hppa hppa-hpux ia64 ia64-hpux ia64-linux m68k m68k-mint mips ppc ppc64 ppc64-linux ppc-aix ppc-macos ppc-openbsd s390 sh sparc sparc64-freebsd sparc64-solaris sparc-fbsd sparc-solaris x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"
USE_EXPAND_VALUES_ELIBC="AIX Cygwin Darwin FreeBSD glibc HPUX Interix mintlib NetBSD OpenBSD SunOS uclibc Winnt"
USE_EXPAND_VALUES_KERNEL="AIX Cygwin Darwin FreeBSD freemint HPUX Interix linux NetBSD OpenBSD SunOS Winnt"
USE_EXPAND_VALUES_USERLAND="BSD GNU"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VBOX_APP_HOME="/usr/lib64/virtualbox"
VIDEO_CARDS="nv vesa nvidia"
WINDOWID="29360155"
WINDOWPATH="7"
XAUTHORITY="/home/jack/.Xauthority"
XCURSOR_THEME="Oxygen_Blue"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
XDG_MENU_PREFIX="gnome-"
XDG_SESSION_COOKIE="1dc1d0bb41437f6b6df89fc800000020-1362344189.722716-547847281"
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"
_="/usr/bin/emerge"
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Tue Mar 05, 2013 3:17 pm    Post subject: Reply with quote

In emerge -vp output...
Quote:
Parentheses () around a USE flag indicate that it is currently masked by your profile. This is usually because the USE flag can not be supported on the given platform...


So, it is masked...
/usr/portage/profiles/base/package.use.mask:
# Johannes Huber <johu@gentoo.org> (23 Mar 2012)
# Broken dep upnp, see bug #389833.
# Experimental udisks2 patch, see bug #424157
kde-base/kdelibs upnp udisks2


You will have to unmask it to use it. But it needs to be done in a negative way to unmask it
/etc/portage/profile/package.mask:

# unmask udisks2 use flag
-kde-base/kdelibs udisks2

_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 6:20 pm    Post subject: Reply with quote

dol-sen - thanks for that. I had not looked in the profile for the mask. I'll try your syntax for unmasking and post back after I try emerging again.
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 7:08 pm    Post subject: Reply with quote

Well that was convoluted. The actual fix needed to be in file /etc/portage/profile/package.use.mask as
Code:
kde-base/kdelibs -udisks2
The emerge is still running.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 7:29 pm    Post subject: Reply with quote

genterminl wrote:
Well that was convoluted. The actual fix needed to be in file /etc/portage/profile/package.use.mask as
Code:
kde-base/kdelibs -udisks2
The emerge is still running.


I know it seems backwards but you are subtracting the flag udisks2 from the global package.mask file. Since it was set there as +udisks2, you must use a minus. The plus is understood, kinda like a positive number.
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 7:54 pm    Post subject: Reply with quote

Actually it wasn't the minus sign that got me - it was using package.use.mask instead of package.mask, and having to put it in a profile directory instead of just being able to put it in /etc/portage/package.use, or even /etc/portage.package.use.mask or package.use.unmask.

Emerges still going.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 8:07 pm    Post subject: Reply with quote

The reasoning behind this is:
1. A user Mask ovverrides a global masks
2. Masks can be positive or negative.

The reason package.use.mask is used is because your mask overrides the default mask, even though your mask is actually unmasking... You should be more confused now 8O lol
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 8:12 pm    Post subject: Reply with quote

And here, we're masking use flags, not packages - clear as mud... :roll:

Emerge completed successfully. Dolphin does have a delay in starting up, which I kind of expected based on the bug I referenced in my first post, so I consider this solved, and I'll update the subject accordingly.

Thanks for all the help.

edit: :( I can edit the subject of the first post - but not add [solved] since I can't make it any longer than it is. Is this a bug in the forum software?
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 8:20 pm    Post subject: Reply with quote

I'm having this post worked on by a site admin... I'm sure he can update the title... It looks stretched way right in chrome...
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 9:15 pm    Post subject: Reply with quote

Thanks. It looks like Chrome (I have Chromium) doesn't wrap the long lines in the [code] section with my emerge --info, as well as having all the [code] and [quote] boxes indented much farther than they appear in Firefox.
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 10:21 pm    Post subject: Reply with quote

genterminl wrote:
Thanks. It looks like Chrome (I have Chromium) doesn't wrap the long lines in the code section with my emerge --info, as well as having all the code and quote boxes indented much farther than they appear in Firefox.


The current Site Admin is emerging Chrome as we Speak. He suggested, we edit our posts, so I'm going to ask you to remove every Linebreak in your 'code' tags, and let's see what happens...
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
Back to top
View user's profile Send private message
genterminl
Guru
Guru


Joined: 12 Feb 2005
Posts: 523
Location: Connecticut, USA

PostPosted: Tue Mar 05, 2013 10:42 pm    Post subject: Reply with quote

All my [code] block contents were copy/pasted from terminal output without manual editing, so all linebreaks really do separate distinct lines of output. Besides - it looks like the problem is long lines, not extra linebreak's - unless I misunderstand what you are asking me to do. Would this be easier to discuss by IM or IRC?
Back to top
View user's profile Send private message
eyoung100
Veteran
Veteran


Joined: 23 Jan 2004
Posts: 1428

PostPosted: Tue Mar 05, 2013 11:42 pm    Post subject: Reply with quote

See:
Chrome Formatting
_________________
The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper
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
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