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

Rainer Hurling rhurlin at gwdg.de
Sat Sep 17 08:58:53 UTC 2011


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
@ -> /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@ 
-I@/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 "@" 
ignored
@ -> /sys
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p
awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q
awk -f @/tools/vnode_if.awk @/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@ -I@/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@ -I@/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


More information about the freebsd-current mailing list