Bug 234562 - sysutils/smartmontools: Update to 7.0
Summary: sysutils/smartmontools: Update to 7.0
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2019-01-02 10:39 UTC by samm
Modified: 2019-01-12 19:41 UTC (History)
4 users (show)

See Also:
koobs: maintainer-feedback? (samm)


Attachments
update to 7.0 (6.07 KB, patch)
2019-01-02 10:39 UTC, samm
no flags Details | Diff
update to 7.0 (6.08 KB, patch)
2019-01-02 10:42 UTC, samm
samm: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description samm 2019-01-02 10:39:47 UTC
Created attachment 200700 [details]
update to 7.0

- Update to 7.0 release
- Remove unrelevant patches
- Use fetch as default download tool
Comment 1 samm 2019-01-02 10:42:28 UTC
Created attachment 200702 [details]
update to 7.0
Comment 2 Steve Wills freebsd_committer 2019-01-02 14:48:37 UTC
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.
Comment 3 samm 2019-01-02 20:50:03 UTC
Thank you. I will test port in the FreeBSD 12 to fix the issues.