Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Olivier Crête
On Tue, 2012-05-15 at 01:05 -0400, Walter Dnes wrote: > I *DON'T WANT* "a serious framework", I want a lightweight device > manager... period... end of story. Stick with the unix principle of one > app doing one thing well. mdev is enough for the vast majority of people. For the people who don

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Walter Dnes
On Mon, May 14, 2012 at 06:23:36PM -0700, Greg KH wrote > So you need to implement stuff such that you are not dependant on the > bus type. If you see a new disk, act on it, it's that simple. > > But note, please do not be automounting disks from uevents directly. After some more Google-searc

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Walter Dnes
On Tue, May 15, 2012 at 04:56:15AM +0300, Maxim Kammerer wrote > I don't know at what state udev was 3 or 4 years ago, but mdev can: > > 1. Populate /dev (now unnecessary due to devtmpfs). > 2. Handle ownership, permissions and symlinks to /dev nodes once they > appear, according to simple rules

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread William Hubbs
On Mon, May 14, 2012 at 06:23:36PM -0700, Greg KH wrote: > Actually with all the hype about mdev these days, why not just use a 3 > year old version of udev (or maybe 4), that is probably what mdev is at > as far as functionality goes. Why not just fork udev from then and go > forward from that?

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Maxim Kammerer
On Tue, May 15, 2012 at 4:23 AM, Greg KH wrote: > We learned that this is not a good idea at all, and should be left to > userspace helper applications > that listen for dbus messages. Could you perhaps expand a bit on those reasons? E.g., I had good experience with the following short script fo

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Greg KH
On Mon, May 14, 2012 at 03:53:53AM -0400, Walter Dnes wrote: > After some Google-searching, I think I've figured out how to implement > automounting under mdev. I'd like to put in as much sanity-checking > into the script as possible. Right now I have 1 USB stick plugged in as > /dev/sdb. Th h

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Greg KH
On Mon, May 14, 2012 at 12:09:23PM -0400, Mike Frysinger wrote: > On Monday 14 May 2012 03:53:53 Walter Dnes wrote: > > My question... is this API stable or deprecated? I.e. can I count on > > it being around for a while? I figure this question is a developer type > > question rather than ordin

[gentoo-dev] Re: -Werror unwanted?

