reporting a bug in ports/net/flow-tools?
Hi, Sendbug doesn't seem to have a ports option, and my bug report doesn't have a single recommend solution in any case, so I'm asking here. The flow-log2rrd, flow-rpt2rrd, and flow-rptfmt programs in flow-tools each start with the line: #!/bin/env python This won't work on OpenBSD. OpenBSD's env is in /usr/bin, and python is installed (at least on my system) as /usr/local/bin/python2.5. There is no generic python command. These programs will run under any of the 3 python ports. I could argue that these should start with any of the following: #!/usr/bin/env python2.5 #!/usr/local/bin/python2.5 (repeat for python 2.4 and 2.6) So, what is the OpenBSD-style resolution for this sort of thing? I don't care what the solution is, I just want flow-tools to work out of the box. Out of curiosity, is there any interest in a port of the new flow-tools fork? It fixes many corruption bugs on 64-bit systems. Thanks, ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org http://www.MichaelWLucas.com/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/
Re: reporting a bug in ports/net/flow-tools?
On Tue, 27 Apr 2010, Michael W. Lucas wrote: Hi, Sendbug doesn't seem to have a ports option, and my bug report doesn't have a single recommend solution in any case, so I'm asking here. The flow-log2rrd, flow-rpt2rrd, and flow-rptfmt programs in flow-tools each start with the line: #!/bin/env python This won't work on OpenBSD. OpenBSD's env is in /usr/bin, and python is installed (at least on my system) as /usr/local/bin/python2.5. There is no generic python command. These programs will run under any of the 3 python ports. I could argue that these should start with any of the following: #!/usr/bin/env python2.5 #!/usr/local/bin/python2.5 (repeat for python 2.4 and 2.6) So, what is the OpenBSD-style resolution for this sort of thing? I don't care what the solution is, I just want flow-tools to work out of the box. Out of curiosity, is there any interest in a port of the new flow-tools fork? It fixes many corruption bugs on 64-bit systems. Thanks, You should symlink one of the pythonX.Y binaries to 'python', as post install message for python packages suggest. -- Antti Harri
Re: reporting a bug in ports/net/flow-tools?
Michael W. Lucas: Sendbug doesn't seem to have a ports option, and my bug report doesn't have a single recommend solution in any case, so I'm asking here. The flow-log2rrd, flow-rpt2rrd, and flow-rptfmt programs in flow-tools each start with the line: #!/bin/env python This won't work on OpenBSD. OpenBSD's env is in /usr/bin, and python is installed (at least on my system) as /usr/local/bin/python2.5. There is no generic python command. These programs will run under any of the 3 python ports. The python packages tell you to make symbolic links when you install them. Not sure about ports though. I could argue that these should start with any of the following: #!/usr/bin/env python2.5 #!/usr/local/bin/python2.5 (repeat for python 2.4 and 2.6) So, what is the OpenBSD-style resolution for this sort of thing? I don't care what the solution is, I just want flow-tools to work out of the box. Out of curiosity, is there any interest in a port of the new flow-tools fork? It fixes many corruption bugs on 64-bit systems. Stas
Re: reporting a bug in ports/net/flow-tools?
On 2010-04-27, Antti Harri i...@openbsd.fi wrote: You should symlink one of the pythonX.Y binaries to 'python', as post install message for python packages suggest. If you see something from packages which needs this, please let ports@ or the maintainer know, this is a bug.
Re: reporting a bug in ports/net/flow-tools?
On Tue, Apr 27, 2010 at 9:36 AM, Antti Harri i...@openbsd.fi wrote: You should symlink one of the pythonX.Y binaries to 'python', as post install message for python packages suggest. Regardless of the symlink issue (which should be done anyways, IMO), /bin/env doesn't exist in the default OpenBSD install. The port should use /usr/bin/env.
Re: reporting a bug in ports/net/flow-tools?
On 2010-04-27, Michael W. Lucas mwlu...@blackhelicopters.org wrote: Sendbug doesn't seem to have a ports option, and my bug report doesn't have a single recommend solution in any case, so I'm asking here. po...@openbsd.org or the maintainer are generally your preferred options. The flow-log2rrd, flow-rpt2rrd, and flow-rptfmt programs in flow-tools each start with the line: How are you finding this out? flow-log2rrd and flow-rpt2rrd do not make it into the package. flow-rptfmt is correctly patched to use the system python, see the port Makefile. I could argue that these should start with any of the following: #!/usr/bin/env python2.5 #!/usr/local/bin/python2.5 (repeat for python 2.4 and 2.6) So, what is the OpenBSD-style resolution for this sort of thing? $ head -1 /usr/local/bin/flow-rptfmt #!/usr/local/bin/python2.5 Out of curiosity, is there any interest in a port of the new flow-tools fork? It fixes many corruption bugs on 64-bit systems. URL?
Re: reporting a bug in ports/net/flow-tools?
On Tue, Apr 27, 2010 at 05:36:15PM +0300, Antti Harri wrote: On Tue, 27 Apr 2010, Michael W. Lucas wrote: Hi, Sendbug doesn't seem to have a ports option, and my bug report doesn't have a single recommend solution in any case, so I'm asking here. The flow-log2rrd, flow-rpt2rrd, and flow-rptfmt programs in flow-tools each start with the line: #!/bin/env python This won't work on OpenBSD. OpenBSD's env is in /usr/bin, and python is installed (at least on my system) as /usr/local/bin/python2.5. There is no generic python command. These programs will run under any of the 3 python ports. I could argue that these should start with any of the following: #!/usr/bin/env python2.5 #!/usr/local/bin/python2.5 (repeat for python 2.4 and 2.6) So, what is the OpenBSD-style resolution for this sort of thing? I don't care what the solution is, I just want flow-tools to work out of the box. Out of curiosity, is there any interest in a port of the new flow-tools fork? It fixes many corruption bugs on 64-bit systems. Thanks, You should symlink one of the pythonX.Y binaries to 'python', as post install message for python packages suggest. Fair enough. Python was one of many dependencies in an earlier install, so I missed that message. But that still leaves the bogus /bin/env problem in this particular package. ==ml -- Michael W. Lucasmwlu...@blackhelicopters.org http://www.MichaelWLucas.com/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/
Re: reporting a bug in ports/net/flow-tools?
On Tue, 27 Apr 2010 17:41 +0300, Stas Miasnikou m...@gurtam.com wrote: Michael W. Lucas: Sendbug doesn't seem to have a ports option, and my bug report doesn't have a single recommend solution in any case, so I'm asking here. The flow-log2rrd, flow-rpt2rrd, and flow-rptfmt programs in flow-tools each start with the line: #!/bin/env python This won't work on OpenBSD. OpenBSD's env is in /usr/bin, and python is installed (at least on my system) as /usr/local/bin/python2.5. There is no generic python command. These programs will run under any of the 3 python ports. The python packages tell you to make symbolic links when you install them. Not sure about ports though. ports are the same, and after the install pkg_info will tell you again see the Install Notice: $ pkg_info python Information for inst:python-2.5.4p2 Comment: interpreted object-oriented programming language Required by: libxslt-1.1.26 py-libxml-2.7.6 Description: Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction to programming in Python you are referred to the Python Tutorial. The Python Library Reference documents built-in and standard types, constants, functions and modules. Finally, the Python Reference Manual describes the syntax and semantics of the core language in (perhaps too) much detail. Python's basic power can be extended with your own modules written in C or C++. On most systems such modules may be dynamically loaded. Python is also adaptable as an extension language for existing applications. See the internal documentation for hints. Maintainer: Damien Miller d...@openbsd.org WWW: http://www.python.org/ Install notice: If you want to use this package as your default system python, as root create symbolic links like so (overwriting any previous default): ln -sf /usr/local/bin/python2.5 /usr/local/bin/python ln -sf /usr/local/bin/python2.5-config /usr/local/bin/python-config ln -sf /usr/local/bin/pydoc2.5 /usr/local/bin/pydoc