[Home]

Summary:ASTERISK-25124: menuselect configure unnecessarily requires libxml2 for 11.18.0-rc1
Reporter:abelbeck (abelbeck)Labels:
Date Opened:2015-05-23 11:50:53Date Closed:2015-06-01 18:36:35
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:11.18.0 Frequency of
Occurrence
Related
Issues:
is related toASTERISK-25459 New dependency on libxml2
Environment:AstLinux 1.x (cross-compiled via Buildroot)Attachments:
Description:There seems to be some changes to menuselect with the "git" Asterisk coupled with the fact we are cross-compiling.

1) Asterisk 11.18.0-rc1 menuselect configure now requires libxml2, but does not need it.  Possibly 1.8 built from "git" has the same problem.

2) Asterisk 11.18.0-rc1 menuselect/bootstrap.sh does not generate the proper configure script, but the pre-built configure script seems to work.  The resulting "bootstrap.sh" configure is missing the "SED" definition and the foo to generate it.  The build error look like:
{noformat}
checking for curses.h... yes
checking for initscr in -lncurses... yes
checking for curses.h... (cached) yes
checking for xml2-config... /usr/bin/xml2-config
./configure: line 4549: -e: command not found
./configure: line 4553: -e: command not found
configure: error: Could not find required 'Libxml2' development package
{noformat}

In our Buildroot build system we are able to unnecessarily build "host-libxml2" to satisfy #1 and no longer perform a "menuselect/bootstrap.sh" to satisify #2, but regardless I'm reporting a change in menuselect.
Comments:By: abelbeck (abelbeck) 2015-05-23 12:06:41.786-0500

Sorry, it seems menuselect configure now *does* require libxml2 for 11.18.0-rc1, this is a change.

Question, will any future 1.8.x security versions also require libxml2 for menuselect ?

By: Rusty Newton (rnewton) 2015-06-01 18:36:35.624-0500

That change wouldn't be made to 1.8 unless it fixed a security issue. I don't know of a current issue that would require that.