[Home]

Summary:ASTERISK-28820: pjproject_bundled: Modes Developer+Noisy give Stop.
Reporter:Alexander Traud (traud)Labels:
Date Opened:2020-04-09 12:49:45Date Closed:
Priority:TrivialRegression?
Status:Open/NewComponents:Third-Party/pjproject
Versions:13.32.0 16.9.0 17.3.0 Frequency of
Occurrence
Related
Issues:
Environment:Ubuntu 19.10Attachments:
Description:{code}make distclean
./configure --with-pjproject-bundled --enable-dev-mode=noisy{code}gives me{code}Applying patch 0040-brackets-in-via-received-params.patch
Makefile:2: build/host-.mak: No such file or directory
make[2]: *** No rule to make target 'build/host-.mak'.  Stop.{code}It looks like the parameter HOST_NAME is not set, when that is executed. However, I do not know what file(s) is executed. Is there any deeper debug mode? My biggest problem: I do *not* see any symptom/issue because of that.
Comments:By: Asterisk Team (asteriskteam) 2020-04-09 12:49:46.387-0500

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

Please note that once your issue enters an open state it has been accepted. As Asterisk is an open source project there is no guarantee or timeframe on when your issue will be looked into. If you need expedient resolution you will need to find and pay a suitable developer. Asking for an update on your issue will not yield any progress on it and will not result in a response. All updates are posted to the issue when they occur.

By: George Joseph (gjoseph) 2020-04-09 13:29:03.456-0500

I'll take a look at it.  It seems to only be an issue when pjproject configuration is done from ./configure but not from an actual build.  Weird.


By: Alexander Traud (traud) 2020-04-11 05:27:02.541-0500

I looked deeper into this. There are two issues in the file {{third-party/project/Makefile}}:

1. variable {{ECHO_PREFIX}}
On default, the prefix {{\[pjproject\]}} is printed. However, in case of {{NOISY_BUILD=yes}}, _nothing_ is printed, not the prefix and not any command. This is counter-intuitive because one would expect to print not less but at least the same if not more. This issue hided the second issue.

2. target {{.rebuild_needed}}
fails because it executes the target {{clean}} even in case of
(a) a vanilla installation and/or
(b) {{make distclean}} was executed in the top directory.
In those cases, the file {{third-party/pjproject/source/build.mak.in}} does not exist yet/anymore. Therefore, the variable {{HOST_NAME}} is not set. Therefore, {{make}} looks for the never existing {{build/host-.mak}}. Therefore, the target {{clean}} fails.

Consequently, this is indeed just a cosmetic issue because then the normal {{./configure && make}} starts. I have no idea how to fix those as it is terrible complicated down here.