Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Dale
Joshua Murphy wrote:
 On Sun, May 27, 2012 at 4:51 AM, Dale rdalek1...@gmail.com wrote:
 Joshua Murphy wrote:
 snip

 Well, I don't see why not.  As you say, lack of a proper clean up after
 a bad shutdown can cause problems.  Anything in /run would disappear
 after a shutdown, clean or not, since it is in tmpfs.   It doesn't seem
 to use much ram either.  I really don't know of a reason why it couldn't
 be set that way.  I'm not the sharpest tool in the shed tho.  lol

 As for one of us setting it to do that manually, I guess one could do
 that.  If I recall correctly, /var/lock is *supposed* to be cleaned up
 when booting but that was a good long while ago.  This may be something
 the devs are already getting ready for.  I get the feeling that they are
 taking what I call baby steps.  I noticed a upgrade to baselayout and I
 think OpenRC as well not long ago.  I'm not sure what decided to put
 stuff in /run.  I would think it would be one of those but it could be
 some other package.  I guess udev could be one that could have made it
 as well.  It does have a directory in there that has stuff in it.  The
 rest are empty.

 I'd wait for a serious guru to reply before changing anything tho, just
 to be safe.  ;-)

 You think being up late at night is bad.  You should see me when my meds
 are making me goofy.  lol

 Dale

 :-)  :-)
 
 
 I would try it right now, but
 
 a) the only proper 'desktop' I have running is a windows box, the rest
 of my systems, netbook, laptops, and servers, are stripped down to the
 bare essentials and are likely to continue skipping along smoothly for
 a long while regardless of what I do to them, hardly a useful test for
 something that could potentially cause catastrophic breakage for more
 'normal' systems, and
 
 b) if it *did* break, I would dread it as I went about trying to
 remember my exact steps to get there after I wake up tomorrow,
 especially with the fact that I'm aiming to head to the office when I
 wake, rather than toy around with fixing things here at home.
 
 Maybe tomorrow evening on a couple systems, if the idea itself doesn't
 bring about any don't do this, you'll break x responses between
 now and then (and, depending on the severity of the potential
 breakage, may still have to poke it with a stick).
 


Be careful, sometimes when you poke things with a stick, it bites.  ROFL

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Canek Peláez Valdés
On Sat, May 26, 2012 at 11:29 PM, Joshua Murphy poiso...@gmail.com wrote:
[ snip ]
 Well, given that it's there, it cleans up after itself, and it avoids
 issues in the instance where /var isn't available early on, is there
 much reason _not_ to link /var/run and /var/lock over to their
 respective equivalents on /run?

I use systemd, which was the one introducing both /run and /run/lock:

http://lists.freedesktop.org/archives/systemd-devel/2011-March/001757.html

With systemd, /var/run and /var/lock are bind-mounted to /run and
/run/lock respectively. /run uses in my laptop (regularly suspended,
with an uptime of 25 days) 8.8 megabytes, which I think is basically
nothing for my 4 gigabyte RAM.

After more programs (dracut, plymouth) started using /run and
/run/lock, OpenRC implemented the same functionality; or so I read
somewhere, I haven't used OpenRC in a while. In theory, it should work
the same as with systemd.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Grant
 I'm debating whether I should hire an expert programmer for $X/hour,
 or a company of expert programmers for $2X/hour.  It makes sense from
 a financial perspective to hire programmers directly, but I wonder if
 there are benefits to hiring a really good company.

 I'm sorry this is OT, but I bet you guys have some seriously good
 insight on this.

 Thanks,
 Grant


 For starters, you could give us a bit more insight into the kind of
 project we are talking about. What's the expected development effort,
 what are the services you pay for (binaries, source code, testing,
 maintenance, ...)?

The project is made up of various and ongoing scripting tasks for a
relatively complex website.

 Regarding programmer vs. company, I'd say it depends on what you expect
 and pay for. If you just want it coded, then the lone programmer is
 probably as good as the company (since programming itself doesn't really
 scale well with the number of devs).

That's a really good point.

 Extensive testing, on the other hand, is something a team should do.
 Sure, the lone programmer can write you some unit tests and conduct a
 system test, but testing itself is a profession of its own and should be
 done by a second person with the relevant training.

 But in the end, these issues a minor. It really boils down to whom you
 trust more. Ask for references, look at their previous work, talk to
 them, etc.

Can you tell me what sort of positive and negative things to watch out for?

 All things being equal, paying 1*x instead of 2*x gives you the chance
 to pay another 1*x to a second developer if things don't work out with
 the first one. ;-)

Once I need more than one developer (which could come sooner rather
than later due to the availability of these guys) am I likely to
struggle managing them?  I've read a bit about Agile software
development and I plan to read a lot more.  Is that the way to go?

