Summary: | net-p2p/btpd-0.13 fails to compile with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Hopeless <hopeless> |
Component: | Current packages | Assignee: | Gentoo net-p2p team <net-p2p> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | coldwind, flameeyes, Ricardo.Cordeiro, Sander.Sweers |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
btpd-0.13-as-needed.patch
btpd-0.13 ebuild with coldwind's patch applied Makefile.in --as-needed patch Ebuild patch New btpd-0.13.ebuild patch |
Description
Hopeless
2007-10-08 17:30:44 UTC
Created attachment 132957 [details, diff]
btpd-0.13-as-needed.patch
This patch fixes the problem. It's backported from svn trunk.
Created attachment 151963 [details]
btpd-0.13 ebuild with coldwind's patch applied
This is still an issue, and 0.13 is still the latest release, however the patch coldwind posted fixes it, so I've attached an updated ebuild which applies the patch.
The source patch is correct, the ebuild is not, though. After the patch has been applied, eautomake from autotools.eclass should be called to rebuild all autotools. If it works its just because maintainer mode kicks in, but that's not good (see "Errors in build phase about autoconf version" in http://www.gentoo.org/proj/en/qa/autofailure.xml). Created attachment 189153 [details, diff]
Makefile.in --as-needed patch
Patching Makefile.in
Created attachment 189154 [details, diff]
Ebuild patch
This implements what Diego was talking about.
* Add src_unpack
* patch Makefile.in
* call eautomake
I just attached 2 new patches to fix the bug. I'll leave it to the maintainer to submit upstream. Comment on attachment 189153 [details, diff]
Makefile.in --as-needed patch
This is wrong :( Use the original patch.
Created attachment 189181 [details, diff]
New btpd-0.13.ebuild patch
Oops. it needs WANT_AUTOMAKE="1.9".
Fixed with a bump to 0.15; thanks anyway Sander! *** Bug 248148 has been marked as a duplicate of this bug. *** |