Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2018 09:17:49 GMT
From:      pkg-fallout@FreeBSD.org
To:        knyght@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][emulators/dosbox] Failed for dosbox-0.74_11 in build
Message-ID:  <201802010917.w119HnTA023601@beefy12.nyi.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:     knyght@gmail.com
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: head/emulators/dosbox/Makefile 412346 2016-04-01 14:00:51Z mat $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p460549_s328647/logs/dosbox-0.74_11.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p460549_s328647
Log:

=>> Building emulators/dosbox
build started at Thu Feb  1 09:13:37 UTC 2018
port directory: /usr/ports/emulators/dosbox
package name: dosbox-0.74_11
building for: FreeBSD head-amd64-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 amd64
maintained by: knyght@gmail.com
Makefile ident:      $FreeBSD: head/emulators/dosbox/Makefile 412346 2016-04-01 14:00:51Z mat $
Poudriere version: 3.2.4-27-gd8c1b2b1
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 08




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200056
UNAME_v=FreeBSD 12.0-CURRENT 1200056
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.4-27-gd8c1b2b1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for dosbox-0.74_11:
====> Options available for the radio DEBUGGER: you can only select none or one of them
     DEBUGGER_ENABLE=off: Enable internal debugger
     DEBUGGER_HEAVY=off: Enable internal debugger with extra features
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
knyght@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-core-inline --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  HOME=/wrkdirs/usr/ports/emulators/dosbox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/dosbox/work  HOME=/wrkdirs/usr/ports/emulators/dosbox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/dosbox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/dosbox"  EXAMPLESDIR="share/examples/dosbox"  DATADIR="share/dosbox"  WWWDIR="www/dosbox"  ETCDIR="etc/dosbox"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/dosbox DOCSDIR=/usr/local/share/doc/dosbox EXAMPLESDIR=/usr/local/share/examples/dosbox  WWWDIR=/usr/local/www/dosbox ETCDIR=/usr/local/etc/dosbox
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200056
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dosbox-0.74_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-08] Installing pkg-1.10.4...
[head-amd64-default-job-08] Extracting pkg-1.10.4: .......... done
===>   dosbox-0.74_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of dosbox-0.74_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-0.74_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-0.74_11 for building
=> SHA256 Checksum OK for dosbox-0.74.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by dosbox-0.74_11 for building
===>  Extracting for dosbox-0.74_11
=> SHA256 Checksum OK for dosbox-0.74.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dosbox-0.74_11
===>  Applying FreeBSD patches for dosbox-0.74_11
===========================================================================
=======================<phase: build-depends  >============================
===>   dosbox-0.74_11 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-amd64-default-job-08] Installing sdl-1.2.15_10,2...
[head-amd64-default-job-08] `-- Installing aalib-1.4.r5_11...
[head-amd64-default-job-08] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-08] `-- Extracting aalib-1.4.r5_11: .......... done
[head-amd64-default-job-08] `-- Installing libGLU-9.0.0_3...
[head-amd64-default-job-08] |   `-- Installing mesa-libs-17.3.1...
[head-amd64-default-job-08] |   | `-- Installing expat-2.2.5...
[head-amd64-default-job-08] |   | `-- Extracting expat-2.2.5: .......... done
[head-amd64-default-job-08] |   | `-- Installing libX11-1.6.5,1...
[head-amd64-default-job-08] |   |   `-- Installing kbproto-1.0.7...
[head-amd64-default-job-08] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-amd64-default-job-08] |   |   `-- Installing libXau-1.0.8_3...
[head-amd64-default-job-08] |   |   | `-- Installing xproto-7.0.31...
[head-amd64-default-job-08] |   |   | `-- Extracting xproto-7.0.31: .......... done
[head-amd64-default-job-08] |   |   `-- Extracting libXau-1.0.8_3: .......... done
[head-amd64-default-job-08] |   |   `-- Installing libXdmcp-1.1.2...
[head-amd64-default-job-08] |   |   `-- Extracting libXdmcp-1.1.2: ......... done
[head-amd64-default-job-08] |   |   `-- Installing libxcb-1.12_2...
[head-amd64-default-job-08] |   |   | `-- Installing libpthread-stubs-0.4...
[head-amd64-default-job-08] |   |   | `-- Extracting libpthread-stubs-0.4: . done
[head-amd64-default-job-08] |   |   | `-- Installing libxml2-2.9.7...
<snip>
                                                                                                                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/SDL/SDL_net.h:419:48: note: expanded from macro 'SDLNet_Read16'
        (SDL_SwapBE16(*SDL_reinterpret_cast(Uint16 *, areap)))
                                                      ^~~~~
/usr/local/include/SDL/SDL_stdinc.h:84:71: note: expanded from macro 'SDL_reinterpret_cast'
#define SDL_reinterpret_cast(type, expression) reinterpret_cast<type>(expression)
                                                                      ^~~~~~~~~~
/usr/local/include/SDL/SDL_endian.h:195:36: note: expanded from macro 'SDL_SwapBE16'
#define SDL_SwapBE16(X) SDL_Swap16(X)
                                   ^
