Re: Build failed in Jenkins: FreeBSD_HEAD-modules #686

2014-06-28 Thread Li-Wen Hsu
On Sat, Jun 28, 2014 at 13:36:19 -0700, Rui Paulo wrote:
> On Jun 28, 2014, at 13:31, Li-Wen Hsu  wrote:
> 
> > On Sat, Jun 28, 2014 at 20:55:19 +0200, Hans Petter Selasky wrote:
> >> Hi,
> >> 
> >> Jenkins is by error reporting my changes as cause of fault!
> >> 
> >> /builds/FreeBSD_HEAD-modules/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:114:10:
> >>  
> >> fatal error: 'strtolctype.h' file not found
> >> #include "strtolctype.h"
> >> 
> >> Rui Paulo: Looks like one of your commits: r267937
> >> 
> > 
> > I think the problem is that job builds -CURRENT kernel modules on
> > 10-STABLE, which doesn't have strtolctype.h.  The solution might be
> > switching this job to run on 11-CURRENT, or making the -CURRENT kernel
> > modules can be built on 10.  Do we suppose to support this?
> 
> Ah, if this is the problem, then you need to build things differently:
> 
> 1) build kernel-toolchain
> 2) enter make buildenv
> 3) build all the modules

Sounds reasonable.  I temporarily disable this job and will bring it
back after changing the build steps as you suggested.

Thanks,
Li-Wen

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Build failed in Jenkins: FreeBSD_HEAD-modules #686

2014-06-28 Thread Rui Paulo
On Jun 28, 2014, at 13:31, Li-Wen Hsu  wrote:

> On Sat, Jun 28, 2014 at 20:55:19 +0200, Hans Petter Selasky wrote:
>> Hi,
>> 
>> Jenkins is by error reporting my changes as cause of fault!
>> 
>> /builds/FreeBSD_HEAD-modules/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:114:10:
>>  
>> fatal error: 'strtolctype.h' file not found
>> #include "strtolctype.h"
>> 
>> Rui Paulo: Looks like one of your commits: r267937
>> 
> 
> I think the problem is that job builds -CURRENT kernel modules on
> 10-STABLE, which doesn't have strtolctype.h.  The solution might be
> switching this job to run on 11-CURRENT, or making the -CURRENT kernel
> modules can be built on 10.  Do we suppose to support this?

Ah, if this is the problem, then you need to build things differently:

1) build kernel-toolchain
2) enter make buildenv
3) build all the modules

--
Rui Paulo



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


Re: Build failed in Jenkins: FreeBSD_HEAD-modules #686

2014-06-28 Thread Li-Wen Hsu
On Sat, Jun 28, 2014 at 20:55:19 +0200, Hans Petter Selasky wrote:
> Hi,
> 
> Jenkins is by error reporting my changes as cause of fault!
> 
> /builds/FreeBSD_HEAD-modules/sys/modules/dtrace/dtrace/../../../cddl/contrib/opensolaris/uts/common/dtrace/dtrace.c:114:10:
>  
> fatal error: 'strtolctype.h' file not found
> #include "strtolctype.h"
> 
> Rui Paulo: Looks like one of your commits: r267937
> 

I think the problem is that job builds -CURRENT kernel modules on
10-STABLE, which doesn't have strtolctype.h.  The solution might be
switching this job to run on 11-CURRENT, or making the -CURRENT kernel
modules can be built on 10.  Do we suppose to support this?

By the way, jenkins just (stupidly) mails every committer who changes
code in a failed build.  It cannot tell which commit is the root cause.

Li-Wen

-- 
Li-Wen Hsu 
http://lwhsu.org
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Build failed in Jenkins: FreeBSD_HEAD-modules #686

2014-06-28 Thread jenkins-admin
See 

Changes:

[hselasky] Compile fixes:

Remove duplicate "debug_ktr.mask" sysctl definition.
Remove now unused variable from "kern_ktr.c".
This fixes build of "ktr" which was broken by r267961.

Let the default value for "vm_kmem_size_scale" be zero. It is setup
after that the sysctl has been initialized from "getenv()" in the
"kmeminit()" function to equal the "VM_KMEM_SIZE_MAX" value, if
zero. On Sparc64 the "VM_KMEM_SIZE_MAX" macro is not a constant. This
fixes build of Sparc64 which was broken by r267961.

Add a special macro to dynamically create SYSCTL root nodes, because
root nodes have a special parent. This fixes build of existing OFED
module and CANBUS module for pc98 which was broken by r267961.

Add missing "sysctl.h" includes to get the needed sysctl header file
declarations. This is needed after r267961.

MFC after:  2 weeks

--
[...truncated 6593 lines...]
--- iicbus_if.h ---
awk -f @/tools/makeobjops.awk @/dev/iicbus/iicbus_if.m -h
--- opt_drm.h ---
:> opt_drm.h
--- opt_vm.h ---
:> opt_vm.h
--- opt_compat.h ---
:> opt_compat.h
--- opt_syscons.h ---
:> opt_syscons.h
--- .depend ---
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/altq 
-std=iso9899:1999