Re: lang/gcc46 dependency loop on lang/gcc

2012-08-29 Thread Robert Huff

Me:

  Life Happened(tm), which means I'll get to this first thing
   tomorrow,

Back on the job.
Steps so far:

1) de-installed gcc46
2) removed suspect parts of make.conf
3) installed gcc48
4) de-installed gcc48
5) added back major suspect parts of make.conf, 
but removed line involving lang/gcc
6) installed gcc46
7) added back line involving lang/gcc
8) built gcc46
9) added back rest of suspect parts
10) built gcc46
11) used portmaster to re-build/re-install gcc46

All steps succeeded.
Whatever the breakage is, it has - at least for the moment -
gone away.  No idea what it was.

Thanks for the help.
Sorry for the interruption for what appears to be a local
error,


Robert Huff




___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-28 Thread Bryan Drewery
On 8/27/2012 2:35 PM, Doug Barton wrote:
 Gerald,
 
 It seems that if lang/gcc46 is installed, and then you attempt to update
 it, lang/gcc shows up in the output of build-depends-list,
 run-depends-list, or perhaps both. If lang/gcc46 is not installed
 already, this doesn't happen.
 
 This would seem to be an error in the bsd.gcc.mk logic, or perhaps an
 error in one of the ports' Makefiles, not sure yet. Any chance you could
 look into this?
 
 Doug
 

I believe this was reported in ports/171135 as well for lang/gcc47.
Received in private email:

---  Installing the new version via the port
===  Installing for gcc-4.7.2.20120825
===   gcc-4.7.2.20120825 depends on file: /usr/local/bin/as - found
===   gcc-4.7.2.20120825 depends on executable: gcc47 - not found
===Verifying reinstall for gcc47 in /usr/ports/lang/gcc47
... (more than 100)

make: Max recursion level (500) exceeded.
*** Error code 2
Stop in /usr/ports/lang/gcc47.
*** Error code 1
... (more than 100)


___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-28 Thread 唐 剑锋
Hello all,

I have tested in a new freebsd 9.0. 
only install gcc47 then upgrade it.


在 2012-8-29,上午3:15,Bryan Drewery br...@shatow.net 写道:

 On 8/27/2012 2:35 PM, Doug Barton wrote:
 Gerald,
 
 It seems that if lang/gcc46 is installed, and then you attempt to update
 it, lang/gcc shows up in the output of build-depends-list,
 run-depends-list, or perhaps both. If lang/gcc46 is not installed
 already, this doesn't happen.
 
 This would seem to be an error in the bsd.gcc.mk logic, or perhaps an
 error in one of the ports' Makefiles, not sure yet. Any chance you could
 look into this?
 
 Doug
 
 
 I believe this was reported in ports/171135 as well for lang/gcc47.
 Received in private email:
 
 ---  Installing the new version via the port
 ===  Installing for gcc-4.7.2.20120825
 ===   gcc-4.7.2.20120825 depends on file: /usr/local/bin/as - found
 ===   gcc-4.7.2.20120825 depends on executable: gcc47 - not found
 ===Verifying reinstall for gcc47 in /usr/ports/lang/gcc47
 ... (more than 100)
 
 make: Max recursion level (500) exceeded.
 *** Error code 2
 Stop in /usr/ports/lang/gcc47.
 *** Error code 1
 ... (more than 100)
 
 

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-28 Thread Doug Barton
On 08/28/2012 01:44 PM, Gerald Pfeifer wrote:
 On Mon, 27 Aug 2012, Doug Barton wrote:
 This would seem to be an error in the bsd.gcc.mk logic, or perhaps
 an error in one of the ports' Makefiles, not sure yet. Any chance
 you could look into this?
 
 I had done that when Robert contacted me first and could not find
 anything.

FYI, Robert has some interesting stuff in make.conf that he is
commenting out and testing.

For future reference, if a user approaches you(pl.) about a problem
compiling your port with portmaster the easiest way to determine if
portmaster is a suspect or not is to ask the user to try the same action
without using portmaster. In this case I'm pretty confident that this
would have shown that portmaster was not the issue.

Aside from my concern about using my time most effectively, I like to
see the users get help ASAP.

 Any chance portmaster could tell us where the loop comes from?  I
 looked at the -v option, but that one did not seem to provide this
 information and I feel stuck right now.

As I pointed out earlier, it's 'make build-depends-list'

But as for being stuck, I'm waiting on Robert to report his findings on
which make.conf option hung him up.

 Is it possible you have some special setting somewhere, Robert,
 like USE_GCC=... as a global setting somewhere?
 
 (Though, shouldn't even that work with portmaster assuming that this
 part of the process, forcing deinstallation of the old version and
 installing a new package, does not depend on any other ports?)

Portmaster waits until it builds the new thing successfully before
uninstalling the old thing.

Doug

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-28 Thread Robert Huff

Doug Barton writes:

  But as for being stuck, I'm waiting on Robert to report his
  findings on which make.conf option hung him up.

Life Happened(tm), which means I'll get to this first thing
tomorrow,


Robert Huff



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-28 Thread Doug Barton
On 08/28/2012 03:12 PM, Robert Huff wrote:
 
 Doug Barton writes:
 
  But as for being stuck, I'm waiting on Robert to report his
  findings on which make.conf option hung him up.
 
   Life Happened(tm), which means I'll get to this first thing
 tomorrow,

Sure, of course. :)  I just wanted to let Gerald know he was off the
hook for debugging this until we hear back from you.

Doug

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


lang/gcc46 dependency loop on lang/gcc

2012-08-27 Thread Doug Barton
Gerald,

It seems that if lang/gcc46 is installed, and then you attempt to update
it, lang/gcc shows up in the output of build-depends-list,
run-depends-list, or perhaps both. If lang/gcc46 is not installed
already, this doesn't happen.

This would seem to be an error in the bsd.gcc.mk logic, or perhaps an
error in one of the ports' Makefiles, not sure yet. Any chance you could
look into this?

Doug

-- 

I am only one, but I am one.  I cannot do everything, but I can do
something.  And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-27 Thread David Wolfskill
On Mon, Aug 27, 2012 at 12:35:14PM -0700, Doug Barton wrote:
 Gerald,
 
 It seems that if lang/gcc46 is installed, and then you attempt to update
 it, lang/gcc shows up in the output of build-depends-list,
 run-depends-list, or perhaps both. If lang/gcc46 is not installed
 already, this doesn't happen.
 

FWIW, on the machine on which I'm writing this note, I successfully
performed an:

Upgrade of gcc-4.6.4.20120608 to gcc-4.6.4.20120817

yesterday without incident (using portmaster).

The machine is now running:

FreeBSD albert.catwhisker.org 8.3-STABLE FreeBSD 8.3-STABLE #560 239646M: Fri 
Aug 24 04:21:00 PDT 2012 
r...@freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/ALBERT  i386

(and had been updated to that just prior to the portmaster run).

The ports tree is maintained as an SVN working copy; it was @303183
as of the time of the update in question.

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgpCdMvKCnRqQ.pgp
Description: PGP signature


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-27 Thread Doug Barton
On 8/27/2012 12:44 PM, David Wolfskill wrote:

 FWIW, on the machine on which I'm writing this note, I successfully
 performed an:
 
 Upgrade of gcc-4.6.4.20120608 to gcc-4.6.4.20120817
 
 yesterday without incident (using portmaster).

Do you have lang/gcc installed, or lang/gcc46?

pkg_info -qo gcc-4.6\*

Doug

-- 

I am only one, but I am one.  I cannot do everything, but I can do
something.  And I will not let what I cannot do interfere with what
I can do.
-- Edward Everett Hale, (1822 - 1909)
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: lang/gcc46 dependency loop on lang/gcc

2012-08-27 Thread David Wolfskill
On Mon, Aug 27, 2012 at 12:46:27PM -0700, Doug Barton wrote:
 ...
 Do you have lang/gcc installed, or lang/gcc46?
 
 pkg_info -qo gcc-4.6\*

albert(8.3-S)[5] pkg_info -qo gcc-4.6\*
lang/gcc46
albert(8.3-S)[6] 

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


pgp41acYGQzOI.pgp
Description: PGP signature