Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] libreoffice-6.1.5.2 compile fails with 'MEMORY_ALLOC_OPERATORS(SQLException)'
Date: Mon, 18 Feb 2019 09:23:37
Message-Id: 2236770.dLCjonQuTi@dell_xps
Hi All,

I've come across this 'MEMORY_ALLOC_OPERATORS(SQLException)' and don't know 
how to proceed.  I couldn't find a bug report:

==================================================
[CXX] mysqlc/source/mysqlc_connection.cxx                                                                                                                                                     
S=/var/tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2 && 
I=$S/instdir && W=$S/workdir &&  mkdir -p $W/CxxObject/mysqlc/source/ $W/Dep/
CxxObject/mysqlc/source/ && cd /var
/tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2 &&    
x86_64-pc-linux-gnu-g++ -DBOOST_ERROR_CODE_HEADER_ONLY -
DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DLINUX -DNDEBU
G -DOSL_DEBUG_LEVEL=0 -DUNIX -DUNX -DX86_64 -D_PTHREADS -D_REENTRANT   -
DSYSTEM_MYSQL_CPPCONN  -DCPPDBC_EXPORTS -DCPPCONN_LIB_BUILD -
DMARIADBC_VERSION_MAJOR=1 -DMARIADBC_VERSION_MINOR=0 -DMA
RIADBC_VERSION_MICRO=2     -fvisibility=hidden    -Wall -Wno-missing-braces -
Wnon-virtual-dtor -Wendif-labels -Wextra -Wundef -Wunreachable-code -Wunused-
macros -finput-charset=UTF-8 -fmessa
ge-length=0 -fno-common -pipe  -Wduplicated-cond -Wlogical-op -Wshift-
overflow=2 -Wunused-const-variable=1 -fvisibility-inlines-hidden -fstack-
protector-strong -fPIC -Wshadow -Woverloaded-vi
rtual -std=gnu++17   -DEXCEPTIONS_ON -fexceptions -fno-enforce-eh-specs -
march=native -O2 -pipe   -Wno-undef -c $S/mysqlc/source/mysqlc_connection.cxx 
-o $W/CxxObject/mysqlc/source/mysqlc_co
nnection.o  -I$S/include   -I$S/config_host  -I/usr/include  -I$W/
UnoApiHeadersTarget/udkapi/normal -I$W/UnoApiHeadersTarget/offapi/normal                                                    
[CXX] mysqlc/source/mysqlc_resultset.cxx                                                                                                                                                      
In file included from /usr/include/cppconn/variant.h:38:0,                                                                                                                                    
                 from /usr/include/cppconn/connection.h:35,                                                                                                                                   
                 from /usr/include/cppconn/driver.h:30,                                                                                                                                       
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39,                                                        
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_driver.hxx:32,                                                            
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_driver.cxx:26:                                                            
/usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow dynamic 
exception specifications                                                                                       
  MEMORY_ALLOC_OPERATORS(SQLException)                                                                                                                                                        
  ^                                                                                                                                                                                           
/usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow dynamic 
exception specifications                                                                                       
  MEMORY_ALLOC_OPERATORS(SQLException)                                                                                                                                                        
  ^                                                                                                                                                                                           
In file included from /usr/include/cppconn/variant.h:38:0,                                                                                                                                    
                 from /usr/include/cppconn/connection.h:35,
                 from /usr/include/cppconn/driver.h:30,                                                                                                                                       
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39,                                                        
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_driver.hxx:32,                                                            
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_services.cxx:20:                                                          
/usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow dynamic 
exception specifications                                                                                       
  MEMORY_ALLOC_OPERATORS(SQLException)                                                                                                                                                        
  ^                                                                                                                                                                                           
/usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow dynamic 
exception specifications                                                                                       
  MEMORY_ALLOC_OPERATORS(SQLException)                                                                                                                                                        
  ^                                                                                                                                                                                           
make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/solenv/gbuild/LinkTarget.mk:293: /var/tmp/portage/app-
office/libreoffice-6.1.5.2/work/libreoffice-6.1.5
.2/workdir/CxxObject/mysqlc/source/mysqlc_driver.o] Error 1                                                                                              
make[1]: *** Waiting for unfinished jobs....                                                                                                                                                  
In file included from /usr/include/cppconn/variant.h:38:0,                                                                                                                                    
                 from /usr/include/cppconn/connection.h:35,                                                                                                                                   
                 from /usr/include/cppconn/driver.h:30,                                                                                                                              
[49/1994]
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.hxx:39,
                 from /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/mysqlc/source/mysqlc_connection.cxx:21:
/usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow dynamic 
exception specifications
  MEMORY_ALLOC_OPERATORS(SQLException)
  ^
/usr/include/cppconn/exception.h:98:2: error: ISO C++1z does not allow dynamic 
exception specifications
  MEMORY_ALLOC_OPERATORS(SQLException)
  ^
make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/solenv/gbuild/LinkTarget.mk:293: /var/tmp/portage/app-
office/libreoffice-6.1.5.2/work/libreoffice-6.1.5
.2/workdir/CxxObject/mysqlc/source/mysqlc_services.o] Error 1
make[1]: *** [/var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/solenv/gbuild/LinkTarget.mk:293: /var/tmp/portage/app-
office/libreoffice-6.1.5.2/work/libreoffice-6.1.5
.2/workdir/CxxObject/mysqlc/source/mysqlc_connection.o] Error 1
rm /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/
workdir/CustomTarget/i18npool/breakiterator/dict_word_hu.brk /var/tmp/portage/
app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/char_in.txt /
var/tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/
workdir/CustomTarget/i18npool/breakiterat
or/count_word.brk /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/count_word.txt 
/var/tmp/portage/app-office/libreoffice-
6.1.5.2/work/libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
char_in.brk /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npoo
l/breakiterator/char.txt /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/char.brk /var/
tmp/portage/app-office/libreoffice
-6.1.5.2/work/libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
sent.txt /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/
breakiterator/sent.brk /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
dict_word_prepostdash.txt /var/tmp/portage/app-off
ice/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/CustomTarget/
i18npool/breakiterator/dict_word_he.brk /var/tmp/portage/app-office/
libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir
/CustomTarget/i18npool/breakiterator/edit_word_he.txt /var/tmp/portage/app-
office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/CustomTarget/
i18npool/breakiterator/dict_word_he.txt /v
ar/tmp/portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/
workdir/CustomTarget/i18npool/breakiterator/line.txt /var/tmp/portage/app-
office/libreoffice-6.1.5.2/work/libreoffice-6
.1.5.2/workdir/CustomTarget/i18npool/breakiterator/edit_word.txt /var/tmp/
portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/
CustomTarget/i18npool/breakiterator/edit_wor
d_he.brk /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
edit_word_hu.txt /var/tmp/portage/app-office/libreoffice-6.1.5.2
/work/libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
dict_word_nodash.brk /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18np
ool/breakiterator/dict_word_nodash.txt /var/tmp/portage/app-office/
libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/
breakiterator/edit_word_hu.brk /var/tmp/portage/
app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/CustomTarget/
i18npool/breakiterator/edit_word.brk /var/tmp/portage/app-office/
libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/wor
kdir/CustomTarget/i18npool/breakiterator/dict_word_prepostdash.brk /var/tmp/
portage/app-office/libreoffice-6.1.5.2/work/libreoffice-6.1.5.2/workdir/
CustomTarget/i18npool/breakiterator/dict_w
ord.brk /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
dict_word_hu.txt /var/tmp/portage/app-office/libreoffice-6.1.5.2/
work/libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/breakiterator/
dict_word.txt /var/tmp/portage/app-office/libreoffice-6.1.5.2/work/
libreoffice-6.1.5.2/workdir/CustomTarget/i18npool/brea
kiterator/line.brk
make[1]: Leaving directory '/var/tmp/portage/app-office/libreoffice-6.1.5.2/
work/libreoffice-6.1.5.2'
make: *** [Makefile:286: build] Error 2
 * ERROR: app-office/libreoffice-6.1.5.2::gentoo failed (compile phase):
 *   (no error message)                        
 *                                      
 * Call stack:                  
 *     ebuild.sh, line 124:  Called src_compile
 *   environment, line 6620:  Called die
 * The specific snippet of code:                                                                                                                                                             
 *       make ${target} || die                                                                                                                                                               
 *                                                                                     
==================================================

-- 
Regards,
Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies