Date: Sun, 31 Aug 2014 10:42:35 GMT From: pkg-fallout@FreeBSD.org To: pkg-fallout@FreeBSD.org Subject: [package - 10amd64-default-ssp][audio/emu10kx] Failed for emu10kx-20051021 in build Message-ID: <201408311042.s7VAgZXE002342@beefy4.isc.freebsd.org>
next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: ports@FreeBSD.org Last committer: adamw@FreeBSD.org Ident: $FreeBSD: head/audio/emu10kx/Makefile 363399 2014-07-29 21:43:17Z adamw $ Log URL: http://beefy4.isc.freebsd.org/data/10amd64-default-ssp/2014-08-30_23h25m31s/logs/emu10kx-20051021.log Build URL: http://beefy4.isc.freebsd.org/build.html?mastername=10amd64-default-ssp&build=2014-08-30_23h25m31s Log: ====>> Building audio/emu10kx build started at Sun Aug 31 10:42:27 UTC 2014 port directory: /usr/ports/audio/emu10kx building for: FreeBSD pkg.FreeBSD.org 10.0-RELEASE-p3 FreeBSD 10.0-RELEASE-p3 amd64 maintained by: ports@FreeBSD.org Makefile ident: $FreeBSD: head/audio/emu10kx/Makefile 363399 2014-07-29 21:43:17Z adamw $ Poudriere version: 3.1-pre Host OSVERSION: 1100027 Jail OSVERSION: 1000510 ---Begin Environment--- OSVERSION=1000510 UNAME_v=FreeBSD 10.0-RELEASE-p3 UNAME_r=10.0-RELEASE-p3 BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM=screen MASTERMNT=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref PKG_EXT=txz FORCE_PACKAGE=yes PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=emu10kx-20051021 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add OLDPWD=/root PWD=/usr/local/poudriere/data/.m/10amd64-default-ssp/ref/.p/pool MASTERNAME=10amd64-default-ssp USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/.p/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/audio/emu10kx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/emu10kx/work HOME=/wrkdirs/usr/ports/audio/emu10kx/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/audio/emu10kx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/emu10kx/work HOME=/wrkdirs/usr/ports/audio/emu10kx/work TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/audio/emu10kx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/emu10kx/work HOME=/wrkdirs/usr/ports/audio/emu10kx/work TMPDIR="/tmp" XDG_DATA_HOME=/wrkdirs/usr/ports/audio/emu10kx/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/audio/emu10kx/work HOME=/wrkdirs/usr/ports/audio/emu10kx/work TMPDIR="/tmp" NO_PIE=yes SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing" MANPREFIX="/usr/local" PATH=/usr/local/libexec/ccache:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_LIB="install -s -o root -g wheel -m 444" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g whee l -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=10.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/emu10kx" EXAMPLESDIR="share/examples/emu10kx" DATADIR="share/emu10kx" WWWDIR="www/emu10kx" ETCDIR="etc/emu10kx" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/emu10kx DOCSDIR=/usr/local/share/doc/emu10kx EXAMPLESDIR=/usr/local/share/examples/emu10kx WWWDIR=/usr/local/www/emu10kx ETCDIR=/usr/local/etc/emu10kx --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles #### /usr/local/etc/poudriere.d/make.conf #### WITH_PKGNG=yes #WITH_PKGNG=devel #### /usr/local/etc/poudriere.d/ssp-make.conf #### WITH_SSP_PORTS=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- =======================<phase: check-sanity >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. =========================================================================== =======================<phase: pkg-depends >============================ ===> emu10kx-20051021 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> Installing existing package /packages/All/pkg-1.3.7.txz [pkg.FreeBSD.org] Installing pkg-1.3.7... done Message for pkg-1.3.7: If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of emu10kx-20051021 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. ===> Fetching all distfiles required by emu10kx-20051021 for building =========================================================================== =======================<phase: checksum >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. ===> Fetching all distfiles required by emu10kx-20051021 for building => SHA256 Checksum OK for emu10kx-2005-10-21.tar.bz2. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Not staged. See http://lists.freebsd.org/pipermail/freebsd-ports-announce/2014-May/000080.html. It is scheduled to be removed on or after 2014-08-31. ===> Fetching all distfiles required by emu10kx-20051021 for building ===> Extracting for emu10kx-20051021 => SHA256 Checksum OK for emu10kx-2005-10-21.tar.bz2. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for emu10kx-20051021 ===> Applying FreeBSD patches for emu10kx-20051021 =========================================================================== =======================<phase: build-depends >============================ ===> emu10kx-20051021 depends on file: /usr/local/bin/ccache - not found ===> Verifying install for /usr/local/bin/ccache in /usr/ports/devel/ccache ===> Installing existing package /packages/All/ccache-3.1.9_8.txz [pkg.FreeBSD.org] Installing ccache-3.1.9_8... done Create compiler links... create symlink for cc create symlink for cc (world) create symlink for c++ create symlink for c++ (world) create symlink for CC create symlink for CC (world) Message for ccache-3.1.9_8: NOTE: Please read /usr/local/share/doc/ccache/ccache-howto-freebsd.txt for information on using ccache with FreeBSD ports and src. ===> Returning to build of emu10kx-20051021 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for emu10kx-20051021 =========================================================================== =======================<phase: build >============================ ===> Building for emu10kx-20051021 Warning: Object directory not changed from original /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 @ -> /usr/src/sys machine -> /usr/src/sys/amd64/include x86 -> /usr/src/sys/x86/include awk -f @/tools/makeobjops.awk @/kern/device_if.m -h awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h awk -f @/tools/makeobjops.awk @/dev/sound/pcm/channel_if.m -h <snip> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:291:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_page *' increases required alignment from 1 to 4 [-Wcast-align] page = (struct emu10kx_mixer_page *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:295:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_page *' increases required alignment from 1 to 4 [-Wcast-align] page = (struct emu10kx_mixer_page *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:329:9: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_ctl *' increases required alignment from 1 to 4 [-Wcast-align] ctl = (struct emu10kx_mixer_ctl *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:377:9: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_mixer_ctl *' increases required alignment from 1 to 4 [-Wcast-align] ctl = (struct emu10kx_mixer_ctl *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:457:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ampvalue = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:468:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:472:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:476:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:480:14: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] cardmode = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:485:8: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] ir = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:495:9: warning: cast from 'caddr_t' (aka 'char *') to 'int *' increases required alignment from 1 to 4 [-Wcast-align] dbg = (int *)addr; ^~~~~~~~~~~ emu10kx-dev.c:503:12: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_params *' increases required alignment from 1 to 4 [-Wcast-align] params = (struct emu10kx_params *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:523:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:535:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:545:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:558:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:571:10: warning: cast from 'caddr_t' (aka 'char *') to 'struct emu10kx_peek *' increases required alignment from 1 to 4 [-Wcast-align] peek = (struct emu10kx_peek *)addr; ^~~~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-dev.c:613:39: warning: implicit declaration of function 'unit2minor' is invalid in C99 [-Wimplicit-function-declaration] sc->cdev = make_dev(&emu10kx_cdevsw, unit2minor(unit), UID_ROOT, GID_WHEEL, 0640, "emu10kx%d", unit); ^ 19 warnings generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -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 -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wneste d-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-rm.c In file included from emu10kx-rm.c:42: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -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 -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wneste d-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-mixer.c In file included from emu10kx-mixer.c:46: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. cc -O2 -pipe -fno-strict-aliasing -DEMU10KX_MAJOR=201 -D_KERNEL -DKLD_MODULE -nostdinc -I/wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 -I. -I. -I@ -I@/contrib/altq -fno-common -g -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -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 -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wneste d-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-array-bounds -c emu10kx-pcm.c In file included from emu10kx-pcm.c:42: In file included from @/sys/mutex.h:40: In file included from @/sys/pcpu.h:46: @/sys/vmmeter.h:186:50: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare] return (cnt.v_free_count + cnt.v_cache_count < vm_pageout_wakeup_thresh); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~ emu10kx-pcm.c:132:6: warning: unused variable 'left' [-Wunused-variable] int left, right, mute; ^ emu10kx-pcm.c:132:19: warning: unused variable 'mute' [-Wunused-variable] int left, right, mute; ^ emu10kx-pcm.c:132:12: warning: unused variable 'right' [-Wunused-variable] int left, right, mute; ^ emu10kx-pcm.c:302:1: warning: missing field 'refs' initializer [-Wmissing-field-initializers] AC97_DECLARE(emu_ac97); ^ @/dev/sound/pcm/ac97.h:86:35: note: expanded from macro 'AC97_DECLARE' #define AC97_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj)) ^ @/sys/kobj.h:114:49: note: expanded from macro 'DEFINE_CLASS' #define DEFINE_CLASS(name, methods, size) \ ^ @/sys/kobj.h:125:31: note: expanded from macro '\ DEFINE_CLASS_0' #name, methods, size, NULL \ ^ emu10kx-pcm.c:926:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setspeed_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setspeed, emupchan_setspeed), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:927:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setblocksize_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setblocksize, emupchan_setblocksize), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:929:2: warning: pointer type mismatch ('int (*)(kobj_t, void *)' and 'channel_getptr_t *' (aka 'u_int32_t (*)(kobj_t, void *)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_getptr, emupchan_getptr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:933:1: warning: missing field 'refs' initializer [-Wmissing-field-initializers] CHANNEL_DECLARE(emupchan); ^ @/dev/sound/pcm/channel.h:444:38: note: expanded from macro 'CHANNEL_DECLARE' #define CHANNEL_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj)) ^ @/sys/kobj.h:114:49: note: expanded from macro 'DEFINE_CLASS' #define DEFINE_CLASS(name, methods, size) \ ^ @/sys/kobj.h:125:31: note: expanded from macro '\ DEFINE_CLASS_0' #name, methods, size, NULL \ ^ emu10kx-pcm.c:980:54: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion] if (sndbuf_alloc(ch->buffer, sc->card->parent_dmat, NULL, sc->card->bufsz) != 0) ^~~~ @/sys/_null.h:32:14: note: expanded from macro 'NULL' #define NULL ((void *)0) ^~~~~~~~~~~ @/dev/sound/pcm/buffer.h:69:64: note: passing argument to parameter 'dmaflags' here int sndbuf_alloc(struct snd_dbuf *b, bus_dma_tag_t dmatag, int dmaflags, unsigned int size); ^ emu10kx-pcm.c:1125:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setspeed_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setspeed, emurchan_setspeed), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:1126:2: warning: pointer type mismatch ('int (*)(kobj_t, void *, uint32_t)' and 'channel_setblocksize_t *' (aka 'u_int32_t (*)(kobj_t, void *, u_int32_t)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_setblocksize, emurchan_setblocksize), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:1128:2: warning: pointer type mismatch ('int (*)(kobj_t, void *)' and 'channel_getptr_t *' (aka 'u_int32_t (*)(kobj_t, void *)')) [-Wpointer-type-mismatch] KOBJMETHOD(channel_getptr, emurchan_getptr), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @/sys/kobj.h:98:32: note: expanded from macro 'KOBJMETHOD' { &NAME##_desc, (kobjop_t) (1 ? FUNC : (NAME##_t *)NULL) } ^ ~~~~~~~~~~~~~~~~ emu10kx-pcm.c:1132:1: warning: missing field 'refs' initializer [-Wmissing-field-initializers] CHANNEL_DECLARE(emurchan); ^ @/dev/sound/pcm/channel.h:444:38: note: expanded from macro 'CHANNEL_DECLARE' #define CHANNEL_DECLARE(name) static DEFINE_CLASS(name, name ## _methods, sizeof(struct kobj)) ^ @/sys/kobj.h:114:49: note: expanded from macro 'DEFINE_CLASS' #define DEFINE_CLASS(name, methods, size) \ ^ @/sys/kobj.h:125:31: note: expanded from macro '\ DEFINE_CLASS_0' #name, methods, size, NULL \ ^ 14 warnings generated. ld -d -warn-common -r -d -o snd_emu10kx.ko.debug emu10kx.o emu10kx-fx.o emu10kx-dev.o emu10kx-rm.o emu10kx-mixer.o emu10kx-pcm.o :> export_syms awk -f /sys/conf/kmod_syms.awk snd_emu10kx.ko.debug export_syms | xargs -J% objcopy % snd_emu10kx.ko.debug objcopy --only-keep-debug snd_emu10kx.ko.debug snd_emu10kx.ko.symbols objcopy --strip-debug --add-gnu-debuglink=snd_emu10kx.ko.symbols snd_emu10kx.ko.debug snd_emu10kx.ko ===> emuctrl (all) Warning: Object directory not changed from original /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/emuctrl cc -O2 -pipe -fno-strict-aliasing -g -std=gnu99 -Qunused-arguments -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -c emuctrl.c emuctrl.c:180:6: error: no previous extern declaration for non-static variable 'ops' [-Werror,-Wmissing-variable-declarations] char ops[0x10][8] = { ^ emuctrl.c:198:6: error: no previous extern declaration for non-static variable 'voice_reg' [-Werror,-Wmissing-variable-declarations] char voice_reg[0x7f][19] = { ^ 2 errors generated. *** Error code 1 Stop. make[2]: stopped in /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21/emuctrl *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/audio/emu10kx/work/emu10kx-2005-10-21 *** Error code 1 Stop. make: stopped in /usr/ports/audio/emu10kx
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408311042.s7VAgZXE002342>