Would hiring a company make management a non-issue from my perspective?

- Grant

 Regards,
 Florian Philipp



Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Canek Peláez Valdés
On Sun, May 27, 2012 at 1:20 AM, Canek Peláez Valdés can...@gmail.com wrote:
 On Sat, May 26, 2012 at 11:29 PM, Joshua Murphy poiso...@gmail.com wrote:
 [ snip ]
 Well, given that it's there, it cleans up after itself, and it avoids
 issues in the instance where /var isn't available early on, is there
 much reason _not_ to link /var/run and /var/lock over to their
 respective equivalents on /run?

 I use systemd, which was the one introducing both /run and /run/lock:

 http://lists.freedesktop.org/archives/systemd-devel/2011-March/001757.html

 With systemd, /var/run and /var/lock are bind-mounted to /run and
 /run/lock respectively. /run uses in my laptop (regularly suspended,
 with an uptime of 25 days) 8.8 megabytes, which I think is basically
 nothing for my 4 gigabyte RAM.

 After more programs (dracut, plymouth) started using /run and
 /run/lock, OpenRC implemented the same functionality; or so I read
 somewhere, I haven't used OpenRC in a while. In theory, it should work
 the same as with systemd.

I take that back; OpenRC doesn't bind-mount /run in /var/run. I ssh'd
to a server running OpenRC, and /var/run is independent from /run. And
still a regular directory, not a tmpfs.

That's a shame. Given that udev uses /run (stable old version,
171-r6), OpenRC should use it too; there is basically no cost, and the
gains are obvious.

With systemd is automatic the bind-mounting of /run into /var/run.
Perhaps a future version of OpenRC will use it?

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Jarry

I have read through all replies, but I still did not find
answers to my original questions:

Q1: Can I somehow reduce the size of /run? I know it is tmpfs
and I know this is upper limit normally never achieved, but
I want to reduce this upper limit. Is it possible, or is it
hard-coded to half of physical memory?

Q2: Can I turn this /run in tmpfs feature off? I do not
see *any* advantage in vasting memory for /run (although
I agree there might be some point in moving run from
/var/run to /run). But I see one big problem:

If badly written application starts writing some crap in
/run, it could deadlock my computer quite easily. And before
you ask, no it is not so easy to do with /run on hard-drive
because I have plenty of TB there and monitoring software
running which alerts me as soon as any partition is half
full. Unfortunatelly this does not work for tmpfs because
with given read/write speed of ram-disk it would be full
in a few seconds before I had any chance to act...

Jarry

--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Alan McKinnon
On Sun, 27 May 2012 09:05:46 +0200
Jarry mr.ja...@gmail.com wrote:

 I have read through all replies, but I still did not find
 answers to my original questions:
 
 Q1: Can I somehow reduce the size of /run? I know it is tmpfs
 and I know this is upper limit normally never achieved, but
 I want to reduce this upper limit. Is it possible, or is it
 hard-coded to half of physical memory?

I think this works IIRC:

List it in /etc/fstab. Max size goes in the options field using the
syntax described in man mount


 Q2: Can I turn this /run in tmpfs feature off? I do not
 see *any* advantage in vasting memory for /run (although
 I agree there might be some point in moving run from
 /var/run to /run). But I see one big problem:


If if limit the tmpfs to say 100M or so then this is not a problem at
all


 
 If badly written application starts writing some crap in
 /run, it could deadlock my computer quite easily. And before
 you ask, no it is not so easy to do with /run on hard-drive
 because I have plenty of TB there and monitoring software
 running which alerts me as soon as any partition is half
 full. Unfortunatelly this does not work for tmpfs because
 with given read/write speed of ram-disk it would be full
 in a few seconds before I had any chance to act...
 
 Jarry
 



