Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Local.use not parsing
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
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 122

PostPosted: Tue Jan 27, 2015 6:45 pm    Post subject: Local.use not parsing Reply with quote

Hi howdy

My problem is the portage not set per package settings only use global flags.

use both configuration file at this moment

make.conf

package.use


because i not set global USE flag in make.conf, not compile packages, and cannot built via use package.use



Any idea?


Last edited by stephan-t on Tue Jan 27, 2015 8:11 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jan 27, 2015 7:34 pm    Post subject: Reply with quote

stephan-t,

Your package.use link contains make.conf and your make.conf link is broken
_________________
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
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 122

PostPosted: Tue Jan 27, 2015 8:11 pm    Post subject: Reply with quote

@NeddySeagoon

Oh thanks, it's fixed
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jan 27, 2015 9:14 pm    Post subject: Reply with quote

stephan-t,

Please post the output of
Code:
emerge --info
so we can see all of your USE settings from both your profile and make.conf
Also post a non working example of
Code:
emereg -pv <package>
where your USE flags do not appear to be applied correctly.

I don't see anything obvious.

Your USE settings come firstly from your profile. Your profile USE settings are modified by USE in make.cont and are further modified on a per package basis by package.use.

You do have some redundant settings. make.conf contains USE=X
Therfore, the X in
package.use:
x11-libs/cairo X xcb opengl
app-editors/vim vim-pager ruby perl python X
media-libs/imlib2 X gif jpeg mp3 png tiff
...
does nothing.
I suspect that X will be on in your profile too, so the setting in make.conf is redundant.
_________________
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
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 122

PostPosted: Wed Jan 28, 2015 2:38 pm    Post subject: Reply with quote

NeddySeagoon wrote:





Ohh I understand, example

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

Calculating dependencies... done!
[ebuild   R    ] sys-fs/eudev-1.10-r2  USE="gudev hwdb introspection keymap kmod modutils openrc -doc -rule-generator (-selinux) -static-libs {-test}" 0 KiB


but still work my settings.

Ohh i set multiple setting, but don't know how to work it. Can i use only per package method?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jan 28, 2015 5:43 pm    Post subject: Reply with quote

stephan-t,

You can but you won't like it ...

In make.conf set USE="-*"
This clears all the USE flag setting from everywhere. Now you are completely on your own with package.use.

I still cannot debug your example as I need your
Code:
emerge --info
output.
_________________
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
stephan-t
Tux's lil' helper
Tux's lil' helper


Joined: 12 May 2014
Posts: 122

PostPosted: Wed Jan 28, 2015 7:35 pm    Post subject: Reply with quote

NeddySeagoon wrote:
stephan-t,

You can but you won't like it ...

In make.conf set USE="-*"
This clears all the USE flag setting from everywhere. Now you are completely on your own with package.use.

I still cannot debug your example as I need your
Code:
emerge --info
output.


Okay here is
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Jan 28, 2015 7:48 pm    Post subject: Reply with quote

stephan-t,

Some of your USE flags are set by the Gentoo devs in your profile, which is default/linux/amd64/13.0/no-multilib
Together with make.conf this produces

Code:
USE="10bit 3dnow 3dnowext 3dnowprefetch X a52 aac acpi alac alsa alsa-plugin amd64 aspell bash-completion berkdb \
     bluray bzip2 cairo caps clang-3dfx cli color colordiff consolekit cracklib crypt curl curlwrappers cxx directfb dri dts dvd dvdr \
     ffmpeg fftw fifo firefox firmware flac fontconfig fortran gdbm gnutls gpg graphite gstreamer gudev guile iconv imagemagick \
     introspection jit leartype libass libmpdclient libsamplerate llvm lua lzma mad matroska minimal mmx mmx2 mmxext \
      modules mp4 mplayer ncurses nls nptl ogg openmp openrc openssl pam pcre perl polarssl python readline ruby session \
      sse sse2 sse3 sse4 sse4_1 sse4_2 sse4a ssl ssse3 tcpd theora threads truetype type1 unicode videos vim vim-syntax \
      vorbis webkit x264 x265 xfs xft zlib zsh-completion"


-- edit -- I clicked the wrong button

Those are your global USE flags. package.use is not included here.

Your example of
Code:
sys-fs/eudev-1.10-r2  USE="gudev hwdb introspection keymap kmod modutils openrc -doc -rule-generator (-selinux) -static-libs {-test}"
comes from the above global use and
Code:
sys-fs/eudev kmod hwdb keymap gudev -rule-generator instropection
is package use. Here's how, on a flag by flag basis.

gudev is on globally and in packages use, it stays on.
hwdb is only on in package.use. It stays on.
introspection is on in both places
keymap is only on in package.use. It stays on.
kmod is only on in package.use. It stays on.
modutils is not listed at all.
openrc is listed globally
-doc as the the doc flag does not appear.
-rule-generator as its not set globally and is -rule-generator is explictitly set in package.use.
(-selinux) is forced off in your profile.
-static-libs in off globally and not mentioned in package.use, so it stays off.
{-test} is forced off by your FEATURES.

The odd one is modutils.

Looking inside the sys-fs/eudev-1.10-r2.ebuild, we get
Code:
IUSE="doc gudev +hwdb +kmod introspection +keymap +modutils +openrc +rule-generator selinux static-libs test"

The +USE means that the package will force this flag on. As we have +modutils, that explains modutils above.

We also have +rule-generator, but its off in your example output, I don't understand that.
I would have expected rule-generator*
_________________
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
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