Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2011 10:29:31 +0200
From:      Rainer Hurling <rhurlin@gwdg.de>
To:        kmacy@FreeBSD.org
Cc:        freebsd-current@FreeBSD.org
Subject:   After r22561[78] some kmods do not build any more
Message-ID:  <4E745A6B.2040204@gwdg.de>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E745A6B.2040204>