-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Neil Bothwick
On Sun, 27 May 2012 04:29:17 +, Joshua Murphy wrote:

 Well, given that it's there, it cleans up after itself, and it avoids
 issues in the instance where /var isn't available early on, is there
 much reason _not_ to link /var/run and /var/lock over to their
 respective equivalents on /run? And both with and without /var mounted
 (so they exist and are writable even if /var doesn't come up)? 

I did that months ago to resolve an issue with a specific package that
hadn't been updated to use /run at the time. I never got round to
removing the links and it has caused no problems.


-- 
Neil Bothwick

Suicidal twin kills sister by mistake!


signature.asc
Description: PGP signature


Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Neil Bothwick
On Sun, 27 May 2012 09:05:46 +0200, Jarry wrote:

 I have read through all replies, but I still did not find
 answers to my original questions:
 
 Q1: Can I somehow reduce the size of /run? I know it is tmpfs
 and I know this is upper limit normally never achieved, but
 I want to reduce this upper limit. Is it possible, or is it
 hard-coded to half of physical memory?

That has been answered, either use fstab, which may or not work, or mount
-o remount, which should.
 
 Q2: Can I turn this /run in tmpfs feature off? I do not
 see *any* advantage in vasting memory for /run

Given that /var/run would be cached, at least initially, there is no more
memory usage.

 If badly written application starts writing some crap in
 /run, it could deadlock my computer quite easily. And before
 you ask, no it is not so easy to do with /run on hard-drive
 because I have plenty of TB there and monitoring software
 running which alerts me as soon as any partition is half
 full. Unfortunatelly this does not work for tmpfs because
 with given read/write speed of ram-disk it would be full
 in a few seconds before I had any chance to act...

Except that the default size is HALF your RAM, so something else would
need to be using the other half and all your swap (tmpfs will use swap if
physical memory is not available).


-- 
Neil Bothwick

Octal: (n.) a base-8 counting system designed so that one hand may count
upon the fingers of the other. Thumbs are not used, and the index finger
is reserved for the 'carry.'


signature.asc
Description: PGP signature


Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Alan McKinnon
On Sat, 26 May 2012 23:22:22 -0700
Grant emailgr...@gmail.com wrote:

  Extensive testing, on the other hand, is something a team should do.
  Sure, the lone programmer can write you some unit tests and conduct
  a system test, but testing itself is a profession of its own and
  should be done by a second person with the relevant training.
 
  But in the end, these issues a minor. It really boils down to whom
  you trust more. Ask for references, look at their previous work,
  talk to them, etc.  
 
 Can you tell me what sort of positive and negative things to watch
 out for?

Here's a quick test that I've never seen fail:

When you get the quote stage and are discussing numbers, ask for their
estimate of how long it will take to produce a beta. Let's assume they
say 6 weeks. You say you need it in 4. Can they do it?

If they say yes in a way shape or form, do not use them. Go onto the
next one.

The reason is that development takes as long as it takes and the old
adage of the production of a baby takes 9 months no matter how many
women are assigned to the task. A mature dev or team know this, stand
by their estimates and politely won't be swayed.

Everything else is common sense, and the best recommendation is word of
mouth from someone you already trust

 
  All things being equal, paying 1*x instead of 2*x gives you the
  chance to pay another 1*x to a second developer if things don't
  work out with the first one. ;-)  
 
 Once I need more than one developer (which could come sooner rather
 than later due to the availability of these guys) am I likely to
 struggle managing them?  I've read a bit about Agile software
 development and I plan to read a lot more.  Is that the way to go?

Agile is nothing more than the way a team organizes itself so they can
keep on top of things. If it were software, it would be a neat add-on
like bash-completion (without it you still have all of bash). When
Agile works out, it works really really well but it takes discipline
from the programmers. 

All Agile methods have some way of bringing constant feedback to the
devs so they can assess how they are going and easily deal with the
inevitable mistakes. It also lets them experiment a bit with different
technologies and change implementations without upsetting the whole
apple cart.

Agile is subject to much buzz-wording just like everything else in our
field :-(   A mature dev team who know what they are doing can use it
correctly and well.So be sure to look for real evidence that it's being
used, not tossed about as a cute buzz-word

We use Scrum at work and for us it works well - we get to concentrate on
the task at hand and can spot bugs and show-stoppers quite quickly. But
it's very important to observe that it's not Scrum that magically makes
all things good all by itself - it works because we know what we are
doing and Scrum is just giving us the right information at the right
time so we can keep on track. There are potentially 100s of ways to do
that, but without out basic skills in place Scrum couldn't help at all.


 
 Would hiring a company make management a non-issue from my
 perspective?

Not really, you may just end up have to manage the managers that manage
the devs :-)

A good software house is like a good builder - some you can leave to
get on with it even though the truck is shabby (like the chaps that
redid my bathroom). Some have flashy shiny trucks but are still short
on clue (like the chaps who first quoted my bathroom and didn't get the
job)

-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Florian Philipp
Am 27.05.2012 08:22, schrieb Grant:
 I'm debating whether I should hire an expert programmer for $X/hour,
 or a company of expert programmers for $2X/hour.  It makes sense from
 a financial perspective to hire programmers directly, but I wonder if
 there are benefits to hiring a really good company.

[...]

 For starters, you could give us a bit more insight into the kind of
 project we are talking about. What's the expected development effort,
 what are the services you pay for (binaries, source code, testing,
 maintenance, ...)?
 
 The project is made up of various and ongoing scripting tasks for a
 relatively complex website.
 
 Regarding programmer vs. company, I'd say it depends on what you expect
 and pay for. If you just want it coded, then the lone programmer is
 probably as good as the company (since programming itself doesn't really
 scale well with the number of devs).
 
 That's a really good point.
 
[...]

 But in the end, these issues a minor. It really boils down to whom you
 trust more. Ask for references, look at their previous work, talk to
 them, etc.
 
 Can you tell me what sort of positive and negative things to watch out for?
 

I probably don't have enough experience to give you an exhaustive list.
However, since this is a web development, the two biggest points I'd be
looking at are:
1. How do they plan to separate the production environment from testing
and development? You don't want to crash your site just because the dev
is too lazy to test his changes beforehand.
2. Do they have a basic understanding about web security? What
precautions do they take with regard to XSS, CSRF and the classic
injections (HTTP header, SQL, Shell, etc.)? Do these words even ring a
bell to them?

Methodology is also a good indicator: Are they happy hackers with no
real software engineering background, then they'll probably be good for
smaller projects but will break down on large ones where you need the
additional management. On the other hand, if they throw only buzzwords
at you, I'd get suspicious.

 All things being equal, paying 1*x instead of 2*x gives you the chance
 to pay another 1*x to a second developer if things don't work out with
 the first one. ;-)
 
 Once I need more than one developer (which could come sooner rather
 than later due to the availability of these guys) am I likely to
 struggle managing them?  I've read a bit about Agile software
 development and I plan to read a lot more.  Is that the way to go?
 

Two independent programmers working on the same project? I wouldn't do
that unless they know each other and have experience working together.
If you need to scale beyond the capabilities of your contractor, you
should definitely start with a larger contractor (i.e. the company).

I cannot give you any insight on agile development. First and foremost
because I've never worked agile (well, unless you count rapid
prototyping) but also because that's one of those buzzwords that can
mean many different things to different people.

 Would hiring a company make management a non-issue from my perspective?
 

Not completely but it's definitely better than managing two developers.
You should still try to be in close contact with them. See if they
understand your requirements, watch their progress, look at their
intermediate results, plan the final acceptance testing with them and so on.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread William Kenworthy
On Sun, 2012-05-27 at 09:59 +0200, Alan McKinnon wrote:
 On Sun, 27 May 2012 09:05:46 +0200
 Jarry mr.ja...@gmail.com wrote:
 
  I have read through all replies, but I still did not find
  answers to my original questions:
  
  Q1: Can I somehow reduce the size of /run? I know it is tmpfs
  and I know this is upper limit normally never achieved, but
  I want to reduce this upper limit. Is it possible, or is it
  hard-coded to half of physical memory?
 
 I think this works IIRC:
 
 List it in /etc/fstab. Max size goes in the options field using the
 syntax described in man mount
 
 
  Q2: Can I turn this /run in tmpfs feature off? I do not
  see *any* advantage in vasting memory for /run (although
  I agree there might be some point in moving run from
  /var/run to /run). But I see one big problem:
 
 
 If if limit the tmpfs to say 100M or so then this is not a problem at
 all
 
 
  
  If badly written application starts writing some crap in
  /run, it could deadlock my computer quite easily. And before
  you ask, no it is not so easy to do with /run on hard-drive
  because I have plenty of TB there and monitoring software
  running which alerts me as soon as any partition is half
  full. Unfortunatelly this does not work for tmpfs because
  with given read/write speed of ram-disk it would be full
  in a few seconds before I had any chance to act...
  
  Jarry
  
 
 
 

all on one line:

tmpfs   /tmptmpfs
size=2500M,mode=1777,noatime,auto   0 0


4G ram (diskless, atom board) works well
3G on an otherwise similar system goes bang when compiling glibc or gcc
as portage and portage tmp in /tmp and ram needed for compiling meet in
the middle :)

Helped by swap on an NDB and mapping some space over NFS when really
needed.

BillK






Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Grant
 I'm debating whether I should hire an expert programmer for $X/hour,
 or a company of expert programmers for $2X/hour.  It makes sense from
 a financial perspective to hire programmers directly, but I wonder if
 there are benefits to hiring a really good company.
[snip]

Thank you Florian and Alan.  This subject has proven difficult to
research and how cool to get in touch with lucid and experienced
individuals like yourselves.

I think I need to hire one or more programmers and manage them myself
precisely because I don't know how to do it.  For many years I handled
all business duties myself, and I've slowly been handing off duties,
and I think that has been working because I know first-hand exactly
how each of those duties should be done.  So many times my business
has required something I don't know how to do and I've been faced with
the choice of learning how to do it myself or hiring someone who does.
 I've chosen to learn how to do it myself every single time and it's
served me well, although it is very much the long and hard way.

I'll be getting my feet wet with this shortly.  Any other tips
regarding the management of one or more programmers working on various
small web projects?  Maybe workflow or any key procedures a newbie
manager should follow?