2012-05-14 Thread Nikos Chantziaras
On 14/05/12 23:42, Chí-Thanh Christopher Nguyễn wrote: I personally think that if an upstream says that no warnings must be produced by the code, and a developer should look at them before declaring any warnings safe, then that is best followed. Upstream does not need to take into account warni

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread James Cloos
> "OC" == Olivier Crête writes: OC> And I'm sure it works fine with udev? It automounts when plugged in, if that is what you mean. (In fact each partition does; the one in fstab(5) where it should and the one not in fstab in a mount point based on its label.) And the dev files get removed

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread James Cloos
>> My USB drive reports 0. WD> You're right. Same for me. Thanks for pointing it out. The removable flag specifies whether the drive has removable media; before flash drives only things like floppy, optical, zip, etc drives had removable==1. It also would be accurate for flash card readers.

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread James Cloos
> "AR" == Alexandre Rostovtsev writes: AR> www-servers/nginx:pcre-jit - Enable JIT for pcre This one also should remain un-unified. There may be other, unrelated jit options in the future, whether affecting nginx itself or potential PDEPENDs or ???. -JimC -- James Cloos OpenPGP:

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Alexandre Rostovtsev
On Mon, 2012-05-14 at 21:51 +0200, Dirkjan Ochtman wrote: > On Mon, May 14, 2012 at 8:05 PM, Alexandre Rostovtsev > wrote: > > media-sound/csound:luajit - Use the lua just-in-time compiler > > dev-lang/luajit instead of dev-lang/lua > > > > www-client/luakit:luajit - Use the lua just-in-time compi

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Nirbheek Chauhan
On Tue, May 15, 2012 at 1:52 AM, Maxim Kammerer wrote: > > On Mon, May 14, 2012 at 9:05 PM, Alexandre Rostovtsev > wrote: > > Current local flags that could probably be unified: > > What about USE=orc? It's JIT in a sense — IIRC, it creates an > executable in /tmp at run-time. > Doesn't make sen

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Chí-Thanh Christopher Nguyễn
Jeroen Roovers schrieb: >> -Werror is basically saying that it is not safe to ship code which >> produces warnings. > > An upstream demanding -Werror should work means upstream would need to > test rather a lot more than their own favourite > distro/architecture/library versions/kernel/userland, w

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Maxim Kammerer
On Mon, May 14, 2012 at 9:05 PM, Alexandre Rostovtsev wrote: > Current local flags that could probably be unified: What about USE=orc? It's JIT in a sense — IIRC, it creates an executable in /tmp at run-time. -- Maxim Kammerer Liberté Linux (discussion / support: http://dee.su/liberte-contribut

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Dirkjan Ochtman
On Mon, May 14, 2012 at 8:05 PM, Alexandre Rostovtsev wrote: > media-sound/csound:luajit - Use the lua just-in-time compiler > dev-lang/luajit instead of dev-lang/lua > > www-client/luakit:luajit - Use the lua just-in-time compiler > dev-lang/luajit instead of dev-lang/lua, which should make luaki

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Markos Chandras
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 05/14/2012 06:03 PM, hasufell wrote: > On 05/14/2012 06:13 PM, Alexandre Rostovtsev wrote: >> On Mon, 2012-05-14 at 17:44 +0200, hasufell wrote: >>> https://bugs.gentoo.org/show_bug.cgi?id=260867 >>> >>> However, I don't see references to ebuild

Re: [gentoo-dev] Packages maintained by trapni need a co-maintainer

2012-05-14 Thread Pacho Ramos
El dom, 06-05-2012 a las 18:38 +0200, Michael Weber escribió: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 05/06/2012 05:35 PM, Pacho Ramos wrote: > > Well, in tree versions are still buggy and outdated, I would vote > > for either: 1. Mask them for removal (server is already hardmas

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Pacho Ramos
El lun, 14-05-2012 a las 20:24 +0200, Jeroen Roovers escribió: > On Mon, 14 May 2012 18:01:22 +0200 > Chí-Thanh Christopher Nguyễn wrote: > > > -Werror is basically saying that it is not safe to ship code which > > produces warnings. > > An upstream demanding -Werror should work means upstream w

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Pacho Ramos
El lun, 14-05-2012 a las 20:09 +0200, Agostino Sarubbo escribió: > On Monday 14 May 2012 14:05:12 Alexandre Rostovtsev wrote: > > I propose adding the following global USE flag: > > > > jit - Enable just-in-time compilation for improved performance. May > > prevent use of some PaX memory protectio

Re: [gentoo-dev] Tightly-coupled core distro [was: Council meeting summary for 3 April 2012]

2012-05-14 Thread Luca Barbato
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/05/12 09:54, Olivier Crête wrote: > Hi, > > On Thu, 2012-05-10 at 06:34 +0200, Fabio Erculiani wrote: >> I think expressing my own opinion about Lennart-made software is my >> right, after all. > > I would express my opinion about Fabio made so

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Michał Górny
On Mon, 14 May 2012 17:44:17 +0200 hasufell wrote: > https://bugs.gentoo.org/show_bug.cgi?id=260867 > > However, I don't see references to ebuild policy (in devmanual or > howtos) how to handle Werror. > > Is there a common opinion on that. And shouldn't we add that to the > documentation then?

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Jeroen Roovers
On Mon, 14 May 2012 18:01:22 +0200 Chí-Thanh Christopher Nguyễn wrote: > -Werror is basically saying that it is not safe to ship code which > produces warnings. An upstream demanding -Werror should work means upstream would need to test rather a lot more than their own favourite distro/architect

Re: [gentoo-dev] intel (icc,mkl...) packages looking for new maintainer

2012-05-14 Thread Sébastien Fabbro
On Sun, May 13, 2012 at 9:14 AM, Jeroen Roovers wrote: > On Fri, 11 May 2012 16:19:33 -0700 > Sébastien Fabbro wrote: > >> dev-lang/icc >> dev-lang/ifc > >> they have up-to-date versions in the science overlay. > > Do these up-to-date ebuilds fix the Macrovision bug[1]? Do we even have > a proper

Re: [gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Agostino Sarubbo
On Monday 14 May 2012 14:05:12 Alexandre Rostovtsev wrote: > I propose adding the following global USE flag: > > jit - Enable just-in-time compilation for improved performance. May > prevent use of some PaX memory protection features in Gentoo Hardened. > > > Current local flags that could proba

[gentoo-dev] RFC: new global USE flag: jit

2012-05-14 Thread Alexandre Rostovtsev
I propose adding the following global USE flag: jit - Enable just-in-time compilation for improved performance. May prevent use of some PaX memory protection features in Gentoo Hardened. Current local flags that could probably be unified: app-arch/libzpaq:jit - Enable just-in-time compilation f

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Walter Dnes
On Mon, May 14, 2012 at 12:31:25PM -0400, James Cloos wrote > WD> cat /sys/block/sda/removable > WD> 0 > > Note that a 0 there does not imply that the device cannot hotplug. > > My USB drive reports 0. You're right. Same for me. Thanks for pointing it out. -- Walter Dnes

[gentoo-dev] Re: Adding PYTHON_TARGETS=python2_7 to base profile

2012-05-14 Thread Mike Gilbert
On 5/13/2012 4:27 PM, Mike Gilbert wrote: > To make ebuilds utilizing python-distutils-ng.eclass usable > "out-of-the-box", the python team would like to add the following to > make.defaults in the base profile. > > PYTHON_TARGETS="python2_7" > > See also bug 415575 [1]. > > Any objections? >

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Ciaran McCreesh
On Mon, 14 May 2012 12:56:39 -0400 Olivier Crête wrote: > On Mon, 2012-05-14 at 12:31 -0400, James Cloos wrote: > > WD> cat /sys/block/sda/removable > > WD> 0 > > > > Note that a 0 there does not imply that the device cannot hotplug. > > > > My USB drive reports 0. > > And I'm sure it works fin

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread hasufell
On 05/14/2012 06:13 PM, Alexandre Rostovtsev wrote: > On Mon, 2012-05-14 at 17:44 +0200, hasufell wrote: >> https://bugs.gentoo.org/show_bug.cgi?id=260867 >> >> However, I don't see references to ebuild policy (in devmanual or >> howtos) how to handle Werror. >> >> Is there a common opinion on that

Re: [gentoo-dev] Adding PYTHON_TARGETS=python2_7 to base profile

2012-05-14 Thread Mike Gilbert
On 5/14/2012 11:17 AM, Pacho Ramos wrote: > Would be too difficult to finally fix ebuilds to properly convet > shebangs and so and then, be able to have a proper system even when > python3 is main interpreter? Yeah, python_convert_shebangs is an easy fix for most cases. > Personally, I run with i

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Olivier Crête
On Mon, 2012-05-14 at 12:31 -0400, James Cloos wrote: > WD> cat /sys/block/sda/removable > WD> 0 > > Note that a 0 there does not imply that the device cannot hotplug. > > My USB drive reports 0. And I'm sure it works fine with udev? "Those who do not understand udev are condemned to reinvent i

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread James Cloos
WD> cat /sys/block/sda/removable WD> 0 Note that a 0 there does not imply that the device cannot hotplug. My USB drive reports 0. -JimC -- James Cloos OpenPGP: 1024D/ED7DAEA6

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Alexandre Rostovtsev
On Mon, 2012-05-14 at 17:44 +0200, hasufell wrote: > https://bugs.gentoo.org/show_bug.cgi?id=260867 > > However, I don't see references to ebuild policy (in devmanual or > howtos) how to handle Werror. > > Is there a common opinion on that. And shouldn't we add that to the > documentation then?

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 11:44:17 hasufell wrote: > https://bugs.gentoo.org/show_bug.cgi?id=260867 > > However, I don't see references to ebuild policy (in devmanual or > howtos) how to handle Werror. > > Is there a common opinion on that. And shouldn't we add that to the > documentation then? the

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Mike Frysinger
On Monday 14 May 2012 03:53:53 Walter Dnes wrote: > My question... is this API stable or deprecated? I.e. can I count on > it being around for a while? I figure this question is a developer type > question rather than ordinary user type. if userspace is relying on stuff in /sys, then it's part

Re: [gentoo-dev] -Werror unwanted?

2012-05-14 Thread Chí-Thanh Christopher Nguyễn
hasufell schrieb: > https://bugs.gentoo.org/show_bug.cgi?id=260867 > > However, I don't see references to ebuild policy (in devmanual or > howtos) how to handle Werror. > > Is there a common opinion on that. And shouldn't we add that to the > documentation then? > -Werror is basically saying that

[gentoo-dev] -Werror unwanted?

2012-05-14 Thread hasufell
https://bugs.gentoo.org/show_bug.cgi?id=260867 However, I don't see references to ebuild policy (in devmanual or howtos) how to handle Werror. Is there a common opinion on that. And shouldn't we add that to the documentation then?

Re: [gentoo-dev] Adding PYTHON_TARGETS=python2_7 to base profile

2012-05-14 Thread Pacho Ramos
El lun, 14-05-2012 a las 11:09 -0400, Mike Gilbert escribió: > On 5/14/2012 12:50 AM, Ben de Groot wrote: > > On 14 May 2012 04:27, Mike Gilbert wrote: > >> To make ebuilds utilizing python-distutils-ng.eclass usable > >> "out-of-the-box", the python team would like to add the following to > >> ma

Re: [gentoo-dev] Adding PYTHON_TARGETS=python2_7 to base profile

2012-05-14 Thread Mike Gilbert
On 5/14/2012 12:50 AM, Ben de Groot wrote: > On 14 May 2012 04:27, Mike Gilbert wrote: >> To make ebuilds utilizing python-distutils-ng.eclass usable >> "out-of-the-box", the python team would like to add the following to >> make.defaults in the base profile. >> >> PYTHON_TARGETS="python2_7" >> >>

Re: [gentoo-dev] Re: Proposal of accepting arguments to `default` in src_install (and more?) phases in EAPI=5 (for the next council meeting?)

2012-05-14 Thread Arfrever Frehtes Taifersar Arahesis
2012-05-14 06:58:30 Duncan napisał(a): > Ulrich Mueller posted on Sat, 12 May 2012 20:39:05 +0200 as excerpted: > > > On Sat, 12 May 2012, Michał Górny wrote: > > > >> EXTRA_EMAKE isn't supposed to be mentioned there. It's an internal use > >> variable for users who need to pass something specifi

Re: [gentoo-dev] Stability of /sys api

2012-05-14 Thread Brian Harring
On Mon, May 14, 2012 at 03:53:53AM -0400, Walter Dnes wrote: > After some Google-searching, I think I've figured out how to implement > automounting under mdev. I'd like to put in as much sanity-checking > into the script as possible. Right now I have 1 USB stick plugged in as > /dev/sdb. Th h

[gentoo-dev] Stability of /sys api

2012-05-14 Thread Walter Dnes
After some Google-searching, I think I've figured out how to implement automounting under mdev. I'd like to put in as much sanity-checking into the script as possible. Right now I have 1 USB stick plugged in as /dev/sdb. Th hard drive is /dev/sda. The "removable" data is readable like so...