From nobody Fri Dec 10 14:59:39 2021 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 98A9318EC742 for ; Fri, 10 Dec 2021 14:59:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J9YwC2kg9z4kKX for ; Fri, 10 Dec 2021 14:59:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A7F81C1DD for ; Fri, 10 Dec 2021 14:59:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 1BAExdfc021519 for ; Fri, 10 Dec 2021 14:59:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1BAExdqX021518 for ports-bugs@FreeBSD.org; Fri, 10 Dec 2021 14:59:39 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 260318] x11/nvidia-driver: error: use of undeclared identifier 'MAXPATHLEN' Date: Fri, 10 Dec 2021 14:59:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: danfe@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639148379; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fIokZnFwVzpPuOb7U/JuMt+iBrNcTX7yuQaZpv2DjMY=; b=kh3vMFQ6/3lUy/sgU22VenplkJY8fW+lzdItEjgLipe3Yoy6dSS5jQbf0xBPBINAmvGq1O 0Dqh+dlXFUnHZhzYxGiCB7sQNDjWOJ0MgGS9dxjWf4iThGfmuWjK8TZraTnj0Gv62YsGTn 6tB+SHh66znrP4B5ilxCDmbOX1YIAiSJVYogzItvLzdEnEAzlmr1d5qcOQdj3TlE6LhkgZ uqj+/XJmR93QCJM9RdXSFr6zbg7ZwsTRcl+J9Td5qvv2p9HXxnVbjNhP3UZl6ECQSGexcs bv/pze9Xwxd88ThvwMeFhnzARLjkqCqGaJ7WZfurHWwraZw/O/dMgRsrd0xo1Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639148379; a=rsa-sha256; cv=none; b=QZnf/mU9UkPtdVGeOZJsM0LcINEhufcJ9IEMjPwMAhMJG5m652pLVmBUR+rG2FZhAPbn+i fO1CDfOZf/9Ya60QQqICH2gJSxVMYaI+gV7l9f3JWUFJLzRyi9NCYIpibaekWB4kMZ8lMg Fz7xoIBD7oipT5wIqwnmi9roO3O6QaP2D6TQmX+xW1i1Z4Au83tv97A/L/7C/fJijMmtPk dCAJgUOTJNIcHnBHrRFm6/VxluT+t7Xuowbp4gaAjCiGo8Sfawz6GoYKDOUglrfdk2yNQl /GTtGJfn9chSCI+8rV0u6TVytUg28znykufP6iZctPwEDJljbxqK8zQsgH8S1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260318 Bug ID: 260318 Summary: x11/nvidia-driver: error: use of undeclared identifier 'MAXPATHLEN' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(danfe@FreeBSD.org) Assignee: danfe@FreeBSD.org On recent 14-CURRENT (FreeBSD 14.0-CURRENT #34 main-n251260-156fbc648579: T= hu Dec 2 15:31:48 CET 2021 amd64) the compilation of x11/nvidia-driver fails = due to the error shown below: [...] =3D=3D=3D> src/nvidia-modeset (all) machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include touch opt_global.h cc -O2 -pipe -march=3Dnative -fno-strict-aliasing -DNV_VERSION_STRING=3D\"= 470.86\" -DNV_SPECTRE_V2=3D1 -Werror=3Dundef -march=3Dnative -Werror -D_KERNEL -DKL= D_MODULE -nostdinc -Imachine -I/usr/src/sys/sys -I../common/inc -incl ude /usr/obj/usr/src/amd64.amd64/sys/THOR/usr/ports/x11/nvidia-driver/work/NVID= IA-FreeBSD-x86_64-470.86/src/nvidia-modeset/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common=20 -fno-omit-frame-p ointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./machine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sys/x86/include -MD=20 -MF.depend.nvidia-modeset-freebsd.o -MTnvidia-modeset-freebsd.o -mcm odel=3Dkernel -mno-red-zone -mno-mmx -mno-sse -msoft-float=20 -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -W= all -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpoin ter-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=3Dtautological-co= mpare -Wno-error=3Dempty-body -Wno-error=3Dpar entheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-error=3Dunused-but-set-variable -Wno-format-zero-length -mno-aes -mn= o-avx=20 -std=3Diso 9899:1999 -c nvidia-modeset-freebsd.c -o nvidia-modeset-freebsd.o In file included from nvidia-modeset-freebsd.c:12: /usr/src/sys/sys/module.h:262:13: error: use of undeclared identifier 'MAXPATHLEN' char name[MAXMODNAME]; ^ /usr/src/sys/sys/module.h:258:20: note: expanded from macro 'MAXMODNAME' #define MAXMODNAME MAXMODNAMEV3 ^ /usr/src/sys/sys/module.h:257:22: note: expanded from macro 'MAXMODNAMEV3' #define MAXMODNAMEV3 MAXPATHLEN ^ 1 error generated. *** Error code 1 --=20 You are receiving this mail because: You are the assignee for the bug.=