Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Sep 2011 14:30:44 +0200
From:      "K. Macy" <kmacy@freebsd.org>
To:        Rainer Hurling <rhurlin@gwdg.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: After r22561[78] some kmods do not build any more
Message-ID:  <CAHM0Q_PzPzE77T-0TBqrtPO81DS845LNjT_p24vDrFbndbiVAA@mail.gmail.com>
In-Reply-To: <4E745A6B.2040204@gwdg.de>
References:  <4E745A6B.2040204@gwdg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a side effect of the syscall namespace disambiguation. I will
send patches to the ports maintainers.

Thanks

On Sat, Sep 17, 2011 at 10:29 AM, Rainer Hurling <rhurlin@gwdg.de> wrote:
> 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 a=
lso
> I am not able the build them:
>
>
> /usr/ports/print/acroreadwrapper#make
> =3D=3D=3D> =A0Vulnerability check disabled, database not found
> =3D=3D=3D> =A0License check disabled, port has not defined LICENSE
> =3D=3D=3D> =A0Extracting for acroreadwrapper-0.0.20110529
> =3D> SHA256 Checksum OK for linux_adobe_kmod-20110529.tar.gz.
> =3D=3D=3D> =A0Patching for acroreadwrapper-0.0.20110529
> =3D=3D=3D> =A0Configuring for acroreadwrapper-0.0.20110529
> =3D=3D=3D> =A0Building 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_LINU=
X32
> -Werror -D_KERNEL -DKLD_MODULE -nostdinc =A0 -I. -I@ -I@/contrib/altq
> -finline-limit=3D8000 --param inline-unit-growth=3D100 --param
> large-function-growth=3D1000 -fno-common =A0-fno-omit-frame-pointer =A0-m=
no-sse
> -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft-float
> -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-ex=
terns
> -Wstrict-prototypes =A0-Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions
> =A0-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_setschedul=
er'
> [-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
> =3D=3D=3D> =A0Vulnerability check disabled, database not found
> =3D=3D=3D> =A0License check disabled, port has not defined LICENSE
> =3D=3D=3D> =A0Extracting for rtc-2004.02.24.1_8
> =3D=3D=3D> =A0Patching for rtc-2004.02.24.1_8
> =3D=3D=3D> =A0Configuring for rtc-2004.02.24.1_8
> =3D=3D=3D> =A0Building 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_=3D202 -Werror -D_K=
ERNEL
> -DKLD_MODULE -nostdinc =A0-I/usr/ports/emulators/rtc/work/files -I/sys -I=
. -I@
> -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 -=
-param
> large-function-growth=3D1000 -fno-common -fno-omit-frame-pointer =A0-mno-=
sse
> -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft-float
> =A0-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-ex=
terns
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions
> =A0-Wmissing-include-dirs -fdiagnostics-show-option -c rtc.c
> cc -O2 -fno-strict-aliasing -pipe -msse3 -DCDEV_MAJOR_=3D202 -Werror -D_K=
ERNEL
> -DKLD_MODULE -nostdinc =A0-I/usr/ports/emulators/rtc/work/files -I/sys -I=
. -I@
> -I@/contrib/altq -finline-limit=3D8000 --param inline-unit-growth=3D100 -=
-param
> large-function-growth=3D1000 -fno-common -fno-omit-frame-pointer =A0-mno-=
sse
> -mcmodel=3Dkernel -mno-red-zone -mno-mmx -msoft-float
> =A0-fno-asynchronous-unwind-tables -ffreestanding -fstack-protector
> -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-ex=
terns
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual =A0-Wundef -Wno-pointer-sign -fformat-extensions
> =A0-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?CAHM0Q_PzPzE77T-0TBqrtPO81DS845LNjT_p24vDrFbndbiVAA>