Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Gentoo: Dev

Proposal: disable python and perl USE flags in profile

 

 

Gentoo dev RSS feed   Index | Next | Previous | View Threaded


reavertm at poczta

Dec 8, 2008, 2:34 AM

Post #1 of 8 (548 views)
Permalink
Proposal: disable python and perl USE flags in profile

Following advise from https://bugs.gentoo.org/show_bug.cgi?id=250179, I'm
bringing it here.

--
regards
MM

----------------------------------------------------------------------
Wygraj telefon komorkowy!
Sprawdz >> http://link.interia.pl/f1fc0


cla at gentoo

Dec 8, 2008, 3:52 PM

Post #2 of 8 (509 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

On Monday 08 of December 2008 11:34:21 Maciej Mrozowski wrote:
> Following advise from https://bugs.gentoo.org/show_bug.cgi?id=250179, I'm
> bringing it here.

Hm, i totally don't agree with the original comment from the bug. Many people
get use of those two flags without even noticing it. There is bunch of good
soft, that take advantages of perl modules or python bindings/wrappers. For
servers it may be nagios-plugins with bunch of perl scripts for hosts
monitoring or at least nice DBD::mysql.

So, maybe it's better to disable such flags on your system if you don't like
them - that's why you are using Gentoo, aren't you?

--
Cheers,
Dawid Węgliński


jmbsvicetto at gentoo

Dec 8, 2008, 4:56 PM

Post #3 of 8 (508 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dawid Węgliński wrote:
> On Monday 08 of December 2008 11:34:21 Maciej Mrozowski wrote:
>> Following advise from https://bugs.gentoo.org/show_bug.cgi?id=250179, I'm
>> bringing it here.
>
> Hm, i totally don't agree with the original comment from the bug. Many people
> get use of those two flags without even noticing it. There is bunch of good
> soft, that take advantages of perl modules or python bindings/wrappers. For
> servers it may be nagios-plugins with bunch of perl scripts for hosts
> monitoring or at least nice DBD::mysql.
>
> So, maybe it's better to disable such flags on your system if you don't like
> them - that's why you are using Gentoo, aren't you?

David,

in the cases you mention, there's also the option to enable those use
flags through IUSE defaults or if we're talking exclusively about server
packages, thorough the server profiles.
As explained in the bug, at least the python use flag means very heavy
and *problematic* deps for KDE. As the current USE_ORDER prevents "-use"
flags from working on ebuilds, any flag set by the profile requires
users to "manually" disable it in /etc/portage/package.use[/*].

- --
Regards,

Jorge Vicetto (jmbsvicetto) - jmbsvicetto at gentoo dot org
Gentoo- forums / Userrel / Devrel / SPARC / KDE
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk9wiUACgkQcAWygvVEyAIfhACcCh6yMzzeSUah06AlRJ94iqnz
+DUAn1j5hCIgig0EQQUF2Oa8zWJjnQbW
=c+oh
-----END PGP SIGNATURE-----


betelgeuse at gentoo

Dec 8, 2008, 6:09 PM

Post #4 of 8 (519 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

Maciej Mrozowski wrote:
> Following advise from https://bugs.gentoo.org/show_bug.cgi?id=250179, I'm
> bringing it here.
>

I think this is probably a good idea after EAPI 2 is stable and we
eliminate built_with_use usage from the tree. I think having stuff build
out of the box instead of dying in the middle of emerge outweighs
pulling in some extra stuff with default settings.

Regards,
Petteri
Attachments: signature.asc (0.25 KB)


kalos at gentoo

Dec 8, 2008, 8:42 PM

Post #5 of 8 (508 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

If one has built a system with the default python and perl USE flags,
what steps would be necessary to remove all packages and dependencies
after removing them from the USE declarations?

Jorge Manuel B. S. Vicetto wrote:
> Dawid WgliDski wrote:
> > On Monday 08 of December 2008 11:34:21 Maciej Mrozowski wrote:
> >> Following advise from
> https://bugs.gentoo.org/show_bug.cgi?id=250179, I'm
> >> bringing it here.
> > Hm, i totally don't agree with the original comment from the bug.
> Many people
> > get use of those two flags without even noticing it. There is bunch
> of good
> > soft, that take advantages of perl modules or python
> bindings/wrappers. For
> > servers it may be nagios-plugins with bunch of perl scripts for hosts
> > monitoring or at least nice DBD::mysql.
>
> > So, maybe it's better to disable such flags on your system if you
> don't like
> > them - that's why you are using Gentoo, aren't you?
>
> David,
>
> in the cases you mention, there's also the option to enable those use
> flags through IUSE defaults or if we're talking exclusively about server
> packages, thorough the server profiles.
> As explained in the bug, at least the python use flag means very heavy
> and *problematic* deps for KDE. As the current USE_ORDER prevents "-use"
> flags from working on ebuilds, any flag set by the profile requires
> users to "manually" disable it in /etc/portage/package.use[/*].
>


nightmorph at gentoo

Dec 8, 2008, 9:06 PM

Post #6 of 8 (516 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

Nathan Zachary wrote:
> If one has built a system with the default python and perl USE flags,
> what steps would be necessary to remove all packages and dependencies
> after removing them from the USE declarations?

After kicking 'em out of make.conf, run emerge -pvtuDN world (the N is
important; it tells emerge to look for USE flag changes). Once you've
rebuilt your packages, then you can run emerge -p --depclean.
Attachments: signature.asc (0.19 KB)


kalos at gentoo

Dec 8, 2008, 9:09 PM

Post #7 of 8 (518 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

Hmmmm, that's what I assumed, but I run into problems with the depclean:

Dependencies could not be completely resolved due to
the following required packages not being installed:

>=virtual/perl-Compress-Zlib-1.14 required by dev-perl/Archive-Zip-1.23
>=virtual/perl-ExtUtils-ParseXS-1.02 required by
perl-core/Module-Build-0.28.08
>=virtual/perl-ExtUtils-CBuilder-0.15 required by
perl-core/Module-Build-0.28.08
>=virtual/perl-Archive-Tar-1.09 required by perl-core/Module-Build-0.28.08

Have you forgotten to run `emerge --update --newuse --deep world` prior to
depclean? It may be necessary to manually uninstall packages that no longer
exist in the portage tree since it may not be possible to satisfy their
dependencies. Also, be aware of the --with-bdeps option that is documented
in `man emerge`.

Thanks for the information Josh.

Josh Saddler wrote:
> Nathan Zachary wrote:
>
>> If one has built a system with the default python and perl USE flags,
>> what steps would be necessary to remove all packages and dependencies
>> after removing them from the USE declarations?
>>
>
> After kicking 'em out of make.conf, run emerge -pvtuDN world (the N is
> important; it tells emerge to look for USE flag changes). Once you've
> rebuilt your packages, then you can run emerge -p --depclean.
>
>
>


dang at gentoo

Dec 9, 2008, 6:26 AM

Post #8 of 8 (506 views)
Permalink
Re: Proposal: disable python and perl USE flags in profile [In reply to]

On Tue, 2008-12-09 at 04:09 +0200, Petteri Räty wrote:
> Maciej Mrozowski wrote:
> > Following advise from https://bugs.gentoo.org/show_bug.cgi?id=250179, I'm
> > bringing it here.
> >
>
> I think this is probably a good idea after EAPI 2 is stable and we
> eliminate built_with_use usage from the tree. I think having stuff build
> out of the box instead of dying in the middle of emerge outweighs
> pulling in some extra stuff with default settings.
>
> Regards,
> Petteri
>

+1

Daniel

Gentoo dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.