Re: [gentoo-dev] Default useflag cleanups: -apm -foomaticdb -fortran -imlib -motif -oss -xmms

2006-06-07 Thread Mike Frysinger
On Tuesday 06 June 2006 02:13, Harald van Dijk wrote:
 On Tue, Jun 06, 2006 at 01:48:37AM -0400, Mike Frysinger wrote:
  you dont use alsa-driver with 2.6 kernels and the 2006.1 profiles are 2.6
  based

 You can use alsa-driver with 2.6 kernels.

ok, but imho that's enough of a use case to warrant oss by default
-mike


pgpOif22GaR0E.pgp
Description: PGP signature


Re: [gentoo-dev] eselect-compiler updates and unmasking

2006-06-07 Thread Mike Frysinger
On Tuesday 06 June 2006 18:39, Jeremy Huddleston wrote:
 Uhm, what is this all about?  If you have suggestions, make them, but
 don't come out of the gate in a huff talking about unsubstantiated
 breakage.  That's about the least constructive way to get heard.

i guess his point is, you're the only guy supporting eselect-compiler ... if 
you arent going to be around to support it, then dont unmask it
-mike


pgp1yPKlfYVxw.pgp
Description: PGP signature


[gentoo-dev] Problems with virtual/x11

2006-06-07 Thread @4u

Hi there

I haven't search the mailing list. Please forgive me if the discussion was 
already started earlier by someone else. 


After posting and closing the bug report:
http://bugs.gentoo.org/show_bug.cgi?id=135870
Jakub Moc noticed that the current =virtual/x11-7.0 ebuild misses its task 
and creates trouble.


For example: This ebuild behaves partly like a ordinary meta build and 
installs imake. You need imake (more correctly xmfmk) to install tightvnc.


Unfortunately you are not forced to install at least virtual/x11-7.0-r1. 
virtual/x11-7.0 causes trouble with tightvnc because of the missing 
xmfmk tool.


For that reason I want to request the deletion of virtual/x11-7.0 and 
that at least some dependencies of virtual/x11 are moved to 
=x11-base/xorg-x11-7.0 where these dependencies belong to IMHO. xorg-x11 is 
a meta ebuild. virtual/x11 shouldn't be a second meta ebuild for the 
Modular X.org because otherwise you would have two meta ebuilds that will 
maybe cause more trouble in the future.


Thanks and best regards
@4u
--
gentoo-dev@gentoo.org mailing list



[gentoo-dev] last call for xml2 (#116346)

2006-06-07 Thread Mike Frysinger
you guys have had plenty of time to do this ... so last call before i scrub 
xml2 from use.desc and repoman starts complaining :P
-mike


pgpSEcwSRXAda.pgp
Description: PGP signature


Re: [gentoo-dev] eselect-compiler updates and unmasking

2006-06-07 Thread Jeremy Huddleston

On Jun 7, 2006, at 02:47 , Mike Frysinger wrote:

On Tuesday 06 June 2006 18:39, Jeremy Huddleston wrote:

Uhm, what is this all about?  If you have suggestions, make them, but
don't come out of the gate in a huff talking about unsubstantiated
breakage.  That's about the least constructive way to get heard.


i guess his point is, you're the only guy supporting eselect- 
compiler ... if

you arent going to be around to support it, then dont unmask it
-mike


Yeah, I couldn't agree more.  That's part of the reason why I hadn't  
unmasked it until now.


--Jeremy

--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Jakub Moc
@4u wrote:
 After posting and closing the bug report:
 http://bugs.gentoo.org/show_bug.cgi?id=135870
 Jakub Moc noticed that the current =virtual/x11-7.0 ebuild misses its
 task and creates trouble.

Indeed. To re-iterate here, I'll basically re-paste what I've said on
the bug, so that people don't have to jump to bugs.g.o.:

=virtual/x11-7 is hiding breakage in ebuilds that are not ported for
modular X. The side effect is that dependencies like X? ( || ( foo bar
baz ) virtual/x11 ) fail once virtual/x11 gets emerged by one of those
broken ebuilds, because the dependency is already satisfied by
virtual/x11. If that virtual doesn't depend on either of foo bar baz,
then the dependency doesn't get emerged and a perfectly valid ebuild
without any missing dependencies fails.


 For example: This ebuild behaves partly like a ordinary meta build and
 installs imake. You need imake (more correctly xmfmk) to install tightvnc.

Yeah, as it is now, it's essentially a dumpspace for redundant
dependencies that are already stated in ebuilds fixed for modular X, but
that frequently don't get installed b/c of the problem described above.
We are mis-using a 'new style' virtual to produce yet another metabuild
that serves the only purpose - to hide borkage.

 For that reason I want to request the deletion of virtual/x11-7.0 and
 that at least some dependencies of virtual/x11 are moved to
 =x11-base/xorg-x11-7.0 where these dependencies belong to IMHO.
 xorg-x11 is a meta ebuild.

Each ebuild should state its own dependencies. x11-base/xorg-x11 is a
metabuild for users' convenience, which should produce a pretty
full-featured X server install, but nothing more. It's not a dumpspace
for whatever redundant dependencies either.

So - IMHO we should stop shoving the real breakage under the carpet, if
ebuilds are not ported for modular X, they are broken and should be
fixed. If noone cares to fix them enough for some time, they'll probably
need to be package.masked and subsequently removed from the tree. Until
then, they'll bomb out, because they are broken, that's a perfectly
expected behaviour...

What we are instead doing now, is hiding the breakage by misusing
virtual/x11-7 to emerge most frequently missing deps, which is bloating
more and more, as more and more not broken ebuilds are hit by the
redundant virtual. Not good, really. Some examples of needless borkage
include:

http://bugs.gentoo.org/show_bug.cgi?id=123071
http://bugs.gentoo.org/show_bug.cgi?id=127617
http://bugs.gentoo.org/show_bug.cgi?id=128163
http://bugs.gentoo.org/show_bug.cgi?id=128353
http://bugs.gentoo.org/show_bug.cgi?id=128354

(plus numerous duplicates).

While the above bugs are marked fixed, they won't be really fixed until
=virtual/x11-7 goes to /dev/null and stops causing more harm than good.

Sorry for a long post, but this problem really needs to be addressed.

-- 
Best regards,

 Jakub Moc
 mailto:[EMAIL PROTECTED]
 GPG signature:
 http://subkeys.pgp.net:11371/pks/lookup?op=getsearch=0xCEBA3D9E
 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95  B30F 8717 D5FD CEBA 3D9E

 ... still no signature   ;)



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] gcc-config added to info_pkgs

2006-06-07 Thread Mike Frysinger
so i dont have to chase down bugs caused by new eselect-compiler, ive added 
gcc-config to profiles/info_pkgs
-mike


pgptgwwef7F3Y.pgp
Description: PGP signature


Re: [gentoo-dev] gcc-config added to info_pkgs

2006-06-07 Thread Mike Frysinger
On Wednesday 07 June 2006 07:49, Henrik Brix Andersen wrote:
 On Wed, Jun 07, 2006 at 07:11:16AM -0400, Mike Frysinger wrote:
  so i dont have to chase down bugs caused by new eselect-compiler, ive
  added gcc-config to profiles/info_pkgs

 Did you mean you're going to add it? I don't see it there yet...

i'm slow and want to see if anyone complains :p
-mike


pgpoFMPBrW3Xq.pgp
Description: PGP signature


Re: [gentoo-dev] maybe im wrong here but nsswitch and udev

