Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 536396

Summary: app-misc/hivex-1.3.11 tries to link against previously installed version
Product: Gentoo Linux Reporter: Daniel Bausch <DanielBausch>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: maksbotan, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Daniel Bausch 2015-01-12 10:09:34 UTC
Compilation of app-misc/hivex-1.3.7-r1 aborts with linker errors.

Reproducible: Always

Steps to Reproduce:
1. Have app-misc/hivex-1.3.7-r1 installed
2. Update to app-misc/hivex-1.3.11

Actual Results:  
Relevant section of compile output:

make[3]: Entering directory '/var/tmp/portage/app-misc/hivex-1.3.11/work/hivex-1.3.11/ruby/ext/hivex'
make[3]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
compiling _hivex.c
linking shared-object _hivex.so
_hivex.o: In function `ruby_hivex_node_name_len':
_hivex.c:(.text+0x14be): undefined reference to `hivex_node_name_len'
_hivex.o: In function `ruby_hivex_node_name':
_hivex.c:(.text+0x1562): undefined reference to `hivex_node_name_len'
collect2: error: ld returned 1 exit status
Makefile:214: recipe for target '_hivex.so' failed
make[3]: *** [_hivex.so] Error 1


Expected Results:  
Linking should happen against currently building version.

Workaround: Remove previously installed version first and install newer version seperately afterwards.
Comment 1 Willard Dawson 2015-01-24 15:31:33 UTC
I have the same issue, although I am starting with 1.3.7-r2 (from Pentoo overlay).
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-06-07 23:22:26 UTC
Still an issue?