Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376045 - app-misc/tmux-1.5 failed to compile with undefined symbols _res_9_b64_ntop
Summary: app-misc/tmux-1.5 failed to compile with undefined symbols _res_9_b64_ntop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: Normal normal (vote)
Assignee: Gentoo Prefix
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-23 02:32 UTC by MATSUI Tetsushi
Modified: 2011-07-30 11:58 UTC (History)
1 user (show)

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


Attachments
against configure.ac (tmux-1.5-resolv.patch,367 bytes, patch)
2011-07-23 02:34 UTC, MATSUI Tetsushi
Details | Diff
tmux-1.5.ebuild (tmux-1.5.ebuild,1.80 KB, text/plain)
2011-07-23 02:36 UTC, MATSUI Tetsushi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MATSUI Tetsushi 2011-07-23 02:32:49 UTC
app-misc/tmux-1.5 failed to compile with undefined symbols _res_9_b64_ntop.
It needs -lresolv option on OS X.

I  will attach a patch to check this symbol in configure (against configure.ac), though I don't know whether it causes a bad effect on other platforms or it's safe.
Comment 1 MATSUI Tetsushi 2011-07-23 02:34:48 UTC
Created attachment 280695 [details, diff]
against configure.ac

It checks res_9_b64_ntop in resolv.
Comment 2 MATSUI Tetsushi 2011-07-23 02:36:33 UTC
Created attachment 280697 [details]
tmux-1.5.ebuild

added src_prepare to do patch and autoreconf.
Comment 3 MATSUI Tetsushi 2011-07-23 02:38:32 UTC
(In reply to comment #1)
Please rename the patch tmux-1.5-resolv.patch when to use with attached ebuild.
Comment 4 Leho Kraav (:macmaN @lkraav) 2011-07-29 20:44:19 UTC
confirmed, patch works
Comment 5 MATSUI Tetsushi 2011-07-30 10:07:33 UTC
I forgot to mention.  I reported this to the upstream in
http://sourceforge.net/tracker/?func=detail&aid=3376684&group_id=200378&atid=973262
but they closed it without applying my patch, because they "have a fix waiting for testing".
So, please consider my patch is just a temporary one for 1.5 only, until the next release will come with a clean fix.
Comment 6 Fabian Groffen gentoo-dev 2011-07-30 11:58:20 UTC
committed + fixes for Prefix