=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ipmitool-1.8.11
/usr/bin/make  all-recursive
Making all in lib
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT helper.lo -MD -MP -MF ".deps/helper.Tpo" -c -o helper.lo helper.c;  then mv -f ".deps/helper.Tpo" ".deps/helper.Plo"; else rm -f ".deps/helper.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_sdr.lo -MD -MP -MF ".deps/ipmi_sdr.Tpo" -c -o ipmi_sdr.lo ipmi_sdr.c;  then mv -f ".deps/ipmi_sdr.Tpo" ".deps/ipmi_sdr.Plo"; else rm -f ".deps/ipmi_sdr.Tpo"; exit 1; fi
ipmi_sdr.c:1177:6: warning: implicit declaration of function 'ipmi_sensor_get_sensor_reading_factors' is invalid in C99 [-Wimplicit-function-declaration]
                                        ipmi_sensor_get_sensor_reading_factors(intf, sensor, rsp->data[0]);
                                        ^
ipmi_sdr.c:4386:9: warning: implicit declaration of function 'ipmi_sdr_add_from_sensors' is invalid in C99 [-Wimplicit-function-declaration]
                        rc = ipmi_sdr_add_from_sensors(intf, 21);
                             ^
ipmi_sdr.c:4392:10: warning: implicit declaration of function 'ipmi_sdr_add_from_file' is invalid in C99 [-Wimplicit-function-declaration]
                                rc = ipmi_sdr_add_from_file(intf, argv[2]);
                                     ^
3 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_sel.lo -MD -MP -MF ".deps/ipmi_sel.Tpo" -c -o ipmi_sel.lo ipmi_sel.c;  then mv -f ".deps/ipmi_sel.Tpo" ".deps/ipmi_sel.Plo"; else rm -f ".deps/ipmi_sel.Tpo"; exit 1; fi
ipmi_sel.c:549:11: warning: 28 enumeration values not handled in switch: 'IPMI_OEM_UNKNOWN', 'IPMI_OEM_HP', 'IPMI_OEM_SUN'... [-Wswitch-enum]
                        switch(iana){
                               ^
ipmi_sel.c:1591:55: warning: expression result unused [-Wunused-value]
                                                        /* FIXME: convert*/ evt.sel_type.standard_type.timestamp;
                                                                            ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
2 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_sol.lo -MD -MP -MF ".deps/ipmi_sol.Tpo" -c -o ipmi_sol.lo ipmi_sol.c;  then mv -f ".deps/ipmi_sol.Tpo" ".deps/ipmi_sol.Plo"; else rm -f ".deps/ipmi_sol.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_pef.lo -MD -MP -MF ".deps/ipmi_pef.Tpo" -c -o ipmi_pef.lo ipmi_pef.c;  then mv -f ".deps/ipmi_pef.Tpo" ".deps/ipmi_pef.Plo"; else rm -f ".deps/ipmi_pef.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_lanp.lo -MD -MP -MF ".deps/ipmi_lanp.Tpo" -c -o ipmi_lanp.lo ipmi_lanp.c;  then mv -f ".deps/ipmi_lanp.Tpo" ".deps/ipmi_lanp.Plo"; else rm -f ".deps/ipmi_lanp.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_fru.lo -MD -MP -MF ".deps/ipmi_fru.Tpo" -c -o ipmi_fru.lo ipmi_fru.c;  then mv -f ".deps/ipmi_fru.Tpo" ".deps/ipmi_fru.Plo"; else rm -f ".deps/ipmi_fru.Tpo"; exit 1; fi
ipmi_fru.c:1438:45: warning: conversion specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
                printf("Enter hex values for each of the %d entries (lsb first),"         \
                                                         ~^
                                                         %lu
ipmi_fru.c:2662:8: warning: implicit declaration of function 'ipmi_spd_print_fru' is invalid in C99 [-Wimplicit-function-declaration]
                rc = ipmi_spd_print_fru(intf, fru->device_id);
                     ^
2 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_chassis.lo -MD -MP -MF ".deps/ipmi_chassis.Tpo" -c -o ipmi_chassis.lo ipmi_chassis.c;  then mv -f ".deps/ipmi_chassis.Tpo" ".deps/ipmi_chassis.Plo"; else rm -f ".deps/ipmi_chassis.Tpo"; exit 1; fi
ipmi_chassis.c:225:33: warning: conversion specifies type 'long' but the argument has type '__uint32_t' (aka 'unsigned int') [-Wformat]
       printf("POH Counter  : %li days, %li hours, %li minutes\n",
                              ~~^
                              %u
ipmi_chassis.c:225:43: warning: conversion specifies type 'long' but the argument has type '__uint32_t' (aka 'unsigned int') [-Wformat]
       printf("POH Counter  : %li days, %li hours, %li minutes\n",
                                        ~~^
                                        %u
ipmi_chassis.c:228:33: warning: conversion specifies type 'long' but the argument has type '__uint32_t' (aka 'unsigned int') [-Wformat]
       printf("POH Counter  : %li days, %li hours\n", days, hours);
                              ~~^                     ~~~~
                              %u
ipmi_chassis.c:228:43: warning: conversion specifies type 'long' but the argument has type '__uint32_t' (aka 'unsigned int') [-Wformat]
       printf("POH Counter  : %li days, %li hours\n", days, hours);
                                        ~~^                 ~~~~~
                                        %u
ipmi_chassis.c:717:42: warning: conversion specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
         printf("    Session Id     : %08Xh\n",session_id);
                                      ~~~^     ~~~~~~~~~~
                                      %08lX
ipmi_chassis.c:720:45: warning: conversion specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
            printf("    Timestamp      : %08Xh, %s\n",timestamp,time_buf);
                                         ~~~^         ~~~~~~~~~
                                         %08lX
ipmi_chassis.c:724:45: warning: conversion specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
            printf("    Timestamp      : %08Xh, undefined\n",timestamp);
                                         ~~~^                ~~~~~~~~~
                                         %08lX
7 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_mc.lo -MD -MP -MF ".deps/ipmi_mc.Tpo" -c -o ipmi_mc.lo ipmi_mc.c;  then mv -f ".deps/ipmi_mc.Tpo" ".deps/ipmi_mc.Plo"; else rm -f ".deps/ipmi_mc.Tpo"; exit 1; fi
ipmi_mc.c:115:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "recv_msg_intr",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:116:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "Receive Message Queue Interrupt",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:117:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<0,
                ~~~~~   ^
                .mask   = 
ipmi_mc.c:120:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "event_msg_intr",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:121:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "Event Message Buffer Full Interrupt",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:122:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<1,
                ~~~~~   ^
                .mask   = 
ipmi_mc.c:125:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "event_msg",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:126:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "Event Message Buffer",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:127:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<2,
                ~~~~~   ^
                .mask   = 
ipmi_mc.c:130:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "system_event_log",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:131:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "System Event Logging",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:132:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<3,
                ~~~~~   ^
                .mask   = 
ipmi_mc.c:135:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "oem0",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:136:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "OEM 0",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:137:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<5,
                ~~~~~   ^
                .mask   = 
ipmi_mc.c:140:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "oem1",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:141:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "OEM 1",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:142:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<6,
                ~~~~~   ^
                .mask   = 
ipmi_mc.c:145:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "oem2",
                ~~~~~   ^
                .name   = 
ipmi_mc.c:146:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "OEM 2",
                ~~~~~   ^
                .desc   = 
ipmi_mc.c:147:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                mask:   1<<7,
                ~~~~~   ^
                .mask   = 
21 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT log.lo -MD -MP -MF ".deps/log.Tpo" -c -o log.lo log.c;  then mv -f ".deps/log.Tpo" ".deps/log.Plo"; else rm -f ".deps/log.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT dimm_spd.lo -MD -MP -MF ".deps/dimm_spd.Tpo" -c -o dimm_spd.lo dimm_spd.c;  then mv -f ".deps/dimm_spd.Tpo" ".deps/dimm_spd.Plo"; else rm -f ".deps/dimm_spd.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_sensor.lo -MD -MP -MF ".deps/ipmi_sensor.Tpo" -c -o ipmi_sensor.lo ipmi_sensor.c;  then mv -f ".deps/ipmi_sensor.Tpo" ".deps/ipmi_sensor.Plo"; else rm -f ".deps/ipmi_sensor.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_channel.lo -MD -MP -MF ".deps/ipmi_channel.Tpo" -c -o ipmi_channel.lo ipmi_channel.c;  then mv -f ".deps/ipmi_channel.Tpo" ".deps/ipmi_channel.Plo"; else rm -f ".deps/ipmi_channel.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_event.lo -MD -MP -MF ".deps/ipmi_event.Tpo" -c -o ipmi_event.lo ipmi_event.c;  then mv -f ".deps/ipmi_event.Tpo" ".deps/ipmi_event.Plo"; else rm -f ".deps/ipmi_event.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_session.lo -MD -MP -MF ".deps/ipmi_session.Tpo" -c -o ipmi_session.lo ipmi_session.c;  then mv -f ".deps/ipmi_session.Tpo" ".deps/ipmi_session.Plo"; else rm -f ".deps/ipmi_session.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_strings.lo -MD -MP -MF ".deps/ipmi_strings.Tpo" -c -o ipmi_strings.lo ipmi_strings.c;  then mv -f ".deps/ipmi_strings.Tpo" ".deps/ipmi_strings.Plo"; else rm -f ".deps/ipmi_strings.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_user.lo -MD -MP -MF ".deps/ipmi_user.Tpo" -c -o ipmi_user.lo ipmi_user.c;  then mv -f ".deps/ipmi_user.Tpo" ".deps/ipmi_user.Plo"; else rm -f ".deps/ipmi_user.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_raw.lo -MD -MP -MF ".deps/ipmi_raw.Tpo" -c -o ipmi_raw.lo ipmi_raw.c;  then mv -f ".deps/ipmi_raw.Tpo" ".deps/ipmi_raw.Plo"; else rm -f ".deps/ipmi_raw.Tpo"; exit 1; fi
ipmi_raw.c:172:2: warning: implicit declaration of function 'ipmi_spd_print' is invalid in C99 [-Wimplicit-function-declaration]
        ipmi_spd_print(spd_data, i);
        ^
1 warning generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_oem.lo -MD -MP -MF ".deps/ipmi_oem.Tpo" -c -o ipmi_oem.lo ipmi_oem.c;  then mv -f ".deps/ipmi_oem.Tpo" ".deps/ipmi_oem.Plo"; else rm -f ".deps/ipmi_oem.Tpo"; exit 1; fi
ipmi_oem.c:45:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "supermicro",
                ~~~~~   ^
                .name   = 
ipmi_oem.c:46:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "Supermicro IPMIv1.5 BMC with OEM LAN authentication support",
                ~~~~~   ^
                .desc   = 
ipmi_oem.c:47:10: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                setup:  ipmi_oem_supermicro,
                ~~~~~~  ^
                .setup  = 
ipmi_oem.c:50:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "intelwv2",
                ~~~~~   ^
                .name   = 
ipmi_oem.c:51:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "Intel SE7501WV2 IPMIv1.5 BMC with extra LAN communication support",
                ~~~~~   ^
                .desc   = 
ipmi_oem.c:54:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "intelplus",
                ~~~~~   ^
                .name   = 
ipmi_oem.c:55:9: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "Intel IPMI 2.0 BMC with RMCP+ communication support",
                ~~~~~   ^
                .desc   = 
ipmi_oem.c:58:11: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "icts",
                ~~~~~   ^
                .name = 
ipmi_oem.c:59:11: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "IPMI 2.0 ICTS compliance support",
                ~~~~~   ^
                .desc = 
ipmi_oem.c:62:11: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                name:   "ibm",
                ~~~~~   ^
                .name = 
ipmi_oem.c:63:11: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                desc:   "IBM OEM support",
                ~~~~~   ^
                .desc = 
ipmi_oem.c:64:10: warning: use of GNU old-style field designator extension [-Wgnu-designator]
                setup:  ipmi_oem_ibm,
                ~~~~~~  ^
                .setup  = 
12 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_isol.lo -MD -MP -MF ".deps/ipmi_isol.Tpo" -c -o ipmi_isol.lo ipmi_isol.c;  then mv -f ".deps/ipmi_isol.Tpo" ".deps/ipmi_isol.Plo"; else rm -f ".deps/ipmi_isol.Tpo"; exit 1; fi
ipmi_isol.c:618:42: warning: passing 'char *' to parameter of type '__uint8_t *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                        int rc = processiSolUserInput(intf, buffer, numRead);
                                                                            ^~~~~~
ipmi_isol.c:458:17: note: passing argument to parameter 'input' here
                    uint8_t * input,
                              ^
1 warning generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_sunoem.lo -MD -MP -MF ".deps/ipmi_sunoem.Tpo" -c -o ipmi_sunoem.lo ipmi_sunoem.c;  then mv -f ".deps/ipmi_sunoem.Tpo" ".deps/ipmi_sunoem.Plo"; else rm -f ".deps/ipmi_sunoem.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_fwum.lo -MD -MP -MF ".deps/ipmi_fwum.Tpo" -c -o ipmi_fwum.lo ipmi_fwum.c;  then mv -f ".deps/ipmi_fwum.Tpo" ".deps/ipmi_fwum.Plo"; else rm -f ".deps/ipmi_fwum.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_picmg.lo -MD -MP -MF ".deps/ipmi_picmg.Tpo" -c -o ipmi_picmg.lo ipmi_picmg.c;  then mv -f ".deps/ipmi_picmg.Tpo" ".deps/ipmi_picmg.Plo"; else rm -f ".deps/ipmi_picmg.Tpo"; exit 1; fi
ipmi_picmg.c:398:27: warning: data argument not used by format string [-Wformat-extra-args]
                                                printf("Reserved\n",d->type);
                                                       ~~~~~~~~~~~~ ^
ipmi_picmg.c:402:38: warning: data argument not used by format string [-Wformat-extra-args]
                                                printf("OEM GUID Definition\n",d->type);
                                                       ~~~~~~~~~~~~~~~~~~~~~~~ ^
ipmi_picmg.c:765:37: warning: data argument not used by format string [-Wformat-extra-args]
        printf("LED Color Capabilities: ", rsp->data[1] );
               ~~~~~~~~~~~~~~~~~~~~~~~~~~  ^
ipmi_picmg.c:1076:28: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
      printf("  - Freq:   %d\n", freq);
                          ~^     ~~~~
                          %lu
ipmi_picmg.c:1118:31: warning: data argument not used by format string [-Wformat-extra-args]
printf("## setting: 0x02x\n", msg_data[3]);
       ~~~~~~~~~~~~~~~~~~~~~  ^
ipmi_picmg.c:1121:22: warning: conversion specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
printf("## freq:    %d\n", freq );
                    ~^     ~~~~
                    %lu
6 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_main.lo -MD -MP -MF ".deps/ipmi_main.Tpo" -c -o ipmi_main.lo ipmi_main.c;  then mv -f ".deps/ipmi_main.Tpo" ".deps/ipmi_main.Plo"; else rm -f ".deps/ipmi_main.Tpo"; exit 1; fi
ipmi_main.c:446:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        kgkey = strdup(optarg);
                              ^ ~~~~~~~~~~~~~~
ipmi_main.c:457:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                kgkey = strdup(tmp);
                                      ^ ~~~~~~~~~~~
ipmi_main.c:665:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                ipmi_intf_session_set_kgkey(intf, kgkey);
                                                  ^~~~~
../include/ipmitool/ipmi_intf.h:201:66: note: passing argument to parameter 'kgkey' here
void ipmi_intf_session_set_kgkey(struct ipmi_intf * intf, char * kgkey);
                                                                 ^
3 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_tsol.lo -MD -MP -MF ".deps/ipmi_tsol.Tpo" -c -o ipmi_tsol.lo ipmi_tsol.c;  then mv -f ".deps/ipmi_tsol.Tpo" ".deps/ipmi_tsol.Plo"; else rm -f ".deps/ipmi_tsol.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_firewall.lo -MD -MP -MF ".deps/ipmi_firewall.Tpo" -c -o ipmi_firewall.lo ipmi_firewall.c;  then mv -f ".deps/ipmi_firewall.Tpo" ".deps/ipmi_firewall.Plo"; else rm -f ".deps/ipmi_firewall.Tpo"; exit 1; fi
ipmi_firewall.c:998:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ret < 0) {
            ~~~ ^ ~
ipmi_firewall.c:1074:10: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
        if (ret < 0) {
            ~~~ ^ ~
2 warnings generated.
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_kontronoem.lo -MD -MP -MF ".deps/ipmi_kontronoem.Tpo" -c -o ipmi_kontronoem.lo ipmi_kontronoem.c;  then mv -f ".deps/ipmi_kontronoem.Tpo" ".deps/ipmi_kontronoem.Plo"; else rm -f ".deps/ipmi_kontronoem.Tpo"; exit 1; fi
if /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H  -I. -I. -I.. -I../include  -I/usr/pkg/include -I/usr/include   -O2 -I/usr/pkg/include -I/usr/include -fno-strict-aliasing -MT ipmi_hpmfwupg.lo -MD -MP -MF ".deps/ipmi_hpmfwupg.Tpo" -c -o ipmi_hpmfwupg.lo ipmi_hpmfwupg.c;  then mv -f ".deps/ipmi_hpmfwupg.Tpo" ".deps/ipmi_hpmfwupg.Plo"; else rm -f ".deps/ipmi_hpmfwupg.Tpo"; exit 1; fi
ipmi_hpmfwupg.c:1056:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    printf(str);
           ^~~
ipmi_hpmfwupg.c:1058:9: warning: implicit declaration of function 'toupper' is invalid in C99 [-Wimplicit-function-declaration]
    if (toupper(userInput[0]) == 'Y')
        ^
ipmi_hpmfwupg.c:1128:22: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("| %02d.%02d | %05x |\n",timeElapsed/60,timeElapsed%60,totalSent);
                  ~~~^                  ~~~~~~~~~~~~~~
                  %02ld
ipmi_hpmfwupg.c:1128:27: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
        printf("| %02d.%02d | %05x |\n",timeElapsed/60,timeElapsed%60,totalSent);
                       ~~~^                            ~~~~~~~~~~~~~~
                       %02ld
ipmi_hpmfwupg.c:1156:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
ipmi_hpmfwupg.c:1208:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
ipmi_hpmfwupg.c:1236:9: error: non-void function 'HpmfwupgTargetCheck' should return a value [-Wreturn-type]
        return;
        ^
ipmi_hpmfwupg.c:1429:16: warning: implicit declaration of function 'HpmfwupgPreUpgradeCheck' is invalid in C99 [-Wimplicit-function-declaration]
          rc = HpmfwupgPreUpgradeCheck(intf, &fwupgCtx,componentToUpload,VIEW_MODE);
               ^
ipmi_hpmfwupg.c:2298:57: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
                               printf("\n Time Taken %02d:%02d",(end-start)/60, (end-start)%60);
                                                     ~~~^       ~~~~~~~~~~~~~~
                                                     %02ld
ipmi_hpmfwupg.c:2298:62: warning: conversion specifies type 'int' but the argument has type 'long' [-Wformat]
                               printf("\n Time Taken %02d:%02d",(end-start)/60, (end-start)%60);
                                                          ~~~^                  ~~~~~~~~~~~~~~
                                                          %02ld
ipmi_hpmfwupg.c:3082:7: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration]
      usleep(100000);
      ^
ipmi_hpmfwupg.c:3519:7: error: non-void function 'ipmi_hpmfwupg_main' should return a value [-Wreturn-type]
      return;
      ^
10 warnings and 2 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/sysutils/ipmitool/work/ipmitool-1.8.11/lib
*** Error code 1

Stop.
make: stopped in /scratch/sysutils/ipmitool/work/ipmitool-1.8.11
*** Error code 1

Stop.
make: stopped in /scratch/sysutils/ipmitool/work/ipmitool-1.8.11
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/sysutils/ipmitool
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/sysutils/ipmitool
