+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/glclock-6.0b6.0nb7/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/glclock-6.0b6.0nb7/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for glclock-6.0b6.0nb7
g++ -c  -I/opt/pkg/include main.cpp
In file included from GLObject.H:16,
                 from glclock.H:52,
                 from main.cpp:2:
GLextensions.H:453: warning: "GL_MAX_TEXTURE_UNITS" redefined
  453 | #define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
      | 
In file included from GLextensions.H:17:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1746: note: this is the location of the previous definition
 1746 | #define GL_MAX_TEXTURE_UNITS                    0x84E2
      | 
GLextensions.H:454: warning: "GL_TEXTURE0" redefined
  454 | #define GL_TEXTURE0                             DEF_GL_TEXTURE0
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1712: note: this is the location of the previous definition
 1712 | #define GL_TEXTURE0                             0x84C0
      | 
GLextensions.H:455: warning: "GL_TEXTURE1" redefined
  455 | #define GL_TEXTURE1                             DEF_GL_TEXTURE1
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1713: note: this is the location of the previous definition
 1713 | #define GL_TEXTURE1                             0x84C1
      | 
GLextensions.H:456: warning: "GL_TEXTURE2" redefined
  456 | #define GL_TEXTURE2                             DEF_GL_TEXTURE2
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1714: note: this is the location of the previous definition
 1714 | #define GL_TEXTURE2                             0x84C2
      | 
GLextensions.H:457: warning: "GL_TEXTURE3" redefined
  457 | #define GL_TEXTURE3                             DEF_GL_TEXTURE3
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1715: note: this is the location of the previous definition
 1715 | #define GL_TEXTURE3                             0x84C3
      | 
GLextensions.H:543: warning: "GL_TEXTURE_MAX_ANISOTROPY" redefined
  543 | #define GL_TEXTURE_MAX_ANISOTROPY                       ((GLenum)0x84fe)
      | 
In file included from /home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:2048:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2854: note: this is the location of the previous definition
 2854 | #define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
      | 
GLextensions.H:544: warning: "GL_MAX_TEXTURE_MAX_ANISOTROPY" redefined
  544 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY           ((GLenum)0x84ff)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2855: note: this is the location of the previous definition
 2855 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
      | 
GLextensions.H:570: warning: "GL_NORMAL_MAP" redefined
  570 | #define GL_NORMAL_MAP                           ((GLenum)0x8511)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1748: note: this is the location of the previous definition
 1748 | #define GL_NORMAL_MAP                           0x8511
      | 
GLextensions.H:571: warning: "GL_REFLECTION_MAP" redefined
  571 | #define GL_REFLECTION_MAP                       ((GLenum)0x8512)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1749: note: this is the location of the previous definition
 1749 | #define GL_REFLECTION_MAP                       0x8512
      | 
GLextensions.H:652: warning: "GL_COMPRESSED_ALPHA" redefined
  652 | #define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1761: note: this is the location of the previous definition
 1761 | #define GL_COMPRESSED_ALPHA                     0x84E9
      | 
GLextensions.H:653: warning: "GL_COMPRESSED_LUMINANCE" redefined
  653 | #define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1762: note: this is the location of the previous definition
 1762 | #define GL_COMPRESSED_LUMINANCE                 0x84EA
      | 
GLextensions.H:654: warning: "GL_COMPRESSED_LUMINANCE_ALPHA" redefined
  654 | #define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1763: note: this is the location of the previous definition
 1763 | #define GL_COMPRESSED_LUMINANCE_ALPHA           0x84EB
      | 
GLextensions.H:655: warning: "GL_COMPRESSED_INTENSITY" redefined
  655 | #define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1764: note: this is the location of the previous definition
 1764 | #define GL_COMPRESSED_INTENSITY                 0x84EC
      | 
GLextensions.H:656: warning: "GL_COMPRESSED_RGB" redefined
  656 | #define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1765: note: this is the location of the previous definition
 1765 | #define GL_COMPRESSED_RGB                       0x84ED
      | 