2006-06-07 Thread Jürgen Schinker
On Tue, June 6, 2006 20:45, Greg KH wrote:
 On Tue, Jun 06, 2006 at 11:05:00AM -0700, Robin H. Johnson wrote:

 The udev/nss_ldap thing has been brewing for a while, and we're still
 trying to get upstream udev to fix the issue.
 http://bugs.gentoo.org/show_bug.cgi?id=99564#c44


 In that comment I list the proper solution that upstream needs to
 undertake (make udev not lookup nss entries unless it is actually
 creating device nodes that need the entries), and some other
 workarounds.

 upstream agrees that this is the proper solution, yet no one has sent
 a patch to fix this yet.  Combine this with a lack of free time to work on
 things like this by upstream, and we have a stalled bug :)

thanks cheers

and i thought i was stupid or my box broke

Juergen

-- 
gentoo-dev@gentoo.org mailing list



[gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Brian Harring
Resurrecting this issue (yet another round) since FEATURES=debug-build 
was shoved in...

Background info-
http://thread.gmane.org/gmane.linux.gentoo.devel/35202/focus=35212

Quick summary, there needs to be an easy way to flag on essentially 
leave the symbols intact/don't mangle the code too much for this build; 
needs a few things-
1) flip on nostrip in the restrict.
2) adjust CX*FLAGS, LDFLAGS

For #1, use conditional support was added to portage somewhere around 
2.0.51_pre18; support is still there, so you can use 
RESTRICT=debug-build? ( nostrip ) now.

As for #2, we already have eclasses mangling flags, this is no 
different.

Two approaches to this-
1) FEATURES=debug-build.
pros: 
  1) doesn't require modifying anything in the tree.
cons: 
  1) no way to know if the feature will actually affect a pkg (won't 
   do jack to a pure python/perl/shell/ruby pkg, no point in even 
   trying)
  2) FEATURES are not controllable via any package.* file.
  3) pkgs that support debug builds, but are not affected by trying to
   set a default set of *FLAGS have to now go and check FEATURES to 
   discern if they should produce a debug build.
  4) no way to make the debug-build option associative to deps; simple 
   example, consider mysql python bindings.  Debug info there quite 
   likely isn't all that useful for a segfault- if the horkage occurs 
   in mysql, you just get the usual ?? backtrace, and wind up having 
   to take a second manual step of rebuilding mysql with debug 
   enabled.
  5) cannot control the setting per package.
2) USE=debug-build
pros:
  1) it's explicit.  if the package can generate a debug-build version 
   of itself, you see the debug-build flag in it's IUSE.
  2) appropriate designed eclass, ebuild can specify up front any 
   nonstandard *flags additions that should be made- for example, 
   ciaran's suggestion to mangle CXXFLAGS when dealing with STL so 
   that the result is useful.  Possible via FEATURES, but ebuild would 
   have to test features for it (something it should be mostly unaware 
   of, features are mainly pkg manager directives, not ebuild).
  3) via use deps, it's possible to address 1.4 from above- 
   python-mysql can just slip in a 
   debug-build? ( dev-db/mysql[debug-build] ), one less manual step
   required.
  4) use flags can be controlled per package via package.use; you can
   force $YOUR_PERSONAL_PROJECT to always be built with debug symbols 
   cleanly.
cons:
  1) requires modifying the tree, and introduction of eclass for it.
  2) existing USE=debug (namely nano) is used to enable runtime 
   changes, asserts, etc; would have two sets of flags, debug-build 
   and runtime changes (debug flag).

Now... not to hard to figure out from above which route I prefer, but 
that *should* be an accurate pro/con of the two routes for this.  

Note also that common pros/cons are exempted; fex, ability to specify 
via profile default debug *flags.

So... kindly state which you view as best.

Thoughts?
~harring


pgpDUQR0mmJHi.pgp
Description: PGP signature


Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Donnie Berkholz
Jakub Moc wrote:
 =virtual/x11-7 is hiding breakage in ebuilds that are not ported for
 modular X.

I couldn't agree more, but I was forced to add this rather than allow
unported ebuilds to break.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Arek (James Potts)

Donnie Berkholz wrote:

Jakub Moc wrote:
  

