[Home]

Summary:ASTERISK-27600: [patch] BuildSystem: Allow make clean all again.
Reporter:Alexander Traud (traud)Labels:patch
Date Opened:2018-01-19 12:07:35.000-0600Date Closed:2018-01-22 09:14:45.000-0600
Priority:MinorRegression?
Status:Closed/CompleteComponents:Core/BuildSystem
Versions:13.19.0 15.2.0 Frequency of
Occurrence
Related
Issues:
is caused byASTERISK-25730 build: make uninstall after make distclean tries to remove root
Environment:Attachments:( 0) make_clean_all.patch
Description:Because of commit [c53903d|https://github.com/asterisk/asterisk/commit/c53903d447b8dff414188933328e4593bc7d1b63], every call to {{make}}, which mentions the targets distclean or clean does not include the file makeopts, the result of the script {{./configure}}. Therefore, symbols like LIBXML2_INCLUDE are undefined/empty. Although distclean is not combined with other targets normally, {{make clean all}} is a usual target sequence and should work.

*Steps to reproduce*
# ./configure
# make clean all

*Expected Result*
The source code of Asterisk should be re-build.

*Actual Result*
{code}xml.c:35:10: fatal error: libxml/parser.h: No such file or directory
#include <libxml/parser.h>
         ^~~~~~~~~~~~~~~~~
compilation terminated.{code}
Comments:By: Friendly Automation (friendly-automation) 2018-01-22 09:14:45.595-0600

Change 8023 merged by Jenkins2:
BuildSystem: Allow make clean all again.

[https://gerrit.asterisk.org/8023|https://gerrit.asterisk.org/8023]

By: Friendly Automation (friendly-automation) 2018-01-22 09:17:26.333-0600

Change 8025 merged by Jenkins2:
BuildSystem: Allow make clean all again.

[https://gerrit.asterisk.org/8025|https://gerrit.asterisk.org/8025]

By: Friendly Automation (friendly-automation) 2018-01-22 09:21:34.424-0600

Change 8026 merged by Jenkins2:
BuildSystem: Allow make clean all again.

[https://gerrit.asterisk.org/8026|https://gerrit.asterisk.org/8026]