| Summary: | portmap-5b-r7 searches for libs in wrong dir | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Lesley van Zijl <zyl> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | pau |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Compile log...
log of portmap compile success patch to fix libwrap detection a new ebuild that uses the patch fixing the link problem |
||
|
Description
Lesley van Zijl
2003-12-22 09:31:22 UTC
Actually it has compile error before this message... I'll attach a compile log... Created attachment 22575 [details]
Compile log...
Output of "emerge portmap"
I found the problem, the problem is not portmap but tcp-wrappers (which owns libwrap.*), Like I said, with the 1 year old box portmap was able to compile (with lots of warnings) I just upgraded tcp-wrappers on the one year old box and I couldnt compile portmap, reinstalled old ones and could. The newer tcp-wrappers put them in /lib while the older one puts them in /usr/lib Created attachment 22576 [details]
log of portmap compile success
here is a log from a succeeding compile (with lots of warnings)
Downgrading the tcp-wrappers-6.7-r7 to 6.7-r6 fixed the compile. Also having this problem. It looks like the addition of "into /" before the "dolib.a libwrap.a" line is what causes the change in file location from /usr/lib to just /lib. A patch to fix the problem will be attached shortly Created attachment 22585 [details, diff]
patch to fix libwrap detection
should fix the bug, but I haven't tested it yet
ok, just tested it, and the patch works as long as you have tcp-wrappers-6.7-r7 Created attachment 22586 [details]
a new ebuild that uses the patch
A new ebuild that uses the attached patch. Just plug this one in where the old
one was and it should work (should is the key word there ;) )
and i just confirmed that the patch (which should go in the files directory for portmap) and the new ebuild do work. Only get this with the patch
>>> emerge (1 of 1) net-nds/portmap-5b-r7 to /
>>> md5 src_uri ;-) portmap_5beta.tar.gz
>>> Unpacking source...
>>> Unpacking portmap_5beta.tar.gz to /var/tmp/portage/portmap-5b-r7/work
* Applying portmap_5beta.dif... [ ok ]
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
*
* /usr/portage/net-nds/portmap/files/36309.patch
!!! ERROR: net-nds/portmap-5b-r7 failed.
!!! Function epatch, Line 182, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
I just encountered this problem. I think we need to check where libwrap.a exists because some tcp-wrappers installs it to /usr/lib and others to /lib. I've made the ebuild. I post it. Created attachment 22670 [details]
fixing the link problem
this was fixed by azarah on the 28th of December and needs closing. closing |