=virtual/x11-7 is hiding breakage in ebuilds that are not ported for
  

modular X.



I couldn't agree more, but I was forced to add this rather than allow
unported ebuilds to break.

Thanks,
Donnie

  
Hmmm...Looks to me like it would be a great idea to fix the unported 
ebuilds.  Would it be possible to mark virtual/x11-7 as deprecated 
(using enotice/ewarn or similar), in order to get people to port any 
build relying on it to modular X?


The way I see it, once virtual/x11-7 has been deprecated for a while (6 
months to a year) and most popular packages have been ported to modular 
X, virtual/x11-7 and any packages still relying on it could be given 
Last Rites.


--Arek

--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Jakub Moc
Arek (James Potts) wrote:
 Donnie Berkholz wrote:
 =virtual/x11-7 is hiding breakage in ebuilds that are not ported for
 modular X.

 I couldn't agree more, but I was forced to add this rather than allow
 unported ebuilds to break.

 Hmmm...Looks to me like it would be a great idea to fix the unported
 ebuilds.  Would it be possible to mark virtual/x11-7 as deprecated
 (using enotice/ewarn or similar), in order to get people to port any
 build relying on it to modular X?
 
 The way I see it, once virtual/x11-7 has been deprecated for a while (6
 months to a year) and most popular packages have been ported to modular
 X, virtual/x11-7 and any packages still relying on it could be given
 Last Rites.

Hmm, I don't think so... There's been a plenty of time to do this when
modular X has been package.masked, the remaining unported stuff didn't
get much further even after it's been unmasked. There's been a
(debatable) repoman check, which has been too annoying so devs nuked it
for themselves, now it's non-fatal warning again (which is mostly being
ignored).

S - I'd pretty much say until the real breakage is *visible* and
users start to scream - not much will change. Making it visible could
also help us differentiate between used and used stuff. If there's
something unported and you get no bug, then probably noone uses the
thing, nothing depends on it and it can be punted from the tree.

On a side note, this virtual also hides potential bugs in ebuilds that
already have been ported, you can miss dependencies there if you have
already them emerged b/c of the virtual.



-- 
Best regards,

 Jakub Moc
 mailto:[EMAIL PROTECTED]
 GPG signature:
 http://subkeys.pgp.net:11371/pks/lookup?op=getsearch=0xCEBA3D9E
 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95  B30F 8717 D5FD CEBA 3D9E

 ... still no signature   ;)



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] [Last Rites ipkg-utils]

2006-06-07 Thread Seemant Kulleen

Hi All,

Just to let you know: ipkg-utils' last rites have been postponed
indefinitely.  James Rowe and I will be maintaining it from here on in.

Thanks James!

Thanks all,

Seemant
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Grant Goodyear
Zac Medico wrote: [Wed Jun 07 2006, 01:30:38PM CDT]
 Mike Frysinger wrote:
  this is a *huge* con ... developers are lazy, *i'm* lazy ... i
  certainly do not want to go through every single package i maintain
  and add 'debug-build' to IUSE or 'inherit some-new-eclass'
 
 Sometimes it takes a little extra work to do things right, but
 hopefully it will pay off in the long run.  A poor design decision
 made now can haunt us for years to come.

A little extra work?  I'm pretty sure that such an eclass would be
required for better than half the tree (every package that contains some
C or C++).  If almost everybody has to add the same piece of
boilerplate to their ebuilds, then perhaps a sane package manager should
be able to figure out what to do without the boilerplate.  That
rationale seems especially true in this case, where nostrip and
debugging flags will do no harm for packages that aren't C or C++.

  if the large majority of packages are going to be taking advantage of a 
  feature, isnt the logical thing to opt everyone in rather than forcing the 
  majority to opt themselves in ?
 
 It really depends on the pros/cons applying something on a *global*
 scale, like you propose.  A package manager (such as portage) will
 never be able to make debug-build decisions that work well for *every*
 ebuild.  That's why it's better for ebuilds to make those decisions
 themselves (with the help of eclasses).

