xorg-server patch error

2013-02-01 Thread Andriy Kornatskyy

I have installed FreeBSD 9.1 and trying to build x11/xorg-minimal package. The 
ports are fresh. The error is below.

Please advise.

Thanks.

Andriy Kornatskyy


/etc/make.conf

WITH_NEW_XORG=
WITH_KMS=
WITHOUT_HAL=

# make install clean -sC /usr/ports/x11/xorg-minimal

=== Installing for xorg-minimal-7.5.2
=== xorg-minimal-7.5.2 depends on file: /usr/local/bin/Xorg - not found
=== Verifying install for /usr/local/bin/Xorg in 
/usr/ports/x11-servers/xorg-server
=== Patching for xorg-server-1.10.6_2,1
=== xorg-server-1.10.6_2,1 depends on file: /usr/local/bin/perl5.14.2 - found
=== Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_compsize.h
=== Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_glxcmds.h
=== Applying extra patch /usr/ports/x11-servers/xorg-server/files/extra-clang
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to hw/xfree86/common/xf86Xinput.c.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to hw/xfree86/parser/InputClass.c.rej
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to hw/xfree86/dri2/dri2.c.rej
*** [do-patch] Error code 5

Stop in /usr/ports/x11-servers/xorg-server.
*** [install] Error code 1

Stop in /usr/ports/x11-servers/xorg-server.
*** [run-depends] Error code 1

Stop in /usr/ports/x11/xorg-minimal.
  
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: xorg-server patch error

2013-02-01 Thread Volodymyr Kostyrko

01.02.2013 10:07, Andriy Kornatskyy:


# make install clean -sC /usr/ports/x11/xorg-minimal

=== Installing for xorg-minimal-7.5.2
=== xorg-minimal-7.5.2 depends on file: /usr/local/bin/Xorg - not found
=== Verifying install for /usr/local/bin/Xorg in 
/usr/ports/x11-servers/xorg-server
=== Patching for xorg-server-1.10.6_2,1
=== xorg-server-1.10.6_2,1 depends on file: /usr/local/bin/perl5.14.2 - found
=== Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_compsize.h
=== Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_glxcmds.h
=== Applying extra patch /usr/ports/x11-servers/xorg-server/files/extra-clang
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to hw/xfree86/common/xf86Xinput.c.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to hw/xfree86/parser/InputClass.c.rej
Ignoring previously applied (or reversed) patch.
3 out of 3 hunks ignored--saving rejects to hw/xfree86/dri2/dri2.c.rej
*** [do-patch] Error code 5


Just a wild guess, can there be any old patches in 
/usr/ports/x11-servers/xorg-server/files? At revision 311359 port should 
contain only:


# svn status -v
311359   310652 zeising  .
311359   310652 zeising  Makefile
311359   300897 beat distinfo
311359   310652 zeising  files
311359   300897 beat files/extra-arch-ia64
311359   300897 beat files/extra-arch-powerpc
311359   308898 zeising  files/extra-clang
311359   300897 beat files/extra-dix_events.c
311359   300897 beat 
files/extra-hw_dmx_glxProxy_compsize.h
311359   300897 beat 
files/extra-hw_dmx_glxProxy_glxcmds.h

311359   300897 beat files/extra-include_eventstr.h
311359   310652 zeising  files/extra-new-arch-i386
311359   310652 zeising  files/extra-old-arch-i386
311359   300897 beat files/extra-patch-os-utils.c
311359   300897 beat 
files/patch-Xserver-hw-xfree86-common-xf86Config.c
311359   300897 beat 
files/patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c
311359   300897 beat 
files/patch-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c

311359   300897 beat files/patch-Xserver-os-xprintf.c
311359   300897 beat files/patch-servermd.h
311359   300897 beat files/patch-xorgconf.cpp
311359   303429 kwm  files/pkg-deinstall.in
311359   303429 kwm  files/pkg-install.in
311359   300897 beat pkg-descr
311359   303429 kwm  pkg-plist

--
Sphinx of black quartz, judge my vow.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


RE: xorg-server patch error

2013-02-01 Thread Andriy Kornatskyy

