Summary: | net-misc/unison-2.17.1-r1 compilation fails with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tiziano Müller (RETIRED) <dev-zero> |
Component: | New packages | Assignee: | Gentoo Team for the ML programming language family <ml> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | candrews, coldwind, ellingsw+20942, endgame.dos, voyageur |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | unison-2.17.1-as-needed.patch |
Description
Tiziano Müller (RETIRED)
2007-08-17 15:14:37 UTC
Created attachment 128438 [details, diff]
unison-2.17.1-as-needed.patch
-lutil must be after pty.o
I just encountered the same problem on my ~amd64 system. Any idea when this may hit portage? Oops, I forgot to mention that the patch fixed the problem. I'm getting the exact same error with unison-2.13.16 and use "--as-needed", as well. The particular machine I'm trying to rebuild unison on is running an amd64 install. I removed "--as-needed" from my LDFLAGS but unison would still not compile. I then stripped out all LDFLAGS I had in make.conf but unison would still not compile. I also, stripped down my CFLAGS but got the same error. I tried building unison-2.12.0-r1 but got the same results. This patch did fix the problem for unison-2.13.16 and unison-2.17.1-r1, however, I don't think the cause of this is due to "--as-needed". unison is written in ocaml. Try to rebuild ocaml without --as-needed and then build unison... *** Bug 193489 has been marked as a duplicate of this bug. *** applied for 2.27.57, please dont forget to send it upstream as it was still needed for that version dev-zero, maybe you want to send it upstream. I don't find an easy way to contact upstream and I don't even use unison. |