Date: Fri, 24 Aug 2018 17:22:10 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 230867] sysutils/smartmontools: error: use of undeclared identifier 'NVME_CMD_SET_OPC' Message-ID: <bug-230867-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230867 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@FreeBSD.org Reporter: ohartmann@walstatt.org CC: samm@os2.kiev.ua CC: samm@os2.kiev.ua Flags: maintainer-feedback?(samm@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=3D'"(local build)"' -DSMARTMONTOOLS_SYSCONFDIR=3D'"/usr/local/etc"' -DSMARTMONTOOLS_SMARTDSCRIPTDIR=3D'"/usr/local/etc"' -DSMARTMONTOOLS_DRIVEDBDIR=3D'"/usr/local/share/smartmontools"' -O2 = -pipe -fstack-protector -fno-strict-aliasing -Wall -W -c -o smartd.o smartd.cpp /bin/sh ./config.status --file=3Dupdate-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 =3D NVME_CMD_SET_OPC(in.opcode); ~~~~~~ ^ /bin/sh ./config.status --file=3Dsmartd_warning.sh os_freebsd.cpp:527:21: error: use of undeclared identifier 'NVME_CMD_SET_OP= C' pt.cmd.opc_fuse =3D NVME_CMD_SET_OPC(in.opcode); --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230867-7788>