Bug 95641 - Maintainer update: net/opal fix conflict with net/asterisk
Summary: Maintainer update: net/opal fix conflict with net/asterisk
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-12 09:00 UTC by Jean-Baptiste Quenot
Modified: 2006-04-28 17:21 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (613 bytes, patch)
2006-04-12 09:00 UTC, Jean-Baptiste Quenot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Quenot 2006-04-12 09:00:33 UTC
When net/asterisk is installed, net/opal does not build because it detects the
presence of include/libpri.h installed by net/asterisk, but the build fails:

===>  Vulnerability check disabled, database not found
===>  Extracting for opal-2.2.1_1
=> MD5 Checksum OK for opal-v2_2_1-src-tar.gz.
=> SHA256 Checksum OK for opal-v2_2_1-src-tar.gz.
===>  Patching for opal-2.2.1_1
===>  Applying FreeBSD patches for opal-2.2.1_1
===>   opal-2.2.1_1 depends on executable: gmake - found
===>   opal-2.2.1_1 depends on file: /usr/local/bin/autoconf259 - found
===>   opal-2.2.1_1 depends on shared library: pt_r.1 - found
===>  Configuring for opal-2.2.1_1
configure: WARNING: you should use --build, --host, --target
checking for i386-portbld-freebsd5.4-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...
checking for /usr/local/include/sys/telephony.h... no
checking /usr/local/include/libpri.h usability... yes
checking /usr/local/include/libpri.h presence... no
configure: WARNING: /usr/local/include/libpri.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: /usr/local/include/libpri.h: proceeding with the compiler's result
checking for /usr/local/include/libpri.h... yes
checking /usr/local/include/libsangoma.h usability... no
checking /usr/local/include/libsangoma.h presence... no
checking for /usr/local/include/libsangoma.h... no
checking for pri_new_cb in -lpri... yes
checking for sangoma_create_socket in -lsangoma... no
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
configure: creating ./config.status
config.status: creating opal_inc.mak
config.status: creating Makefile
config.status: creating src/codec/speex/libspeex/speex_config_types.h
config.status: creating include/opal/buildopts.h
===>  Building for opal-2.2.1_1
gmake P_SHAREDLIB=1 opt
gmake[1]: Entering directory `/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1'
g++ -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include  -DP_USE_PRAGMA -D_REENTRANT -pthread -Wall  -DPTRACING -I/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/include  -DPTRACING -I/usr/local/share/pwlib//include -Os  -O -pipe -march=athlon-xp -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include  -felide-constructors -Wreorder -c /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/opal/manager.cxx -o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/manager.o
...
g++ -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include  -DP_USE_PRAGMA -D_REENTRANT -pthread -Wall  -DPTRACING -I/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/include  -DPTRACING -I/usr/local/share/pwlib//include -Os  -O -pipe -march=athlon-xp -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include  -felide-constructors -Wreorder -c /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/lids/lidep.cxx -o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/lidep.o
g++ -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include  -DP_USE_PRAGMA -D_REENTRANT -pthread -Wall  -DPTRACING -I/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/include  -DPTRACING -I/usr/local/share/pwlib//include -Os  -O -pipe -march=athlon-xp -O1 -I/usr/ports/devel/pwlib/work/pwlib_v1_10_0/include -I/usr/local/include  -felide-constructors -Wreorder -c /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/lids/sangomalid.cxx -o /arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/sangomalid.o
/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/src/lids/sangomalid.cxx:35:43: /usr/local/include/libsangoma.h: No such file or directory
gmake[1]: *** [/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1/lib/obj_r/sangomalid.o] Error 1
gmake[1]: Leaving directory `/arc/src/build/vixen42/ports/arc/src/ports/net/opal/work/opal_v2_2_1'
gmake: *** [optshared] Error 2
*** Error code 2

Stop in /arc/src/ports/net/opal.


To fix this problem, please add the port patch below submitted by
Matt Horan <matt@matthoran.com>.  Thanks in advance!

Fix: Binary files /usr/ports/net/opal/.Makefile.swp and ./.Makefile.swp differ
How-To-Repeat: Install net/asterisk (which in turn installs misc/libpri), then net/opal.
Comment 1 Renato Botelho freebsd_committer freebsd_triage 2006-04-28 17:21:57 UTC
State Changed
From-To: open->closed

Committed. Thanks!