public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user]  flags on a minimalist server
@ 2009-09-09 18:56 James
  2009-09-09 19:16 ` Crístian Viana
  0 siblings, 1 reply; 9+ messages in thread
From: James @ 2009-09-09 18:56 UTC (permalink / raw
  To: gentoo-user

Hello,


I'm building a firewall on an old p3. It has Compact
flash to ide, limited to 4 Gb so size is paramount.

It's mostly ready. However upon a routine update, I get this
error:

 Multiple package instances within a single package slot have been pulled
 into the dependency graph, resulting in a slot conflict:

dev-lang/python:2.6

  ('ebuild', '/', 'dev-lang/python-2.6.2-r1', 'merge') pulled in 
by    >=dev-lang/python-2.5 required by ('installed', '/',
'sys-apps/portage-2.1.6.13', 'nomerge')
    dev-lang/python required by ('installed', '/', 'sys-apps/file-4.23', 'nomerge')
    <dev-lang/python-3.0 required by ('installed', '/',
'sys-apps/portage-2.1.6.13', 'nomerge')
    (and 1 more)

  ('installed', '/', 'dev-lang/python-2.6.2-r1', 'nomerge') pulled in by
    dev-lang/python[xml] required by ('installed', '/',
'app-portage/gentoolkit-0.2.4.5', 'nomerge')
    (and 4 more)

  Explanation:

    New USE for 'dev-lang/python:2.6' are incorrectly set. In order to
    solve this, adjust USE to satisfy 'dev-lang/python[xml]'.



OK fair enough, let's check python[xml] and see what's up...

 dev-lang/python-2.6.2-r1  USE="berkdb ncurses readline ssl
-build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst -xml*"
10,907 kB



I'm ok rebuilding python with no xml support (???) but, I wonder 
about the -threads flag. Is this wise?

also:
CHOST="i486-pc-linux-gnu"
CFLAGS="-Os -march=i586 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

USE="-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
python readline zlib bzip2 nptl nptlonly syslog"


Suggestions on rebuilding python without xml or threads flags are most welcome.


James






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] flags on a minimalist server
  2009-09-09 18:56 [gentoo-user] flags on a minimalist server James
@ 2009-09-09 19:16 ` Crístian Viana
  2009-09-09 20:22   ` [gentoo-user] " Nikos Chantziaras
  0 siblings, 1 reply; 9+ messages in thread
From: Crístian Viana @ 2009-09-09 19:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2448 bytes --]

hi James,

you have gentoolkit-0.2.4.5 and it needs python compiled with the "xml" USE
flag. it has to be that way, according to the ebuild. you can add "xml" do
the "USE" line on /etc/make.conf (if you want XML support to all ebuilds
that need it) or add a specific line on /etc/portage/packages.use (if you
want XML support only to python).

the syntax "python[xml]" means the ebuild "python" with the "xml" USE flag
active.

On Wed, Sep 9, 2009 at 3:56 PM, James <wireless@tampabay.rr.com> wrote:

> Hello,
>
>
> I'm building a firewall on an old p3. It has Compact
> flash to ide, limited to 4 Gb so size is paramount.
>
> It's mostly ready. However upon a routine update, I get this
> error:
>
>  Multiple package instances within a single package slot have been pulled
>  into the dependency graph, resulting in a slot conflict:
>
> dev-lang/python:2.6
>
>  ('ebuild', '/', 'dev-lang/python-2.6.2-r1', 'merge') pulled in
> by    >=dev-lang/python-2.5 required by ('installed', '/',
> 'sys-apps/portage-2.1.6.13', 'nomerge')
>    dev-lang/python required by ('installed', '/', 'sys-apps/file-4.23',
> 'nomerge')
>    <dev-lang/python-3.0 required by ('installed', '/',
> 'sys-apps/portage-2.1.6.13', 'nomerge')
>    (and 1 more)
>
>  ('installed', '/', 'dev-lang/python-2.6.2-r1', 'nomerge') pulled in by
>    dev-lang/python[xml] required by ('installed', '/',
> 'app-portage/gentoolkit-0.2.4.5', 'nomerge')
>    (and 4 more)
>
>  Explanation:
>
>    New USE for 'dev-lang/python:2.6' are incorrectly set. In order to
>    solve this, adjust USE to satisfy 'dev-lang/python[xml]'.
>
>
>
> OK fair enough, let's check python[xml] and see what's up...
>
>  dev-lang/python-2.6.2-r1  USE="berkdb ncurses readline ssl
> -build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst
> -xml*"
> 10,907 kB
>
>
>
> I'm ok rebuilding python with no xml support (???) but, I wonder
> about the -threads flag. Is this wise?
>
> also:
> CHOST="i486-pc-linux-gnu"
> CFLAGS="-Os -march=i586 -pipe -fomit-frame-pointer"
> CXXFLAGS="${CFLAGS}"
>
> USE="-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
> python readline zlib bzip2 nptl nptlonly syslog"
>
>
> Suggestions on rebuilding python without xml or threads flags are most
> welcome.
>
>
> James
>
>
>
>
>


-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil

[-- Attachment #2: Type: text/html, Size: 3280 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: flags on a minimalist server
  2009-09-09 19:16 ` Crístian Viana
