Re: USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print +REQUIRED_BY as tree?)

2011-09-27 Thread Gerald Pfeifer
On Tue, 13 Sep 2011, Lev Serebryakov wrote: Or, maybe automate this, as now port system warns user about possible network servers -- check all installed binaries and libraries for linkage with non-system-gcc libraries and add run dependency. But I'm not sure it is easy to do, as it should be

Re: Print +REQUIRED_BY as tree?

2011-09-13 Thread Lev Serebryakov
Hello, Doug. You wrote 13 сентября 2011 г., 0:05:27: On 09/12/2011 12:58, Lev Serebryakov wrote: How could I determine which ports are directly lined with libgcc from gcc44? ldd? Yes, that's really the only answer. I have the following function which would work: snip libchk port could

USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print +REQUIRED_BY as tree?)

2011-09-13 Thread Lev Serebryakov
Hello, Lev. You wrote 13 сентября 2011 г., 11:01:14: For example, x264 DEPENDS on gcc, (has USE_GCC=4.4+ in Makefile), but no x264 files are linked with libgcc_s.so or other libraries from gcc44. It seems, that we need separate USE_GCC_BUILD and USE_GCC_RUN, as with PERL or PYTHON. Or,

Re: USE_GCC and unnesessary RUN_DENEDS on gcc port (Was: Print +REQUIRED_BY as tree?)

2011-09-13 Thread b. f.
For example, x264 DEPENDS on gcc, (has USE_GCC=4.4+ in Makefile), but no x264 files are linked with libgcc_s.so or other libraries from gcc44. It seems, that we need separate USE_GCC_BUILD and USE_GCC_RUN, as with PERL or PYTHON. Or, maybe automate this, as now port system warns

Re: Print +REQUIRED_BY as tree?

2011-09-13 Thread Oliver Fromme
Lev Serebryakov wrote: Is here console tool, which shows dependency tree of installed ports from required port to users? pkg_tree performs opposite task. Maybe this script is helpful: http://www.secnetix.de/olli/scripts/pkg_dep_view By default it displays the dependency graph of your

Re: Print +REQUIRED_BY as tree?

2011-09-13 Thread Andriy Gapon
on 13/09/2011 10:01 Lev Serebryakov said the following: libchk port could help, too. But it seems top be broken. It shows, that system /usr/lib/libstdc++.so.6 depends on gcc44's libgcc_s.so and it is completely wrong! I'll fill pr about it! Most likely there is something wrong in your

Re: Print +REQUIRED_BY as tree?

2011-09-13 Thread Lev Serebryakov
Hello, Andriy. You wrote 13 сентября 2011 г., 17:10:13: I'll fill pr about it! Most likely there is something wrong in your environment. libmap.conf or some such. it is empty. libchk uses what ldd(1) reports and ldd reports what would happen during actual run-time linking. ldd run

Print +REQUIRED_BY as tree?

2011-09-12 Thread Lev Serebryakov
Hello, Ports. Is here console tool, which shows dependency tree of installed ports from required port to users? pkg_tree performs opposite task. +REQUIRED_BY is flat list, unfortunately. I need to investigate exact path why this port is installed on my system :) -- // Black Lion AKA

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Matthew Seaman
On 12/09/2011 17:58, Lev Serebryakov wrote: Hello, Ports. Is here console tool, which shows dependency tree of installed ports from required port to users? pkg_tree performs opposite task. +REQUIRED_BY is flat list, unfortunately. I need to investigate exact path why this port is

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Lev Serebryakov
Hello, Eric. You wrote 12 сентября 2011 г., 21:33:58: Not aware of a command line tool, but the beta version of the freshports website show what ports require the selected port in order to run, which what I think you want. Oh. For gcc45, for example, list is soobig, that command line tool,

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Lev Serebryakov
Hello, Matthew. You wrote 12 сентября 2011 г., 22:38:05: On 12/09/2011 17:58, Lev Serebryakov wrote: Hello, Ports. Is here console tool, which shows dependency tree of installed ports from required port to users? pkg_tree performs opposite task. +REQUIRED_BY is flat list,

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Doug Barton
On 09/12/2011 12:06, Lev Serebryakov wrote: Hello, Eric. You wrote 12 сентября 2011 г., 21:33:58: Not aware of a command line tool, but the beta version of the freshports website show what ports require the selected port in order to run, which what I think you want. Oh. For gcc45, for

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Lev Serebryakov
Hello, Doug. You wrote 12 сентября 2011 г., 23:43:03: It's not as easy to represent the data in the way you describe as you might think. Something like gcc is going to have multiple entry points in a graph, which is really hard to represent in a (sort of) 1-dimensional structure like a tree.

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Doug Barton
On 09/12/2011 12:58, Lev Serebryakov wrote: How could I determine which ports are directly lined with libgcc from gcc44? ldd? Yes, that's really the only answer. I have the following function which would work: old_libs () { local file nf; [ -e ~/old-lib-list ] unlink ~/old-lib-list;

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Helmut Schneider
Lev Serebryakov wrote: Is here console tool, which shows dependency tree of installed ports from required port to users? pkg_tree performs opposite task. +REQUIRED_BY is flat list, unfortunately. I need to investigate exact path why this port is installed on my system :) Neither

Re: Print +REQUIRED_BY as tree?

2011-09-12 Thread Chip Camden
Quoth Helmut Schneider on Monday, 12 September 2011: Lev Serebryakov wrote: Is here console tool, which shows dependency tree of installed ports from required port to users? pkg_tree performs opposite task. +REQUIRED_BY is flat list, unfortunately. I need to investigate