pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54628: x11/libXdmcp fails to build on Solaris 11



>Number:         54628
>Category:       pkg
>Synopsis:       x11/libXdmcp fails to build on Solaris 11
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 18 15:30:00 +0000 2019
>Originator:     Sad Clouds
>Release:        
>Organization:
>Environment:
SunOS pkgsrc 5.11 11.3 sun4v sparc SUNW,SPARC-Enterprise-T5220
>Description:
===> Building for libXdmcp-1.1.3
--- all ---
/opt/pkg/bin/bmake  all-recursive
--- all-recursive ---
Making all in doc
Making all in .
--- Key.lo ---
  CC       Key.lo
Key.c: In function 'arc4random_buf':
Key.c:86:11: error: implicit declaration of function 'getentropy' [-Werror=implicit-function-declaration]
   86 |     ret = getentropy (auth, len);
      |           ^~~~~~~~~~
Key.c:86:11: warning: nested extern declaration of 'getentropy' [-Wnested-externs]
cc1: some warnings being treated as errors
*** [Key.lo] Error code 1

>How-To-Repeat:

>Fix:
Key.c file needs to include the following header for getentropy()

#include <sys/random.h>



Home | Main Index | Thread Index | Old Index