@ 2009-09-09 20:22   ` Nikos Chantziaras
  2009-09-09 22:17     ` James
  2009-09-10 11:14     ` Crístian Viana
  0 siblings, 2 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2009-09-09 20:22 UTC (permalink / raw
  To: gentoo-user

On 09/09/2009 10:16 PM, Crístian Viana wrote:
> hi James,
>
> you have gentoolkit-0.2.4.5 and it needs python compiled with the "xml"
> USE flag. it has to be that way, according to the ebuild. you can add
> "xml" do the "USE" line on /etc/make.conf (if you want XML support to
> all ebuilds that need it)

Ebuils that need xml support don't have a USE flag for it.  Only those 
where it's optional.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: flags on a minimalist server
  2009-09-09 20:22   ` [gentoo-user] " Nikos Chantziaras
@ 2009-09-09 22:17     ` James
  2009-09-10 19:16       ` Nikos Chantziaras
  2009-09-10 11:14     ` Crístian Viana
  1 sibling, 1 reply; 9+ messages in thread
From: James @ 2009-09-09 22:17 UTC (permalink / raw
  To: gentoo-user

Nikos Chantziaras <realnc <at> arcor.de> writes:


> Ebuils that need xml support don't have a USE flag for it.  Only those 
> where it's optional.


Hello Nikos,

What about the -threads flag. Can I live without it?

caveat for a minimal firewall?


James






^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: flags on a minimalist server
  2009-09-09 20:22   ` [gentoo-user] " Nikos Chantziaras
  2009-09-09 22:17     ` James
@ 2009-09-10 11:14     ` Crístian Viana
  2009-09-10 14:41       ` James
  1 sibling, 1 reply; 9+ messages in thread
From: Crístian Viana @ 2009-09-10 11:14 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On Wed, Sep 9, 2009 at 5:22 PM, Nikos Chantziaras <realnc@arcor.de> wrote:

>  Ebuils that need xml support don't have a USE flag for it.  Only those
> where it's optional.
>

python has optional XML support, but gentoolkit needs that feature.

-- 
Crístian Deives dos Santos Viana [aka CD1]
Sent from Campinas, SP, Brazil

[-- Attachment #2: Type: text/html, Size: 630 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: flags on a minimalist server
  2009-09-10 11:14     ` Crístian Viana
@ 2009-09-10 14:41       ` James
  2009-09-10 17:36         ` Crístian Viana
  0 siblings, 1 reply; 9+ messages in thread
