[MacPorts] #56763: qemu @2.12.0_0 +snappy configure fails with numerous errors in qemu-conf.c

MacPorts noreply at macports.org
Mon Jul 2 20:37:33 UTC 2018


#56763: qemu @2.12.0_0 +snappy configure fails with numerous errors in qemu-conf.c
--------------------------+--------------------
 Reporter:  ShadSterling  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.5.2
 Keywords:                |       Port:  qemu
--------------------------+--------------------
 A few of the errors seen:

 {{{
 config-temp/qemu-conf.c:2:2: error: __linux__ not defined
 config-temp/qemu-conf.c:2:2: error: _WIN32 not defined
 config-temp/qemu-conf.c:2:2: error: __OpenBSD__ not defined
 config-temp/qemu-conf.c:3:8: error: suggest braces around initialization
 of subobject [-Werror,-Wmissing-braces]
 } x = {0};
        ^
        {}
 1 error generated.
 config-temp/qemu-conf.c:2:10: fatal error: 'linux/ip.h' file not found
 Undefined symbols for architecture x86_64:
   "std::__1::__vector_base_common<true>::__throw_length_error() const",
 referenced from:
       std::__1::vector<snappy::SnappySinkAllocator::Datablock,
 std::__1::allocator<snappy::SnappySinkAllocator::Datablock>
 >::allocate(unsigned long) in libsnappy.a(snappy.cc.o)
 }}}

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


More information about the macports-tickets mailing list