pkgsrc-Bugs archive

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

pkg/51329: xentools45 does not build on NetBSD-current



>Number:         51329
>Category:       pkg
>Synopsis:       xentools45 does not build on NetBSD-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 09 13:20:00 +0000 2016
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2016.07.08.09.15.38
>Organization:

>Environment:
System: NetBSD
Architecture: x86_64
Machine: amd64
>Description:

When I try to build the xentools45 package from the current pkgsrc on
a NetBSD-current/amd64 system (CVS source date 2016.07.08.09.15.38),
compilation fails with the following error message:

  xenpaging.c: In function 'main':
  xenpaging.c:193:10: error: 'buffer' may be used uninitialized in this function [-Werror=maybe-uninitialized]
       if ( mlock(buffer, PAGE_SIZE) < 0 )
	    ^
  xenpaging.c:185:11: note: 'buffer' was declared here
       void *buffer;
	     ^
  cc1: all warnings being treated as errors
  gmake[2]: *** [/usr/pkgsrc/sysutils/xentools45/work/xen-4.5.3/tools/xenpaging/../../tools/Rules.mk:100: xenpaging.o] Error 1

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index