Volodymyr,

Thank you for the reply. Here is what I have (via: portsnap fetch update):

# ls -lh /usr/ports/x11-servers/xorg-server/*
-rw-r--r--  1 root  wheel   5.3k Jan 19 14:47 
/usr/ports/x11-servers/xorg-server/Makefile
-rw-r--r--  1 root  wheel   344B Apr 21  2012 
/usr/ports/x11-servers/xorg-server/distinfo
-rw-r--r--  1 root  wheel   118B Feb 25  2011 
/usr/ports/x11-servers/xorg-server/pkg-descr
-rw-r--r--  1 root  wheel   6.2k Aug 31 18:44 
/usr/ports/x11-servers/xorg-server/pkg-plist

/usr/ports/x11-servers/xorg-server/files:
total 76
-rw-r--r--  1 root  wheel   5.4k Apr 21  2012 extra-arch-ia64
-rw-r--r--  1 root  wheel   438B May  5  2010 extra-arch-powerpc
-rw-r--r--  1 root  wheel   1.7k Dec 14 13:08 extra-clang
-rw-r--r--  1 root  wheel   3.4k Apr 24  2012 extra-dix_events.c
-rw-r--r--  1 root  wheel   2.3k Apr 21  2012 extra-hw_dmx_glxProxy_compsize.h
-rw-r--r--  1 root  wheel   1.8k Apr 21  2012 extra-hw_dmx_glxProxy_glxcmds.h
-rw-r--r--  1 root  wheel   799B Apr 21  2012 extra-include_eventstr.h
-rw-r--r--  1 root  wheel   493B Jan 19 14:47 extra-new-arch-i386
-rw-r--r--  1 root  wheel   511B Jan 19 14:47 extra-old-arch-i386
-rw-r--r--  1 root  wheel   645B Apr 21  2012 extra-patch-os-utils.c
-rw-r--r--  1 root  wheel   384B May 19  2007 
patch-Xserver-hw-xfree86-common-xf86Config.c
-rw-r--r--  1 root  wheel   469B May 19  2007 
patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c
-rw-r--r--  1 root  wheel   402B Mar 31  2009 
patch-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c
-rw-r--r--  1 root  wheel   350B May 19  2007 patch-Xserver-os-xprintf.c
-rw-r--r--  1 root  wheel   320B May 19  2007 patch-servermd.h
-rw-r--r--  1 root  wheel   471B May 19  2007 patch-xorgconf.cpp
-rw-r--r--  1 root  wheel   244B Aug 31 18:44 pkg-deinstall.in
-rw-r--r--  1 root  wheel   638B Aug 31 18:44 pkg-install.in

Thanks.

