misc/180591: Port editors/vim: make needs a -D and does not document it

2013-07-16 Thread Bertram Scharpf

>Number: 180591
>Category:   misc
>Synopsis:   Port editors/vim: make needs a -D and does not document it
>Confidential:   no
>Severity:   non-critical
>Priority:   low
>Responsible:freebsd-bugs
>State:  open
>Quarter:
>Keywords:   
>Date-Required:
>Class:  sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 16 08:30:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Bertram Scharpf
>Release:FreeBSD 9.1
>Organization:
>Environment:
FreeBSD host.tld 9.1-STABLE FreeBSD 9.1-STABLE #0: Thu Jun 6 18:31:52 CEST 2013 
root@xxx:/usr/obj/usr/src/sys/GENERIC i386
>Description:
1. The standard "man ports" way to show the current
configuration is

  # make showconfig

This stays empty within editors/vim. Instead you have
to say

  # make show-options

2. There is no documentation about this, neither in
UPDATING nor in the ports directory.

3. Tuning the options as descibed in "man ports"
results in

  # make config
  ===> No options to configure

4. Obviously these both work:

  # make -DWITH_OPTIONS showconfig
  # make -DWITH_OPTIONS config

Again, there is no documentation describing this way
to take action.
>How-To-Repeat:
See above.
>Fix:
Remove the silly "show-options" target.

Remove the ".if defined(WITH_OPTIONS)" line and its ".else" part.


>Release-Note:
>Audit-Trail:
>Unformatted:
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: kern/180462: [lor] system freezes when I close something that is using lots of memory (?)

2013-07-16 Thread linimon
Synopsis: [lor] system freezes when I close something that is using lots of 
memory (?)

State-Changed-From-To: open->closed
State-Changed-By: linimon
State-Changed-When: Tue Jul 16 09:16:40 UTC 2013
State-Changed-Why: 
fixed in HEAD, submitter notes it can be closed.

http://www.freebsd.org/cgi/query-pr.cgi?pr=180462
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: ports/180591: Port editors/vim: make needs a -D and does not document it

2013-07-16 Thread linimon
Synopsis: Port editors/vim: make needs a -D and does not document it

Responsible-Changed-From-To: freebsd-bugs->freebsd-ports-bugs
Responsible-Changed-By: linimon
Responsible-Changed-When: Tue Jul 16 09:20:52 UTC 2013
Responsible-Changed-Why: 
ports PR.

http://www.freebsd.org/cgi/query-pr.cgi?pr=180591
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/180568: r251672 breaks applications which depends on dlopen("libc.so")

2013-07-16 Thread Gleb Smirnoff
The following reply was made to PR misc/180568; it has been noted by GNATS.

From: Gleb Smirnoff 
To: Taku YAMAMOTO 
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: misc/180568: r251672 breaks applications which depends on
 dlopen("libc.so")
Date: Tue, 16 Jul 2013 16:46:10 +0400

 On Mon, Jul 15, 2013 at 06:19:27AM +, Taku YAMAMOTO wrote:
 T> >Description:
 T> After r251672 /usr/lib/libc.so becomes a plain ASCII text file which 
contains a linker script.
 
 r251672 is a comment only change, isn't it?
 
 
 -- 
 Totus tuus, Glebius.
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


mdconfig

2013-07-16 Thread sbremal
Hello

Wonder if there should be any consistency in 'mdconfig' parameter parsing when 
run from the shell and when run through 'rc.conf'.

I hoped I could copy'n'paste the parameters from the command line to 'rc.conf', 
reboot and enjoy. No.


Works fine from command line:

mdconfig -f /usr/local/zfs/backups -u 0


Fails in 'rc.conf', the file is surely there:

mdconfig_md0="-f /usr/local/zfs/backups"

kernel: Creating md0 device (-f).
kernel: mdconfig:
kernel: could not find full path for /usr/local/zfs/backups
kernel: :
kernel: No such file or directory
kernel: Creating md0 device failed, moving on.


Also fails:

mdconfig_md0="-f /usr/local/zfs/backups -t vnode"

kernel: Creating md0 device (vnode).
kernel: usage: mdconfig -a -t type [-n] [-o [no]option] ... [-f file]
kernel: [-s size] [-S sectorsize] [-u unit]
kernel: [-x sectors/track] [-y heads/cyl]
kernel: mdconfig -d -u unit [-o [no]force]
kernel: mdconfig -l [-v] [-n] [-u unit]
kernel: type = {malloc, preload, vnode, swap}
kernel: option = {cluster, compress, reserve}
kernel: size = %d (512 byte blocks), %db (B),
kernel: %dk (kB), %dm (MB), %dg (GB) or
kernel: %dt (TB)
kernel: Creating md0 device failed, moving on.


Works:

mdconfig_md0="-t vnode -f /usr/local/zfs/backups"

kernel: Creating md0 device (vnode).
kernel: fsck:


Would anyone bother make 'rc.conf' more relaxed about the parameters and their 
order?


Cheers
Balazs

---

man mdconfig
...
-f file
Filename to use for the vnode type memory disk. Options -a and -t
vnode are implied if not specified.
...

man rc.conf
...
 mdconfig_md
 (str) Arguments to mdconfig(8) for md(4) device X.  At mini-
 mum a -t type must be specified and either a -s size for mal-
 loc or swap backed md(4) devices or a -f file for vnode
 backed md(4) devices.  Note that mdconfig_md variables are
 evaluated until one variable is unset or null.
...   
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


Re: misc/180568: r251672 breaks applications which depends on dlopen("libc.so")

2013-07-16 Thread Taku YAMAMOTO
The following reply was made to PR misc/180568; it has been noted by GNATS.

From: Taku YAMAMOTO 
To: Gleb Smirnoff 
Cc: freebsd-gnats-sub...@freebsd.org
Subject: Re: misc/180568: r251672 breaks applications which depends on
 dlopen("libc.so")
Date: Wed, 17 Jul 2013 00:54:45 +0900

 On Tue, 16 Jul 2013 16:46:10 +0400
 Gleb Smirnoff  wrote:
 
 > On Mon, Jul 15, 2013 at 06:19:27AM +, Taku YAMAMOTO wrote:
 > T> >Description:
 > T> After r251672 /usr/lib/libc.so becomes a plain ASCII text file which 
 > contains a linker script.
 > 
 > r251672 is a comment only change, isn't it?
 > 
 > 
 > -- 
 > Totus tuus, Glebius.
 
 Oops, it's actually r251668 which I wanted to mean.
 
 -- 
 -|-__   YAMAMOTO, Taku
  | __ < 
 
   - A chicken is an egg's way of producing more eggs. -
___
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"