I would think that your argument would depend on the probability of a
package being an exception to the general rule.  How many packages
actually fail to do what is expected when compiled with -g and nostrip
(noting that those cases without binaries to strip don't count)?
Unless that percentage is significant, then I would think that a simple
solution that handles the common case is a very good thing.

Wouldn't the simple solution be to have package.* files that allow the
user to specify FEATURES, CFLAGS, and CXXFLAGS per package?  (Of course,
I do realize that it's the lack of such files that lead vapier to
propose his solution, which is rather more convenient for one-off
builds.)

-g2boojum-
-- 
Grant Goodyear  
Gentoo Developer
[EMAIL PROTECTED]
http://www.gentoo.org/~g2boojum
GPG Fingerprint: D706 9802 1663 DEF5 81B0  9573 A6DC 7152 E0F6 5B76


pgp5cgkviFCsQ.pgp
Description: PGP signature


Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Olivier Crete
On Wed, 2006-07-06 at 18:41 +0200, Jakub Moc wrote:
 Arek (James Potts) wrote:
  Donnie Berkholz wrote:
  =virtual/x11-7 is hiding breakage in ebuilds that are not ported for
  modular X.
 
  I couldn't agree more, but I was forced to add this rather than allow
  unported ebuilds to break.
 
  Hmmm...Looks to me like it would be a great idea to fix the unported
  ebuilds.  Would it be possible to mark virtual/x11-7 as deprecated
  (using enotice/ewarn or similar), in order to get people to port any
  build relying on it to modular X?
  
  The way I see it, once virtual/x11-7 has been deprecated for a while (6
  months to a year) and most popular packages have been ported to modular
  X, virtual/x11-7 and any packages still relying on it could be given
  Last Rites.
 
 Hmm, I don't think so... There's been a plenty of time to do this when
 modular X has been package.masked, the remaining unported stuff didn't
 get much further even after it's been unmasked. There's been a
 (debatable) repoman check, which has been too annoying so devs nuked it
 for themselves, now it's non-fatal warning again (which is mostly being
 ignored).
 
 S - I'd pretty much say until the real breakage is *visible* and
 users start to scream - not much will change. Making it visible could
 also help us differentiate between used and used stuff. If there's
 something unported and you get no bug, then probably noone uses the
 thing, nothing depends on it and it can be punted from the tree.

Is there a recent list of non-ported packages ? Maybe we should do a
last effort to port everything for a week or two and then package.mask
the packages that no one cares enough about to port them.

-- 
Olivier Crête
[EMAIL PROTECTED]
Gentoo Developer


-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Alec Warner

Grant Goodyear wrote:

Zac Medico wrote: [Wed Jun 07 2006, 01:30:38PM CDT]


Mike Frysinger wrote:


this is a *huge* con ... developers are lazy, *i'm* lazy ... i
certainly do not want to go through every single package i maintain
and add 'debug-build' to IUSE or 'inherit some-new-eclass'


Sometimes it takes a little extra work to do things right, but
hopefully it will pay off in the long run.  A poor design decision
made now can haunt us for years to come.



A little extra work?  I'm pretty sure that such an eclass would be
required for better than half the tree (every package that contains some
C or C++).  If almost everybody has to add the same piece of
boilerplate to their ebuilds, then perhaps a sane package manager should
be able to figure out what to do without the boilerplate.  That
rationale seems especially true in this case, where nostrip and
debugging flags will do no harm for packages that aren't C or C++.


I tend to agree here on pragmatic principal as opposed to bowing to 
this is the ideal case that some members of the portage team seem to 
want.  debug-build can always be expanded to turn on generic debugging 
for other build systems and languages.


I realize it's not the perfect solution.  But no one has implemented a 
better one.  People only wait so long for things before getting fed up 
and saying it's going in anyway.