1 warning generated.
mv -f .deps/ipx.Tpo .deps/ipx.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT ipxserver.o -MD -MP -MF .deps/ipxserver.Tpo -c -o ipxserver.o ipxserver.cpp
mv -f .deps/ipxserver.Tpo .deps/ipxserver.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT dbopl.o -MD -MP -MF .deps/dbopl.Tpo -c -o dbopl.o dbopl.cpp
dbopl.cpp:848:10: warning: no case matching constant switch condition '11'
        switch( mode ) {
                ^~~~
dbopl.cpp:1035:38: note: in instantiation of function template specialization 'DBOPL::Channel::BlockTemplate<DBOPL::sm3Percussion>' requested here
                                chan[6].synthHandler = &Channel::BlockTemplate< sm3Percussion >; 
                                                                 ^
dbopl.cpp:938:11: warning: no case matching constant switch condition '11'
                switch( mode ) {
                        ^~~~
dbopl.cpp:848:10: warning: no case matching constant switch condition '10'
        switch( mode ) {
                ^~~~
dbopl.cpp:1037:38: note: in instantiation of function template specialization 'DBOPL::Channel::BlockTemplate<DBOPL::sm2Percussion>' requested here
                                chan[6].synthHandler = &Channel::BlockTemplate< sm2Percussion >; 
                                                                 ^
dbopl.cpp:938:11: warning: no case matching constant switch condition '10'
                switch( mode ) {
                        ^~~~
4 warnings generated.
mv -f .deps/dbopl.Tpo .deps/dbopl.Po
rm -f libhardware.a
ar cru libhardware.a adlib.o dma.o  gameblaster.o hardware.o iohandler.o  joystick.o keyboard.o memory.o  mixer.o pcspeaker.o pic.o  sblaster.o tandy_sound.o timer.o  vga.o vga_attr.o vga_crtc.o  vga_dac.o vga_draw.o vga_gfx.o  vga_other.o vga_memory.o vga_misc.o  vga_seq.o vga_xga.o vga_s3.o  vga_tseng.o vga_paradise.o cmos.o  disney.o gus.o mpu401.o ipx.o  ipxserver.o dbopl.o 
ranlib libhardware.a
Making all in libs
Making all in zmbv
Making all in gui_tk
c++ -DHAVE_CONFIG_H -I. -I../../..   -I../../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT gui_tk.o -MD -MP -MF .deps/gui_tk.Tpo -c -o gui_tk.o gui_tk.cpp
mv -f .deps/gui_tk.Tpo .deps/gui_tk.Po
rm -f libgui_tk.a
ar cru libgui_tk.a gui_tk.o 
ranlib libgui_tk.a
Making all in ints
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o mouse.cpp
mv -f .deps/mouse.Tpo .deps/mouse.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT xms.o -MD -MP -MF .deps/xms.Tpo -c -o xms.o xms.cpp
mv -f .deps/xms.Tpo .deps/xms.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT ems.o -MD -MP -MF .deps/ems.Tpo -c -o ems.o ems.cpp
mv -f .deps/ems.Tpo .deps/ems.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT int10.o -MD -MP -MF .deps/int10.Tpo -c -o int10.o int10.cpp
mv -f .deps/int10.Tpo .deps/int10.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT int10_char.o -MD -MP -MF .deps/int10_char.Tpo -c -o int10_char.o int10_char.cpp
int10_char.cpp:516:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
        if ((CurMode->mode == 0x6)/* || (CurMode->mode==0x11)*/) attr = (attr&0x80)|1;
             ~~~~~~~~~~~~~~^~~~~~
int10_char.cpp:516:21: note: remove extraneous parentheses around the comparison to silence this warning
        if ((CurMode->mode == 0x6)/* || (CurMode->mode==0x11)*/) attr = (attr&0x80)|1;
            ~              ^     ~
int10_char.cpp:516:21: note: use '=' to turn this equality comparison into an assignment
        if ((CurMode->mode == 0x6)/* || (CurMode->mode==0x11)*/) attr = (attr&0x80)|1;
                           ^~
                           =
int10_char.cpp:546:11: warning: enumeration values 'MCH_HERC' and 'MCH_TANDY' not handled in switch [-Wswitch]
                switch (machine) {
                        ^
2 warnings generated.
mv -f .deps/int10_char.Tpo .deps/int10_char.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT int10_memory.o -MD -MP -MF .deps/int10_memory.Tpo -c -o int10_memory.o int10_memory.cpp
mv -f .deps/int10_memory.Tpo .deps/int10_memory.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT int10_misc.o -MD -MP -MF .deps/int10_misc.Tpo -c -o int10_misc.o int10_misc.cpp
mv -f .deps/int10_misc.Tpo .deps/int10_misc.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT int10_modes.o -MD -MP -MF .deps/int10_modes.Tpo -c -o int10_modes.o int10_modes.cpp
int10_modes.cpp:380:11: warning: 7 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
                switch (CurMode->type) {
                        ^
int10_modes.cpp:439:10: warning: enumeration values 'MCH_EGA' and 'MCH_VGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
int10_modes.cpp:482:9: warning: 14 enumeration values not handled in switch: 'M_EGA', 'M_VGA', 'M_LIN4'... [-Wswitch]
        switch(CurMode->type) {
               ^
int10_modes.cpp:516:10: warning: enumeration values 'MCH_EGA' and 'MCH_VGA' not handled in switch [-Wswitch]
        switch (machine) {
                ^
int10_modes.cpp:723:10: warning: 8 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:878:10: warning: 10 enumeration values not handled in switch: 'M_EGA', 'M_LIN4', 'M_HERC_GFX'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:947:10: warning: 8 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1020:10: warning: 8 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1058:10: warning: 7 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1157:11: warning: 7 enumeration values not handled in switch: 'M_HERC_GFX', 'M_HERC_TEXT', 'M_CGA16'... [-Wswitch]
                switch (CurMode->type) {
                        ^
int10_modes.cpp:1238:10: warning: 11 enumeration values not handled in switch: 'M_LIN8', 'M_LIN15', 'M_LIN16'... [-Wswitch]
        switch (CurMode->type) {
                ^
int10_modes.cpp:1401:9: warning: 12 enumeration values not handled in switch: 'M_CGA2', 'M_CGA4', 'M_EGA'... [-Wswitch]
        switch(vmodeBlock->type) {
               ^
12 warnings generated.
mv -f .deps/int10_modes.Tpo .deps/int10_modes.Po
c++ -DHAVE_CONFIG_H -I. -I../..   -I../../include -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -O2 -pipe -fstack-protector -fno-strict-aliasing -MT int10_vesa.o -MD -MP -MF .deps/int10_vesa.Tpo -c -o int10_vesa.o int10_vesa.cpp
int10_vesa.cpp:42:42: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
static char string_productrev[]="DOSBox "VERSION;
                                         ^
                                          
int10_vesa.cpp:147:14: warning: taking address of packed member 'BytesPerScanLine' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.BytesPerScanLine,mblock->swidth/8);
                           ^~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:156:14: warning: taking address of packed member 'BytesPerScanLine' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.BytesPerScanLine,mblock->swidth);
                           ^~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:166:14: warning: taking address of packed member 'BytesPerScanLine' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.BytesPerScanLine,mblock->swidth*2);
                           ^~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:184:14: warning: taking address of packed member 'BytesPerScanLine' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.BytesPerScanLine,mblock->swidth*2);
                           ^~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:200:14: warning: taking address of packed member 'BytesPerScanLine' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.BytesPerScanLine,mblock->swidth*4);
                           ^~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:231:14: warning: taking address of packed member 'ModeAttributes' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.ModeAttributes, modeAttributes & ~0x1);
                           ^~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:234:14: warning: taking address of packed member 'ModeAttributes' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.ModeAttributes, modeAttributes);
                           ^~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:240:14: warning: taking address of packed member 'WinGranularity' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.WinGranularity,32);
                           ^~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:241:14: warning: taking address of packed member 'WinSize' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.WinSize,32);
                           ^~~~~~~~~~~~~
int10_vesa.cpp:242:14: warning: taking address of packed member 'WinASegment' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.WinASegment,0xb800);
                           ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:243:14: warning: taking address of packed member 'XResolution' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.XResolution,mblock->swidth/8);
                           ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:244:14: warning: taking address of packed member 'YResolution' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.YResolution,mblock->sheight/8);
                           ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:246:14: warning: taking address of packed member 'WinGranularity' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.WinGranularity,64);
                           ^~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:247:14: warning: taking address of packed member 'WinSize' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.WinSize,64);
                           ^~~~~~~~~~~~~
int10_vesa.cpp:248:14: warning: taking address of packed member 'WinASegment' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.WinASegment,0xa000);
                           ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:249:14: warning: taking address of packed member 'XResolution' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.XResolution,mblock->swidth);
                           ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:250:14: warning: taking address of packed member 'YResolution' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
                var_write(&minfo.YResolution,mblock->sheight);
                           ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:252:13: warning: taking address of packed member 'WinFuncPtr' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
        var_write(&minfo.WinFuncPtr,CALLBACK_RealPointer(callback.setwindow));
                   ^~~~~~~~~~~~~~~~
int10_vesa.cpp:257:36: warning: taking address of packed member 'PhysBasePtr' of class or structure 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
        if (!int10.vesa_nolfb) var_write(&minfo.PhysBasePtr,S3_LFB_BASE);
                                          ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:491:10: warning: 4 enumeration values not handled in switch: 'SVGA_None', 'SVGA_TsengET4K', 'SVGA_TsengET3K'... [-Wswitch]
        switch (svgaCard) {
                ^
20 warnings and 1 error generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74/src/ints
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/emulators/dosbox/work/dosbox-0.74
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/dosbox



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802010917.w119HnTA023601>