MidnightBSD Magus

x11-clocks/glclock

OpenGL spinning pocket watch demo and benchmark utility

Flavor Version Run OSVersion Arch License Restricted Status
6.0.b6.0 350 1.0 amd64 unknown 0 fail

Events

Machine Type Time Message
Constellation10 info 2019-01-02 00:29:39.794519 Test Started
Constellation10 fail 2019-01-02 00:30:19.397781 make build returned non-zero: 1
Constellation10 fail 2019-01-02 00:30:19.570861 Test complete.

Log

===>  Building for glclock-6.0.b6.0
--- main.o ---
--- glclock.o ---
--- main.o ---
c++ -c -DIMAGE_PATH=\"/usr/local/lib/X11/glclock/\"  -O2 -pipe  -fno-strict-aliasing -I/usr/local/include main.cpp
--- glclock.o ---
c++ -c -DIMAGE_PATH=\"/usr/local/lib/X11/glclock/\"  -O2 -pipe  -fno-strict-aliasing -I/usr/local/include glclock.cpp
--- main.o ---
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
In file included from ./GLextensions.H:20:
./MString.H:311:19: error: friend declaration specifying a default argument must be a definition
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:315:19: error: friend declaration specifying a default argument must be a definition
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:319:19: error: friend declaration specifying a default argument must be a definition
    friend String Right(const String& s, int n = 1) ;
                  ^
./MString.H:412:8: error: friend declaration specifying a default argument must be the only declaration
String Mid(String, int, int) ;
       ^
./MString.H:311:19: note: previous declaration is here
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:413:8: error: friend declaration specifying a default argument must be the only declaration
String Left(const String&, int) ;
       ^
./MString.H:315:19: note: previous declaration is here
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:414:8: error: friend declaration specifying a default argument must be the only declaration
String Right(const String&, int) ;
       ^
./MString.H:319:19: note: previous declaration is here
    friend String Right(const String& s, int n = 1) ;
                  ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:596:9: warning: 'GL_EXT_texture_cube_map' macro redefined
#define GL_EXT_texture_cube_map
        ^
/usr/local/include/GL/glext.h:8044:9: note: previous definition is here
#define GL_EXT_texture_cube_map 1
        ^
In file included from main.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:694:9: warning: 'GL_EXT_texture_compression_s3tc' macro redefined
#define GL_EXT_texture_compression_s3tc
        ^
/usr/local/include/GL/glext.h:8036:9: note: previous definition is here
#define GL_EXT_texture_compression_s3tc 1
        ^
2 warnings and 6 errors generated.
*** [main.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/x11-clocks/glclock/work/glclock-6.0b6.0
--- glclock.o ---
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
In file included from ./GLextensions.H:20:
./MString.H:311:19: error: friend declaration specifying a default argument must be a definition
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:315:19: error: friend declaration specifying a default argument must be a definition
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:319:19: error: friend declaration specifying a default argument must be a definition
    friend String Right(const String& s, int n = 1) ;
                  ^
./MString.H:412:8: error: friend declaration specifying a default argument must be the only declaration
String Mid(String, int, int) ;
       ^
./MString.H:311:19: note: previous declaration is here
    friend String Mid(String s, int m, int n = 1) ;
                  ^
./MString.H:413:8: error: friend declaration specifying a default argument must be the only declaration
String Left(const String&, int) ;
       ^
./MString.H:315:19: note: previous declaration is here
    friend String Left(const String& s, int n = 1) ;
                  ^
./MString.H:414:8: error: friend declaration specifying a default argument must be the only declaration
String Right(const String&, int) ;
       ^
./MString.H:319:19: note: previous declaration is here
    friend String Right(const String& s, int n = 1) ;
                  ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:596:9: warning: 'GL_EXT_texture_cube_map' macro redefined
#define GL_EXT_texture_cube_map
        ^
/usr/local/include/GL/glext.h:8044:9: note: previous definition is here
#define GL_EXT_texture_cube_map 1
        ^
In file included from glclock.cpp:2:
In file included from ./glclock.H:52:
In file included from ./GLObject.H:16:
./GLextensions.H:694:9: warning: 'GL_EXT_texture_compression_s3tc' macro redefined
#define GL_EXT_texture_compression_s3tc
        ^
/usr/local/include/GL/glext.h:8036:9: note: previous definition is here
#define GL_EXT_texture_compression_s3tc 1
        ^
glclock.cpp:663:31: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        int ret = fprintf(outstream, log) ;
                                     ^~~
glclock.cpp:1182:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:1182:10: note: place parentheses around the assignment to silence this warning
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
                ^
glclock.cpp:1182:10: note: use '==' to turn this assignment into an equality comparison
        if (err = gluScaleImage(GL_RGB, src->width, src->height,
                ^
                ==
glclock.cpp:10280:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10280:11: note: place parentheses around the assignment to silence this warning
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                        ^
glclock.cpp:10280:11: note: use '==' to turn this assignment into an equality comparison
                if (err = gluScaleImage(GL_RGB, img[maxLevel - 1]->width, img[maxLevel - 1]->height,
                        ^
                        ==
glclock.cpp:10345:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                    ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10345:11: note: place parentheses around the assignment to silence this warning
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                        ^
                    (                                                                                                                                 )
glclock.cpp:10345:11: note: use '==' to turn this assignment into an equality comparison
                if (err = gluBuild2DMipmaps(GL_TEXTURE_2D, tex_internal_format, image->width, image->height, GL_RGB, GL_UNSIGNED_BYTE, image->dataptr))
                        ^
                        ==
glclock.cpp:10718:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:10718:10: note: place parentheses around the assignment to silence this warning
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
                ^
            (                                                                                                                                                    )
glclock.cpp:10718:10: note: use '==' to turn this assignment into an equality comparison
        if (err = gluScaleImage(GL_RGB, (*image)->width, (*image)->height, GL_UNSIGNED_BYTE, (*image)->dataptr, width,height, GL_UNSIGNED_BYTE, s_image->dataptr))
                ^
                ==
glclock.cpp:13809:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                                        fprintf(fp, fstr) ;
                                                    ^~~~
glclock.cpp:18287:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18290:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                        fprintf(fp, String("\n") + AUTHOR + "\n\n") ;
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18292:15: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                fprintf(fp, glInformationsLog + "\n") ;
                            ^~~~~~~~~~~~~~~~~~~~~~~~
glclock.cpp:18917:12: warning: conversion from string literal to 'char *' is deprecated [-Wc++11-compat-deprecated-writable-strings]
        argv[0] = "glclock" ;
                  ^
12 warnings and 6 errors generated.
*** [glclock.o] Error code 1

make[1]: stopped in /magus/work/usr/mports/x11-clocks/glclock/work/glclock-6.0b6.0
2 errors

make[1]: stopped in /magus/work/usr/mports/x11-clocks/glclock/work/glclock-6.0b6.0
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/x11-clocks/glclock

Links

Depends On

Depend Of

Nothing

Categories