Bug 151073

Summary: Ejabberd port needs to be upgdated to 2.1.5+ to compile because erlang port has been updated to R14B
Product: Ports & Packages Reporter: Bartosz Stec <bartosz.stec>
Component: Individual Port(s)Assignee: Jimmy Olgeni <olgeni>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Bartosz Stec 2010-09-29 15:00:11 UTC
After erlang port has been updated to R14B ejabberd port (v 2.1.4) doesn't build anymore:

===>  Configuring for ejabberd-2.1.4_1
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether gmake sets $(MAKE)... yes
checking for erlc... /usr/local/bin/erlc
checking for erl... /usr/local/bin/erl
./conftest.erl:6: can't find include lib "ssl/include/ssl_pkix.hrl"
configure: error: could not compile sample program


It's because elrang R14A support was added in ejabberd 2.1.5 as announced here: http://www.ejabberd.im/ejabberd-2.1.5

Fix: 

Ejabberd port have to be upgraded to 2.1.5 to build.
How-To-Repeat: portupgrade lang/erlang
portupgrade net-im/ejabberd
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2010-09-29 20:27:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

I'll take it.
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2010-09-29 20:34:07 UTC
Hi Bartosz,

Thanks for reporting the issue.

A fix is in testing. If you're interested in trying it out, follow the
instructions in the message[1] on freebsd-ports@.

References:
[1]  http://article.gmane.org/gmane.os.freebsd.devel.ports/90797

Thanks
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

Avoid Success At All Costs !!
Comment 3 Bartosz Stec 2010-09-29 20:59:57 UTC
  On 2010-09-29 21:34, Ashish SHUKLA wrote:
> A fix is in testing. If you're interested in trying it out, follow the
> instructions in the message[1] on freebsd-ports@.
>
> References:
> [1]  http://article.gmane.org/gmane.os.freebsd.devel.ports/90797
>
> Thanks
I've prepared alternative ejabberd port using referenced diff, haven't 
got any problems with building and installing it, ejabberd 2.1.5 is 
alive and kicking.
Thanks for your help :)

-- 
Bartosz Stec
Comment 4 Ashish SHUKLA freebsd_committer freebsd_triage 2010-09-30 00:59:47 UTC
Bartosz Stec writes:
>  On 2010-09-29 21:34, Ashish SHUKLA wrote:
>> A fix is in testing. If you're interested in trying it out, follow the
>> instructions in the message[1] on freebsd-ports@.
>> 
>> References:
>> [1]  http://article.gmane.org/gmane.os.freebsd.devel.ports/90797
>> 
>> Thanks
> I've prepared alternative ejabberd port using referenced diff, haven't
> got any problems with building and installing it, ejabberd 2.1.5 is
> alive and kicking.
> Thanks for your help :)


Thanks for testing it.

-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

Avoid Success At All Costs !!
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2010-09-30 11:03:03 UTC
Responsible Changed
From-To: ashish->olgeni

Due to lack of a tinderbox, could not test it, so passing to Jimmy.
Comment 6 Jimmy Olgeni freebsd_committer freebsd_triage 2010-09-30 15:32:35 UTC
State Changed
From-To: open->analyzed

Testing upgrade.
Comment 7 Jimmy Olgeni freebsd_committer freebsd_triage 2010-09-30 17:22:07 UTC
State Changed
From-To: analyzed->feedback

Should be fixed. Can you confirm that it works for you?
Comment 8 dfilter service freebsd_committer freebsd_triage 2010-09-30 17:22:19 UTC
olgeni      2010-09-30 16:22:15 UTC

  FreeBSD ports repository

  Modified files:
    net-im/ejabberd      Makefile distinfo pkg-plist 
    net-im/ejabberd/files ejabberd.in 
  Log:
  Unbreak by upgrading to 2.1.5 (including 6.x support).
  
  PR:             ports/151073
  Approved by:    maintainer (see PR)
  
  Revision  Changes    Path
  1.40      +9 -3      ports/net-im/ejabberd/Makefile
  1.17      +3 -3      ports/net-im/ejabberd/distinfo
  1.6       +2 -2      ports/net-im/ejabberd/files/ejabberd.in
  1.18      +5 -0      ports/net-im/ejabberd/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 9 Philip M. Gollucci freebsd_committer freebsd_triage 2010-09-30 21:21:20 UTC
State Changed
From-To: feedback->closed

Committed, Thanks!