Bug 222845 - net/pjsip: fails to install with option EXTSRTP set
Summary: net/pjsip: fails to install with option EXTSRTP set
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Guido Falsi
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-07 12:25 UTC by O. Hartmann
Modified: 2017-11-18 20:56 UTC (History)
0 users

See Also:
madpilot: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2017-10-07 12:25:40 UTC
The install of net/pjsip fails when option EXTSRTP is enabled:

[...]

===>  Installing for libsrtp-1.5.4
===>   Registering installation for libsrtp-1.5.4 as automatic
Installing libsrtp-1.5.4...

===>>> Installation of net/libsrtp (libsrtp-1.5.4) succeeded


===>>> Returning to dependency check for net/pjsip
===>>> Dependency check complete for net/pjsip

===>  Cleaning for pjsip-2.7

===>  pjsip-2.7 conflicts with installed package(s): 
      libsrtp-1.5.4

      They install files into the same place.
      You may want to stop build with Ctrl + C.
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2017-10-07 13:48:10 UTC
Is this happening even after r451358?

I suspect this report is a duplicate of bug #222804.

If you're using ports please try updating your ports tree, if using the official binary packages, you need to wait a few days until a new set including the fix is available.
Comment 2 Guido Falsi freebsd_committer freebsd_triage 2017-10-07 13:51:39 UTC
(In reply to O. Hartmann from comment #0)
> The install of net/pjsip fails when option EXTSRTP is enabled:
> 

Now I see.

As a workaround you can use the net/pjsip-extsrtp port if you need that option. 

I'll fix this though, but I need a little time to do that.
Comment 3 commit-hook freebsd_committer freebsd_triage 2017-10-07 14:10:32 UTC
A commit references this bug:

Author: madpilot
Date: Sat Oct  7 14:10:19 UTC 2017
New revision: 451461
URL: https://svnweb.freebsd.org/changeset/ports/451461

Log:
  Correctly handle option caused conflict.

  PR:		222845
  Submitted by:	O. Hartmann <ohartmann@walstatt.org>

Changes:
  head/net/pjsip/Makefile
Comment 4 Guido Falsi freebsd_committer freebsd_triage 2017-10-07 14:10:55 UTC
Committed r451461 which should fix this issue.

Can you report back so I can close this bug report?

Thanks.
Comment 5 O. Hartmann 2017-10-09 09:58:05 UTC
The port (from /usr/ports) builds again as expected, even in/with poudriere. Thank you very much for the fast response and fixing.

Closing PR.

Kind regrads,

oh
Comment 6 commit-hook freebsd_committer freebsd_triage 2017-11-18 20:56:24 UTC
A commit references this bug:

Author: madpilot
Date: Sat Nov 18 20:56:01 UTC 2017
New revision: 454459
URL: https://svnweb.freebsd.org/changeset/ports/454459

Log:
  MFH: r451278 r451306 r451358 r451461 r451734 r454258

  Register conflict with libsrtp.

  Reported by:	rodrigo

  - Update net/pjsip to 2.7
  - Bump PORTVERSION on asterisk13 port to avoid ABI problems
  - While here, sort the plist

  Fix CONFLICTS to not overwrite slave port setting.

  PR:		222804
  Submitted by:	vvd@unislabs.com

  Correctly handle option caused conflict.

  PR:		222845
  Submitted by:	O. Hartmann <ohartmann@walstatt.org>

  Update pjsip patch to work with libressl after the latest update
  to 2.7, which broke it.

  PR:		216898
  Submitted by:	OlivierW <olivierw1+bugzilla-freebsd@hotmail.com>

  - Update pjsip to 2.7.1
  - Import patches from the asterisk project
  - Regenrate patches

  Security:	19b052c9-c533-11e7-8da5-001999f8d30b

  Approved by:	ports-secteam (swills)

Changes:
_U  branches/2017Q4/
  branches/2017Q4/net/asterisk13/Makefile
  branches/2017Q4/net/pjsip/Makefile
  branches/2017Q4/net/pjsip/distinfo
  branches/2017Q4/net/pjsip/files/patch-aconfigure
  branches/2017Q4/net/pjsip/files/patch-pjlib_src_pj_ssl__sock__ossl.c
  branches/2017Q4/net/pjsip/files/patch-pjmedia_build_os-auto.mak.in
  branches/2017Q4/net/pjsip/files/patch-pjsip_src_pjsip_sip__multipart.c
  branches/2017Q4/net/pjsip/files/patch-pjsip_src_pjsip_sip__parser.c
  branches/2017Q4/net/pjsip/files/patch-pjsip_src_pjsip_sip__transaction.c
  branches/2017Q4/net/pjsip/files/patch-pjsip_src_pjsip_sip__transport.c
  branches/2017Q4/net/pjsip/files/patch-third__party_build_os-auto.mak.in
  branches/2017Q4/net/pjsip/pkg-plist