From nobody Tue Oct 19 15:49:40 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 42FDE17F19B1 for ; Tue, 19 Oct 2021 15:49:40 +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 4HYdTw1LZrz3wRt for ; Tue, 19 Oct 2021 15:49:40 +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 0B9A616D47 for ; Tue, 19 Oct 2021 15:49:40 +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 19JFnd7O002618 for ; Tue, 19 Oct 2021 15:49:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 19JFndW9002617 for ports-bugs@FreeBSD.org; Tue, 19 Oct 2021 15:49: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 259275] [PATCH] audio/oss fails to build on 14-CURRENT Date: Tue, 19 Oct 2021 15:49:40 +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 Only Me X-Bugzilla-Who: cy@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: crees@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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259275 Bug ID: 259275 Summary: [PATCH] audio/oss fails to build on 14-CURRENT Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: crees@FreeBSD.org Reporter: cy@FreeBSD.org Assignee: crees@FreeBSD.org Flags: maintainer-feedback?(crees@FreeBSD.org) The audio/oss build failure on 14-CURRENT is: --- osscore.o --- /usr/local/bin/ccache cc -O2 -pipe -Wno-misleading-indentation -Wno-tautological-overlap-compare -fno-strict-aliasing -Wno-misleading-indentation -Wno-tautological-overlap-compare -Werror -D_KERNEL -DKLD_MODULE -nostdinc -include /wrkdirs/usr/ports/audio/oss/work/.build/prototype/usr/local/lib/oss/build/= opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common=20 -fno-omit-frame-pointer -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 -MF.depend.o= sscore.o -MTosscore.o -mcmodel=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 -Wpointer-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=3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-sign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=3Diso9899:1999 -c osscore= .c -o osscore.o osscore.c:150:38: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] intr->irqres =3D bus_alloc_resource (osdev->dip, SYS_RES_IRQ, &(intr->irq= id), ^~~~~~~~~~ /usr/src/sys/sys/bus.h:518:46: note: passing argument to parameter 'dev' he= re struct resource *bus_alloc_resource(device_t dev, int type, int *rid, ^ osscore.c:159:31: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] intr->irq =3D bus_setup_intr (osdev->dip, intr->irqres, ^~~~~~~~~~ /usr/src/sys/sys/bus.h:538:29: note: passing argument to parameter 'dev' he= re int bus_setup_intr(device_t dev, struct resource *r, int flags, ^ osscore.c:182:21: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] bus_teardown_intr (osdev->dip, intr->irqres, intr->cookie); ^~~~~~~~~~ /usr/src/sys/sys/bus.h:541:32: note: passing argument to parameter 'dev' he= re int bus_teardown_intr(device_t dev, struct resource *r, void *cookie); ^ osscore.c:183:24: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] bus_release_resource (osdev->dip, SYS_RES_IRQ, intr->irqid, ^~~~~~~~~~ /usr/src/sys/sys/bus.h:535:35: note: passing argument to parameter 'dev' he= re int bus_release_resource(device_t dev, int type, int rid, ^ osscore.c:201:27: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] *val =3D pci_read_config (osdev->dip, where, 1); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:401:26: note: passing argument to parameter '= dev' here pci_read_config(device_t dev, int reg, int width) ^ osscore.c:208:27: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] *val =3D pci_read_config (osdev->dip, where, 1); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:401:26: note: passing argument to parameter '= dev' here pci_read_config(device_t dev, int reg, int width) ^ osscore.c:216:27: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] *val =3D pci_read_config (osdev->dip, where, 2); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:401:26: note: passing argument to parameter '= dev' here pci_read_config(device_t dev, int reg, int width) ^ osscore.c:224:27: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] *val =3D pci_read_config (osdev->dip, where, 4); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:401:26: note: passing argument to parameter '= dev' here pci_read_config(device_t dev, int reg, int width) ^ osscore.c:232:21: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] pci_write_config (osdev->dip, where, val, 1); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:407:27: note: passing argument to parameter '= dev' here pci_write_config(device_t dev, int reg, uint32_t val, int width) ^ osscore.c:240:21: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] pci_write_config (osdev->dip, where, val, 2); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:407:27: note: passing argument to parameter '= dev' here pci_write_config(device_t dev, int reg, uint32_t val, int width) ^ osscore.c:248:21: error: incompatible pointer types passing 'dev_info_t *' = (aka 'struct device *') to parameter of type 'device_t' (aka 'struct _device *') [-Werror,-Wincompatible-pointer-types] pci_write_config (osdev->dip, where, val, 4); ^~~~~~~~~~ /usr/src/sys/dev/pci/pcivar.h:407:27: note: passing argument to parameter '= dev' here pci_write_config(device_t dev, int reg, uint32_t val, int width) ^ 11 errors generated. *** [osscore.o] Error code 1 make[2]: stopped in /wrkdirs/usr/ports/audio/oss/work/.build/prototype/usr/local/lib/oss/build 1 error make[2]: stopped in /wrkdirs/usr/ports/audio/oss/work/.build/prototype/usr/local/lib/oss/build *** [install] Error code 1 make[1]: stopped in /wrkdirs/usr/ports/audio/oss/work/.build 1 error make[1]: stopped in /wrkdirs/usr/ports/audio/oss/work/.build =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/audio/oss =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for oss-4.2.b2019_2 build of audio/oss | oss-4.2.b2019_2 ended at Mon Oct 18 20:02:11 PDT 2021 build time: 00:04:53 !!! build failure encountered !!! --=20 You are receiving this mail because: You are the assignee for the bug.=