Andriy



 Date: Fri, 1 Feb 2013 14:18:10 +0200
 From: c.kw...@gmail.com
 To: andriy.kornats...@live.com
 Subject: Re: xorg-server patch error
 CC: freebsd-stable@freebsd.org

 01.02.2013 10:07, Andriy Kornatskyy:

  # make install clean -sC /usr/ports/x11/xorg-minimal
 
  === Installing for xorg-minimal-7.5.2
  === xorg-minimal-7.5.2 depends on file: /usr/local/bin/Xorg - not found
  === Verifying install for /usr/local/bin/Xorg in 
  /usr/ports/x11-servers/xorg-server
  === Patching for xorg-server-1.10.6_2,1
  === xorg-server-1.10.6_2,1 depends on file: /usr/local/bin/perl5.14.2 - 
  found
  === Applying extra patch 
  /usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_compsize.h
  === Applying extra patch 
  /usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_glxcmds.h
  === Applying extra patch 
  /usr/ports/x11-servers/xorg-server/files/extra-clang
  Ignoring previously applied (or reversed) patch.
  1 out of 1 hunks ignored--saving rejects to 
  hw/xfree86/common/xf86Xinput.c.rej
  Ignoring previously applied (or reversed) patch.
  1 out of 1 hunks ignored--saving rejects to 
  hw/xfree86/parser/InputClass.c.rej
  Ignoring previously applied (or reversed) patch.
  3 out of 3 hunks ignored--saving rejects to hw/xfree86/dri2/dri2.c.rej
  *** [do-patch] Error code 5

 Just a wild guess, can there be any old patches in
 /usr/ports/x11-servers/xorg-server/files? At revision 311359 port should
 contain only:

 # svn status -v
 311359 310652 zeising .
 311359 310652 zeising Makefile
 311359 300897 beat distinfo
 311359 310652 zeising files
 311359 300897 beat files/extra-arch-ia64
 311359 300897 beat files/extra-arch-powerpc
 311359 308898 zeising files/extra-clang
 311359 300897 beat files/extra-dix_events.c
 311359 300897 beat
 files/extra-hw_dmx_glxProxy_compsize.h
 311359 300897 beat
 files/extra-hw_dmx_glxProxy_glxcmds.h
 311359 300897 beat files/extra-include_eventstr.h
 311359 310652 zeising files/extra-new-arch-i386
 311359 310652 zeising files/extra-old-arch-i386
 311359 300897 beat files/extra-patch-os-utils.c
 311359 300897 beat
 files/patch-Xserver-hw-xfree86-common-xf86Config.c
 311359 300897 beat
 files/patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c
 311359 300897 beat
 files/patch-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c
 311359 300897 beat files/patch-Xserver-os-xprintf.c
 311359 300897 beat files/patch-servermd.h
 311359 300897 beat files/patch-xorgconf.cpp
 311359 303429 kwm files/pkg-deinstall.in
 311359 303429 kwm files/pkg-install.in
 311359 300897 beat pkg-descr
 311359 303429 kwm pkg-plist

 --
 Sphinx of black quartz, judge my vow.
 ___
 freebsd-stable@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-stable
 To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org
  
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to 

RE: xorg-server patch error

2013-02-01 Thread Andriy Kornatskyy

If I remove `work` directory for xorg-server, the error is a bit different:

===  Found saved configuration for xorg-server-1.10.6_2,1
===  Extracting for xorg-server-1.10.6_2,1
= SHA256 Checksum OK for xorg/xserver/xorg-server-1.10.6.tar.bz2.
===   xorg-server-1.10.6_2,1 depends on file: /usr/local/bin/perl5.14.2 - found
===  Patching for xorg-server-1.10.6_2,1
===   xorg-server-1.10.6_2,1 depends on file: /usr/local/bin/perl5.14.2 - found
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_compsize.h
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_glxcmds.h
===  Applying extra patch /usr/ports/x11-servers/xorg-server/files/extra-clang
===  Applying extra patch 
/usr/ports/x11-servers/xorg-server/files/extra-new-arch-i386
1 out of 1 hunks failed--saving rejects to hw/xfree86/common/compiler.h.rej
*** [do-patch] Error code 1

Thanks.

