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

Bug 256509

Summary: net-im/kadu-0.6.0.2 collision with net-libs/libgadu-1.8.0
Product: Gentoo Linux Reporter: Joost Ruis <joost.ruis>
Component: New packagesAssignee: Dawid Węgliński (RETIRED) <cla>
Status: RESOLVED FIXED    
Severity: normal CC: jer, net-im
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 257972    

Description Joost Ruis 2009-01-27 11:11:23 UTC
* package net-im/kadu-0.6.0.2 NOT merged
 *
 * Detected file collision(s):
 *
 *  /usr/include/libgadu.h
 *  /usr/lib/libgadu.la
 *  /usr/lib/libgadu.a
 *  /usr/lib/pkgconfig/libgadu.pc
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * net-libs/libgadu-1.8.0
 *  /usr/include/libgadu.h
 *  /usr/lib/libgadu.a
 *  /usr/lib/libgadu.la
 *  /usr/lib/pkgconfig/libgadu.pc
 *
 * Package 'net-im/kadu-0.6.0.2' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.



Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-29 18:11:45 UTC
Looks like kadu uses an internal version of libgadu-1.80:

/var/tmp/portage/net-im/kadu-0.6.0.2/work/kadu/libgadu/configure: VERSION=1.8.0
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2009-01-29 18:15:22 UTC
The kadu configure script offers a useful option:

  --with-existing-libgadu do not compile libgadu, link with existing one

which is now controller by a USE flag. AFAIK this is against the Gentoo Way - we should always prefer external to internal libraries.
Comment 3 Robert Buchholz (RETIRED) gentoo-dev 2009-02-04 17:24:20 UTC
*kadu-0.6.0.2-r1 (04 Feb 2009)

  04 Feb 2009; Robert Buchholz <rbu@gentoo.org> metadata.xml,
  +files/kadu-0.6.0.2-kill-strip.patch, -kadu-0.6.0.1.ebuild, -kadu-0.6.0.2.ebuild,
  +kadu-0.6.0.2-r1.ebuild:
  Do allow building against internal libgadu, remove USE flag. This solves bug
  #256509 (file collision), bug #247990 (internal library copy) and security bug
  #244888 (buffer overread in libgadu). Do not strip binaries (bug #251995).