[package - 123amd64-default][graphics/gnash] Failed for gnash-0.8.10_55 in build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Mar 2023 15:46:55 UTC
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: dinoex@FreeBSD.org
Log URL: https://pkg-status.freebsd.org/beefy6/data/123amd64-default/0762117e7f99/logs/gnash-0.8.10_55.log
Build URL: https://pkg-status.freebsd.org/beefy6/build.html?mastername=123amd64-default&build=0762117e7f99
Log:
=>> Building graphics/gnash
build started at Wed Mar 22 15:45:29 UTC 2023
port directory: /usr/ports/graphics/gnash
package name: gnash-0.8.10_55
building for: FreeBSD 123amd64-default-job-11 12.3-RELEASE-p12 FreeBSD 12.3-RELEASE-p12 amd64
maintained by: dinoex@FreeBSD.org
Makefile ident:
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1203000
Job Id: 11
---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p12
UNAME_r=12.3-RELEASE-p12
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/123amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
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 gnash-0.8.10_55:
CYGNAL=off: Cygnal media server
VAAPI=on: VAAPI support
DOCS=on: Build and/or install documentation
NLS=on: Native Language Support
====> Options available for the single RENDERER: you have to select exactly one of them
AGG=on: AGG renderer
OPENGL=off: OpenGL renderer (experimental)
CAIRO=off: Cairo renderer
===> Use 'make config' to modify these settings
---End OPTIONS List---
--MAINTAINER--
dinoex@FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--with-boost-incl="/usr/local/include" --with-boost-lib="/usr/local/lib" --with-plugins-install=prefix --sysconfdir="/usr/local/etc" --enable-gui=gtk --enable-media=ffmpeg --with-ffmpeg-incl=/usr/local/include/libavcodec --with-ffmpeg-lib=/usr/local/lib --disable-testsuite --disable-kparts3 --disable-jemalloc --without-gconf --disable-cygnal --disable-npapi --disable-kparts4 --enable-renderer=agg --enable-device=egl,x11,vaapi --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/gnash/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/gnash/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/gnash/work/.cache HOME=/wrkdirs/usr/ports/graphics/gnash/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/gnash/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/gnash/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--
--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/gnash/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/gnash/work XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/gnash/work/.cache HOME=/wrkdirs/usr/ports/graphics/gnash/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/gnash/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/gnash/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES DEFAULT_AUTOCONF=2.71 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -I/usr/local/include -I/usr/local/include/ffmpeg -fstack-protector-strong -fno-strict-aliasing -std=gnu89 " CPP="cpp" CPPFLAGS="-I/usr/local/include -I../libdevice/vaapi" LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/
local/include -I/usr/local/include/ffmpeg -fstack-protector-strong -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--
GNASHVER="0.8.11dev" PORTDOCS="" AGG="" NO_AGG="@comment " CAIRO="@comment " NO_CAIRO="" CYGNAL="@comment " NO_CYGNAL="" DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " OPENGL="@comment " NO_OPENGL="" VAAPI="" NO_VAAPI="@comment " NLS="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" GTK4_VERSION="4.0.0" OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/gnash" EXAMPLESDIR="share/examples/gnash" DATADIR="share/gnash" WWWDIR="www/gnash" ETCDIR="etc/gnash"
--End PLIST_SUB--
--SUB_LIST--
AGG="" NO_AGG="@comment " CAIRO="@comment " NO_CAIRO="" CYGNAL="@comment " NO_CYGNAL="" DOCS="" NO_DOCS="@comment " NLS="" NO_NLS="@comment " OPENGL="@comment " NO_OPENGL="" VAAPI="" NO_VAAPI="@comment " PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/gnash DOCSDIR=/usr/local/share/doc/gnash EXAMPLESDIR=/usr/local/share/examples/gnash WWWDIR=/usr/local/www/gnash ETCDIR=/usr/local/etc/gnash
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=error: invalid value 'c++2b' in '-std=c++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=error: invalid value 'gnu++2b' in '-std=gnu++2b' note: use 'c++98' or 'c++03' for 'ISO C++ 1998 with amendments' standard note: use 'gnu++98' or 'gnu++03' for 'ISO C++ 1998 with amendments and GNU extensions' standard note: use 'c++11' for 'ISO C++ 2011 with amendments' standard note: use 'gnu++11' for 'ISO C++ 2011 with amendments and GNU extensions' standard note: use 'c++14' for 'ISO C++ 2014 with amendments' standard note: use 'gnu++14' for 'ISO C++ 2014 with amendments and GNU extensions' standard note: use 'c++17' for 'ISO C++ 2017 with amendments' standard note: use 'gnu++17' for 'ISO C++ 2017 with amendments and GNU extensions' standard note: use 'c++20' for 'ISO C++ 2020 DIS' standard note: use 'gnu++20' for 'ISO C++ 2020 DIS with GNU extensions' standard
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p12
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=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 GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends >============================
===> gnash-0.8.10_55 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.19.1_1.pkg
[123amd64-default-job-11] Installing pkg-1.19.1_1...
[123amd64-default-job-11] Extracting pkg-1.19.1_1: .......... done
===> gnash-0.8.10_55 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of gnash-0.8.10_55
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License GPLv3 accepted by the user
===> Fetching all distfiles required by gnash-0.8.10_55 for building
===========================================================================
=======================<phase: checksum >============================
===> License GPLv3 accepted by the user
===> Fetching all distfiles required by gnash-0.8.10_55 for building
=> SHA256 Checksum OK for gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract >============================
===> License GPLv3 accepted by the user
===> Fetching all distfiles required by gnash-0.8.10_55 for building
===> Extracting for gnash-0.8.10_55
=> SHA256 Checksum OK for gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880.tar.bz2.
===========================================================================
=======================<phase: patch-depends >============================
===========================================================================
=======================<phase: patch >============================
===> Patching for gnash-0.8.10_55
===> Applying FreeBSD patches for gnash-0.8.10_55 from /usr/ports/graphics/gnash/files
/usr/bin/sed -i.bak -e 's|lib64|lib|g' -e 's|lib32|lib|g' /wrkdirs/usr/ports/graphics/gnash/work/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/macros/libslist
/usr/bin/sed -i.bak -e 's|/usr/local|/usr/local|g' -e 's|/usr/X11R6|/usr/local|g' /wrkdirs/usr/ports/graphics/gnash/work/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/macros/incllist
/usr/bin/sed -i.bak -e 's|CODEC_ID_|AV_CODEC_ID_|' /wrkdirs/usr/ports/graphics/gnash/work/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libmedia/ffmpeg/VideoDecoderFfmpegVaapi.cpp
===========================================================================
=======================<phase: build-depends >============================
===> gnash-0.8.10_55 depends on package: gmake>=4.3 - not found
===> Installing existing package /packages/All/gmake-4.3_2.pkg
<snip>
In file included from ../libbase/log.h:31:
In file included from /usr/local/include/boost/format.hpp:48:
/usr/local/include/boost/format/group.hpp:59:12: warning: definition of implicit copy constructor for 'group1<boost::io::detail::group0>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
group1& operator=(const group1&);
^
/usr/local/include/boost/format/group.hpp:472:18: note: in implicit copy constructor for 'boost::io::detail::group1<boost::io::detail::group0>' first required here
group() { return detail::group1< detail::group0 > ( detail::group0() ); }
^
1 warning generated.
mv -f .deps/libgnashdevice_la-X11Device.Tpo .deps/libgnashdevice_la-X11Device.Plo
/bin/sh ../libtool --tag=CXX --mode=compile c++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -I../libmedia -I../libbase -I../librender -I../libcore -I../libcore/vm -I../libcore/parser -I../libcore/swf -I../gui -D_THREAD_SAFE -pthread -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -D_THREAD_SAFE -D_THREAD_SAFE -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -D_THREAD_SAFE -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local
/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/agg2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../libdevice/vaapi -D_FORTIFY_SOURCE=2 -O2 -pipe -I/usr/local/include -I/usr/local/include/ffmpeg -fstack-protector-strong -fno-strict-aliasing -W -Wall -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -fvisibility=hidden -fpie -fPIE -Wformat -Werror=format-security -fstack-protector-strong -MT libgnashdevice_la-eglDevice.lo -MD -MP -MF .deps/libgnashdevice_la-eglDevice.Tpo -c -o libgnashdevice_la-eglDevice.lo `test -f 'egl/eglDevice.cpp' || echo './'`egl/eglDevice.cpp
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -I../libmedia -I../libbase -I../librender -I../libcore -I../libcore/vm -I../libcore/parser -I../libcore/swf -I../gui -D_THREAD_SAFE -pthread -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -D_THREAD_SAFE -D_THREAD_SAFE -D_THREAD_SAFE -D_THREAD_SAFE -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread -D_THREAD_SAFE -D_THREAD_SAFE -I/usr/local/include/atk-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/loca
l/include -I/usr/local/include/libpng16 -I/usr/local/include -I/usr/local/include -I/usr/local/include/agg2 -I/usr/local/include -I/usr/local/include -I/usr/local/include -I../libdevice/vaapi -D_FORTIFY_SOURCE=2 -O2 -pipe -I/usr/local/include -I/usr/local/include/ffmpeg -fstack-protector-strong -fno-strict-aliasing -W -Wall -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -fvisibility-inlines-hidden -fvisibility=hidden -Wformat -Werror=format-security -fstack-protector-strong -MT libgnashdevice_la-eglDevice.lo -MD -MP -MF .deps/libgnashdevice_la-eglDevice.Tpo -c egl/eglDevice.cpp -fPIC -DPIC -o .libs/libgnashdevice_la-eglDevice.o
In file included from egl/eglDevice.cpp:26:
In file included from ../libbase/log.h:31:
In file included from /usr/local/include/boost/format.hpp:48:
/usr/local/include/boost/format/group.hpp:59:12: warning: definition of implicit copy constructor for 'group1<boost::io::detail::group0>' is deprecated because it has a user-declared copy assignment operator [-Wdeprecated-copy]
group1& operator=(const group1&);
^
/usr/local/include/boost/format/group.hpp:472:18: note: in implicit copy constructor for 'boost::io::detail::group1<boost::io::detail::group0>' first required here
group() { return detail::group1< detail::group0 > ( detail::group0() ); }
^
In file included from egl/eglDevice.cpp:39:
egl/eglDevice.h:100:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:103:33: note: uninitialized use occurs here
return static_cast<int>(value);
^~~~~
egl/eglDevice.h:100:9: note: remove the 'if' if its condition is always true
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:100:13: warning: variable 'value' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~
egl/eglDevice.h:103:33: note: uninitialized use occurs here
return static_cast<int>(value);
^~~~~
egl/eglDevice.h:100:13: note: remove the '&&' if its condition is always true
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~
egl/eglDevice.h:99:21: note: initialize the variable 'value' to silence this warning
EGLint value;
^
= 0
egl/eglDevice.h:107:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:110:33: note: uninitialized use occurs here
return static_cast<int>(value);
^~~~~
egl/eglDevice.h:107:9: note: remove the 'if' if its condition is always true
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:107:13: warning: variable 'value' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~
egl/eglDevice.h:110:33: note: uninitialized use occurs here
return static_cast<int>(value);
^~~~~
egl/eglDevice.h:107:13: note: remove the '&&' if its condition is always true
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~
egl/eglDevice.h:106:21: note: initialize the variable 'value' to silence this warning
EGLint value;
^
= 0
egl/eglDevice.h:114:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:117:33: note: uninitialized use occurs here
return static_cast<int>(value);
^~~~~
egl/eglDevice.h:114:9: note: remove the 'if' if its condition is always true
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:114:13: warning: variable 'value' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~
egl/eglDevice.h:117:33: note: uninitialized use occurs here
return static_cast<int>(value);
^~~~~
egl/eglDevice.h:114:13: note: remove the '&&' if its condition is always true
if (_eglConfig && _eglDisplay) {
^~~~~~~~~~~~~
egl/eglDevice.h:113:21: note: initialize the variable 'value' to silence this warning
EGLint value;
^
= 0
egl/eglDevice.h:122:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (_eglSurface && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:125:13: note: uninitialized use occurs here
if (value == EGL_SINGLE_BUFFER) {
^~~~~
egl/eglDevice.h:122:9: note: remove the 'if' if its condition is always true
if (_eglSurface && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:122:13: warning: variable 'value' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (_eglSurface && _eglDisplay) {
^~~~~~~~~~~
egl/eglDevice.h:125:13: note: uninitialized use occurs here
if (value == EGL_SINGLE_BUFFER) {
^~~~~
egl/eglDevice.h:122:13: note: remove the '&&' if its condition is always true
if (_eglSurface && _eglDisplay) {
^~~~~~~~~~~~~~
egl/eglDevice.h:121:21: note: initialize the variable 'value' to silence this warning
EGLint value;
^
= 0
egl/eglDevice.h:152:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (surface && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:155:36: note: uninitialized use occurs here
return static_cast<size_t>(value);
^~~~~
egl/eglDevice.h:152:9: note: remove the 'if' if its condition is always true
if (surface && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:152:13: warning: variable 'value' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (surface && _eglDisplay) {
^~~~~~~
egl/eglDevice.h:155:36: note: uninitialized use occurs here
return static_cast<size_t>(value);
^~~~~
egl/eglDevice.h:152:13: note: remove the '&&' if its condition is always true
if (surface && _eglDisplay) {
^~~~~~~~~~
egl/eglDevice.h:151:21: note: initialize the variable 'value' to silence this warning
EGLint value;
^
= 0
egl/eglDevice.h:159:13: warning: variable 'value' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (surface && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:162:36: note: uninitialized use occurs here
return static_cast<size_t>(value);
^~~~~
egl/eglDevice.h:159:9: note: remove the 'if' if its condition is always true
if (surface && _eglDisplay) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.h:159:13: warning: variable 'value' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (surface && _eglDisplay) {
^~~~~~~
egl/eglDevice.h:162:36: note: uninitialized use occurs here
return static_cast<size_t>(value);
^~~~~
egl/eglDevice.h:159:13: note: remove the '&&' if its condition is always true
if (surface && _eglDisplay) {
^~~~~~~~~~
egl/eglDevice.h:158:21: note: initialize the variable 'value' to silence this warning
EGLint value;
^
= 0
egl/eglDevice.h:197:95: warning: non-void function does not return a value in all control paths [-Wreturn-type]
EGLSurface &operator[](int index) { if (!_pbuffers.empty()) { return _pbuffers[index]; }; };
^
egl/eglDevice.h:215:60: warning: variable 'pix' is uninitialized when used here [-Wuninitialized]
if (!eglCopyBuffers(_eglDisplay, _pbuffers[x], pix)) {
^~~
egl/eglDevice.h:214:33: note: initialize the variable 'pix' to silence this warning
NativePixmapType pix;
^
= 0
egl/eglDevice.cpp:317:9: warning: variable 'vid' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
if (_eglDisplay && _eglConfig) {
^~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.cpp:327:12: note: uninitialized use occurs here
return vid;
^~~
egl/eglDevice.cpp:317:5: note: remove the 'if' if its condition is always true
if (_eglDisplay && _eglConfig) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
egl/eglDevice.cpp:317:9: warning: variable 'vid' is used uninitialized whenever '&&' condition is false [-Wsometimes-uninitialized]
if (_eglDisplay && _eglConfig) {
^~~~~~~~~~~
egl/eglDevice.cpp:327:12: note: uninitialized use occurs here
return vid;
^~~
egl/eglDevice.cpp:317:9: note: remove the '&&' if its condition is always true
if (_eglDisplay && _eglConfig) {
^~~~~~~~~~~~~~
egl/eglDevice.cpp:316:15: note: initialize the variable 'vid' to silence this warning
EGLint vid;
^
= 0
egl/eglDevice.cpp:386:25: error: reinterpret_cast from 'GnashDevice::native_window_t' (aka 'long') to 'EGLNativeWindowType' (aka 'unsigned long') is not allowed
_nativeWindow = reinterpret_cast<EGLNativeWindowType>(window);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17 warnings and 1 error generated.
gmake[3]: *** [Makefile:1372: libgnashdevice_la-eglDevice.lo] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/graphics/gnash/work/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/libdevice'
gmake[2]: *** [Makefile:1167: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/graphics/gnash/work/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880'
gmake[1]: *** [Makefile:1075: all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/gnash/work/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880'
*** Error code 1
Stop.
make: stopped in /usr/ports/graphics/gnash