- Grant



Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Volker Armin Hemmann
Am Sonntag, 27. Mai 2012, 09:09:26 schrieb Grant:
 
 I'll be getting my feet wet with this shortly.  Any other tips
 regarding the management of one or more programmers working on various
 small web projects?  Maybe workflow or any key procedures a newbie
 manager should follow?

seriously? asking those questions? Get a company. Make it their problem to 
worry about managing the bearded ones. 

-- 
#163933



Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Grant
 I'll be getting my feet wet with this shortly.  Any other tips
 regarding the management of one or more programmers working on various
 small web projects?  Maybe workflow or any key procedures a newbie
 manager should follow?

 seriously? asking those questions? Get a company. Make it their problem to
 worry about managing the bearded ones.

Too flailing?  How about this:

2x 8-hour days per week, or 5x 3-hour days?

Specific days and a specific time of day?

Should I bother with a contract for a dev working in a different
country than mine? I hope to hire someone for ongoing work on various
small projects, so the project itself wouldn't belong in the contract.
Maybe an NDA or something, but would that make sense with each of us
in a different country?

- Grant



Re: [gentoo-user] Thunderbird - Anyone else with this problem?

2012-05-27 Thread Sebastian Pipping
On 05/26/2012 12:16 AM, Colleen Beamer wrote:
 Hi,
 
 Ever since the last time Thunderbird was updated when I synced, the
 process does not die when I shut down Thunderbird.  I have to kill it
 before I can start up Thunderbird again.  Is anyone else experiencing
 this problem.

Yes, same here.


 Thought I would ask here before I complained to the
 Mozilla folks.
 
 Regards,
 
 Colleen
 

Sebastian



Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Alan McKinnon
On Sun, 27 May 2012 09:53:22 -0700
Grant emailgr...@gmail.com wrote:

  I'll be getting my feet wet with this shortly.  Any other tips
  regarding the management of one or more programmers working on
  various small web projects?  Maybe workflow or any key procedures
  a newbie manager should follow?
 
  seriously? asking those questions? Get a company. Make it their
  problem to worry about managing the bearded ones.
 
 Too flailing?  How about this:
 
 2x 8-hour days per week, or 5x 3-hour days?
 
 Specific days and a specific time of day?
 
 Should I bother with a contract for a dev working in a different
 country than mine? I hope to hire someone for ongoing work on various
 small projects, so the project itself wouldn't belong in the contract.
 Maybe an NDA or something, but would that make sense with each of us
 in a different country?

Those questions are very revealing. If you truly need to ask them, then
your path has already been established:

You need an existing development house with a reputation to uphold,
located in the same city as you.

NDAs and contracts in a different country are for all practical intents
and purposes unenforceable.


-- 
Alan McKinnnon
alan.mckin...@gmail.com




Re: [gentoo-user] {OT} hire a programmer or company?

2012-05-27 Thread Alan McKinnon
On Sun, 27 May 2012 09:09:26 -0700
Grant emailgr...@gmail.com wrote:

  I'm debating whether I should hire an expert programmer for
  $X/hour, or a company of expert programmers for $2X/hour.  It
  makes sense from a financial perspective to hire programmers
  directly, but I wonder if there are benefits to hiring a really
  good company.
 [snip]
 
 Thank you Florian and Alan.  This subject has proven difficult to
 research and how cool to get in touch with lucid and experienced
 individuals like yourselves.
 
 I think I need to hire one or more programmers and manage them myself
 precisely because I don't know how to do it.  For many years I handled
 all business duties myself, and I've slowly been handing off duties,
 and I think that has been working because I know first-hand exactly
 how each of those duties should be done.  So many times my business
 has required something I don't know how to do and I've been faced with
 the choice of learning how to do it myself or hiring someone who does.
  I've chosen to learn how to do it myself every single time and it's
 served me well, although it is very much the long and hard way.
 
 I'll be getting my feet wet with this shortly.  Any other tips
 regarding the management of one or more programmers working on various
 small web projects?  Maybe workflow or any key procedures a newbie
 manager should follow?

You can get away with almost anything except these two things:

Do not micro-manage
Do not tell them how to do what they do

For everything else, good old communication (that thing you do lots of
in business) will see you through.

-- 
Alan McKinnnon
alan.mckin...@gmail.com




[gentoo-user] Can't emerge any gcc

2012-05-27 Thread Ezequiel Garcia
Hi,

I can't emerge any gcc. I tried emerging 4.7, 4.5.3-r2 with no luck.

Should I file a bug?

Thanks,
Ezequiel.
---

