Enviado em 13/08/2019 - 13:28h
Estou tentando compilar o pacote de instalação do Libreoffice 6.2.0.3, disponível no Slackbuilds.org. Instalei as pendências (jdk e avahi), mas num determinado momento (bem depois do início da instalação) o erro surgiu da seguinte maneira:In file included from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/Segment.cpp:27:
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/UtfCodec.h: In static member function ‘static graphite2::uchar_t graphite2::_utf_codec<8>::get(const codeunit_t*, graphite2::int8&)’:
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/UtfCodec.h:150:93: warning: this statement may fall through [-Wimplicit-fallthrough=]
150 | case 4: u <<= 6; u |= *++cp & 0x3F; if (*cp >> 6 != 2) break; ++l; toolong = (u < 0x10); GR_FALLTHROUGH;
| ~~~~~~~~~^~~~~~~~~~~~
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/UtfCodec.h:152:13: note: here
152 | case 3: u <<= 6; u |= *++cp & 0x3F; if (*cp >> 6 != 2) break; ++l; toolong |= (u < 0x20); GR_FALLTHROUGH;
| ^~~~
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/UtfCodec.h:152:92: warning: this statement may fall through [-Wimplicit-fallthrough=]
152 | case 3: u <<= 6; u |= *++cp & 0x3F; if (*cp >> 6 != 2) break; ++l; toolong |= (u < 0x20); GR_FALLTHROUGH;
| ~~~~~~~~^~~~~~~~~~~~~
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/UtfCodec.h:154:13: note: here
154 | case 2: u <<= 6; u |= *++cp & 0x3F; if (*cp >> 6 != 2) break; ++l; toolong |= (u < 0x80); GR_FALLTHROUGH;
| ^~~~
In file included from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/FeatureVal.h:31,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/FeatureMap.h:29,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/Face.h:34,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/Segment.h:34,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/Silf.cpp:32:
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/List.h: In instantiation of ‘void graphite2::Vector<T>::reserve(size_t) [with T = graphite2::FeatureVal; size_t = long unsigned int]’:
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/List.h:90:72: required from ‘void graphite2::Vector<T>::push_back(const T&) [with T = graphite2::FeatureVal]’
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/Segment.h:130:69: required from here
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/List.h:107:42: warning: ‘void* realloc(void*, size_t)’ moving an object of non-trivially copyable type ‘class graphite2::FeatureVal’; use ‘new’ and ‘delete’ instead [-Wclass-memaccess]
107 | m_first = static_cast<T*>(realloc(m_first, n*sizeof(T)));
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
In file included from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/FeatureMap.h:29,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/Face.h:34,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/Segment.h:34,
from /tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/Silf.cpp:32:
/tmp/SBo/libreoffice-6.2.0.3/workdir/UnpackedTarball/graphite/src/inc/FeatureVal.h:38:7: note: ‘class graphite2::FeatureVal’ declared here
38 | class FeatureVal : public Vector<uint32>
| ^~~~~~~~~~
make: *** [Makefile:286: build] Error 2
bash-5.0#