Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106208 - erlang 10.2.7 version bump + epoll patch
Summary: erlang 10.2.7 version bump + epoll patch
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Maintainers for Miscelleneous Language Packages [OBSOLETE]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-16 12:05 UTC by Max Loparev
Modified: 2005-10-29 13:26 UTC (History)
3 users (show)

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


Attachments
new ebuild (erlang-10.2.7.ebuild,2.95 KB, text/plain)
2005-09-16 12:06 UTC, Max Loparev
Details
epoll patch (otp_src_R10B-7_epoll.patch,14.54 KB, patch)
2005-09-16 12:06 UTC, Max Loparev
Details | Diff
diff from 10.2.6 to (adjusted) 10.2.7 (diff,2.09 KB, patch)
2005-10-18 14:07 UTC, Matthew Kennedy (RETIRED)
Details | Diff
erlang-10.2.6-10.2.7.patch (erlang-10.2.6-10.2.7.patch,1.73 KB, patch)
2005-10-18 15:35 UTC, SpanKY
Details | Diff
diff erlang-10.2.{6,7}.ebuild (diff,1.51 KB, patch)
2005-10-20 07:11 UTC, Matthew Kennedy (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Max Loparev 2005-09-16 12:05:15 UTC
I've applied patch from ejabberd maillist and its works fine for a week now on
my ejabberd server.
http://developer.sipphone.com/ejabberd/erlang_epoll_patch/
btw, dependence on tk now depends on X flag.
Comment 1 Max Loparev 2005-09-16 12:06:11 UTC
Created attachment 68603 [details]
new ebuild
Comment 2 Max Loparev 2005-09-16 12:06:45 UTC
Created attachment 68605 [details, diff]
epoll patch
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-18 14:06:45 UTC
I used your ebuild from Comment #1 and adjusted it to get the poll patch from
distfiles, rather than in files/ to save space.  I changed the file name to use
MY_PV. Attached is my diff from 10.2.6 to the adjusted ebuild for 10.2.7.

I tried it out, it seems to work fine.  vapier, I can commit it to the tree if you
consent.  I have recomputed/checked the other patches we apply.
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-18 14:07:29 UTC
Created attachment 70969 [details, diff]
diff from 10.2.6 to (adjusted) 10.2.7
Comment 5 SpanKY gentoo-dev 2005-10-18 15:31:36 UTC
any chance we can make sure upstream erlang is aware of the epoll patch before
we start using it ?
Comment 6 SpanKY gentoo-dev 2005-10-18 15:35:32 UTC
Created attachment 70981 [details, diff]
erlang-10.2.6-10.2.7.patch

if you want to test & commit this patch, that'd be cool
Comment 7 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-20 07:09:04 UTC
On second thoughts, perhaps we should apply the epoll patch via a local USE flag?
Comment 8 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-20 07:11:57 UTC
Created attachment 71067 [details, diff]
diff erlang-10.2.{6,7}.ebuild

Support for local USE flag, "epoll".
Comment 9 SpanKY gentoo-dev 2005-10-20 10:01:49 UTC
i dont think we should bother with that ... a quick glance at the code shows
that it should fall back to other poll methods if epoll fails to work
Comment 10 Matthew Kennedy (RETIRED) gentoo-dev 2005-10-29 13:26:55 UTC
Commit Attachement #70981 to portage. Thanks for the bug report and epoll
information.