Re: svn commit: r284370 - head/usr.bin/kdump

2015-06-15 Thread Simon J. Gerraty
Craig Rodrigues rodr...@freebsd.org wrote:
 I got the same errors here:
 
 https://jenkins.freebsd.org/job/FreeBSD_HEAD/2869/consoleFull

Looks like you fixed it - thanks
___
svn-src-all@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


Re: svn commit: r284370 - head/usr.bin/kdump

2015-06-14 Thread Dimitry Andric
On 14 Jun 2015, at 05:30, Simon J. Gerraty s...@freebsd.org wrote:
 
 Author: sjg
 Date: Sun Jun 14 03:30:39 2015
 New Revision: 284370
 URL: https://svnweb.freebsd.org/changeset/base/284370
 
 Log:
  Create proper targets for linux*syscalls.c
 
 Modified:
  head/usr.bin/kdump/Makefile

Is this supposed to fix things?  Even at r284381, I get:

=== usr.bin/kdump (depend)
sh /usr/src/usr.bin/kdump/mksubr /usr/obj/usr/src/tmp/usr/include kdump_subr.c
env MACHINE=i386 CPP=cpp   sh /usr/src/usr.bin/kdump/mkioctls print 
/usr/obj/usr/src/tmp/usr/include  ioctl.c
stdin:1:10: fatal error: 'cam/cam_compat.h' file not found
#include cam/cam_compat.h
 ^
1 error generated.
rm -f .depend
CC='cc  ' mkdep -f .depend -a-I/usr/src/usr.bin/kdump/../ktrace 
-I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. -I. -DHAVE_LIBCAPSICUM 
-DPF -std=gnu99   kdump_subr.c /usr/src/usr.bin/kdump/kdump.c ioctl.c 
/usr/src/usr.bin/kdump/../ktrace/subr.c
/usr/src/usr.bin/kdump/kdump.c:153:10: fatal error: 'linux_syscalls.c' file not 
found
#include linux_syscalls.c
 ^
1 error generated.
mkdep: compile failed
*** Error code 1

Stop.

Any idea?  I obviously do not see any linux_syscalls.c in the objdir.

-Dimitry



signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: svn commit: r284370 - head/usr.bin/kdump

2015-06-14 Thread Simon J. Gerraty
Dimitry Andric d...@freebsd.org wrote:
   head/usr.bin/kdump/Makefile
 
 Is this supposed to fix things?  Even at r284381, I get:

I did for me ...

 
 === usr.bin/kdump (depend)
 sh /usr/src/usr.bin/kdump/mksubr /usr/obj/usr/src/tmp/usr/include 
 kdump_subr.c
 env MACHINE=i386 CPP=cpp   sh /usr/src/usr.bin/kdump/mkioctls print 
 /usr/obj/usr/src/tmp/usr/include  ioctl.c
 stdin:1:10: fatal error: 'cam/cam_compat.h' file not found
 #include cam/cam_compat.h
  ^
 1 error generated.

Yes I saw that too (before these changes IIRC) it appeared to be ignored.

 rm -f .depend
 CC='cc  ' mkdep -f .depend -a-I/usr/src/usr.bin/kdump/../ktrace 
 -I/usr/src/usr.bin/kdump -I/usr/src/usr.bin/kdump/../.. -I. 
 -DHAVE_LIBCAPSICUM -DPF -std=gnu99   kdump_subr.c 
 /usr/src/usr.bin/kdump/kdump.c ioctl.c /usr/src/usr.bin/kdump/../ktrace/subr.c
 /usr/src/usr.bin/kdump/kdump.c:153:10: fatal error: 'linux_syscalls.c' file 
 not found

That's why I added the explicit target.

 #include linux_syscalls.c
  ^
 1 error generated.
 mkdep: compile failed

Ah, they likely need to be hooked to beforedepend.
My flight is boarding, will look when I get back on line.

Sorry for the hiccup

 Any idea?  I obviously do not see any linux_syscalls.c in the objdir.
 
 -Dimitry
 
___
svn-src-all@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


Re: svn commit: r284370 - head/usr.bin/kdump

2015-06-14 Thread Craig Rodrigues
On Sun, Jun 14, 2015 at 9:16 AM, Dimitry Andric d...@freebsd.org wrote:


 === usr.bin/kdump (depend)
 sh /usr/src/usr.bin/kdump/mksubr /usr/obj/usr/src/tmp/usr/include
 kdump_subr.c
 env MACHINE=i386 CPP=cpp   sh /usr/src/usr.bin/kdump/mkioctls print
 /usr/obj/usr/src/tmp/usr/include  ioctl.c
 stdin:1:10: fatal error: 'cam/cam_compat.h' file not found
 #include cam/cam_compat.h



I got the same errors here:

https://jenkins.freebsd.org/job/FreeBSD_HEAD/2869/consoleFull

--- ioctl.c ---
stdin:1:10: fatal error: 'cam/cam_compat.h' file not found
#include cam/cam_compat.h
 ^
1 error generated.


--- depend_subdir_kdump ---
/builds/FreeBSD_HEAD/usr.bin/kdump/kdump.c:153:10: fatal error:
'linux_syscalls.c' file not found
#include linux_syscalls.c
 ^


--
Craig
___
svn-src-all@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