pkgsrc-Bugs archive

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

pkg/51471: xentools42 does not build on NetBSD-current



>Number:         51471
>Category:       pkg
>Synopsis:       xentools42 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:   Mon Sep 12 16:15: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 xentools42 package from the current pkgsrc on
a NetBSD-current/amd64 system (CVS source date 2016.07.08.09.15.38)
compilation fails as follows:

   daemon/utils.c: In function 'xen_setup':
   daemon/utils.c:115:3: error: %m is only allowed in syslog(3) like functions [-Werror=format=]
      dolog(LOG_ERR,
      ^
   daemon/utils.c:115:3: error: %m is only allowed in syslog(3) like functions [-Werror=format=]
   daemon/utils.c:122:3: error: %m is only allowed in syslog(3) like functions [-Werror=format=]
      dolog(LOG_ERR, "Failed to contact hypervisor (%m)");
      ^
   daemon/utils.c:122:3: error: %m is only allowed in syslog(3) like functions [-Werror=format=]
   cc1: all warnings being treated as errors
   /usr/pkgsrc/sysutils/xentools42/work/xen-4.2.5/tools/console/../../tools/Rules.mk:93: recipe for target 'daemon/utils.o' failed
   gmake[2]: *** [daemon/utils.o] Error 1

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index