Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402565 - net-im/ejabberd has incorrectly applied mod_statsdx patch
Summary: net-im/ejabberd has incorrectly applied mod_statsdx patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Net-im project
URL: http://www.ejabberd.im/mod_stats2file
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-07 17:14 UTC by Balint SZENTE
Modified: 2012-03-06 11:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Balint SZENTE 2012-02-07 17:14:11 UTC
The actual ejabberd ebuilds create the mod_statsdx files into the ${WORKDIR}/${P}/src/b/src directory, because the S variabile is altered. Thus they will be ignored, mod_statsdx module will not be built.

Just adding the following variable to the ebuild will solve the issue:
EPATCH_OPTS="-p 2"


Reproducible: Always

Steps to Reproduce:
1. # USE="mod_statsdx" emerge ejabberd
2. Enable the mod_statsdx module in the /etc/jabber/ejabberd.cfg:
  {modules, [
    ...
    {mod_statsdx, []}
   ]}.
3. /etc/init.d/ejabberd start

Actual Results:  
The server will fail to start with the following message:
C(<0.38.0>:gen_mod:75) : Problem starting the module mod_statsdx for host ...


Expected Results:  
The server should start.


Add the EPATCH_OPTS="-p 2" variable to each ejabberd ebuild.
Comment 1 Tim Harder gentoo-dev 2012-03-06 11:41:13 UTC
Fixed in CVS.