After r22561[78] some kmods do not build any more

From: Rainer Hurling <rhurlin_at_gwdg.de>
Date: Sat, 17 Sep 2011 10:29:31 +0200
Upgrading 9.0-BETA2 last night after r22561[78] was committed brings me 
trouble with at least to kmods from ports. They do not load anymore and 
also I am not able the build them:


/usr/ports/print/acroreadwrapper#make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for acroreadwrapper-0.0.20110529
=> SHA256 Checksum OK for linux_adobe_kmod-20110529.tar.gz.
===>  Patching for acroreadwrapper-0.0.20110529
===>  Configuring for acroreadwrapper-0.0.20110529
===>  Building for acroreadwrapper-0.0.20110529
Warning: Object directory not changed from original 
/usr/ports/print/acroreadwrapper/work/linux_adobe_kmod-20110529
_at_ -> /usr/src/sys
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
cc -O2 -fno-strict-aliasing -pipe -msse3 -DCOMPAT_FREEBSD32 
-DCOMPAT_LINUX32 -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -I. -I_at_ 
-I_at_/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 
--param large-function-growth=1000 -fno-common  -fno-omit-frame-pointer 
  -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector 
-std=iso9899:1999 -fstack-protector -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions  -Wmissing-include-dirs -fdiagnostics-show-option -c 
linux_adobe.c
cc1: warnings being treated as errors
linux_adobe.c: In function 'linux_adobe_linux_sched_setscheduler':
linux_adobe.c:88: warning: implicit declaration of function 
'sched_setscheduler'
linux_adobe.c:88: warning: nested extern declaration of 
'sched_setscheduler' [-Wnested-externs]
*** Error code 1
Stop in /usr/ports/print/acroreadwrapper/work/linux_adobe_kmod-20110529.
*** Error code 1
Stop in /usr/ports/print/acroreadwrapper.



/usr/ports/emulators/rtc#make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for rtc-2004.02.24.1_8
===>  Patching for rtc-2004.02.24.1_8
===>  Configuring for rtc-2004.02.24.1_8
===>  Building for rtc-2004.02.24.1_8
"/usr/share/mk/bsd.compat.mk", line 35: warning: NOMAN is deprecated in 
favour of NO_MAN
"/sys/conf/kmod.mk", line 268: warning: duplicate script for target "_at_" 
ignored
_at_ -> /sys
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -p
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -q
awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -h
Warning: Object directory not changed from original 
/usr/ports/emulators/rtc/work/files
machine -> /usr/src/sys/amd64/include
x86 -> /usr/src/sys/x86/include
cc -O2 -fno-strict-aliasing -pipe -msse3 -DCDEV_MAJOR_=202 -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/emulators/rtc/work/files 
-I/sys -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-common 
-fno-omit-frame-pointer  -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx 
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c rtc.c
cc -O2 -fno-strict-aliasing -pipe -msse3 -DCDEV_MAJOR_=202 -Werror 
-D_KERNEL -DKLD_MODULE -nostdinc  -I/usr/ports/emulators/rtc/work/files 
-I/sys -I. -I_at_ -I_at_/contrib/altq -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-common 
-fno-omit-frame-pointer  -mno-sse -mcmodel=kernel -mno-red-zone -mno-mmx 
-msoft-float  -fno-asynchronous-unwind-tables -ffreestanding 
-fstack-protector -std=iso9899:1999 -fstack-protector -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef 
-Wno-pointer-sign -fformat-extensions  -Wmissing-include-dirs 
-fdiagnostics-show-option -c rtc_linux.c
cc1: warnings being treated as errors
rtc_linux.c: In function 'linux_ioctl_rtc':
rtc_linux.c:74: warning: implicit declaration of function 'ioctl'
rtc_linux.c:74: warning: nested extern declaration of 'ioctl' 
[-Wnested-externs]
*** Error code 1
Stop in /usr/ports/emulators/rtc/work/files.
*** Error code 1
Stop in /usr/ports/emulators/rtc.


Am I doing something wrong or is this intended and some ports need 
adaptions?

Thanks in advance,
Rainer Hurling
Received on Sat Sep 17 2011 - 06:58:53 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC