sys/dev/amr build error with Clang

2012-08-31 Thread deeptech71
Hey, Baldie: /usr/src/sys/modules/amr/../../dev/amr/amr.c:970:1: error: function 'amr_periodic' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] amr_periodic(void *data) ^ 1 error generated. *** [amr.o] Error code 1 Stop in /usr/src/sys/modules/amr.

Re: UFS journal error on 10.0-CURRENT

2012-08-31 Thread René Ladan
2012/8/30 Jakub Lach jakub_l...@mailplus.pl: Yes, if I would answer 'yes' to using journal, there would be unexpected free inodes (?) or something like that in syslog and inconsistencies if full fsck would be performed. That's normally the case, yes, but not here. Basically if I have

rpcbind does not honor -h flag

2012-08-31 Thread Борис Самородов
Hi All, I've it at 9.1-PRERELEASE and I've got a chance to test at CURRENT. It's the same (mind a line with udp4 *:768 at sockstat info): - % sockstat -4l | grep rpcbind % grep rpcbind /etc/rc.conf.local rpcbind_flags=-h 192.168.119.6 rpcbind_enable=YES % sudo /etc/rc.d/rpcbind start

Re: rpcbind does not honor -h flag

2012-08-31 Thread Garrett Cooper
On Fri, Aug 31, 2012 at 1:05 AM, Борис Самородов b...@passap.ru wrote: Hi All, I've it at 9.1-PRERELEASE and I've got a chance to test at CURRENT. It's the same (mind a line with udp4 *:768 at sockstat info): - % sockstat -4l | grep rpcbind % grep rpcbind /etc/rc.conf.local

Re: rpcbind does not honor -h flag

2012-08-31 Thread Garrett Cooper
On Fri, Aug 31, 2012 at 1:14 AM, Garrett Cooper yaneg...@gmail.com wrote: On Fri, Aug 31, 2012 at 1:05 AM, Борис Самородов b...@passap.ru wrote: Hi All, I've it at 9.1-PRERELEASE and I've got a chance to test at CURRENT. It's the same (mind a line with udp4 *:768 at sockstat info): - %

Re: rpcbind does not honor -h flag

2012-08-31 Thread Борис Самородов
31.08.2012 12:34, Maxim Konovalov пишет: Please file a PR against rc ASAP. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/117711 I see. Thanks. -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___

Re: sys/dev/amr build error with Clang

2012-08-31 Thread Dimitry Andric
On 2012-08-31 09:34, deeptec...@gmail.com wrote: /usr/src/sys/modules/amr/../../dev/amr/amr.c:970:1: error: function 'amr_periodic' is not needed and will not be emitted [-Werror,-Wunneeded-internal-declaration] The one call to get the callout to amr_periodic() started seems to

Re: sys/dev/amr build error with Clang

2012-08-31 Thread deeptech71
Dimitry Andric wrote: The one call to get the callout to amr_periodic() started seems to have been commented out in r239912: http://svnweb.freebsd.org/base/head/sys/dev/amr/amr.c?r1=239912r2=239911pathrev=239912 If the function isn't necessary anymore, it could just be deleted, or #ifdef'd

Re: sys/dev/amr build error with Clang

2012-08-31 Thread Scott Long
On Aug 31, 2012, at 2:43 AM, Dimitry Andric dimi...@andric.com wrote: On 2012-08-31 09:34, deeptec...@gmail.com wrote: /usr/src/sys/modules/amr/../../dev/amr/amr.c:970:1: error: function 'amr_periodic' is not needed and will not be emitted

Re: make package fails in chroot: tar: getvfsbyname failed: No such file or directory

2012-08-31 Thread Bernhard Fröhlich
On Thu, Aug 30, 2012 at 4:34 PM, Konstantin Belousov kostik...@gmail.com wrote: On Thu, Aug 30, 2012 at 04:07:48PM +0200, Bernhard Fr?hlich wrote: On Mon, Aug 20, 2012 at 2:31 PM, Konstantin Belousov kostik...@gmail.com wrote: On Mon, Aug 20, 2012 at 01:42:31PM +0200, Bernhard Fr?hlich wrote:

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Baptiste Daroussin
On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: On 08/30/2012 07:32 AM, John Baldwin wrote: On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote: On 30 Aug 2012 18:03, John Baldwin j...@freebsd.org wrote: I agree with John on all counts here. Further, the idea of a

Re: rpcbind does not honor -h flag