Andriy


 From: andriy.kornats...@live.com
 To: c.kw...@gmail.com
 Subject: RE: xorg-server patch error
 Date: Fri, 1 Feb 2013 15:35:22 +0300
 CC: freebsd-stable@freebsd.org


 Volodymyr,

 Thank you for the reply. Here is what I have (via: portsnap fetch update):

 # ls -lh /usr/ports/x11-servers/xorg-server/*
 -rw-r--r-- 1 root wheel 5.3k Jan 19 14:47 
 /usr/ports/x11-servers/xorg-server/Makefile
 -rw-r--r-- 1 root wheel 344B Apr 21 2012 
 /usr/ports/x11-servers/xorg-server/distinfo
 -rw-r--r-- 1 root wheel 118B Feb 25 2011 
 /usr/ports/x11-servers/xorg-server/pkg-descr
 -rw-r--r-- 1 root wheel 6.2k Aug 31 18:44 
 /usr/ports/x11-servers/xorg-server/pkg-plist

 /usr/ports/x11-servers/xorg-server/files:
 total 76
 -rw-r--r-- 1 root wheel 5.4k Apr 21 2012 extra-arch-ia64
 -rw-r--r-- 1 root wheel 438B May 5 2010 extra-arch-powerpc
 -rw-r--r-- 1 root wheel 1.7k Dec 14 13:08 extra-clang
 -rw-r--r-- 1 root wheel 3.4k Apr 24 2012 extra-dix_events.c
 -rw-r--r-- 1 root wheel 2.3k Apr 21 2012 extra-hw_dmx_glxProxy_compsize.h
 -rw-r--r-- 1 root wheel 1.8k Apr 21 2012 extra-hw_dmx_glxProxy_glxcmds.h
 -rw-r--r-- 1 root wheel 799B Apr 21 2012 extra-include_eventstr.h
 -rw-r--r-- 1 root wheel 493B Jan 19 14:47 extra-new-arch-i386
 -rw-r--r-- 1 root wheel 511B Jan 19 14:47 extra-old-arch-i386
 -rw-r--r-- 1 root wheel 645B Apr 21 2012 extra-patch-os-utils.c
 -rw-r--r-- 1 root wheel 384B May 19 2007 
 patch-Xserver-hw-xfree86-common-xf86Config.c
 -rw-r--r-- 1 root wheel 469B May 19 2007 
 patch-Xserver-hw-xfree86-os-support-bsd-i386_video.c
 -rw-r--r-- 1 root wheel 402B Mar 31 2009 
 patch-Xserver-hw-xfree86-os-support-bsd-sparc64_video.c
 -rw-r--r-- 1 root wheel 350B May 19 2007 patch-Xserver-os-xprintf.c
 -rw-r--r-- 1 root wheel 320B May 19 2007 patch-servermd.h
 -rw-r--r-- 1 root wheel 471B May 19 2007 patch-xorgconf.cpp
 -rw-r--r-- 1 root wheel 244B Aug 31 18:44 pkg-deinstall.in
 -rw-r--r-- 1 root wheel 638B Aug 31 18:44 pkg-install.in

 Thanks.

 Andriy


 
  Date: Fri, 1 Feb 2013 14:18:10 +0200
  From: c.kw...@gmail.com
  To: andriy.kornats...@live.com
  Subject: Re: xorg-server patch error
  CC: freebsd-stable@freebsd.org
 
  01.02.2013 10:07, Andriy Kornatskyy:
 
   # make install clean -sC /usr/ports/x11/xorg-minimal
  
   === Installing for xorg-minimal-7.5.2
   === xorg-minimal-7.5.2 depends on file: /usr/local/bin/Xorg - not found
   === Verifying install for /usr/local/bin/Xorg in 
   /usr/ports/x11-servers/xorg-server
   === Patching for xorg-server-1.10.6_2,1
   === xorg-server-1.10.6_2,1 depends on file: /usr/local/bin/perl5.14.2 - 
   found
   === Applying extra patch 
   /usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_compsize.h
   === Applying extra patch 
   /usr/ports/x11-servers/xorg-server/files/extra-hw_dmx_glxProxy_glxcmds.h
   === Applying extra patch 
   /usr/ports/x11-servers/xorg-server/files/extra-clang
   Ignoring previously applied (or reversed) patch.
   1 out of 1 hunks ignored--saving rejects to 
   hw/xfree86/common/xf86Xinput.c.rej
   Ignoring previously applied (or reversed) patch.
   1 out of 1 hunks ignored--saving rejects to 
   hw/xfree86/parser/InputClass.c.rej
   Ignoring previously applied (or reversed) patch.
   3 out of 3 hunks ignored--saving rejects to hw/xfree86/dri2/dri2.c.rej
   *** [do-patch] Error code 5
 
  Just a wild guess, can there be any old patches in
  /usr/ports/x11-servers/xorg-server/files? At revision 311359 port should
  contain only:
 
  # svn status -v
  311359 310652 zeising .
  311359 310652 zeising Makefile
  311359 300897 beat distinfo
  311359 310652 zeising files
  311359 300897 beat files/extra-arch-ia64
  311359 300897 beat files/extra-arch-powerpc
  311359 308898 zeising files/extra-clang
  311359 300897 beat files/extra-dix_events.c
  311359 300897 beat
  files/extra-hw_dmx_glxProxy_compsize.h
  311359 300897 beat
  files/extra-hw_dmx_glxProxy_glxcmds.h
  311359 300897 beat files/extra-include_eventstr.h
  311359 310652 zeising 

Re: svn commit: r200596 - head

2013-02-01 Thread Sergey Kandaurov
On 16 December 2009 05:54, Warner Losh i...@freebsd.org wrote:
 Author: imp
 Date: Wed Dec 16 02:54:34 2009
 New Revision: 200596
 URL: http://svn.freebsd.org/changeset/base/200596

 Log:
   Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN},
   which disables doing a make obj.  Use it when you know it will work
   only.  KERNFAST now implies NO_KERNELOBJ, since you don't need to keep
   doing obj when doing incremental kernel builds.

Hi.
Would you mind if I merge this to stable/8?


 Modified:
   head/Makefile.inc1

 Modified: head/Makefile.inc1
 ==
 --- head/Makefile.inc1  Wed Dec 16 02:52:33 2009(r200595)
 +++ head/Makefile.inc1  Wed Dec 16 02:54:34 2009(r200596)
 @@ -5,10 +5,11 @@
  #  -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
  #  -DNO_CLEAN do not clean at all
  #  -DNO_SHARE do not go into share subdir
 -#  -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and NO_KERNELDEPEND
 +#  -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}
  #  -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
  #  -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
  #  -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel
 +#  -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel
  #  -DNO_PORTSUPDATE do not update ports in ${MAKE} update
  #  -DNO_DOCUPDATE do not update doc in ${MAKE} update
  #  -DNO_CTF do not run the DTrace CTF conversion tools on built objects
 @@ -694,6 +695,7 @@ distrib-dirs distribution:
  NO_KERNELCLEAN=t
  NO_KERNELCONFIG=   t
  NO_KERNELDEPEND=   t
 +NO_KERNELOBJ=  t
  # Shortcut for KERNCONF=Blah -DKERNFAST is now KERNFAST=Blah
  .if !defined(KERNCONF)  ${KERNFAST} != 1
  KERNCONF=${KERNFAST}
 @@ -763,11 +765,13 @@ buildkernel:
 @echo --
 cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} ${CLEANDIR}
  .endif
 +.if !defined(NO_KERNELOBJ)
 @echo
 @echo --
 @echo  stage 2.2: rebuilding the object tree
 @echo --
 cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} obj
 +.endif
 @echo
 @echo --
 @echo  stage 2.3: build tools
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org



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


Re: svn commit: r200596 - head

2013-02-01 Thread Warner Losh

On Feb 1, 2013, at 8:37 AM, Sergey Kandaurov wrote:

 On 16 December 2009 05:54, Warner Losh i...@freebsd.org wrote:
 Author: imp
 Date: Wed Dec 16 02:54:34 2009
 New Revision: 200596
 URL: http://svn.freebsd.org/changeset/base/200596
 
 Log:
  Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN},
  which disables doing a make obj.  Use it when you know it will work
  only.  KERNFAST now implies NO_KERNELOBJ, since you don't need to keep
  doing obj when doing incremental kernel builds.
 
 Hi.
 Would you mind if I merge this to stable/8?

Be my guest.

Warner


 Modified:
  head/Makefile.inc1
 
 Modified: head/Makefile.inc1
 ==
 --- head/Makefile.inc1  Wed Dec 16 02:52:33 2009(r200595)
 +++ head/Makefile.inc1  Wed Dec 16 02:54:34 2009(r200596)
 @@ -5,10 +5,11 @@
 #  -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir
 #  -DNO_CLEAN do not clean at all
 #  -DNO_SHARE do not go into share subdir
 -#  -DKERNFAST define NO_KERNELCONFIG, NO_KERNELCLEAN and NO_KERNELDEPEND
 +#  -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,DEPEND,OBJ}
 #  -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel
 #  -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel
 #  -DNO_KERNELDEPEND do not run ${MAKE} depend in ${MAKE} buildkernel
 +#  -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel
 #  -DNO_PORTSUPDATE do not update ports in ${MAKE} update
 #  -DNO_DOCUPDATE do not update doc in ${MAKE} update
 #  -DNO_CTF do not run the DTrace CTF conversion tools on built objects
 @@ -694,6 +695,7 @@ distrib-dirs distribution:
 NO_KERNELCLEAN=t
 NO_KERNELCONFIG=   t
 NO_KERNELDEPEND=   t
 +NO_KERNELOBJ=  t
 # Shortcut for KERNCONF=Blah -DKERNFAST is now KERNFAST=Blah
 .if !defined(KERNCONF)  ${KERNFAST} != 1
 KERNCONF=${KERNFAST}
 @@ -763,11 +765,13 @@ buildkernel:
@echo --
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} ${CLEANDIR}
 .endif
 +.if !defined(NO_KERNELOBJ)
@echo
@echo --
@echo  stage 2.2: rebuilding the object tree
@echo --
cd ${KRNLOBJDIR}/${_kernel}; ${KMAKE} obj
 +.endif
@echo
@echo --
@echo  stage 2.3: build tools
 ___
 svn-src-...@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org
 
 
 
 -- 
 wbr,
 pluknet

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


Re: svn commit: r200596 - head

2013-02-01 Thread Sergey Kandaurov
On 1 February 2013 19:44, Warner Losh i...@bsdimp.com wrote:

 On Feb 1, 2013, at 8:37 AM, Sergey Kandaurov wrote:

 On 16 December 2009 05:54, Warner Losh i...@freebsd.org wrote:
 Author: imp
 Date: Wed Dec 16 02:54:34 2009
 New Revision: 200596
 URL: http://svn.freebsd.org/changeset/base/200596

 Log:
  Add NO_KERNELOBJ flag, similar to NO_KERNEL{CONFIG,DEPEND,CLEAN},
  which disables doing a make obj.  Use it when you know it will work
  only.  KERNFAST now implies NO_KERNELOBJ, since you don't need to keep
  doing obj when doing incremental kernel builds.

 Hi.
 Would you mind if I merge this to stable/8?

 Be my guest.

 Warner

Thanks, merged in r246211.

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


Re: svn - but smaller?

2013-02-01 Thread John Mehr
   On Wed, 30 Jan 2013 13:47:52 +0100
Arrigo Marchiori ard...@yahoo.it wrote:
On Tue, Jan 29, 2013 at 11:48:31AM -0500, Isaac (.ike)
I tried the attached script to download
http://svn.freebsd.org/base/stable/9/ In 27 minutes it
   downloaded 67
megabytes, corresponding to 42 KByte/sec, through an
   ADSL link capable
of roughly 400 KByte/sec. Then I stopped it.
   
IMHO this should demonstrate that the problem is not
   only having a
SVN workalike, but a fast and efficient one.
--
rigo
   
http://rigo.altervista.org
   Hello all,
   I've got a working solution now.  I put working in quotes because I'm
   seeing similar dismal performance stats to your script (I also have ~
   400 KB/s DSL connection).  The problem appears to be with the overhead
   of sending and receiving all of the ~ 100 byte requests to both get the
   MD5 signatures and to get the files themselves (large files transfer
   *very* quickly and I'm not using poll() to check if there's data to be
   read on the socket).
   I've got two bugs left to squash and I'll post the source code for
   everyone to review.
   I know you can issue more that one command at a time and my next hurdle
   will be working on speeding things up by combining requests for all
   files in each folder instead of issuing one request for each file.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: CLANG 3.2 breaks security/pam_ssh_agent_auth on stable/9