if the large majority of packages are going to be taking advantage of a 
feature, isnt the logical thing to opt everyone in rather than forcing the 
majority to opt themselves in ?


It really depends on the pros/cons applying something on a *global*
scale, like you propose.  A package manager (such as portage) will
never be able to make debug-build decisions that work well for *every*
ebuild.  That's why it's better for ebuilds to make those decisions
themselves (with the help of eclasses).



I would think that your argument would depend on the probability of a
package being an exception to the general rule.  How many packages
actually fail to do what is expected when compiled with -g and nostrip
(noting that those cases without binaries to strip don't count)?
Unless that percentage is significant, then I would think that a simple
solution that handles the common case is a very good thing.

Wouldn't the simple solution be to have package.* files that allow the
user to specify FEATURES, CFLAGS, and CXXFLAGS per package?  (Of course,
I do realize that it's the lack of such files that lead vapier to
propose his solution, which is rather more convenient for one-off
builds.)


We've discussed this multiple times, and it's always been the conclusion 
that per package.env should go in bashrc, as bashrc is generally more 
powerful than anything we could devise.  The only downside afaik, for 
bashrc is that you can't do per package FEATURES as FEATURES is a 
python-side var.  But you shouldn't need per package FEATURES by design;

FEATURES are for portage, not your ebuild.



-g2boojum-


--
gentoo-dev@gentoo.org mailing list



[gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda

2006-06-07 Thread Mivz
Hello,
I have a Intel SATA controler in my laptop and it is adressed as
/dev/sda. My cdrom is /dev/hdc.
My cdrom drive I can configure with hdparm to use dma and 32-bit io and
it has a nice speed:

/dev/hdc:
 Timing cached reads:   1408 MB in  2.00 seconds = 702.55 MB/sec
 Timing buffered disk reads:4 MB in  5.56 seconds = 736.64 kB/sec

I can not use hdparm to configure /dev/sda, also sdparm can not set
anything:

sdparm --set UDMA6=1 /dev/sg0
/dev/sg0: ATA   HTS726060M9AT00   MH4O
change_mode_page: failed setting page: SAT pATA control

This happens with all options, also awre, arre and wce. The speed of
this disk:

/dev/sda:
 Timing cached reads:   1424 MB in  2.00 seconds = 711.96 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device
 Timing buffered disk reads:  114 MB in  3.00 seconds =  37.95 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device

Now I tryed a old Gentoo 1.4-rc1 livecd, cause this one loads the disk
still as /dev/hda and not sda.
After enabling dma, 32bit io and udma: hdparm -X66 -c1 -d1

It had a speed of 2560.00 MB/sec bufferd
and 37,65 unbufferd.

It was almost 4 times as fast.

Why is it that when I use the new kernel SATA drivers and load is as
/dev/sda it is slower as with the old IDE drivers?

Mivz
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda

2006-06-07 Thread Greg KH
On Wed, Jun 07, 2006 at 10:07:07PM +0200, Mivz wrote:
 Why is it that when I use the new kernel SATA drivers and load is as
 /dev/sda it is slower as with the old IDE drivers?

You didn't tell us which sata drivers you were using, nor what kernel
version.

Either way, try asking this on the linux-kernel or linux-ide mailing
lists, gentoo-dev isn't the right place for it.

good luck,

greg k-h
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Zac Medico
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Alec Warner wrote:
 debug-build can always be expanded to turn on generic debugging
 for other build systems and languages.

Really?  Perhaps you can explain the implementation details a little
more, because it's not obvious to me.  From my perspective a package
level debug-build USE flag models the desired functionality much
better than a package manager level FEATURE.

Zac
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFEhzdL/ejvha5XGaMRAsKYAJ44xOQPuMNPyhZwSPhb7Y2ywCC5bQCdHHzU
5EKsxkielr/7eyaOp6oOXqk=
=/vtf
-END PGP SIGNATURE-
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] SATA disk slower as /dev/sda then as in /dev/hda

2006-06-07 Thread Daniel Drake

Mivz wrote:

/dev/sda:
 Timing cached reads:   1424 MB in  2.00 seconds = 711.96 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device
 Timing buffered disk reads:  114 MB in  3.00 seconds =  37.95 MB/sec
HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate
ioctl for device

Now I tryed a old Gentoo 1.4-rc1 livecd, cause this one loads the disk
still as /dev/hda and not sda.
After enabling dma, 32bit io and udma: hdparm -X66 -c1 -d1

It had a speed of 2560.00 MB/sec bufferd
and 37,65 unbufferd.



The unbuffered speed is identical, the cached read is the only 
difference. Cached reads are not a test of hard disk performance, this 
is a mostly useless benchmark (note that on that metric, your cdrom 
drive performs at the same speed as your hard disk...)


Daniel
--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Graham Murray
Alec Warner [EMAIL PROTECTED] writes:

 The only downside afaik, for bashrc is that you can't do per package
 FEATURES as FEATURES is a python-side var.  But you shouldn't need
 per package FEATURES by design; FEATURES are for portage, not your
 ebuild.

From the perspective of a user, not a developer (though I have been a
programmer for over 25 years), it would sometimes be useful to set
some features on a per package basis rather than globally. These
include binpkg, nostrip, splitdebug and test. 
-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Chris Gianelloni
On Thu, 2006-06-08 at 05:26 +0930, Raymond Lewis Rebbeck wrote:
  Is there a recent list of non-ported packages ? Maybe we should do a
  last effort to port everything for a week or two and then package.mask
  the packages that no one cares enough about to port them.
 
 games-roguelike/slashem is one package that I know of. It should have very 
 similar dependencies to nethack.

It is also already masked.  We'll update it once we get a proper
solution to the security bug that caused it to be masked.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead
x86 Architecture Team
Games - Developer
Gentoo Linux


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Ned Ludd
On Wed, 2006-06-07 at 16:05 -0400, Alec Warner wrote:

 We've discussed this multiple times, and it's always been the conclusion 
 that per package.env should go in bashrc, as bashrc is generally more 
 powerful than anything we could devise.  The only downside afaik, for 
 bashrc is that you can't do per package FEATURES as FEATURES is a 
 python-side var.  But you shouldn't need per package FEATURES by design;
 FEATURES are for portage, not your ebuild.


This is a thumbs up? I've got the code sitting in my
$PORTDIR/profiles/base/profile.bashrc to give us just this.
I'd be all to happy to commit it. So that's a yes right? :)


-- 
Ned Ludd [EMAIL PROTECTED]
Gentoo Linux

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Jakub Moc
Olivier Crete wrote:
 Is there a recent list of non-ported packages ? Maybe we should do a
 last effort to port everything for a week or two and then package.mask
 the packages that no one cares enough about to port them.

Hmmm, not a up2date one, AFAIK... There's a tracker bug

http://bugs.gentoo.org/show_bug.cgi?id=112675

and below is the most recent list from spyderous I was able to find (no
idea how much relevant it still is).

http://dev.gentoo.org/~spyderous/broken_modular/broken_modular.txt.20060315


-- 

jakub



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-dev] fix binary debug support, part elevenity billion + 1

2006-06-07 Thread Alec Warner

Ned Ludd wrote:

On Wed, 2006-06-07 at 16:05 -0400, Alec Warner wrote:


We've discussed this multiple times, and it's always been the conclusion 
that per package.env should go in bashrc, as bashrc is generally more 
powerful than anything we could devise.  The only downside afaik, for 
bashrc is that you can't do per package FEATURES as FEATURES is a 
python-side var.  But you shouldn't need per package FEATURES by design;

FEATURES are for portage, not your ebuild.




This is a thumbs up? I've got the code sitting in my
$PORTDIR/profiles/base/profile.bashrc to give us just this.
I'd be all to happy to commit it. So that's a yes right? :)




As I told you on IRC, it's not your job to listen to the portage devs on 
 this one, you know what was intended for that support, we've argued 
over it a dozen times.  There is nothing we can do to stop you from 
mis-using something in portage, aside from complaining and removing it 
in the next version.  I believe we have made our recommendation and you 
know what we think you should do, but we are not Gentoo.


I would be more concerned with convincing the rest of the developers. 
adding crap in base profile.bashrc will affect 99% of users, so it 
better be friggin correct and useful, otherwise you will piss a ton of 
people off.

--
gentoo-dev@gentoo.org mailing list



Re: [gentoo-dev] virtual/x11-7* hides real bugs and breaks good ebuilds

2006-06-07 Thread Donnie Berkholz
Jakub Moc wrote:
 Olivier Crete wrote:
 Is there a recent list of non-ported packages ? Maybe we should do a
 last effort to port everything for a week or two and then package.mask
 the packages that no one cares enough about to port them.
 
 Hmmm, not a up2date one, AFAIK... There's a tracker bug
 
 http://bugs.gentoo.org/show_bug.cgi?id=112675
 
 and below is the most recent list from spyderous I was able to find (no
 idea how much relevant it still is).
 
 http://dev.gentoo.org/~spyderous/broken_modular/broken_modular.txt.20060315

I can probably generate one tonight. Need to dig up the scripts, and
I've got an emerge -e world running in the background.

Thanks,
Donnie



signature.asc
Description: OpenPGP digital signature


[gentoo-dev] [ANNOUNCE] Project Sunrise - Gentoo User Overlay

2006-06-07 Thread Stefan Schweizer
Hi,

I have founded a new Gentoo Project for the Gentoo User Overlay.

The intention is to give contributors a single place to put their ebuilds -
a place where they can be downloaded, updated and be moved to portage more
easily than through bugzilla. It is also a good place for users who would
like to become developers to learn how to commit and how to not break the
tree.

You can find the project page as a subproject of the overlays project [1]

The overlay is available on overlays.gentoo.org [2] 

Initially jokey and myself will be working on this. The current focus is to
migrate ebuilds from bugzilla into the overlay and to get contributors to
commit their changes to the overlay instead of updating the bugzilla every
time.

Anyone who wants to help, please stop by in #gentoo-overlays @ freenode

[1] http://gentoo.org/proj/en/overlays/sunrise
[2] http://overlays.gentoo.org/svn/proj/sunrise

- Stefan

PS: This is an announcement - No flamewars allowed

-- 
gentoo-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] [PATCH] Update www-apache/mod_jk to 1.2.15

2006-06-07 Thread Alec Warner

Paul Dlug wrote:



On 6/6/06, *Grant Goodyear* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


Paul Dlug wrote:
  The following patch upgrades www-apache/mod_jk to 1.2.15 (current
latest
  available version in portage is 1.2.13 which has numerous evil bugs).
  This is my first submission so I wasn't sure if attached patches are
  preferred to inline ones (or vice versa). Let me know if there's any
  other recommended submission techniques.

Oops, this list is for portage (the package manager) development, not
for the portage tree (the ebuilds, eclasses, etcetera found in
/usr/portage).  Issues with the latter (such as an update to mod_jk)
should be filed on bugs.gentoo.org http://bugs.gentoo.org.  (I
know, it's a patch, not a bug,
but we use bugzilla for all of those sorts of things.) 



Thanks for the info, I'll submit it in Bugzilla, someone should really 
correct the info on the portage page in the Submitting Patches section:


http://www.gentoo.org/proj/en/portage/


Thank you for your input, I've updated the site to hopefully make it a 
bit more clear which patches go here, and which go on bugs.gentoo.org



Another newbie question: is there an equivalent of the FreeBSD Porters 
Handbook for portage? Something that covers how to create ebuild files 
and general guidelines for USE flags?


Thanks,
Paul



--
gentoo-portage-dev@gentoo.org mailing list