[asterisk-bugs] [JIRA] (ASTERISK-30279) Makefile: phoneprov sample files fail to install the first time

George Joseph (JIRA) noreply at issues.asterisk.org
Tue Nov 1 06:10:09 CDT 2022


     [ https://issues.asterisk.org/jira/browse/ASTERISK-30279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Joseph updated ASTERISK-30279:
-------------------------------------

    Status: Open  (was: Triage)

> Makefile: phoneprov sample files fail to install the first time
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-30279
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-30279
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Configs/Samples
>    Affects Versions: 20.0.0
>         Environment: Debian 11
>            Reporter: N A
>            Severity: Trivial
>
> As part of installing the sample config files, we fail to install the phoneprov files:
> I don't use the Asterisk phoneprov module but just reporting the issue with it not working properly. Possibly it's assuming a directory that doesn't exist does exist.
> {noformat}
> /usr/bin/install -c -d "/var/spool/asterisk/voicemail/default/1234/INBOX"
> build_tools/make_sample_voicemail "//var/lib/asterisk" "//var/spool/asterisk"
> Installing file phoneprov/000000000000.cfg
> /usr/bin/install: cannot create regular file '/var/lib/asterisk/phoneprov/000000000000.cfg': No such file or directory
> Installing file phoneprov/000000000000-directory.xml
> /usr/bin/install: cannot create regular file '/var/lib/asterisk/phoneprov/000000000000-directory.xml': No such file or directory
> Installing file phoneprov/000000000000-phone.cfg
> /usr/bin/install: cannot create regular file '/var/lib/asterisk/phoneprov/000000000000-phone.cfg': No such file or directory
> Installing file phoneprov/polycom_line.xml
> /usr/bin/install: cannot create regular file '/var/lib/asterisk/phoneprov/polycom_line.xml': No such file or directory
> Installing file phoneprov/polycom.xml
> /usr/bin/install: cannot create regular file '/var/lib/asterisk/phoneprov/polycom.xml': No such file or directory
> Installing file phoneprov/snom-mac.xml
> /usr/bin/install: cannot create regular file '/var/lib/asterisk/phoneprov/snom-mac.xml': No such file or directory
> make: *** [Makefile:827: samples] Error 1
> {noformat}
> However, running make samples a *second* time afterwards, it works:
> {noformat}
> /usr/bin/install -c -d "/var/spool/asterisk/voicemail/default/1234/INBOX"
> build_tools/make_sample_voicemail "//var/lib/asterisk" "//var/spool/asterisk"
> Installing file phoneprov/000000000000.cfg
> Installing file phoneprov/000000000000-directory.xml
> Installing file phoneprov/000000000000-phone.cfg
> Installing file phoneprov/polycom_line.xml
> Installing file phoneprov/polycom.xml
> Installing file phoneprov/snom-mac.xml
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list