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

MacPorts noreply at macports.org
Wed Nov 18 08:19:15 UTC 2020


#61542: osquery @4.3.0: error: initializer 'level' does not name a non-static data
member or base class; did you mean  the member 'level_'?
-----------------------------+---------------------
 Reporter:  rupertleveneucd  |      Owner:  (none)
     Type:  defect           |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  ports            |    Version:  2.6.4
 Keywords:  highsierra       |       Port:  osquery
-----------------------------+---------------------
 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....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/61542>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list