Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]libcmis emake failed while installing libreoffice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
whjeon
n00b
n00b


Joined: 20 Nov 2017
Posts: 70
Location: Seoul,Korea(Republic of)

PostPosted: Fri May 24, 2019 9:27 am    Post subject: [SOLVED]libcmis emake failed while installing libreoffice Reply with quote

I did
(1) 'emerge -av libreoffice' and yes.
after failure,
(2) 'emerge-webrsync' && 'emerge -avutDN --with-bdeps=y @world' and then, 'emerge -av libreoffice'
after failure,
(3) 'emerge --sync' and 'emerge -avutDN --with-bdeps=y @world', 'emerge -av libreoffice'

all resulted in the same fail output.

Below is link for /var/tmp/portage/dev-cpp/libcmis-0.5.2/temp/environment
http://dpaste.com/1KR2M4Y

Below is the link for 'emerge --info'
http://dpaste.com/17GW6WK

Below is part of the output of /var/tmp/portage/dev-cpp/libcmis-0.5.2/temp/build.log
(wgetpaste outputs error, if I successfully wgetpaste these, I'll change these to a link.)
Code:

In file included from repository.cxx:29:
../../inc/libcmis-c/repository.h:32:1: note: ‘extern "C"’ linkage started here
 extern "C" {
 ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from ../../inc/libcmis-c/repository.h:35,
                 from repository.cxx:29:
/usr/include/unicode/localpointer.h:371:1: error: template with C linkage
 template<typename T>
 ^~~~~~~~
In file included from repository.cxx:29:
../../inc/libcmis-c/repository.h:32:1: note: ‘extern "C"’ linkage started here
 extern "C" {
 ^~~~~~~~~~
In file included from /usr/include/unicode/uenum.h:23,
                 from /usr/include/unicode/ucnv.h:53,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from /usr/include/libxml2/libxml/parser.h:810,
                 from /usr/include/libxml2/libxml/globals.h:18,
                 from /usr/include/libxml2/libxml/threads.h:35,
                 from /usr/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/include/libxml2/libxml/tree.h:1307,
                 from ../../inc/libcmis-c/repository.h:35,
                 from repository.cxx:29:
/usr/include/unicode/ucnv.h:585:1: error: conflicting declaration of C function ‘void icu::swap(icu::LocalUConverterPointer&, icu::LocalUConverterPointer&)’
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUConverterPointer, UConverter, ucnv_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/unicode/uenum.h:68:1: note: previous declaration ‘void icu::swap(icu::LocalUEnumerationPointer&, icu::LocalUEnumerationPointer&)’
 U_DEFINE_LOCAL_OPEN_POINTER(LocalUEnumerationPointer, UEnumeration, uenum_close);
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/bin/sh ../../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"libcmis\" -DPACKAGE_TARNAME=\"libcmis\" -DPACKAGE_VERSION=\"0.5.2\" -DPACKAGE_STRING=\"libcmis\ 0.5.2\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libcmis\" -DVERSION=\"0.5.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME_POSIX_TIME_POSIX_TIME_HPP=1 -DHAVE_BOOST_SCOPED_PTR_HPP=1 -DHAVE_BOOST_SHARED_PTR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_UUID_UUID_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -I.  -DLIBCMIS_C_BUILD -DLIBCMIS_C_VISIBILITY  -I../../inc -I../../inc/libcmis-c -I/usr/include/libxml2   -fvisibility=hidden -march=native -O2 -pipe -std=c++14 -Wall -pedantic -Weffc++ -Wshadow -Wendif-labels -Wextra -Wsign-promo -Woverloaded-virtual -Wnon-virtual-dtor -Wsign-promo -c -o libcmis_c_0.5_la-vectors.lo `test -f 'vectors.cxx' || echo './'`vectors.cxx
libtool: compile:  x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"libcmis\" -DPACKAGE_TARNAME=\"libcmis\" -DPACKAGE_VERSION=\"0.5.2\" "-DPACKAGE_STRING=\"libcmis 0.5.2\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libcmis\" -DVERSION=\"0.5.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_CXX11=1 -DHAVE_FUNC_ATTRIBUTE_VISIBILITY=1 -DHAVE_BOOST=1 -DHAVE_BOOST_DATE_TIME_POSIX_TIME_POSIX_TIME_HPP=1 -DHAVE_BOOST_SCOPED_PTR_HPP=1 -DHAVE_BOOST_SHARED_PTR_HPP=1 -DHAVE_BOOST_ALGORITHM_STRING_HPP=1 -DHAVE_BOOST_UUID_UUID_HPP=1 -DHAVE_BOOST_PROGRAM_OPTIONS_HPP=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -I. -DLIBCMIS_C_BUILD -DLIBCMIS_C_VISIBILITY -I../../inc -I../../inc/libcmis-c -I/usr/include/libxml2 -fvisibility=hidden -march=native -O2 -pipe -std=c++14 -Wall -pedantic -Weffc++ -Wshadow -Wendif-labels -Wextra -Wsign-promo -Woverloaded-virtual -Wnon-virtual-dtor -Wsign-promo -c vectors.cxx  -fPIC -DPIC -o .libs/libcmis_c_0.5_la-vectors.o
make[2]: *** [Makefile:618: libcmis_c_0.5_la-repository.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/dev-cpp/libcmis-0.5.2/work/libcmis-0.5.2/src/libcmis-c'
make[1]: *** [Makefile:522: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-cpp/libcmis-0.5.2/work/libcmis-0.5.2/src'
make: *** [Makefile:536: all-recursive] Error 1
 * ERROR: dev-cpp/libcmis-0.5.2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-cpp/libcmis-0.5.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-cpp/libcmis-0.5.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-cpp/libcmis-0.5.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-cpp/libcmis-0.5.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-cpp/libcmis-0.5.2/work/libcmis-0.5.2'
 * S: '/var/tmp/portage/dev-cpp/libcmis-0.5.2/work/libcmis-0.5.2'


Last edited by whjeon on Fri May 24, 2019 3:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2245
Location: Frankfurt, Germany

PostPosted: Fri May 24, 2019 11:57 am    Post subject: Reply with quote

I get the same error. Please upgrade to dev-cpp/libcmis-0.5.2-r1. This version will work. I just tested it.

See bug 674414
Back to top
View user's profile Send private message
whjeon
n00b
n00b


Joined: 20 Nov 2017
Posts: 70
Location: Seoul,Korea(Republic of)

PostPosted: Fri May 24, 2019 1:02 pm    Post subject: Reply with quote

mike155 wrote:
I get the same error. Please upgrade to dev-cpp/libcmis-0.5.2-r1. This version will work. I just tested it.

See bug 674414


Thanks for your information. I'll do as you recommended after get back home! Also I'll mark this topic solved if it works.

[EDIT:0]
It worked! Thanks for your support!


Last edited by whjeon on Fri May 24, 2019 3:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7847
Location: Austria

PostPosted: Fri May 24, 2019 2:05 pm    Post subject: Reply with quote

Just emerge --sync after you get back home, should be enough to get -r1.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum