Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678134 - dev-util/geany-plugins-1.34 with dev-libs/libgit2-0.28.0 - 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'
Summary: dev-util/geany-plugins-1.34 with dev-libs/libgit2-0.28.0 - ld: .libs/git_chan...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chris Mayo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-16 09:33 UTC by Adam Purkrt
Modified: 2019-02-16 10:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Purkrt 2019-02-16 09:33:47 UTC
dev-util/geany-plugins-1.34 fails to compile with the following error:

/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

The problem occurs with dev-libs/libgit2-0.28.0

Workaround is to downgrade to dev-libs/libgit2-0.27.8 (i.e. mask 0.28.0)
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-02-16 10:52:21 UTC
It's fixed in libgit2-0.28.1.