2013-02-01 Thread Brooks Davis
On Thu, Jan 31, 2013 at 10:22:44PM -0600, Mark Linimon wrote:
 On Thu, Jan 17, 2013 at 09:15:02AM -0600, Brooks Davis wrote:
  Not unless you consider adding new functions in a reserved namespace
  (str*) to be ABI breakage.
 
 Well, what often happens is that when we add new functions, ports break.
 I think deciding whether this is or is not ABI breakage is semantics.
 The fact is that regressions get introduced with these types of changes.
 
  The port should have continued to work unless it was recompiled so it
  should have preferred it's own version of the strnvis symbol.  If its
  makefiles were properly constructed it would have failed to compile
  due to the signature mismatch.
 
 The mantra should be every possible combination of ways that a port's
 internal build glue can be wrong, is already included in the Ports 
 Collection.
 In case after case we see fragile code that is written by people who are
 clearly not professionally trained.  They get it to work on their system
 and then shove it out the door.
 
 Claiming that they shouldn't do that is correct but self-defeating.
 It's just the reality of open-source software.

I'm not sure why I'm being jumped on me in this weeks old report of a
now-fixed problem.  I did determine to root cause and others produced a
patch.  If no one else had stepped up I would have done so my self.

 IMHO, the burden should be on whoever makes the change to find out whether
 or not regressions will be introduced.  (And yes, I am very aware that we
 don't have -exp run capability right now, but this is one of the cases
 where I would like to suggest it would have helped.)

I would likely have done an exp run had there been the capability of
doing one, but this bug would not have been found since it's a runtime
crash caused by a combination of two different BSD projects not talking
to each other and poorly chosen CFLAGS in the upstream software allowing
it to compile.

One could probably write a tool to detect some forms this sort of issue
(even premptively), but it's probably not worth doing.

-- Brooks


pgpSXZsGprvjG.pgp
Description: PGP signature


stable/9: Force ada1 to UDMA-33

2013-02-01 Thread Oliver Fromme
Hello,

I've got a (P)ATA disk in a special frame.  The disk itself
supports UDMA-100 (and has an 80-ribbon cable), but the
frame isn't compatible with that.  By default, FreeBSD
negotiates UDMA-100, and the console starts to fill with
ICRC errors.

In the past, I used a patch to ata-all.c that enabled the
following entry in loader.conf to force the disk to UDMA-33,
so it worked fine:

hw.ata.ata_dma_limit=2

But with the new world, that doesn't work anymore.
What is the proper way with ATA_CAM and ada(4) to force a
P-ATA disk to a lower UDMA mode?

Best regards
   Oliver

PS:  Excerpt from dmesg ...

