Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] libreoffice 5.4.2.2 and 5.4.3.2 do not open docx!
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
asotirov
n00b
n00b


Joined: 06 Mar 2007
Posts: 16

PostPosted: Thu Nov 30, 2017 9:45 pm    Post subject: Reply with quote

Just did. Same no change.

It tries to free a pointer that is not supposed to . will have to recompile it with -ggdb to get more details where is this happening.
Back to top
View user's profile Send private message
Fitzcarraldo
Veteran
Veteran


Joined: 30 Aug 2008
Posts: 1332
Location: United Kingdom

PostPosted: Fri Dec 01, 2017 1:42 am    Post subject: Reply with quote

Could it be something to do with a screwed up shared-mime-info database, by any chance? Is it worth re-installing shared-mime-info just in case?

Code:
fitzcarraldo@clevow230ss ~ $ eix shared-mime-info
[I] x11-misc/shared-mime-info
     Available versions:  1.4 1.8 ~1.9 {test}
     Installed versions:  1.8(13:20:02 02/07/17)(-test)
     Homepage:            https://freedesktop.org/wiki/Software/shared-mime-info
     Description:         The Shared MIME-info Database specification

What does the command 'xdg-mime query filetype <file name>' return?

Code:
fitzcarraldo@clevow230ss ~ $ file mydocument.docx
mydocument.docx: Microsoft Word 2007+
fitzcarraldo@clevow230ss ~ $ xdg-mime query filetype mydocument.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document

Code:
fitzcarraldo@clevow230ss ~ $ file myspreadsheet.xlsx
myspreadsheet.xlsx: Microsoft Excel 2007+
fitzcarraldo@clevow230ss ~ $ xdg-mime query filetype myspreadsheet.xlsx
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet

_________________
Clevo W230SS: amd64, OpenRC, nvidia-drivers & xf86-video-intel.
Compal NBLB2: ~amd64, OpenRC, xf86-video-ati, dual booting with Win 7 Pro 64-bit.
KDE on both laptops.

Fitzcarraldo's blog
Back to top
View user's profile Send private message
asotirov
n00b
n00b


Joined: 06 Mar 2007
Posts: 16

PostPosted: Fri Dec 01, 2017 9:14 am    Post subject: Reply with quote

I managed to compile it with debug.

Problem is caused by gpgme and libgpg-error rebuilding both solves it. Guess is a revdep issue if anyone wants to track it down.

ktop ~ # emerge -av libgpg-error gpgme

Cheers.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 5571
Location: Austria

PostPosted: Sat Dec 02, 2017 8:37 am    Post subject: Reply with quote

It seems you have nailed it. Thanks!
_________________
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
wrzasa
n00b
n00b


Joined: 15 Jan 2007
Posts: 12

PostPosted: Sat Dec 02, 2017 4:10 pm    Post subject: Reply with quote

I rebuilt gpgme and libgpg-error as suggested here: https://bugs.gentoo.org/638980#c9 and it solved the issue.
_________________
W.
<Q><
Back to top
View user's profile Send private message
r_pns
n00b
n00b


Joined: 02 Jul 2006
Posts: 28

PostPosted: Sun Dec 03, 2017 2:22 pm    Post subject: Reply with quote

I confirm that rebuilding libgpg-error and gpgme has solved the problem for me. Thank you, asotirov!
Back to top
View user's profile Send private message
wrzasa
n00b
n00b


Joined: 15 Jan 2007
Posts: 12

PostPosted: Sun Dec 03, 2017 5:21 pm    Post subject: Reply with quote

Great job! :)
_________________
W.
<Q><
Back to top
View user's profile Send private message
Zucca
l33t
l33t


Joined: 14 Jun 2007
Posts: 956
Location: KUUSANKOSKI, Finland

PostPosted: Sun Dec 03, 2017 5:27 pm    Post subject: Reply with quote

Great!
Although this issue will automatically be solved when switching to 17.0 profile, since it's recommended to rebuild your whole @world anyways. But I bet there are a lot of people who don't hurry the switch.
_________________
..: Zucca :..
This space is not for rent.
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
Goto page Previous  1, 2
Page 2 of 2

 
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