[Bug 211606] x11/lumina fails to build from ports on FreeBSD 11BETA3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 5 17:31:34 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211606

            Bug ID: 211606
           Summary: x11/lumina fails to build  from ports on FreeBSD
                    11BETA3
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kmoore at FreeBSD.org
          Reporter: keren_sky at live.com
             Flags: maintainer-feedback?(kmoore at FreeBSD.org)
          Assignee: kmoore at FreeBSD.org

Greetings all,

I attempted to compile x11/lumina; howerver eventually the build stops with the
following output.

1 warning generated.
c++ -c -O2 -pipe -fstack-protector -fno-strict-aliasing -std=gnu++11 -std=c++11
-Wall -W -pthread -D_THREAD_SAFE -fPIC -DPREFIX=QString\(\"/usr/local\"\)
-DL_ETCDIR=QString\(\"/usr/local/etc\"\)
-DL_SHAREDIR=QString\(\"/usr/local/share\"\) -DBUILD_DATE="\"Fri Aug 5 13:19:05
AST 2016\"" -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB
-DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB
-DQT_CORE_LIB -I. -I. -I/usr/local/include/qt5 -I/usr/local
-I/usr/local/include -I/usr/local/include/qt5/QtSvg
-I/usr/local/include/qt5/QtWidgets -I/usr/local/include/qt5/QtX11Extras
-I/usr/local/include/qt5/QtMultimedia -I/usr/local/include/qt5/QtGui
-I/usr/local/include/qt5/QtNetwork -I/usr/local/include/qt5/QtConcurrent
-I/usr/local/include/qt5/QtCore -I. -I/usr/local/include -I/usr/local/include
-I/usr/local/lib/qt5/mkspecs/freebsd-clang -o LuminaX11.o LuminaX11.cpp
LuminaX11.cpp:781:24: error: non-constant-expression cannot be narrowed from
type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list
[-Wc++11-narrowing]
  uint32_t values[] = {width, height};
                       ^~~~~
LuminaX11.cpp:781:24: note: insert an explicit cast to silence this issue
  uint32_t values[] = {width, height};
                       ^~~~~
                       static_cast<uint32_t>( )
LuminaX11.cpp:781:31: error: non-constant-expression cannot be narrowed from
type 'int' to 'uint32_t' (aka 'unsigned int') in initializer list
[-Wc++11-narrowing]
  uint32_t values[] = {width, height};
                              ^~~~~~
LuminaX11.cpp:781:31: note: insert an explicit cast to silence this issue
  uint32_t values[] = {width, height};
                              ^~~~~~
                              static_cast<uint32_t>( )
2 errors generated.
*** Error code 1

Best Regards,

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list