pkgsrc-Bugs archive

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

pkg/53403: xentools46 does not build on NetBSD-current



>Number:         53403
>Category:       pkg
>Synopsis:       xentools46 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:   Wed Jun 27 09:15:00 +0000 2018
>Originator:     Andreas Gustafsson
>Release:        NetBSD-current, source date 2018.06.24.20.28.58
>Organization:

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

Attempting to build the xentools46 package on NetBSD-current/amd64
using yesterday's http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc.tar.gz
fails with:

  xenalyze.c: In function 'weighted_percentile':
  xenalyze.c:2135:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
           if(J_weight<K_weight)
           ^~
  xenalyze.c:2136:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
               L=I; L_weight = I_weight;
                    ^~~~~~~~
  xenalyze.c:2137:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
           if(K_weight<I_weight)
           ^~
  xenalyze.c:2138:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
               R=J; R_weight = J_weight;
                    ^~~~~~~~
  xenalyze.c: In function 'self_weighted_percentile':
  xenalyze.c:2214:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
           if(J_weight<K_weight)
           ^~
  xenalyze.c:2215:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
               L=I; L_weight = I_weight;
                    ^~~~~~~~
  xenalyze.c:2216:9: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
           if(K_weight<I_weight)
           ^~
  xenalyze.c:2217:18: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
               R=J; R_weight = J_weight;
                    ^~~~~~~~
  gcc -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib          -o xentrace_setsize setsize.o /tmp/sysutils/xentools46/work/x\
  en-4.6.6/tools/xentrace/../../tools/libxc/libxenctrl.so -largp 
  At top level:
  xenalyze.c:4124:9: error: 'cr3_compare_total' defined but not used [-Werror=unused-function]
       int cr3_compare_total(const void *_a, const void *_b) {
           ^~~~~~~~~~~~~~~~~

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index