2012-08-31 Thread Борис Самородов
31.08.2012 12:14, Garrett Cooper пишет: Please file a PR against rc ASAP. Can someone file a PR on the matter? (ENOTIME for me) Thanks! -- WBR, Boris Samorodov (bsam) FreeBSD Committer, http://www.FreeBSD.org The Power To Serve ___

Re: rpcbind does not honor -h flag

2012-08-31 Thread Maxim Konovalov
Please file a PR against rc ASAP. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/117711 -- Maxim Konovalov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to

Re: [CFT] Some updates to libc/rpc (second try)

2012-08-31 Thread Andrey Simonenko
On Thu, Aug 30, 2012 at 02:37:17AM -0700, Garrett Cooper wrote: Detailed description of mistakes in these files and correct implementation: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/165710 A developer at $work (Isilon) developed a slightly simpler patch than that based on our

Re: sys/dev/amr build error with Clang

2012-08-31 Thread John Baldwin
On Friday, August 31, 2012 5:13:01 am deeptec...@gmail.com wrote: Dimitry Andric wrote: The one call to get the callout to amr_periodic() started seems to have been commented out in r239912: http://svnweb.freebsd.org/base/head/sys/dev/amr/amr.c?r1=239912r2=239911pathrev=239912 If

Re: [CFT] Some updates to libc/rpc (second try)

2012-08-31 Thread John Baldwin
On Friday, August 31, 2012 7:06:53 am Andrey Simonenko wrote: On Thu, Aug 30, 2012 at 02:37:17AM -0700, Garrett Cooper wrote: Detailed description of mistakes in these files and correct implementation: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/165710 A developer at $work

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread John Baldwin
On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: On 08/30/2012 07:32 AM, John Baldwin wrote: On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote: On 30 Aug 2012 18:03, John Baldwin j...@freebsd.org wrote:

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Baptiste Daroussin
On Fri, Aug 31, 2012 at 08:10:50AM -0400, John Baldwin wrote: On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: On 08/30/2012 07:32 AM, John Baldwin wrote: On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote:

Re: [CFT] Some updates to libc/rpc (second try)

2012-08-31 Thread Andrey Simonenko
On Fri, Aug 31, 2012 at 08:12:09AM -0400, John Baldwin wrote: On Friday, August 31, 2012 7:06:53 am Andrey Simonenko wrote: On Thu, Aug 30, 2012 at 02:37:17AM -0700, Garrett Cooper wrote: Detailed description of mistakes in these files and correct implementation:

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Chris Rees
On 31 Aug 2012 13:15, John Baldwin j...@freebsd.org wrote: On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: On 08/30/2012 07:32 AM, John Baldwin wrote: On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote:

Re: Script to set/unset automatic status in PKGNG database

2012-08-31 Thread John Nielsen
On Aug 30, 2012, at 11:56 PM, Matthew Seaman matt...@freebsd.org wrote: On 30/08/2012 22:44, John Nielsen wrote: After dialog(1) exits the script has a list of packages to mark as automatic. Is there a non-SQL way to efficiently get the inverse? I.e. the set { all_packages -

Re: rpcbind does not honor -h flag

2012-08-31 Thread Scot Hetzel
On Fri, Aug 31, 2012 at 3:42 AM, Борис Самородов b...@passap.ru wrote: 31.08.2012 12:34, Maxim Konovalov пишет: Please file a PR against rc ASAP. http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/117711 I see. Thanks. Looks like Matteo Riondato had created a patch for the problem in

Re: Plugins support in pkgng

2012-08-31 Thread Vitaly Magerya
Marin Atanasov Nikolov dna...@gmail.com wrote: This is just to share with you that soon after the official 1.0 release of pkgng we now have basic plugins support in pkgng's development branch. [...] It's not perfect or covering everything, but it will give you a quick start though :) How

Re: Plugins support in pkgng

2012-08-31 Thread Glen Barber
On Fri, Aug 31, 2012 at 06:27:09PM +0300, Vitaly Magerya wrote: Marin Atanasov Nikolov dna...@gmail.com wrote: This is just to share with you that soon after the official 1.0 release of pkgng we now have basic plugins support in pkgng's development branch. [...] It's not perfect or

Re: UFS journal error on 10.0-CURRENT

2012-08-31 Thread Jakub Lach
That's normally the case, yes, but not here. Are you saying that if using journal, inconsistencies in 'clean' fs are expected? Basically I'm saying that apparently here journal does nothing after enabling it. Usually after really hard power dip, I need to manually fsck as all symptoms of

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Tijl Coosemans
On 31-08-2012 14:22, Baptiste Daroussin wrote: On Fri, Aug 31, 2012 at 08:10:50AM -0400, John Baldwin wrote: On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: I agree with John on all counts here. Further, the idea of a

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Garrett Cooper
On Fri, Aug 31, 2012 at 8:47 AM, Tijl Coosemans t...@coosemans.org wrote: On 31-08-2012 14:22, Baptiste Daroussin wrote: On Fri, Aug 31, 2012 at 08:10:50AM -0400, John Baldwin wrote: On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Garrett Cooper
On Fri, Aug 31, 2012 at 2:59 AM, Baptiste Daroussin b...@freebsd.org wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: On 08/30/2012 07:32 AM, John Baldwin wrote: On Thursday, August 30, 2012 1:10:24 pm Chris Rees wrote: On 30 Aug 2012 18:03, John Baldwin j...@freebsd.org

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Chris Rees
On 31 August 2012 16:47, Tijl Coosemans t...@coosemans.org wrote: On 31-08-2012 14:22, Baptiste Daroussin wrote: On Fri, Aug 31, 2012 at 08:10:50AM -0400, John Baldwin wrote: On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton

Re: Plugins support in pkgng

2012-08-31 Thread Vitaly Magerya
Glen Barber g...@freebsd.org wrote: How about the ability to add new commands to pkg? For example something like pkg cutleaves via plugins would be cool. I think 'pkg autoremove' already does this. Does autoremove show you all the leaves and ask which ones you want removed? I honestly don't

Re: Plugins support in pkgng

2012-08-31 Thread Bryan Drewery
On 8/31/2012 11:03 AM, Vitaly Magerya wrote: Glen Barber g...@freebsd.org wrote: How about the ability to add new commands to pkg? For example something like pkg cutleaves via plugins would be cool. I think 'pkg autoremove' already does this. Does autoremove show you all the leaves and ask

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread John Baldwin
On Friday, August 31, 2012 9:41:13 am Chris Rees wrote: On 31 Aug 2012 13:15, John Baldwin j...@freebsd.org wrote: On Friday, August 31, 2012 5:59:10 am Baptiste Daroussin wrote: On Thu, Aug 30, 2012 at 01:02:06PM -1000, Doug Barton wrote: On 08/30/2012 07:32 AM, John Baldwin wrote:

[PATCH] Add locking to aha(4)

2012-08-31 Thread John Baldwin
I have patches to add locking to aha(4) and mark it MPSAFE. The patches are from HEAD but should apply to 8 or 9. If you test it on 8 or 9 please enable INVARIANTS for at least the initial testing. Thanks. http://www.FreeBSD.org/~jhb/patches/aha_locking.patch -- John Baldwin

Re: pkgng suggestion: renaming /usr/sbin/pkg to /usr/sbin/pkg-bootstrap

2012-08-31 Thread Craig Rodrigues
Hi, I think the details of the patch would need to be worked out a bit, but I think you are on the right track. I think it would be nice to: (1) Have deprecation warnings in the legacy pkg_* tools. If someone types pkg_add, maybe warn them that it is deprecated, and they

Re: Can't build FreeBSD-head with CLANG

2012-08-31 Thread Dimitry Andric
On 2012-08-30 18:43, Eir Nym wrote: On 30 August 2012 20:16, Dimitry Andric d...@freebsd.org wrote: ... It seems the WERROR= in the xfs module Makefile was right there from the start, but it was never removed. I have compiled it using gcc, and there are actually no warnings from gcc at all.

[PATCH] Add locking to ahb(4)

2012-08-31 Thread John Baldwin
I have patches to add locking to ahb(4) and mark it MPSAFE. The patches are from HEAD but should apply to 8 or 9. If you test it on 8 or 9 please enable INVARIANTS for at least the initial testing. Thanks. http://www.FreeBSD.org/~jhb/patches/ahb_locking.patch -- John Baldwin

Re: Plugins support in pkgng

2012-08-31 Thread Eitan Adler
On 31 August 2012 09:15, Bryan Drewery br...@shatow.net wrote: No, because it already knows which you installed and which were pulled in as dependencies. There's a recent thread on ports@ regarding pkg2ng and marking your imported packages as automatic or not. There is a usecase for looking

Re: Plugins support in pkgng

2012-08-31 Thread Bryan Drewery
On 8/31/2012 10:15 PM, Eitan Adler wrote: On 31 August 2012 09:15, Bryan Drewery br...@shatow.net wrote: No, because it already knows which you installed and which were pulled in as dependencies. There's a recent thread on ports@ regarding pkg2ng and marking your imported packages as