Opened 4 years ago

Last modified 4 years ago

#61542 assigned defect

osquery @4.3.0: error: initializer 'level' does not name a non-static data member or base class; did you mean the member 'level_'?

Reported by: rupertleveneucd Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: highsierra Cc:
Port: osquery

Description

osquery doesn't build for me on OS X High Sierra:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_osquery/osquery/work/osquery-4.3.0/libraries/cmake/source/boost/src/libs/iostreams/src/lzma.cpp:78:33: error: initializer 'level' does not name a non-static data member or base class; did you mean the member 'level_'?
:info:build     : stream_(new lzma_stream), level(lzma::default_compression)
:info:build                                 ^~~~~
:info:build                                 level_
:info:build /opt/local/include/boost/iostreams/filter/lzma.hpp:177:14: note: 'level_' declared here
:info:build     uint32_t level_;
:info:build              ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_osquery/osquery/work/osquery-4.3.0/libraries/cmake/source/boost/src/libs/iostreams/src/lzma.cpp:120:38: error: use of undeclared identifier 'level'; did you mean 'level_'?
:info:build                 lzma_easy_encoder(s, level, LZMA_CHECK_CRC32) :
:info:build                                      ^~~~~
:info:build                                      level_
:info:build /opt/local/include/boost/iostreams/filter/lzma.hpp:177:14: note: 'level_' declared here
:info:build     uint32_t level_;
:info:build              ^
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_osquery/osquery/work/osquery-4.3.0/libraries/cmake/source/boost/src/libs/iostreams/src/lzma.cpp:135:5: error: use of undeclared identifier 'level'; did you mean 'level_'?
:info:build     level = p.level;
:info:build     ^~~~~
:info:build     level_
:info:build /opt/local/include/boost/iostreams/filter/lzma.hpp:177:14: note: 'level_' declared here
:info:build     uint32_t level_;
:info:build              ^
:info:build 3 errors generated.
:info:build make[2]: *** [libs/src/boost/CMakeFiles/thirdparty_boost_iostreams.dir/src/libs/iostreams/src/lzma.cpp.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_osquery/osquery/work/build'
:info:build make[1]: *** [libs/src/boost/CMakeFiles/thirdparty_boost_iostreams.dir/all] Error 2
:info:build make[1]: *** Waiting for unfinished jobs....

Attachments (1)

main.log (7.7 MB) - added by rupertleveneucd 4 years ago.

Change History (2)

Changed 4 years ago by rupertleveneucd

Attachment: main.log added

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to herbygillot
Status: newassigned
Note: See TracTickets for help on using tickets.