[asterisk-bugs] [JIRA] (ASTERISK-28820) pjproject_bundled: Modes Developer+Noisy give Stop.
Alexander Traud (JIRA)
noreply at issues.asterisk.org
Sat Apr 11 05:28:25 CDT 2020
[ https://issues.asterisk.org/jira/browse/ASTERISK-28820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=250209#comment-250209 ]
Alexander Traud commented on ASTERISK-28820:
--------------------------------------------
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.
> pjproject_bundled: Modes Developer+Noisy give Stop.
> ---------------------------------------------------
>
> Key: ASTERISK-28820
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-28820
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Third-Party/pjproject
> Affects Versions: 13.32.0, 16.9.0, 17.3.0
> Environment: Ubuntu 19.10
> Reporter: Alexander Traud
> Assignee: George Joseph
>
> {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.
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list