From: James @ 2009-09-10 14:41 UTC (permalink / raw
  To: gentoo-user

Crístian Viana <cristiandeives <at> gmail.com> writes:


> Ebuils that need xml support don't have a USE flag for it.  Only those where
it's optional.

> python has optional XML support, but gentoolkit needs that feature.-- 



OK I got the xml flag issue resolved, but what about the "threads" flag"?


From my original post:


USE="-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
python readline zlib bzip2 nptl nptlonly syslog"

so nptl and nptlonly flags are set. -* means most other flags are unset.


To rebuild python, it want the xml flag set for gentoolkit (got it).

But also it shows "-threads" flag as not set. 

dev-lang/python-2.6.2-r1  USE="berkdb ncurses readline ssl
-build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst -xml*"


Is this a good idea or bad idea to leave the "-threads" flag unset
in rebuilding python or any other package on this mostly iptables firewall?
(even though nptl and nptlonly are set) ????


Where can I read up on the flags in some detail?



James








^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [gentoo-user] Re: flags on a minimalist server
  2009-09-10 14:41       ` James
@ 2009-09-10 17:36         ` Crístian Viana
  2009-09-11  2:24           ` [gentoo-user] ReSolved: " James
  0 siblings, 1 reply; 9+ messages in thread
From: Crístian Viana @ 2009-09-10 17:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 2528 bytes --]

hi James,

Where can I read up on the flags in some detail?
>

you can read it online at:

http://www.gentoo.org/dyn/use-index.xml

this page lists the global USE flags and the local USE flags.

you can also read information about USE flags using the program "equery"
(which, by the way, is in the gentoolkit package :P):

$ equery u python

it lists the USE flags of that package with a description, and if you have
it enabled or not for that package.

if you want to go a bit further, you can read the ebuild file (
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/python-2.6.2-r1.ebuild?view=markup)
and see what it does when the USE flag "threads" is enabled. the python
ebuild only passes that information to the Python configure script
(--with-threads), so you should read in Python documentation why threads
support is so important (or not).

Is this a good idea or bad idea to leave the "-threads" flag unset
> in rebuilding python or any other package on this mostly iptables firewall?
>

according to the "Local USE flags" webpage:
python | threads: Enable threading support (DON'T DISABLE THIS UNLESS YOU
KNOW WHAT YOU'RE DOING)

it's better to keep it enabled =)

see you,

On Thu, Sep 10, 2009 at 11:41 AM, James <wireless@tampabay.rr.com> wrote:

> Crístian Viana <cristiandeives <at> gmail.com> writes:
>
>
> > Ebuils that need xml support don't have a USE flag for it.  Only those
> where
> it's optional.
>
> > python has optional XML support, but gentoolkit needs that feature.--
>
>
>
> OK I got the xml flag issue resolved, but what about the "threads" flag"?
>
>
> From my original post:
>
>
> USE="-* -nls mmx hardened  ncurses ssl crypt berkdb tcpd pam perl pcre \
> python readline zlib bzip2 nptl nptlonly syslog"
>
> so nptl and nptlonly flags are set. -* means most other flags are unset.
>
>
> To rebuild python, it want the xml flag set for gentoolkit (got it).
>
> But also it shows "-threads" flag as not set.
>
> dev-lang/python-2.6.2-r1  USE="berkdb ncurses readline ssl
> -build -doc -examples -gdbm* -ipv6* -sqlite -threads* -tk -ucs2 -wininst
> -xml*"
>
>
> Is this a good idea or bad idea to leave the "-threads" flag unset
> in rebuilding python or any other package on this mostly iptables firewall?
> (even though nptl and nptlonly are set) ????
>
>
> Where can I read up on the flags in some detail?
>
>
>
> James
>
>
>
>
>
>
>


-- 
Crístian Deives dos Santos Viana [aka CD1]

[-- Attachment #2: Type: text/html, Size: 3718 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  Re: flags on a minimalist server
  2009-09-09 22:17     ` James
@ 2009-09-10 19:16       ` Nikos Chantziaras
  0 siblings, 0 replies; 9+ messages in thread
From: Nikos Chantziaras @ 2009-09-10 19:16 UTC (permalink / raw
  To: gentoo-user

On 09/10/2009 01:17 AM, James wrote:
> Nikos Chantziaras<realnc<at>  arcor.de>  writes:
>
>
>> Ebuils that need xml support don't have a USE flag for it.  Only those
>> where it's optional.
>
>
> Hello Nikos,
>
> What about the -threads flag. Can I live without it?
>
> caveat for a minimal firewall?

The "threads" flag depends on the specific packages.  Some packages 
provide multithreading support (improves performance on 
multi-core/multi-CPU machines).  You need to check with each specific 
package on whether it considers threads as a good idea or not.  That 
pretty much means you should not set it in make.conf, but rather for 
each specific package.  As Crístian mentioned, for Python you should 
leave it as-is.  For other packages, you need to check first.  The docs 
or the package's homepage or its mailing list/forum might be a good 
starting point.




^ permalink raw reply	[flat|nested] 9+ messages in thread

* [gentoo-user]  ReSolved: flags on a minimalist server
  2009-09-10 17:36         ` Crístian Viana
@ 2009-09-11  2:24           ` James
  0 siblings, 0 replies; 9+ messages in thread
From: James @ 2009-09-11  2:24 UTC (permalink / raw
  To: gentoo-user

Crístian Viana <cristiandeives <at> gmail.com> writes:

Thanks for the links and info. I just added them to the 
USE flag setting in the make.conf file.....


thx,

James







^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-09-11  2:25 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-09 18:56 [gentoo-user] flags on a minimalist server James
2009-09-09 19:16 ` Crístian Viana
2009-09-09 20:22   ` [gentoo-user] " Nikos Chantziaras
2009-09-09 22:17     ` James
2009-09-10 19:16       ` Nikos Chantziaras
2009-09-10 11:14     ` Crístian Viana
2009-09-10 14:41       ` James
2009-09-10 17:36         ` Crístian Viana
2009-09-11  2:24           ` [gentoo-user] ReSolved: " James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox