Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] geany-plugins-1.34 compile error
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
apurkrt
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2011
Posts: 116
Location: Czechia, Europe

PostPosted: Fri Feb 15, 2019 7:37 pm    Post subject: [SOLVED] geany-plugins-1.34 compile error Reply with quote

Hi there, I'm hitting the following error for dev-util/geany-plugins-1.34

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/git_changebar_la-gcb-plugin.o: in function `clear_cached_blob_contents':
gcb-plugin.c:(.text+0x76): undefined reference to `git_buf_free'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/git_changebar_la-gcb-plugin.o: in function `free_job':
gcb-plugin.c:(.text+0x170): undefined reference to `git_buf_free'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/git_changebar_la-gcb-plugin.o: in function `worker_thread':
gcb-plugin.c:(.text+0xf7b): undefined reference to `git_buf_free'
/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/git_changebar_la-gcb-plugin.o: in function `plugin_init':
gcb-plugin.c:(.text+0x2539): undefined reference to `giterr_last'
collect2: error: ld returned 1 exit status


Any clues how to fix this?


Last edited by apurkrt on Fri Feb 15, 2019 8:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
apurkrt
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2011
Posts: 116
Location: Czechia, Europe

PostPosted: Fri Feb 15, 2019 7:56 pm    Post subject: Reply with quote

To answer my own question, downgrading dev-libs/libgit2 to version 0.27.8 (i.e. masking 0.28 ) solves this problem.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22626

PostPosted: Sat Feb 16, 2019 1:42 am    Post subject: Reply with quote

What will you do when >=libgit2-0.28 becomes mandatory? Downgrading is a workaround until the real problem is fixed. It is not a permanent fix.
Back to top
View user's profile Send private message
apurkrt
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2011
Posts: 116
Location: Czechia, Europe

PostPosted: Sat Feb 16, 2019 9:37 am    Post subject: Reply with quote

Hu wrote:
What will you do when >=libgit2-0.28 becomes mandatory? Downgrading is a workaround until the real problem is fixed. It is not a permanent fix.


Hopefully someone will fix it soon. Just filed a bug report https://bugs.gentoo.org/678134

Edit: Also sent a message to geany devel list (awaits approval).
Back to top
View user's profile Send private message
apurkrt
Tux's lil' helper
Tux's lil' helper


Joined: 26 Feb 2011
Posts: 116
Location: Czechia, Europe

PostPosted: Sat Feb 16, 2019 3:58 pm    Post subject: Reply with quote

The problem is fixed in libgit2-0.28.1
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