GLextensions.H:657: warning: "GL_COMPRESSED_RGBA" redefined
  657 | #define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1766: note: this is the location of the previous definition
 1766 | #define GL_COMPRESSED_RGBA                      0x84EE
      | 
g++ -c  -I/opt/pkg/include glclock.cpp
In file included from GLObject.H:16,
                 from glclock.H:52,
                 from glclock.cpp:2:
GLextensions.H:453: warning: "GL_MAX_TEXTURE_UNITS" redefined
  453 | #define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
      | 
In file included from GLextensions.H:17:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1746: note: this is the location of the previous definition
 1746 | #define GL_MAX_TEXTURE_UNITS                    0x84E2
      | 
GLextensions.H:454: warning: "GL_TEXTURE0" redefined
  454 | #define GL_TEXTURE0                             DEF_GL_TEXTURE0
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1712: note: this is the location of the previous definition
 1712 | #define GL_TEXTURE0                             0x84C0
      | 
GLextensions.H:455: warning: "GL_TEXTURE1" redefined
  455 | #define GL_TEXTURE1                             DEF_GL_TEXTURE1
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1713: note: this is the location of the previous definition
 1713 | #define GL_TEXTURE1                             0x84C1
      | 
GLextensions.H:456: warning: "GL_TEXTURE2" redefined
  456 | #define GL_TEXTURE2                             DEF_GL_TEXTURE2
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1714: note: this is the location of the previous definition
 1714 | #define GL_TEXTURE2                             0x84C2
      | 
GLextensions.H:457: warning: "GL_TEXTURE3" redefined
  457 | #define GL_TEXTURE3                             DEF_GL_TEXTURE3
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1715: note: this is the location of the previous definition
 1715 | #define GL_TEXTURE3                             0x84C3
      | 
GLextensions.H:543: warning: "GL_TEXTURE_MAX_ANISOTROPY" redefined
  543 | #define GL_TEXTURE_MAX_ANISOTROPY                       ((GLenum)0x84fe)
      | 
In file included from /home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:2048:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2854: note: this is the location of the previous definition
 2854 | #define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
      | 
GLextensions.H:544: warning: "GL_MAX_TEXTURE_MAX_ANISOTROPY" redefined
  544 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY           ((GLenum)0x84ff)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2855: note: this is the location of the previous definition
 2855 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
      | 
GLextensions.H:570: warning: "GL_NORMAL_MAP" redefined
  570 | #define GL_NORMAL_MAP                           ((GLenum)0x8511)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1748: note: this is the location of the previous definition
 1748 | #define GL_NORMAL_MAP                           0x8511
      | 
GLextensions.H:571: warning: "GL_REFLECTION_MAP" redefined
  571 | #define GL_REFLECTION_MAP                       ((GLenum)0x8512)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1749: note: this is the location of the previous definition
 1749 | #define GL_REFLECTION_MAP                       0x8512
      | 
GLextensions.H:652: warning: "GL_COMPRESSED_ALPHA" redefined
  652 | #define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1761: note: this is the location of the previous definition
 1761 | #define GL_COMPRESSED_ALPHA                     0x84E9
      | 
GLextensions.H:653: warning: "GL_COMPRESSED_LUMINANCE" redefined
  653 | #define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1762: note: this is the location of the previous definition
 1762 | #define GL_COMPRESSED_LUMINANCE                 0x84EA
      | 
GLextensions.H:654: warning: "GL_COMPRESSED_LUMINANCE_ALPHA" redefined
  654 | #define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1763: note: this is the location of the previous definition
 1763 | #define GL_COMPRESSED_LUMINANCE_ALPHA           0x84EB
      | 
GLextensions.H:655: warning: "GL_COMPRESSED_INTENSITY" redefined
  655 | #define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1764: note: this is the location of the previous definition
 1764 | #define GL_COMPRESSED_INTENSITY                 0x84EC
      | 
GLextensions.H:656: warning: "GL_COMPRESSED_RGB" redefined
  656 | #define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1765: note: this is the location of the previous definition
 1765 | #define GL_COMPRESSED_RGB                       0x84ED
      | 
GLextensions.H:657: warning: "GL_COMPRESSED_RGBA" redefined
  657 | #define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1766: note: this is the location of the previous definition
 1766 | #define GL_COMPRESSED_RGBA                      0x84EE
      | 
glclock.cpp: In function 'int glclock_opt(char*)':
glclock.cpp:18917:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
18917 |         argv[0] = "glclock" ;
      |                   ^~~~~~~~~
g++ -c  -I/opt/pkg/include GLObject.cpp
In file included from GLObject.H:16,
                 from GLObject.cpp:2:
GLextensions.H:453: warning: "GL_MAX_TEXTURE_UNITS" redefined
  453 | #define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
      | 
In file included from GLextensions.H:17:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1746: note: this is the location of the previous definition
 1746 | #define GL_MAX_TEXTURE_UNITS                    0x84E2
      | 
GLextensions.H:454: warning: "GL_TEXTURE0" redefined
  454 | #define GL_TEXTURE0                             DEF_GL_TEXTURE0
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1712: note: this is the location of the previous definition
 1712 | #define GL_TEXTURE0                             0x84C0
      | 
GLextensions.H:455: warning: "GL_TEXTURE1" redefined
  455 | #define GL_TEXTURE1                             DEF_GL_TEXTURE1
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1713: note: this is the location of the previous definition
 1713 | #define GL_TEXTURE1                             0x84C1
      | 
GLextensions.H:456: warning: "GL_TEXTURE2" redefined
  456 | #define GL_TEXTURE2                             DEF_GL_TEXTURE2
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1714: note: this is the location of the previous definition
 1714 | #define GL_TEXTURE2                             0x84C2
      | 
GLextensions.H:457: warning: "GL_TEXTURE3" redefined
  457 | #define GL_TEXTURE3                             DEF_GL_TEXTURE3
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1715: note: this is the location of the previous definition
 1715 | #define GL_TEXTURE3                             0x84C3
      | 
GLextensions.H:543: warning: "GL_TEXTURE_MAX_ANISOTROPY" redefined
  543 | #define GL_TEXTURE_MAX_ANISOTROPY                       ((GLenum)0x84fe)
      | 
In file included from /home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:2048:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2854: note: this is the location of the previous definition
 2854 | #define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
      | 
GLextensions.H:544: warning: "GL_MAX_TEXTURE_MAX_ANISOTROPY" redefined
  544 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY           ((GLenum)0x84ff)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2855: note: this is the location of the previous definition
 2855 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
      | 
GLextensions.H:570: warning: "GL_NORMAL_MAP" redefined
  570 | #define GL_NORMAL_MAP                           ((GLenum)0x8511)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1748: note: this is the location of the previous definition
 1748 | #define GL_NORMAL_MAP                           0x8511
      | 
GLextensions.H:571: warning: "GL_REFLECTION_MAP" redefined
  571 | #define GL_REFLECTION_MAP                       ((GLenum)0x8512)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1749: note: this is the location of the previous definition
 1749 | #define GL_REFLECTION_MAP                       0x8512
      | 
GLextensions.H:652: warning: "GL_COMPRESSED_ALPHA" redefined
  652 | #define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1761: note: this is the location of the previous definition
 1761 | #define GL_COMPRESSED_ALPHA                     0x84E9
      | 
GLextensions.H:653: warning: "GL_COMPRESSED_LUMINANCE" redefined
  653 | #define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1762: note: this is the location of the previous definition
 1762 | #define GL_COMPRESSED_LUMINANCE                 0x84EA
      | 
GLextensions.H:654: warning: "GL_COMPRESSED_LUMINANCE_ALPHA" redefined
  654 | #define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1763: note: this is the location of the previous definition
 1763 | #define GL_COMPRESSED_LUMINANCE_ALPHA           0x84EB
      | 
GLextensions.H:655: warning: "GL_COMPRESSED_INTENSITY" redefined
  655 | #define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1764: note: this is the location of the previous definition
 1764 | #define GL_COMPRESSED_INTENSITY                 0x84EC
      | 
GLextensions.H:656: warning: "GL_COMPRESSED_RGB" redefined
  656 | #define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1765: note: this is the location of the previous definition
 1765 | #define GL_COMPRESSED_RGB                       0x84ED
      | 
GLextensions.H:657: warning: "GL_COMPRESSED_RGBA" redefined
  657 | #define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1766: note: this is the location of the previous definition
 1766 | #define GL_COMPRESSED_RGBA                      0x84EE
      | 
g++ -c  -I/opt/pkg/include GLextensions.cpp
In file included from GLextensions.cpp:2:
GLextensions.H:453: warning: "GL_MAX_TEXTURE_UNITS" redefined
  453 | #define GL_MAX_TEXTURE_UNITS    DEF_GL_MAX_TEXTURE_UNITS
      | 
In file included from GLextensions.H:17:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1746: note: this is the location of the previous definition
 1746 | #define GL_MAX_TEXTURE_UNITS                    0x84E2
      | 
GLextensions.H:454: warning: "GL_TEXTURE0" redefined
  454 | #define GL_TEXTURE0                             DEF_GL_TEXTURE0
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1712: note: this is the location of the previous definition
 1712 | #define GL_TEXTURE0                             0x84C0
      | 
GLextensions.H:455: warning: "GL_TEXTURE1" redefined
  455 | #define GL_TEXTURE1                             DEF_GL_TEXTURE1
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1713: note: this is the location of the previous definition
 1713 | #define GL_TEXTURE1                             0x84C1
      | 
GLextensions.H:456: warning: "GL_TEXTURE2" redefined
  456 | #define GL_TEXTURE2                             DEF_GL_TEXTURE2
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1714: note: this is the location of the previous definition
 1714 | #define GL_TEXTURE2                             0x84C2
      | 
GLextensions.H:457: warning: "GL_TEXTURE3" redefined
  457 | #define GL_TEXTURE3                             DEF_GL_TEXTURE3
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1715: note: this is the location of the previous definition
 1715 | #define GL_TEXTURE3                             0x84C3
      | 
GLextensions.H:543: warning: "GL_TEXTURE_MAX_ANISOTROPY" redefined
  543 | #define GL_TEXTURE_MAX_ANISOTROPY                       ((GLenum)0x84fe)
      | 
In file included from /home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:2048:
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2854: note: this is the location of the previous definition
 2854 | #define GL_TEXTURE_MAX_ANISOTROPY         0x84FE
      | 
GLextensions.H:544: warning: "GL_MAX_TEXTURE_MAX_ANISOTROPY" redefined
  544 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY           ((GLenum)0x84ff)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/glext.h:2855: note: this is the location of the previous definition
 2855 | #define GL_MAX_TEXTURE_MAX_ANISOTROPY     0x84FF
      | 
GLextensions.H:570: warning: "GL_NORMAL_MAP" redefined
  570 | #define GL_NORMAL_MAP                           ((GLenum)0x8511)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1748: note: this is the location of the previous definition
 1748 | #define GL_NORMAL_MAP                           0x8511
      | 
GLextensions.H:571: warning: "GL_REFLECTION_MAP" redefined
  571 | #define GL_REFLECTION_MAP                       ((GLenum)0x8512)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1749: note: this is the location of the previous definition
 1749 | #define GL_REFLECTION_MAP                       0x8512
      | 
GLextensions.H:652: warning: "GL_COMPRESSED_ALPHA" redefined
  652 | #define GL_COMPRESSED_ALPHA                             ((GLenum)0x84E9)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1761: note: this is the location of the previous definition
 1761 | #define GL_COMPRESSED_ALPHA                     0x84E9
      | 
GLextensions.H:653: warning: "GL_COMPRESSED_LUMINANCE" redefined
  653 | #define GL_COMPRESSED_LUMINANCE                 ((GLenum)0x84EA)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1762: note: this is the location of the previous definition
 1762 | #define GL_COMPRESSED_LUMINANCE                 0x84EA
      | 
GLextensions.H:654: warning: "GL_COMPRESSED_LUMINANCE_ALPHA" redefined
  654 | #define GL_COMPRESSED_LUMINANCE_ALPHA   ((GLenum)0x84EB)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1763: note: this is the location of the previous definition
 1763 | #define GL_COMPRESSED_LUMINANCE_ALPHA           0x84EB
      | 
GLextensions.H:655: warning: "GL_COMPRESSED_INTENSITY" redefined
  655 | #define GL_COMPRESSED_INTENSITY                 ((GLenum)0x84EC)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1764: note: this is the location of the previous definition
 1764 | #define GL_COMPRESSED_INTENSITY                 0x84EC
      | 
GLextensions.H:656: warning: "GL_COMPRESSED_RGB" redefined
  656 | #define GL_COMPRESSED_RGB                               ((GLenum)0x84ED)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1765: note: this is the location of the previous definition
 1765 | #define GL_COMPRESSED_RGB                       0x84ED
      | 
GLextensions.H:657: warning: "GL_COMPRESSED_RGBA" redefined
  657 | #define GL_COMPRESSED_RGBA                              ((GLenum)0x84EE)
      | 
/home/pbulk/build/time/glclock/work/.buildlink/include/GL/gl.h:1766: note: this is the location of the previous definition
 1766 | #define GL_COMPRESSED_RGBA                      0x84EE
      | 
GLextensions.cpp: In function 'int IsSupported_ARB_multitexture()':
GLextensions.H:473:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  473 | #define CURRENT_NAME_GL_ARB_multitexture                "GL_ARB_multitexture"
      |                                                         ^~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:185:45: note: in expansion of macro 'CURRENT_NAME_GL_ARB_multitexture'
  185 |         current_MultiTextureInterfaceName = CURRENT_NAME_GL_ARB_multitexture ;
      |                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_ARB_texture_cube_map()':
GLextensions.H:643:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  643 | #define CURRENT_NAME_GL_ARB_texture_cube_map    "GL_ARB_texture_cube_map"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:702:47: note: in expansion of macro 'CURRENT_NAME_GL_ARB_texture_cube_map'
  702 |         current_TextureCubeMapInterfaceName = CURRENT_NAME_GL_ARB_texture_cube_map ;
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.H:643:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  643 | #define CURRENT_NAME_GL_ARB_texture_cube_map    "GL_ARB_texture_cube_map"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:705:49: note: in expansion of macro 'CURRENT_NAME_GL_ARB_texture_cube_map'
  705 |         current_TexgenReflectionInterfaceName = CURRENT_NAME_GL_ARB_texture_cube_map ;
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_EXT_texture_cube_map()':
GLextensions.H:644:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  644 | #define CURRENT_NAME_GL_EXT_texture_cube_map    "GL_EXT_texture_cube_map"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:733:47: note: in expansion of macro 'CURRENT_NAME_GL_EXT_texture_cube_map'
  733 |         current_TextureCubeMapInterfaceName = CURRENT_NAME_GL_EXT_texture_cube_map ;
      |                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.H:644:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  644 | #define CURRENT_NAME_GL_EXT_texture_cube_map    "GL_EXT_texture_cube_map"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:736:49: note: in expansion of macro 'CURRENT_NAME_GL_EXT_texture_cube_map'
  736 |         current_TexgenReflectionInterfaceName = CURRENT_NAME_GL_EXT_texture_cube_map ;
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_NV_texgen_reflection()':
GLextensions.H:645:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  645 | #define CURRENT_NAME_GL_NV_texgen_reflection    "GL_NV_texgen_reflection"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:765:49: note: in expansion of macro 'CURRENT_NAME_GL_NV_texgen_reflection'
  765 |         current_TexgenReflectionInterfaceName = CURRENT_NAME_GL_NV_texgen_reflection ;
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_ARB_separate_specular_color()':
GLextensions.H:897:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  897 | #define CURRENT_NAME_GL_ARB_separate_specular_color             "GL_ARB_separate_specular_color"
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:832:54: note: in expansion of macro 'CURRENT_NAME_GL_ARB_separate_specular_color'
  832 |         current_SeparateSpecularColorInterfaceName = CURRENT_NAME_GL_ARB_separate_specular_color ;
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_EXT_separate_specular_color()':
GLextensions.H:898:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  898 | #define CURRENT_NAME_GL_EXT_separate_specular_color             "GL_EXT_separate_specular_color"
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:859:54: note: in expansion of macro 'CURRENT_NAME_GL_EXT_separate_specular_color'
  859 |         current_SeparateSpecularColorInterfaceName = CURRENT_NAME_GL_EXT_separate_specular_color ;
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_separate_specular_color(int, int)':
GLextensions.H:896:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  896 | #define CURRENT_NAME_GL_VERSION_separate_specular_color "OpenGL-1.2 Separate Specular Color"
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:893:62: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_separate_specular_color'
  893 |                 current_SeparateSpecularColorInterfaceName = CURRENT_NAME_GL_VERSION_separate_specular_color ;
      |                                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_EXT_texture_filter_anisotropic()':
GLextensions.H:905:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  905 | #define CURRENT_NAME_GL_EXT_texture_filter_anisotropic          "GL_EXT_texture_filter_anisotropic"
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:936:57: note: in expansion of macro 'CURRENT_NAME_GL_EXT_texture_filter_anisotropic'
  936 |         current_TextureFilterAnisotropicInterfaceName = CURRENT_NAME_GL_EXT_texture_filter_anisotropic ;
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_texture_filter_anisotropic(int)':
GLextensions.H:904:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  904 | #define CURRENT_NAME_GL_VERSION_texture_filter_anisotropic      "OpenGL-1.? Texture Filter Anisotropic"
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:970:65: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_texture_filter_anisotropic'
  970 |                 current_TextureFilterAnisotropicInterfaceName = CURRENT_NAME_GL_VERSION_texture_filter_anisotropic ;
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_EXT_texture_object()':
GLextensions.H:782:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  782 | #define CURRENT_NAME_GL_EXT_texture_object              "GL_EXT_texture_object"
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1034:46: note: in expansion of macro 'CURRENT_NAME_GL_EXT_texture_object'
 1034 |         current_TextureObjectInterfaceName = CURRENT_NAME_GL_EXT_texture_object ;
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_texture_object(int)':
GLextensions.H:781:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  781 | #define CURRENT_NAME_GL_VERSION_texture_object  "OpenGL-1.1 Texture Object"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1061:54: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_texture_object'
 1061 |                 current_TextureObjectInterfaceName = CURRENT_NAME_GL_VERSION_texture_object ;
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_EXT_polygon_offset()':
GLextensions.H:818:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  818 | #define CURRENT_NAME_GL_EXT_polygon_offset              "GL_EXT_polygon_offset"
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1119:46: note: in expansion of macro 'CURRENT_NAME_GL_EXT_polygon_offset'
 1119 |         current_PolygonOffsetInterfaceName = CURRENT_NAME_GL_EXT_polygon_offset ;
      |                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_polygon_offset(int)':
GLextensions.H:817:49: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  817 | #define CURRENT_NAME_GL_VERSION_polygon_offset  "OpenGL-1.1 Polygon Offset"
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1152:54: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_polygon_offset'
 1152 |                 current_PolygonOffsetInterfaceName = CURRENT_NAME_GL_VERSION_polygon_offset ;
      |                                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_ARB_texture_compression_Enum()':
GLextensions.H:682:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  682 | #define CURRENT_NAME_GL_ARB_texture_compression         "GL_ARB_texture_compression"
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1190:55: note: in expansion of macro 'CURRENT_NAME_GL_ARB_texture_compression'
 1190 |         current_TextureCompressionInterfaceEnumName = CURRENT_NAME_GL_ARB_texture_compression ;
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_texture_compression_Enum(int)':
GLextensions.H:681:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  681 | #define CURRENT_NAME_GL_VERSION_texture_compression     "OpenGL-1.? Texture Compression"
      |                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1222:63: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_texture_compression'
 1222 |                 current_TextureCompressionInterfaceEnumName = CURRENT_NAME_GL_VERSION_texture_compression ;
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_EXT_texture_compression_s3tc()':
GLextensions.H:725:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  725 | #define CURRENT_NAME_GL_EXT_texture_compression_s3tc            "GL_EXT_texture_compression_s3tc"
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1262:55: note: in expansion of macro 'CURRENT_NAME_GL_EXT_texture_compression_s3tc'
 1262 |         current_TextureCompressionS3TCInterfaceName = CURRENT_NAME_GL_EXT_texture_compression_s3tc ;
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_texture_compression_s3tc(int)':
GLextensions.H:724:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  724 | #define CURRENT_NAME_GL_VERSION_texture_compression_s3tc        "OpenGL-1.? Texture Compression S3TC"   // サポートされる訳ない?
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1292:63: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_texture_compression_s3tc'
 1292 |                 current_TextureCompressionS3TCInterfaceName = CURRENT_NAME_GL_VERSION_texture_compression_s3tc ;
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'int IsSupported_3DFX_texture_compression_FXT1()':
GLextensions.H:736:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  736 | #define CURRENT_NAME_GL_3DFX_texture_compression_FXT1           "GL_3DFX_texture_compression_FXT1"
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1329:55: note: in expansion of macro 'CURRENT_NAME_GL_3DFX_texture_compression_FXT1'
 1329 |         current_TextureCompressionFXT1InterfaceName = CURRENT_NAME_GL_3DFX_texture_compression_FXT1 ;
      |                                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp: In function 'char* IsSupported_texture_compression_FXT1(int)':
GLextensions.H:735:65: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
  735 | #define CURRENT_NAME_GL_VERSION_texture_compression_FXT1        "OpenGL-1.? Texture Compression S3TC"   // サポートされる訳ない?
      |                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
GLextensions.cpp:1359:63: note: in expansion of macro 'CURRENT_NAME_GL_VERSION_texture_compression_FXT1'
 1359 |                 current_TextureCompressionFXT1InterfaceName = CURRENT_NAME_GL_VERSION_texture_compression_FXT1 ;
      |                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c  -I/opt/pkg/include PnmIO.cpp
g++ -c  -I/opt/pkg/include MString.cpp
g++  -L/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -Wl,-R/opt/pkg/lib -o glclock main.o glclock.o GLObject.o GLextensions.o PnmIO.o MString.o -lglut -lGLU -lGL -lXi -lXmu -lXext -lX11 -lXt -lSM -lICE -lm
Undefined			first referenced
 symbol  			    in file
fghJoystickRawRead                  /home/pbulk/build/time/glclock/work/.buildlink/lib/libglut.so
ld: fatal: symbol referencing errors. No output written to glclock
collect2: error: ld returned 1 exit status
*** [glclock] Error code 1

bmake: stopped in /home/pbulk/build/time/glclock/work/glclock-6.0b6.0
1 error

bmake: stopped in /home/pbulk/build/time/glclock/work/glclock-6.0b6.0
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/glclock
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/time/glclock