port libzmf

Ivo Hazmuk ivo at hazmuk.cz
Fri May 26 18:51:45 UTC 2017


Hi,

today I want install a new version of Libreoffice from ports. But 
without succes. I've problem to compile library graphics/libzmf.

Output is in attachement.

	With regards
		Ivo Hazmuk
-------------- next part --------------
===>  Building for libzmf-0.0.1
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- all-recursive ---
Making all in lib
--- ZMF4Parser.lo ---
--- ZMFCollector.lo ---
--- ZMF4Parser.lo ---
/bin/sh ../../libtool  --tag=CXX    --mode=compile c++ -std=gnu++11 -DHAVE_CONFIG_H  -I. -I../..   -I/usr/local/include  -I../../inc -I/usr/local/include/librevenge-0.0 -I/usr/local/include/librevenge-0.0  -I/usr/local/include/libpng16 -I/usr/local/include  --std=c++0x -DNDEBUG -DLIBZMF_BUILD -O2 -pipe -fstack-protector -fno-strict-aliasing  -fvisibility=hidden -DLIBZMF_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -MT ZMF4Parser.lo -MD -MP -MF .deps/ZMF4Parser.Tpo -c -o ZMF4Parser.lo ZMF4Parser.cpp
--- ZMFCollector.lo ---
/bin/sh ../../libtool  --tag=CXX    --mode=compile c++ -std=gnu++11 -DHAVE_CONFIG_H  -I. -I../..   -I/usr/local/include  -I../../inc -I/usr/local/include/librevenge-0.0 -I/usr/local/include/librevenge-0.0  -I/usr/local/include/libpng16 -I/usr/local/include  --std=c++0x -DNDEBUG -DLIBZMF_BUILD -O2 -pipe -fstack-protector -fno-strict-aliasing  -fvisibility=hidden -DLIBZMF_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -MT ZMFCollector.lo -MD -MP -MF .deps/ZMFCollector.Tpo -c -o ZMFCollector.lo ZMFCollector.cpp
--- ZMF4Parser.lo ---
libtool: compile:  c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../inc -I/usr/local/include/librevenge-0.0 -I/usr/local/include/librevenge-0.0 -I/usr/local/include/libpng16 -I/usr/local/include --std=c++0x -DNDEBUG -DLIBZMF_BUILD -O2 -pipe -fstack-protector -fno-strict-aliasing -fvisibility=hidden -DLIBZMF_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -MT ZMF4Parser.lo -MD -MP -MF .deps/ZMF4Parser.Tpo -c ZMF4Parser.cpp  -fPIC -DPIC -o .libs/ZMF4Parser.o
--- ZMFCollector.lo ---
libtool: compile:  c++ -std=gnu++11 -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -I../../inc -I/usr/local/include/librevenge-0.0 -I/usr/local/include/librevenge-0.0 -I/usr/local/include/libpng16 -I/usr/local/include --std=c++0x -DNDEBUG -DLIBZMF_BUILD -O2 -pipe -fstack-protector -fno-strict-aliasing -fvisibility=hidden -DLIBZMF_VISIBILITY -Wall -Wextra -pedantic -Wshadow -Wunused-variable -Weffc++ -MT ZMFCollector.lo -MD -MP -MF .deps/ZMFCollector.Tpo -c ZMFCollector.cpp  -fPIC -DPIC -o .libs/ZMFCollector.o
--- ZMF4Parser.lo ---
ZMF4Parser.cpp:272:24: error: no member named 'value' in 'boost::optional<std::__1::shared_ptr<libzmf::Arrow> >'
  return arrow ? arrow.value() : ArrowPtr();
                 ~~~~~ ^
ZMF4Parser.cpp:687:38: error: no member named 'value' in 'boost::optional<unsigned int>'
    m_fills[m_currentObjectHeader.id.value()] = color;
            ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:693:38: error: no member named 'value' in 'boost::optional<unsigned int>'
    m_fills[m_currentObjectHeader.id.value()] = gradient;
            ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:730:29: error: no member named 'value' in 'boost::optional<libzmf::Image>'
    imageFill.image = image.value();
                      ~~~~~ ^
ZMF4Parser.cpp:732:38: error: no member named 'value' in 'boost::optional<unsigned int>'
    m_fills[m_currentObjectHeader.id.value()] = imageFill;
            ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:759:47: error: no member named 'value' in 'boost::optional<unsigned int>'
    m_transparencies[m_currentObjectHeader.id.value()] = transparency;
                     ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:877:35: error: no member named 'value' in 'boost::optional<unsigned int>'
  m_pens[m_currentObjectHeader.id.value()] = pen;
         ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:929:38: error: no member named 'value' in 'boost::optional<unsigned int>'
  m_shadows[m_currentObjectHeader.id.value()] = shadow;
            ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:950:37: error: no member named 'value' in 'boost::optional<unsigned int>'
  m_arrows[m_currentObjectHeader.id.value()] = arrow;
           ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:982:41: error: no member named 'value' in 'boost::optional<unsigned int>'
      m_images[m_currentObjectHeader.id.value()] = image;
               ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:1015:36: error: no member named 'value' in 'boost::optional<libzmf::Image>'
    m_collector.collectImage(image.value().data, bbox.topLeft(), bbox.width(), bbox.height(),
                             ~~~~~ ^
ZMF4Parser.cpp:1049:36: error: no member named 'value' in 'boost::optional<unsigned int>'
  m_fonts[m_currentObjectHeader.id.value()] = font;
          ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:1101:30: error: no member named 'value' in 'boost::optional<libzmf::Font>'
        parStyle.font = font.value();
                        ~~~~ ^
ZMF4Parser.cpp:1110:46: error: no member named 'value' in 'boost::optional<unsigned int>'
  m_paragraphStyles[m_currentObjectHeader.id.value()] = parStyle;
                    ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:1143:31: error: no member named 'value' in 'boost::optional<libzmf::ParagraphStyle>'
      paragraph.style = style.value();
                        ~~~~~ ^
ZMF4Parser.cpp:1164:26: error: no member named 'value' in 'boost::optional<libzmf::Font>'
        span.font = font.value();
                    ~~~~ ^
ZMF4Parser.cpp:1183:36: error: no member named 'value' in 'boost::optional<unsigned int>'
  m_texts[m_currentObjectHeader.id.value()] = text;
          ~~~~~~~~~~~~~~~~~~~~~~~~ ^
ZMF4Parser.cpp:1219:40: error: no member named 'value' in 'boost::optional<libzmf::Text>'
    m_collector.collectTextObject(text.value(), bbox.topLeft(), bbox.width(), bbox.height(), alignment, bbox.rotation());
                                  ~~~~ ^
ZMF4Parser.cpp:1353:26: error: no member named 'value' in 'boost::optional<libzmf::Text>'
        cell.text = text.value();
                    ~~~~ ^
19 errors generated.
*** [ZMF4Parser.lo] Error code 1

make[4]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1/src/lib
--- ZMFCollector.lo ---
ZMFCollector.cpp:221:56: error: no member named 'value' in 'boost::optional<libzmf::Transparency>'
      m_propList.insert("draw:opacity", m_transparency.value().opacity(), librevenge::RVNG_PERCENT);
                                        ~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:254:71: error: no member named 'value' in 'boost::optional<libzmf::Transparency>'
      grad.insert("svg:stop-opacity", m_transparency ? m_transparency.value().opacity() : 1.0, librevenge::RVNG_PERCENT);
                                                       ~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:297:56: error: no member named 'value' in 'boost::optional<libzmf::Transparency>'
      m_propList.insert("draw:opacity", m_transparency.value().opacity(), librevenge::RVNG_PERCENT);
                                        ~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:670:44: error: no member named 'value' in 'boost::optional<boost::variant<libzmf::Color, libzmf::Gradient, libzmf::ImageFill, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >'
      if (span.font.fill && span.font.fill.value().type() == typeid(Color))
                            ~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:672:55: error: no member named 'value' in 'boost::optional<boost::variant<libzmf::Color, libzmf::Gradient, libzmf::ImageFill, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >'
        auto color = boost::get<Color>(span.font.fill.value());
                                       ~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:762:34: error: no member named 'value' in 'boost::optional<boost::variant<libzmf::Color, libzmf::Gradient, libzmf::ImageFill, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >'
      if (cell.fill && cell.fill.value().type() == typeid(Color))
                       ~~~~~~~~~ ^
ZMFCollector.cpp:764:60: error: no member named 'value' in 'boost::optional<boost::variant<libzmf::Color, libzmf::Gradient, libzmf::ImageFill, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >'
        auto backgroundColor = boost::get<Color>(cell.fill.value());
                                                 ~~~~~~~~~ ^
ZMFCollector.cpp:772:69: error: no member named 'value' in 'boost::optional<libzmf::Pen>'
        writeBorder(cellPropList, "fo:border-left", cell.leftBorder.value());
                                                    ~~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:776:71: error: no member named 'value' in 'boost::optional<libzmf::Pen>'
        writeBorder(cellPropList, "fo:border-right", cell.rightBorder.value());
                                                     ~~~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:780:67: error: no member named 'value' in 'boost::optional<libzmf::Pen>'
        writeBorder(cellPropList, "fo:border-top", cell.topBorder.value());
                                                   ~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:784:73: error: no member named 'value' in 'boost::optional<libzmf::Pen>'
        writeBorder(cellPropList, "fo:border-bottom", cell.bottomBorder.value());
                                                      ~~~~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:809:58: error: no member named 'value' in 'boost::optional<libzmf::Transparency>'
    propList.insert("draw:opacity", m_style.transparency.value().opacity(), librevenge::RVNG_PERCENT);
                                    ~~~~~~~~~~~~~~~~~~~~ ^
ZMFCollector.cpp:850:34: error: no member named 'value' in 'boost::optional<libzmf::Pen>'
    writePen(propList, style.pen.value());
                       ~~~~~~~~~ ^
ZMFCollector.cpp:855:36: error: no member named 'value' in 'boost::optional<boost::variant<libzmf::Color, libzmf::Gradient, libzmf::ImageFill, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_, boost::detail::variant::void_> >'
    writeFill(propList, style.fill.value());
                        ~~~~~~~~~~ ^
ZMFCollector.cpp:860:40: error: no member named 'value' in 'boost::optional<libzmf::Shadow>'
    writeShadow(propList, style.shadow.value());
                          ~~~~~~~~~~~~ ^
ZMFCollector.cpp:923:64: error: no member named 'value' in 'boost::optional<libzmf::Transparency>'
    propList.insert("svg:stroke-opacity", m_style.transparency.value().opacity(), librevenge::RVNG_PERCENT);
                                          ~~~~~~~~~~~~~~~~~~~~ ^
16 errors generated.
*** [ZMFCollector.lo] Error code 1

make[4]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1/src/lib
2 errors

make[4]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1/src/lib
*** [all-recursive] Error code 1

make[3]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1/src
1 error

make[3]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1/src
*** [all-recursive] Error code 1

make[2]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1
1 error

make[2]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1
*** [all] Error code 2

make[1]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1

make[1]: stopped in /usr/ports/graphics/libzmf/work/libzmf-0.0.1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/libzmf


More information about the freebsd-office mailing list