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

Bug 228445

Summary: dev-libs/libtar API change due to memory leak fix
Product: Gentoo Linux Reporter: Matthew Dawson <matthew>
Component: [OLD] LibraryAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: brent.saner, vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 215399    

Description Matthew Dawson 2008-06-20 03:45:17 UTC
When attempting to install the barry package manually to enable the gui backup utility, the make command failed.  Upon investigation, I discovered this link: http://www.mail-archive.com/barry-devel%40lists.sourceforge.net/msg00266.html .  The issue described is similar to what I was facing.  Looking into the libtar ebuild, the included path also has that Mandriva patch at the end.  Removing these lines from the libtar package allowed both packages to cleanly compile.  Testing the barry backup gui with my copy of libtar showed no memory leaks with valgrind from libtar.

Reproducible: Always

Steps to Reproduce:
1.  Install libtar using default portage ebuild
2.  Download and attempt to install barry from source while enabling gui (./configure --enable-gui && make).

Actual Results:  
Barry fails to compile.

Expected Results:  
Barry should compile and run normally.

Removing those extra lines of code produced no noticeable impact.  I do not have a 64bit machine to test this with though.
Comment 1 brent 2009-09-17 05:43:38 UTC
experiencing this as well. is there any end to this bug in sight?
Comment 2 VĂ­ctor Ostorga (RETIRED) gentoo-dev 2009-10-18 16:13:28 UTC
Fixed in dev-libs/libtar-1.2.11-r2
Removing memleak patch, to know why check [1] and 2

[1] http://www.mail-archive.com/barry-devel%40lists.sourceforge.net/msg00243.html
[2] http://www.mail-archive.com/barry-devel@lists.sourceforge.net/msg01865.html