From owner-freebsd-current@FreeBSD.ORG Sat Sep 17 16:28:27 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 541261065670; Sat, 17 Sep 2011 16:28:27 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id DCAC48FC1C; Sat, 17 Sep 2011 16:28:26 +0000 (UTC) Received: from p57918d8c.dip.t-dialin.net ([87.145.141.140] helo=krabat.raven.hur) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1R4xke-0002w7-NA; Sat, 17 Sep 2011 18:28:24 +0200 Message-ID: <4E74CAA8.2010809@gwdg.de> Date: Sat, 17 Sep 2011 18:28:24 +0200 From: Rainer Hurling User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: "K. Macy" References: <4E745A6B.2040204@gwdg.de> <4E749BDD.6080309@gwdg.de> In-Reply-To: <4E749BDD.6080309@gwdg.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Cc: "Conrad J. Sabatier" , freebsd-current@freebsd.org Subject: Re: After r22561[78] some kmods do not build any more X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 16:28:27 -0000 On 17.09.2011 15:08 (UTC+1), Rainer Hurling wrote: > On 17.09.2011 14:30 (UTC+1), K. Macy wrote: >> This is a side effect of the syscall namespace disambiguation. I will >> send patches to the ports maintainers. > > Ok, so my first thought was right ;-) > > I just tested your patch for emulators/rtc, offered on #bsdports. It > builds fine and seems to work. Same with your second patch on http://pastebin.com/1vx8RMVn for print/acroreadwrapper. It also works :-) BTW, I just recognized, that there is a PR open for it: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/160769 I CC'd Conrad J. Sabatier as its author. > Thanks a lot for responding so fast. > >> Thanks >> >> On Sat, Sep 17, 2011 at 10:29 AM, Rainer Hurling 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 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