Summary: | net/asterisk11 fails to configure within jail | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | blacktux82 | ||||
Component: | Individual Port(s) | Assignee: | Guido Falsi <madpilot> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | blacktux82 | ||||
Priority: | --- | Flags: | blacktux82:
maintainer-feedback?
(madpilot) |
||||
Version: | Latest | ||||||
Hardware: | amd64 | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
blacktux82
2014-11-21 16:11:37 UTC
Auto-assigned to maintainer madpilot@FreeBSD.org diff Makefile Makefile.save
23,24c23
< #CONFIGURE_ARGS= --with-uuid=${LOCALBASE}
< CONFIGURE_ARGS= --disable-uuid
---
> CONFIGURE_ARGS= --with-uuid=${LOCALBASE}
With --disable-uuid configure works.
(In reply to blacktux82 from comment #2) > diff Makefile Makefile.save > 23,24c23 > < #CONFIGURE_ARGS= --with-uuid=${LOCALBASE} > < CONFIGURE_ARGS= --disable-uuid > --- > > CONFIGURE_ARGS= --with-uuid=${LOCALBASE} > > With --disable-uuid configure works. An option can be added to disable UUID if needed. Do you think such an option is required? Before doing this though, are you sure there is a libuuid correctly installed in the jail? The port should have installed that, but LD is clearly failing to find that. can you check if /usr/local/lib/libuuid.so* (* is wildcard) exists? can you also send me the output of "pkg info e2fsprogs-libuuid"? If that port has not been installed in the jail you should investigate why, or why ld fails to find it. Thanks. Hi, sorry for late response. ;-) Interesting: [root@d22_asterisk2 /usr/ports/misc/e2fsprogs-libuuid]# make ===> e2fsprogs-libuuid-1.42.12 conflicts with installed package(s): ossp-uuid-1.6.2_7 They install files into the same place. You may want to stop build with Ctrl + C. (There was a shared lib too...) Now I've deinstalled ossp-uuid, portmaster will now install misc/e2fsprogs-libuuid. And now the asterisk11 port compiled successfully. :-) I think the libs has the same name, this should be the problem, I think. (In reply to blacktux82 from comment #4) > Hi, > > sorry for late response. ;-) > > Interesting: > > [root@d22_asterisk2 /usr/ports/misc/e2fsprogs-libuuid]# make > > ===> e2fsprogs-libuuid-1.42.12 conflicts with installed package(s): > ossp-uuid-1.6.2_7 > > They install files into the same place. > You may want to stop build with Ctrl + C. > > (There was a shared lib too...) > > Now I've deinstalled ossp-uuid, portmaster will now install > misc/e2fsprogs-libuuid. And now the asterisk11 port compiled successfully. > :-) > > I think the libs has the same name, this should be the problem, I think. Yes, this is the cause of the problem. Looking around it looks like the ossp-libuuid isn't acceptable as a replacement for asterisk, so I'll have to register a conflict with it in the asterisk port. Maybe also add an option to disable UUID support. Thanks for the report. A commit references this bug: Author: madpilot Date: Wed Nov 26 10:40:06 UTC 2014 New revision: 373444 URL: https://svnweb.freebsd.org/changeset/ports/373444 Log: - Make UUID support an option (enabled by default, no functional change in default port) - Mark conflict on UUID option with ossp-uuid port, since asterisk requires misc/e2fsprogs-libuuid for this functionality and will not build if the former is installed. Please note that when compiling without UUID support the res_rtp module in asterisk will have reduced functionality, so it is suggested to keep the option turned on. PR: 195249 Submitted by: blacktux82 at gmail.com Changes: head/net/asterisk11/Makefile Workaround committed. Thanks for the report! |