Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 168519 - net-nntp/inn-2.4.3 fails to link to libdb - missing patch
Summary: net-nntp/inn-2.4.3 fails to link to libdb - missing patch
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Net-news project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-27 01:37 UTC by Arthur Hagen
Modified: 2007-04-07 12:29 UTC (History)
0 users

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


Attachments
2.4.3-berkdb.patch (2.4.3-berkdb.patch,1.41 KB, patch)
2007-02-27 17:23 UTC, Peter Alfredsen (RETIRED)
Details | Diff
inn-2.4.3-r1.ebuild (inn-2.4.3-r1.ebuild,7.74 KB, text/plain)
2007-02-27 17:25 UTC, Peter Alfredsen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Hagen 2007-02-27 01:37:49 UTC
Building net-nntp/inn-2.4.3 fails when it cannot find db3.[a|so]:




Reproducible: Always

Steps to Reproduce:
1. Make sure you're on a system without db3.[so|a]
2. emerge net-nntp/inn-2.4.3
Actual Results:  
gcc -shared  expire.lo interface.lo methods.lo ov.lo overdata.lo ovmethods.lo buffindexed/buffindexed.lo cnfs/cnfs.lo ovdb/ovdb.lo timecaf/caf.lo timecaf/timecaf.lo timehash/timehash.lo tradindexed/tdx-cache.lo tradindexed/tdx-data.lo tradindexed/tdx-group.lo tradindexed/tradindexed.lo tradspool/tradspool.lo trash/trash.lo  -Wl,--rpath -Wl,/var/tmp/portage/net-nntp/inn-2.4.3/work/inn-2.4.3/lib/.libs -Wl,--rpath -Wl,/usr/lib/news/lib /var/tmp/portage/net-nntp/inn-2.4.3/work/inn-2.4.3/lib/.libs/libinn.so -ldb3   -Wl,-O1 -Wl,-z -Wl,now -Wl,-soname -Wl,libstorage.so.2 -o .libs/libstorage.so.2.0.0
/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ldb3
collect2: ld returned 1 exit status


Expected Results:  
ebuild would pull in needed dependencies.


No problems with inn-2.4.1
Comment 1 Arthur Hagen 2007-02-27 01:42:48 UTC
Note:  berkdb installs libdb-3.so but not libdb3.so  -- perhaps this is part of the issue?
Comment 2 Arthur Hagen 2007-02-27 01:52:57 UTC
Further checking reveals that it appears that inn-2.4.3 needs the same patch as 2.4.1-berkdb.patch, which isn't provided for 2.4.3.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-27 17:23:37 UTC
Created attachment 111442 [details, diff]
2.4.3-berkdb.patch

(In reply to comment #2)
> Further checking reveals that it appears that inn-2.4.3 needs the same patch as
> 2.4.1-berkdb.patch, which isn't provided for 2.4.3.
> 

Does this patch fix it for you?

(This goes in the files/ dir)
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2007-02-27 17:25:17 UTC
Created attachment 111444 [details]
inn-2.4.3-r1.ebuild

Ebuild for patch
Comment 5 Sven Wegener gentoo-dev 2007-03-05 22:10:31 UTC
Could you try 2.4.3 again, I modified the ebuild to link against the current db that is symlinked.
Comment 6 Markus Ullmann (RETIRED) gentoo-dev 2007-04-07 12:29:27 UTC
A month without activity and works4me, feel free to reopen if needed