Checking multilib configuration for libgomp...
Configuring stage 1 in i686-pc-linux-gnu/libgomp
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script /usr/share/crossdev/include/site/linux-gnu
configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for --enable-generated-files-in-srcdir... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc...
/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/xgcc
-B/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/
-B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
/usr/i686-pc-linux-gnu/include -isystem
/usr/i686-pc-linux-gnu/sys-include
checking for C compiler default output file name...
configure: error: in
`/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/i686-pc-linux-gnu/libgomp':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgomp] Error 77
make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
make: *** [bootstrap-lean] Error 2
emake failed
 * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
 *   emake failed with bootstrap-lean
 *
 * Call stack:
 * ebuild.sh, line   85:  Called src_compile
 *   environment, line 3866:  Called toolchain_src_compile
 *   environment, line 4507:  Called gcc_do_make
 *   environment, line 2223:  Called die
 * The specific snippet of code:
 *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET}
|| die emake failed with ${GCC_MAKE_TARGET};
 *
 * If you need support, post the output of 'emerge --info
=sys-devel/gcc-4.5.3-r2',
 * the complete build log and the output of 'emerge -pqv
=sys-devel/gcc-4.5.3-r2'.
 *
 * Please include
/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
in your bug report
 *
 * The complete build log is located at
'/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'

 Failed to emerge sys-devel/gcc-4.5.3-r2, Log file:

  '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'

 * Messages for package sys-devel/gcc-4.5.3-r2:

 * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
 *   emake failed with bootstrap-lean
 *
 * Call stack:
 * ebuild.sh, line   85:  Called src_compile
 *   environment, line 3866:  Called toolchain_src_compile
 *   environment, line 4507:  Called gcc_do_make
 *   environment, line 2223:  Called die
 * The specific snippet of code:
 *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET}
|| die emake failed with ${GCC_MAKE_TARGET};
 *
 * If you need support, post the output of 'emerge --info
=sys-devel/gcc-4.5.3-r2',
 * the complete build log and the output of 'emerge -pqv
=sys-devel/gcc-4.5.3-r2'.
 *
 * Please include
/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
in your bug report
 *
 * The complete build log is located at
'/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
 * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'



Re: [gentoo-user] Thunderbird - Anyone else with this problem?

2012-05-27 Thread Paul Hartman
On Fri, May 25, 2012 at 5:16 PM, Colleen Beamer
colleen.bea...@gmail.com wrote:
 Hi,

 Ever since the last time Thunderbird was updated when I synced, the
 process does not die when I shut down Thunderbird.  I have to kill it
 before I can start up Thunderbird again.  Is anyone else experiencing
 this problem.  Thought I would ask here before I complained to the
 Mozilla folks.

Maybe unrelated, but I experienced this off  on over the past
months/years when using Enigmail with Thunderbird.




Re: [gentoo-user] Can't emerge any gcc

2012-05-27 Thread William Kenworthy
probably not, you will need some more info as its a bit vague:

What does gcc -v say?

and gcc-config -l

Can you compile anything, either through emerge or manually (i.e., even
a  small hello world)

Need to narrow it down.

BillK




On Sun, 2012-05-27 at 20:33 -0300, Ezequiel Garcia wrote:
 Hi,
 
 I can't emerge any gcc. I tried emerging 4.7, 4.5.3-r2 with no luck.
 
 Should I file a bug?
 
 Thanks,
 Ezequiel.
 ---
 
 Checking multilib configuration for libgomp...
 Configuring stage 1 in i686-pc-linux-gnu/libgomp
 configure: loading site script /usr/share/config.site
 configure: loading site script /usr/share/crossdev/include/site/linux
 configure: loading site script /usr/share/crossdev/include/site/linux-gnu
 configure: loading site script /usr/share/crossdev/include/site/i686-linux-gnu
 configure: creating cache ./config.cache
 checking for --enable-version-specific-runtime-libs... no
 checking for --enable-generated-files-in-srcdir... no
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-pc-linux-gnu
 checking target system type... i686-pc-linux-gnu
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for i686-pc-linux-gnu-gcc...
 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/xgcc
 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/
 -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
 /usr/i686-pc-linux-gnu/include -isystem
 /usr/i686-pc-linux-gnu/sys-include
 checking for C compiler default output file name...
 configure: error: in
 `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/i686-pc-linux-gnu/libgomp':
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 make[2]: *** [configure-stage1-target-libgomp] Error 77
 make[2]: Leaving directory 
 `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
 make[1]: *** [stage1-bubble] Error 2
 make[1]: Leaving directory 
 `/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
 make: *** [bootstrap-lean] Error 2
 emake failed
  * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
  *   emake failed with bootstrap-lean
  *
  * Call stack:
  * ebuild.sh, line   85:  Called src_compile
  *   environment, line 3866:  Called toolchain_src_compile
  *   environment, line 4507:  Called gcc_do_make
  *   environment, line 2223:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
 LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET}
 || die emake failed with ${GCC_MAKE_TARGET};
  *
  * If you need support, post the output of 'emerge --info
 =sys-devel/gcc-4.5.3-r2',
  * the complete build log and the output of 'emerge -pqv
 =sys-devel/gcc-4.5.3-r2'.
  *
  * Please include
 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
 in your bug report
  *
  * The complete build log is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
  * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
 
  Failed to emerge sys-devel/gcc-4.5.3-r2, Log file:
 
   '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'
 
  * Messages for package sys-devel/gcc-4.5.3-r2:
 
  * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
  *   emake failed with bootstrap-lean
  *
  * Call stack:
  * ebuild.sh, line   85:  Called src_compile
  *   environment, line 3866:  Called toolchain_src_compile
  *   environment, line 4507:  Called gcc_do_make
  *   environment, line 2223:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
 LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET}
 || die emake failed with ${GCC_MAKE_TARGET};
  *
  * If you need support, post the output of 'emerge --info
 =sys-devel/gcc-4.5.3-r2',
  * the complete build log and the output of 'emerge -pqv
 =sys-devel/gcc-4.5.3-r2'.
  *
  * Please include
 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
 in your bug report
  *
  * The complete build log is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
  * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
 





Re: [gentoo-user] Can't emerge any gcc

2012-05-27 Thread Ezequiel Garcia
Hi,

On Sun, May 27, 2012 at 8:48 PM, William Kenworthy bi...@iinet.net.au wrote:
 probably not, you will need some more info as its a bit vague:

 What does gcc -v say?

Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:
/var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.5
--includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/info
--with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.5/include/g++-v4
--host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec
--disable-fixed-point --without-ppl --without-cloog --enable-nls
--without-included-gettext --with-system-zlib --disable-werror
--enable-secureplt --disable-multilib --enable-libmudflap
--disable-libssp --enable-libgomp
--with-python-dir=/share/gcc-data/i686-pc-linux-gnu/4.4.5/python
--enable-checking=release --disable-libgcj --with-arch=i686
--enable-languages=c,c++,fortran --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.5
p1.3, pie-0.4.5'
Thread model: posix
gcc version 4.4.5 (Gentoo 4.4.5 p1.3, pie-0.4.5)


 and gcc-config -l


localhost v4l-dvb # gcc-config -l
 [1] i686-pc-linux-gnu-4.4.5 *

 Can you compile anything, either through emerge or manually (i.e., even
 a  small hello world)


Indeed! I can emerge other stuff.
Plus right now I'm working and compiling my stuff.

Feel free to ask me anything else,
Thanks,
Ezequiel.



Re: [gentoo-user] Can't emerge any gcc

2012-05-27 Thread Dale
Ezequiel Garcia wrote:
 Hi,
 
 I can't emerge any gcc. I tried emerging 4.7, 4.5.3-r2 with no luck.
 
 Should I file a bug?
 
 Thanks,
 Ezequiel.


I ran into this a while back and I had to do a emerge -e system then a
emerge -e world.  I'm not saying to do this yet but if no one posts a
fix, you may have to try that route.

In the meantime, make sure everything in make.conf is set correctly.
Check for typos and other silly mistakes.  Maybe post it here and see if
someone else sees something.  I don't even want to try to count the
times all of us have had a typo that wrecks everything.

Check gcc-config -l to make sure it is set.  I have corrected issues in
the past by changing it to a older gcc then back to the new one.  I
guess something got corrupted or something.  It only takes a few
seconds, it could be worth a try.  Running env-update and source
/etc/profile in between while at it.

You can try revdep-rebuild to see if that helps but it may not.
Sometimes you have to run that multiple times and check for mixing
stable and unstable packages.  There are occasions where mixing
stable/unstable does not turn out to well.

This is a common thing and I wouldn't file a bug report.  It usually
turns out to be a operator error or some setting that got messed up.

Dale

:-)  :-)

P. S.  Hold on to your hair.  No need to pull it out.  lol

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS=--quiet-build=n



Re: [gentoo-user] How to access newsgroup?

2012-05-27 Thread wenpin cui
 
 Well, what do you expect out of the PRC, anyway? Good luck.
 
 Terry
 
 
 
This is resulted by company's security policy. I can login in newsgroup at home.

It's OK, at lease mailist was not blocked.

Thank you.

-- 

Best regards
Wenpin Cui (崔文频)
Hangzhou, Zhejiang, PRC
Tel: +86-0571-86726288 ext:8095



Re: [gentoo-user] Can't emerge any gcc

2012-05-27 Thread Pandu Poluan
On May 28, 2012 6:39 AM, Ezequiel Garcia elezegar...@gmail.com wrote:

 Hi,

 I can't emerge any gcc. I tried emerging 4.7, 4.5.3-r2 with no luck.

 Should I file a bug?

 Thanks,
 Ezequiel.
 ---

 Checking multilib configuration for libgomp...
 Configuring stage 1 in i686-pc-linux-gnu/libgomp
 configure: loading site script /usr/share/config.site
 configure: loading site script /usr/share/crossdev/include/site/linux
 configure: loading site script /usr/share/crossdev/include/site/linux-gnu
 configure: loading site script
/usr/share/crossdev/include/site/i686-linux-gnu
 configure: creating cache ./config.cache
 checking for --enable-version-specific-runtime-libs... no
 checking for --enable-generated-files-in-srcdir... no
 checking build system type... i686-pc-linux-gnu
 checking host system type... i686-pc-linux-gnu
 checking target system type... i686-pc-linux-gnu
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... gawk
 checking whether make sets $(MAKE)... yes
 checking for i686-pc-linux-gnu-gcc...
 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/xgcc
 -B/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/./gcc/
 -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem
 /usr/i686-pc-linux-gnu/include -isystem
 /usr/i686-pc-linux-gnu/sys-include
 checking for C compiler default output file name...
 configure: error: in

`/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/i686-pc-linux-gnu/libgomp':
 configure: error: C compiler cannot create executables
 See `config.log' for more details.
 make[2]: *** [configure-stage1-target-libgomp] Error 77
 make[2]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
 make[1]: *** [stage1-bubble] Error 2
 make[1]: Leaving directory
`/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'
 make: *** [bootstrap-lean] Error 2
 emake failed
  * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
  *   emake failed with bootstrap-lean
  *
  * Call stack:
  * ebuild.sh, line   85:  Called src_compile
  *   environment, line 3866:  Called toolchain_src_compile
  *   environment, line 4507:  Called gcc_do_make
  *   environment, line 2223:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
 LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET}
 || die emake failed with ${GCC_MAKE_TARGET};
  *
  * If you need support, post the output of 'emerge --info
 =sys-devel/gcc-4.5.3-r2',
  * the complete build log and the output of 'emerge -pqv
 =sys-devel/gcc-4.5.3-r2'.
  *
  * Please include
 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
 in your bug report
  *
  * The complete build log is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
  * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'

  Failed to emerge sys-devel/gcc-4.5.3-r2, Log file:

   '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'

  * Messages for package sys-devel/gcc-4.5.3-r2:

  * ERROR: sys-devel/gcc-4.5.3-r2 failed (compile phase):
  *   emake failed with bootstrap-lean
  *
  * Call stack:
  * ebuild.sh, line   85:  Called src_compile
  *   environment, line 3866:  Called toolchain_src_compile
  *   environment, line 4507:  Called gcc_do_make
  *   environment, line 2223:  Called die
  * The specific snippet of code:
  *   emake LDFLAGS=${LDFLAGS} STAGE1_CFLAGS=${STAGE1_CFLAGS}
 LIBPATH=${LIBPATH} BOOT_CFLAGS=${BOOT_CFLAGS} ${GCC_MAKE_TARGET}
 || die emake failed with ${GCC_MAKE_TARGET};
  *
  * If you need support, post the output of 'emerge --info
 =sys-devel/gcc-4.5.3-r2',
  * the complete build log and the output of 'emerge -pqv
 =sys-devel/gcc-4.5.3-r2'.
  *
  * Please include
 /var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build/gcc-build-logs.tar.bz2
 in your bug report
  *
  * The complete build log is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/temp/environment'.
  * S: '/var/tmp/portage/sys-devel/gcc-4.5.3-r2/work/build'


What's your CFLAGS?

Rgds,


Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Walter Dnes
On Sat, May 26, 2012 at 05:17:54PM -0500, Dale wrote

 I guess the devs are getting ready for the ultimate screwup udev
 and friends is putting in place.  Oh well.  This is life.

  I guess that explains why I have /var/run but no /run on my mdev-based
system. G

-- 
Walter Dnes waltd...@waltdnes.org



Re: [gentoo-user] How can I control size of /run (tmpfs)?

2012-05-27 Thread Pandu Poluan
On May 28, 2012 9:11 AM, Walter Dnes waltd...@waltdnes.org wrote:

 On Sat, May 26, 2012 at 05:17:54PM -0500, Dale wrote

  I guess the devs are getting ready for the ultimate screwup udev
  and friends is putting in place.  Oh well.  This is life.

  I guess that explains why I have /var/run but no /run on my mdev-based
 system. G


LOL :-D

That makes two of us, Walt :-)

But my newer servers has /run (and its children) from the get go, because I
think it kind of makes sense. Even though they're udev-free.

Rgds,