atapci0: VIA 8235 UDMA133 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd800-0xd80f at device 17.1 on pci0
ata0: ATA channel at channel 0 on atapci0
ata1: ATA channel at channel 1 on atapci0
ada0 at ata0 bus 0 scbus0 target 0 lun 0
ada0: IBM-DJNA-352500 J51OA30K ATA-4 device
ada0: 66.700MB/s transfers (UDMA4, PIO 8192bytes)
ada0: 24405MB (49981680 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad0
ada1 at ata1 bus 0 scbus1 target 0 lun 0
ada1: ST3250824A 3.AAE ATA-7 device
ada1: 100.000MB/s transfers (UDMA5, PIO 8192bytes)
ada1: 238475MB (488397168 512 byte sectors: 1H 255S/T 16383C)
ada1: Previously was known as ad2
(ada1:ata1:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 10 00
(ada1:ata1:0:0:0): CAM status: ATA Status Error
(ada1:ata1:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 84 (ICRC ABRT )
(ada1:ata1:0:0:0): RES: 51 84 00 00 00 00 00 00 00 00 00
(ada1:ata1:0:0:0): Retrying command
(ada1:ata1:0:0:0): READ_DMA. ACB: c8 00 00 00 00 40 00 00 00 00 10 00
(ada1:ata1:0:0:0): CAM status: ATA Status Error
(ada1:ata1:0:0:0): ATA status: 51 (DRDY SERV ERR), error: 84 (ICRC ABRT )
(ada1:ata1:0:0:0): RES: 51 84 00 00 00 00 00 00 00 00 00
(ada1:ata1:0:0:0): Retrying command
..


-- 
Oliver Fromme,  secnetix GmbH  Co. KG,  Marktplatz 29, 85567 Grafing
Handelsregister:  Amtsgericht Muenchen, HRA 74606, Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsreg.: Amtsgericht München,
HRB 125758, Geschäftsführer:  Maik Bachmann,  Olaf Erb,  Ralf Gebhart

FreeBSD-Dienstleistungen/-Produkte + mehr: http://www.secnetix.de/bsd

Perl is worse than Python because people wanted it worse.
-- Larry Wall
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to freebsd-stable-unsubscr...@freebsd.org


Re: stable/9: Force ada1 to UDMA-33

2013-02-01 Thread Ian Lepore
On Fri, 2013-02-01 at 19:52 +0100, Oliver Fromme wrote:
 Hello,
 
 I've got a (P)ATA disk in a special frame.  The disk itself
 supports UDMA-100 (and has an 80-ribbon cable), but the
 frame isn't compatible with that.  By default, FreeBSD
 negotiates UDMA-100, and the console starts to fill with
 ICRC errors.
 
 In the past, I used a patch to ata-all.c that enabled the
 following entry in loader.conf to force the disk to UDMA-33,
 so it worked fine:
 
 hw.ata.ata_dma_limit=2
 
 But with the new world, that doesn't work anymore.
 What is the proper way with ATA_CAM and ada(4) to force a
 P-ATA disk to a lower UDMA mode?

You probably want one of these...

hint.ata.X.devX.mode
 limits initial ATA mode for specified device on specified channel.

 hint.ata.X.mode
 limits initial ATA mode for every device on specified channel.

These are from ata(4) manpage, there are some others there as well.  One
thing the manpage doesn't say is what sort of values to assign to these
hints.  From the source code it looks like this is the list:

if (!strcasecmp(str, PIO0)) return (ATA_PIO0);
if (!strcasecmp(str, PIO1)) return (ATA_PIO1);
if (!strcasecmp(str, PIO2)) return (ATA_PIO2);
if (!strcasecmp(str, PIO3)) return (ATA_PIO3);
if (!strcasecmp(str, PIO4)) return (ATA_PIO4);
if (!strcasecmp(str, WDMA0)) return (ATA_WDMA0);
if (!strcasecmp(str, WDMA1)) return (ATA_WDMA1);
if (!strcasecmp(str, WDMA2)) return (ATA_WDMA2);
if (!strcasecmp(str, UDMA0)) return (ATA_UDMA0);
if (!strcasecmp(str, UDMA16)) return (ATA_UDMA0);
if (!strcasecmp(str, UDMA1)) return (ATA_UDMA1);
if (!strcasecmp(str, UDMA25)) return (ATA_UDMA1);
if (!strcasecmp(str, UDMA2)) return (ATA_UDMA2);
if (!strcasecmp(str, UDMA33)) return (ATA_UDMA2);
if (!strcasecmp(str, UDMA3)) return (ATA_UDMA3);
if (!strcasecmp(str, UDMA44)) return (ATA_UDMA3);
if (!strcasecmp(str, UDMA4)) return (ATA_UDMA4);
if (!strcasecmp(str, UDMA66)) return (ATA_UDMA4);
if (!strcasecmp(str, UDMA5)) return (ATA_UDMA5);
if (!strcasecmp(str, UDMA100)) return (ATA_UDMA5);
if (!strcasecmp(str, UDMA6)) return (ATA_UDMA6);
if (!strcasecmp(str, UDMA133)) return (ATA_UDMA6);

-- Ian

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


Re: svn - but smaller?

2013-02-01 Thread John Mehr

Hey Jonn, this news is better than my Monday AM coffee.

Once you have something working, however crudely, I'd 
love to link/post/reference it on the growing wiki page- 
so folks can give it a whirl.

https://wiki.freebsd.org/UsersFetchingSource

(If this project succeeds, it will neatly get rid of the 
purpose of the page!)


Thanks-

Best,
.ike


Hello,

I've posted the working version Slow.1 for review at:

http://jcm.dsl.visi.com/freebsd/svnup/

I'll be working on speeding it up (plus formatting it 
according to the man style guidelines) over the next 
couple of days and the latest version will always be 
located there.


Since this is my first contribution, I'm sure I've made 
more than a few rookie mistakes and constructive feedback 
is definitely appreciated.  Thanks.

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