[Bug 234562] sysutils/smartmontools: Update to 7.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 2 14:48:39 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234562

Steve Wills <swills at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |swills at FreeBSD.org

--- Comment #2 from Steve Wills <swills at FreeBSD.org> ---
This builds on 11.2 but fails to build on 12.0 and HEAD with:

c++ -DHAVE_CONFIG_H -I.  -DBUILD_INFO='"(local build)"'
-DSMARTMONTOOLS_SYSCONFDIR='"/usr/local/etc"'
-DSMARTMONTOOLS_SMARTDSCRIPTDIR='"/usr/local/etc"'
-DSMARTMONTOOLS_DRIVEDBDIR='"/usr/local/share/smartmontools"'        -O2 -pipe
-fstack-protector -fno-strict-aliasing   -Wall -W -Wformat=2 -c -o smartctl.o
smartctl.cpp
os_freebsd.cpp:545:42: error: member reference base type 'uint16_t' (aka
'unsigned short') is not a structure or union
    uint16_t nvme_status = ((cp_p->status.sct << 8) | cp_p->status.sc) & 0x3ff;
                             ~~~~~~~~~~~~^~~~
os_freebsd.cpp:545:67: error: member reference base type 'uint16_t' (aka
'unsigned short') is not a structure or union
    uint16_t nvme_status = ((cp_p->status.sct << 8) | cp_p->status.sc) & 0x3ff;
                                                      ~~~~~~~~~~~~^~~
2 errors generated.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list