x11/nvidia-driver-173 build failed on CURRENT

From: sig6247 <sig6247_at_list.ru>
Date: Mon, 06 May 2013 10:19:19 +0400
Any help is appreciated.

base  r250200
ports r317168

===>   Returning to build of nvidia-driver-173.14.35_2
===>   nvidia-driver-173.14.35_2 depends on shared library: GL.1 - found
======================================================================
===>  Cleaning for nvidia-driver-173.14.35_2
=======================<phase: check-config>==========================
======================================================================
=======================<phase: fetch       >==========================
===>  License NVIDIA accepted by the user
===>   nvidia-driver-173.14.35_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nvidia-driver-173.14.35_2 for building
======================================================================
=======================<phase: checksum    >==========================
===>  License NVIDIA accepted by the user
===>   nvidia-driver-173.14.35_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nvidia-driver-173.14.35_2 for building
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-173.14.35.tar.gz.
======================================================================
=======================<phase: extract     >==========================
===>  License NVIDIA accepted by the user
===>   nvidia-driver-173.14.35_2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by nvidia-driver-173.14.35_2 for building
===>  Extracting for nvidia-driver-173.14.35_2
=> SHA256 Checksum OK for NVIDIA-FreeBSD-x86-173.14.35.tar.gz.
======================================================================
=======================<phase: patch       >==========================
===>  Patching for nvidia-driver-173.14.35_2
===>  Applying extra patch /usr/ports/x11/nvidia-driver-173/../nvidia-driver/files/legacy-patch-nvidia.lib.mk
===>  Applying extra patch /usr/ports/x11/nvidia-driver-173/../nvidia-driver/files/security-patch-CVE-2012-4225
======================================================================
=======================<phase: configure   >==========================
===>   nvidia-driver-173.14.35_2 depends on file: /usr/local/libdata/pkgconfig/xorg-server.pc - found
===>   nvidia-driver-173.14.35_2 depends on shared library: m.3 - found
===>   nvidia-driver-173.14.35_2 depends on shared library: GL.1 - found
===>  Configuring for nvidia-driver-173.14.35_2
======================================================================
=======================<phase: build       >==========================
===>  Building for nvidia-driver-173.14.35_2
===> src (all)
_at_ -> /usr/src/sys
machine -> /usr/src/sys/i386/include
x86 -> /usr/src/sys/x86/include
awk -f _at_/tools/makeobjops.awk _at_/kern/device_if.m -h
awk -f _at_/tools/makeobjops.awk _at_/kern/bus_if.m -h
awk -f _at_/tools/makeobjops.awk _at_/dev/pci/pci_if.m -h
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
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.35\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_ctl.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.35\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_dev.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.35\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_linux.c
cc -O2 -pipe -fno-strict-aliasing -DNV_VERSION_STRING=\"173.14.35\" -D__KERNEL__ -DNVRM -UDEBUG -U_DEBUG -DNDEBUG -O -Werror -D_KERNEL -DKLD_MODULE -nostdinc  -I/wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src -I. -I_at_ -I_at_/contrib/altq -fno-common   -mno-aes -mno-avx -mno-mmx -mno-sse -msoft-float -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -c nvidia_os.c
nvidia_os.c:28:23: error: function declared with regparm(0) attribute was previously declared without the regparm attribute
RM_STATUS NV_API_CALL os_alloc_contig_pages(
                      ^
/wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src/nv-freebsd.h:145:11: note: previous declaration is here
RM_STATUS os_alloc_contig_pages(void **, U032);
          ^
nvidia_os.c:37:18: error: function declared with regparm(0) attribute was previously declared without the regparm attribute
void NV_API_CALL os_free_contig_pages(
                 ^
/wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src/nv-freebsd.h:146:6: note: previous declaration is here
void os_free_contig_pages(void *, U032);
     ^
2 errors generated.
*** [nvidia_os.o] Error code 1

Stop in /wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35/src.
*** [all] Error code 1

Stop in /wrkdirs/usr/ports/x11/nvidia-driver-173/work/NVIDIA-FreeBSD-x86-173.14.35.
*** [do-build] Error code 1

Stop in /usr/ports/x11/nvidia-driver-173.
===>  Cleaning for nvidia-driver-173.14.35_2
build of /usr/ports/x11/nvidia-driver-173 ended at Sun May  5 19:05:13 UTC 2013
Received on Mon May 06 2013 - 04:19:36 UTC

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