Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Aug 2014 02:17:12 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default-ssp][audio/emu10kx] Failed for emu10kx-20051021 in build
Message-ID:  <201408220217.s7M2HCOW039360@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/head-amd64-default-ssp/2014-08-21_04h58m00s/logs/emu10kx-20051021.log
Build URL:      http://beefy4.isc.freebsd.org/build.html?mastername=head-amd64-default-ssp&build=2014-08-21_04h58m00s
Log:

====>> Building audio/emu10kx
build started at Fri Aug 22 02:17:05 UTC 2014
port directory: /usr/ports/audio/emu10kx
building for: FreeBSD pkg.FreeBSD.org 11.0-CURRENT FreeBSD 11.0-CURRENT r269897 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: 1100028




!!! Jail is newer than host. (Jail: 1100028, Host: 1100027) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
OSVERSION=1100028
UNAME_v=FreeBSD 11.0-CURRENT r269897
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=screen-256color
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-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/head-amd64-default-ssp/ref/.p/pool
MASTERNAME=head-amd64-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 wh
 eel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
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-devel
===>   Installing existing package /packages/All/pkg-1.4.0.p.a11.txz
[pkg.FreeBSD.org] Installing pkg-1.4.0.p.a11... done
Message for pkg-1.4.0.p.a11:
 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
===========================================================================
<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  -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function   -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-a
 lign -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-array-bounds -mno-aes -mno-avx -Qunused-arguments -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:189:56: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (vm_cnt.v_free_count + vm_cnt.v_cache_count <
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
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  -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function   -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-a
 lign -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-array-bounds -mno-aes -mno-avx -Qunused-arguments -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:189:56: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (vm_cnt.v_free_count + vm_cnt.v_cache_count <
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
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  -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -gdwarf-2 -mno-aes -mno-avx -Qunused-arguments -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  -Wno-error-tautological-compare -Wno-error-empty-body  -Wno-error-parentheses-equality -Wno-error-unused-function   -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-a
 lign -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-array-bounds -mno-aes -mno-avx -Qunused-arguments -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:189:56: warning: comparison of integers of different signs: 'unsigned int' and 'int' [-Wsign-compare]
    return (vm_cnt.v_free_count + vm_cnt.v_cache_count <
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
emu10kx-pcm.c:132:12: warning: unused variable 'right' [-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:6: warning: unused variable 'left' [-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 -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 -Wno-pointer-sign -Wmissing-variable-declarations -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -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?201408220217.s7M2HCOW039360>