[Bug 230867] sysutils/smartmontools: error: use of undeclared identifier 'NVME_CMD_SET_OPC'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Aug 24 17:22:17 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230867
Bug ID: 230867
Summary: sysutils/smartmontools: error: use of undeclared
identifier 'NVME_CMD_SET_OPC'
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: ohartmann at walstatt.org
CC: samm at os2.kiev.ua
CC: samm at os2.kiev.ua
Flags: maintainer-feedback?(samm at os2.kiev.ua)
On recent 12-CURRENT (FreeBSD 12.0-ALPHA3 #450 r338290: Fri Aug 24 07:37:10
CEST 2018 amd64; ports tree at Revision: 477934), compilation of port
sysutils/smartmontools fail with the error shown below:
[...]
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 -c -o smartd.o smartd.cpp
/bin/sh ./config.status --file=update-smart-drivedb
In file included from os_freebsd.cpp:45:
./atacmds.h:96:9: warning: 'ATA_WRITE_LOG_EXT' macro redefined
[-Wmacro-redefined]
#define ATA_WRITE_LOG_EXT 0x3F
^
/usr/include/sys/ata.h:387:9: note: previous definition is here
#define ATA_WRITE_LOG_EXT 0x3f
^
os_freebsd.cpp:527:10: error: no member named 'opc_fuse' in 'nvme_command'
pt.cmd.opc_fuse = NVME_CMD_SET_OPC(in.opcode);
~~~~~~ ^
/bin/sh ./config.status --file=smartd_warning.sh
os_freebsd.cpp:527:21: error: use of undeclared identifier 'NVME_CMD_SET_OPC'
pt.cmd.opc_fuse = NVME_CMD_SET_OPC(in.opcode);
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list